1 #ifndef DATAFORMATS_FTLRECHIT_H 2 #define DATAFORMATS_FTLRECHIT_H 1 47 uint32_t flagBits = 0);
55 uint32_t flagBits = 0);
93 bool checkFlags(
const std::vector<int>& flagsvec)
const;
unsigned char flagBits_
store rechit condition (see Flags enum) in a bit-wise way
bool checkFlags(const std::vector< int > &flagsvec) const
check if one of the flags in a set is true
void setPosition(float position)
const DetId & detid() const
Detector identifier base class for the MIP Timing Layer.
float positionError() const
bool isTimeErrorValid() const
std::ostream & operator<<(std::ostream &s, const FTLRecHit &hit)
bool checkFlag(int flag) const
check if the flag is true
void setEnergy(float energy)
const MTDDetId mtdId() const
void setFlag(int flag)
set the flags (from Flags or ESFlags)
float energy() const
get the id
void setPositionError(float poserr)
float position_
position is the distance from the center of the bar to hit
void setTimeError(float err)