1 #ifndef _H_SQCalMCHit_v1_H_
2 #define _H_SQCalMCHit_v1_H_
19 void identify(std::ostream& os = std::cout)
const;
virtual float get_truth_py() const
Return the true y-momentum of this hit. Meaningful only if this hit is of MC.
virtual void set_truth_px(const float a)
virtual int get_track_id() const
Return the track ID associated with this hit. Probably the value is not properly set at present...
int isValid() const
isValid returns non zero if object contains vailid data
An SQ interface class to hold one detector hit.
virtual void set_g4hit_id(const PHG4HitDefs::keytype a)
virtual void set_track_id(const int a)
virtual float get_truth_pz() const
Return the true z-momentum of this hit. Meaningful only if this hit is of MC.
void identify(std::ostream &os=std::cout) const
virtual float get_truth_px() const
Return the true x-momentum of this hit. Meaningful only if this hit is of MC.
virtual float get_truth_z() const
Return the true z-position of this hit. Meaningful only if this hit is of MC.
virtual float get_truth_y() const
Return the true y-position of this hit. Meaningful only if this hit is of MC.
virtual float get_truth_x() const
Return the true x-position of this hit. Meaningful only if this hit is of MC.
virtual void set_truth_pz(const float a)
virtual void set_shower_id(const int a)
virtual void set_truth_y(const float a)
virtual void set_truth_x(const float a)
virtual void set_truth_py(const float a)
virtual PHG4HitDefs::keytype get_g4hit_id() const
Return the Geant-hit ID associated with this hit.
virtual int get_shower_id() const
virtual void set_truth_z(const float a)