Go to the documentation of this file. 1 #ifndef SiStripDetVOff_h
2 #define SiStripDetVOff_h
39 static const unsigned int LVonMask = 0xFFFFFFFE;
41 static const unsigned int HVonMask = 0xFFFFFFFD;
54 bool put(
const uint32_t
DetId,
const int HVoff,
const int LVoff);
57 bool put(std::vector<uint32_t>&
DetId, std::vector<int>& HVoff, std::vector<int>& LVoff);
61 void getDetIds(std::vector<uint32_t>& DetIds_)
const;
79 void setBits(uint32_t& enDetId,
const int HVoff,
const int LVoff);
int getLVoffCounts() const
Returns the total number of modules with LV off.
#define COND_SERIALIZABLE
void setBits(uint32_t &enDetId, const int HVoff, const int LVoff)
Changes the bits in the stored value according to on/off voltages.
static const short HVmask
bool IsModuleHVOff(const uint32_t DetID) const
bool IsModuleVOff(const uint32_t DetID) const
Returns true if either HV or LV are off.
std::vector< uint32_t > v_Voff
void getVoff(std::vector< uint32_t > &vOff_) const
Needed by the copy constructor.
std::vector< uint32_t >::iterator vOffIterator
void getDetIds(std::vector< uint32_t > &DetIds_) const
bool operator==(const SiStripDetVOff &d) const
void printDebug(std::stringstream &ss, const TrackerTopology *) const
int getHVoffCounts() const
Returns the total number of modules with HV off.
static const short LVmask
std::vector< uint32_t >::const_iterator constVoffIterator
bool put(const uint32_t DetId, const int HVoff, const int LVoff)
Insert information for a single detId.
SiStripDetVOff(const SiStripDetVOff &toCopy)
std::vector< int >::const_iterator constVboolIterator
static const unsigned int LVonMask
void printSummary(std::stringstream &ss, const TrackerTopology *) const
static const unsigned int allOnMask
static const unsigned int eightBitMask
static const short bitShift
static const unsigned int HVonMask
bool IsModuleLVOff(const uint32_t DetID) const