11 _track_id(std::numeric_limits<int>::max()),
12 _shower_id(std::numeric_limits<int>::max()),
18 os <<
"---SQCalMCHit_v1--------------------" << endl;
21 os <<
"shower_id: 0x" << hex <<
get_hit_id() << dec << endl;
22 os <<
"truth_pos: (" << _truth_x <<
", " << _truth_y <<
", " << _truth_z <<
")" << endl;
23 os <<
"truth_mom: (" << _truth_px <<
", " << _truth_py <<
", " << _truth_pz <<
")" << endl;
31 if (_track_id == std::numeric_limits<int>::max())
return 0;
int isValid() const
isValid returns non zero if object contains vailid data
void identify(std::ostream &os=std::cout) const
virtual int get_hit_id() const
Return the ID of this hit.
void identify(std::ostream &os=std::cout) const
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
unsigned long long keytype