1 #ifndef DATAFORMATS_FTLRECHIT_H 2 #define DATAFORMATS_FTLRECHIT_H 1 64 bool checkFlags(
const std::vector<int>& flagsvec)
const;
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
bool isTimeErrorValid() const
bool checkFlags(const std::vector< int > &flagsvec) const
check if one of the flags in a set is true
std::ostream & operator<<(std::ostream &s, const FTLRecHit &hit)
void setEnergy(float energy)
void setFlag(int flag)
set the flags (from Flags or ESFlags)
void setTimeError(float err)