17 : _track_id(std::numeric_limits<int>::max()),
18 _g4hit_id(std::numeric_limits<PHG4HitDefs::
keytype>::max())
22 os <<
"---SQMCHit_v1--------------------" << endl;
25 os <<
"truth_pos: (" << _truth_x <<
", " << _truth_y <<
", " << _truth_z <<
")" << endl;
26 os <<
"truth_mom: (" << _truth_px <<
", " << _truth_py <<
", " << _truth_pz <<
")" << endl;
34 if (_track_id == std::numeric_limits<int>::max())
return 0;
virtual int get_track_id() const
Return the track ID associated with this hit. Probably the value is not properly set at present...
void identify(std::ostream &os=std::cout) const
unsigned long long keytype
void identify(std::ostream &os=std::cout) const
int isValid() const
isValid returns non zero if object contains vailid data
virtual int get_hit_id() const
Return the ID of this hit.
int isValid() const
isValid returns non zero if object contains vailid data