42 for (std::vector<int>::const_iterator flagPtr = flagsvec.begin();
43 flagPtr!= flagsvec.end(); ++flagPtr) {
54 return s <<
"FTLRecHit undefined subdetector" ;
const DetId & detid() const
bool checkFlag(int flag) const
check if the flag is true
unsigned char flagBits_
store rechit condition (see Flags enum) in a bit-wise way
float energy() const
get the id
std::ostream & operator<<(std::ostream &s, const FTLRecHit &hit)
bool isTimeErrorValid() const
bool checkFlags(const std::vector< int > &flagsvec) const
check if one of the flags in a set is true
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
constexpr Detector det() const
get the detector field from this detid