1 #ifndef DATAFORMATS_HGCRECHIT_H 2 #define DATAFORMATS_HGCRECHIT_H 1 108 bool checkFlags(
const std::vector<int>& flagsvec)
const;
bool checkFlag(int flag) const
check if the flag is true
constexpr const DetId & detid() const
void setSignalOverSigmaNoise(float sOverNoise)
uint8_t signalOverSigmaNoise_
bool operator==(const HGCRecHit &hit) const
float signalOverSigmaNoise() const
void setFlag(int flag)
set the flags (from Flags or ESFlags)
DetId id() const
get the id
bool isTimeErrorValid() const
bool operator==(const DetId &otherid) const
constexpr float energy() const
bool operator<(const HGCRecHit &hit) const
void setOutOfTimeEnergy(float energy)
constexpr uint32_t flags() const
uint32_t flagBits_
store rechit condition (see Flags enum) in a bit-wise way
void setTimeError(float timeErr)
float outOfTimeChi2() const
constexpr uint32_t rawId() const
get the raw id
bool checkFlags(const std::vector< int > &flagsvec) const
check if one of the flags in a set is true
void setOutOfTimeChi2(float chi2)
constexpr float time() const
float outOfTimeEnergy() const
uint32_t flagBits() const
std::ostream & operator<<(std::ostream &s, const HGCRecHit &hit)