1 #ifndef DATAFORMATS_ECALRECHIT_H
2 #define DATAFORMATS_ECALRECHIT_H 1
109 bool checkFlags(
const std::vector<int>& flagsvec)
const;
bool isTimeErrorValid() const
bool checkFlags(const std::vector< int > &flagsvec) const
check if one of the flags in a set is true
const DetId & detid() const
Flags recoFlag() const
DEPRECATED provided for temporary backward compatibility.
void setFlag(int flag)
set the flags (from Flags or ESFlags)
std::ostream & operator<<(std::ostream &out, const ALILine &li)
void setTimeError(uint8_t timeErrBits)
float outOfTimeEnergy() const
EcalRecHit(const DetId &id, float energy, float time, uint32_t flags=0, uint32_t flagBits=0)
bool checkFlag(int flag) const
check if the flag is true
float outOfTimeChi2() const
void setOutOfTimeChi2(float chi2)
DetId id() const
get the id
bool checkFlagMask(uint32_t mask) const
apply a bitmask to our flags. Experts only
void setOutOfTimeEnergy(float energy)
uint32_t flagBits_
store rechit condition (see Flags enum) in a bit-wise way