Go to the documentation of this file. 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;
bool isTimeErrorValid() const
bool checkFlag(int flag) const
check if the flag is true
float energy() const
get the id
bool checkFlags(const std::vector< int > &flagsvec) const
check if one of the flags in a set is true
void setFlag(int flag)
set the flags (from Flags or ESFlags)
void setPositionError(float poserr)
float positionError() const
const DetId & detid() const
unsigned char flagBits_
store rechit condition (see Flags enum) in a bit-wise way
void setEnergy(float energy)
void setTimeError(float err)
Detector identifier base class for the MIP Timing Layer.
std::ostream & operator<<(std::ostream &s, const FTLRecHit &hit)
float position_
position is the distance from the center of the bar to hit
void setPosition(float position)
const MTDDetId mtdId() const