4 using namespace mapper;
58 for (std::vector<HcalGenericDetId>::const_iterator it = dids.begin(); it != dids.end(); ++it) {
60 if (!it->isHcalDetId())
65 MEMap::iterator mit =
_mes.find(hash);
66 if (mit !=
_mes.end())
70 _mes.insert(std::make_pair(hash,
86 for (std::vector<HcalElectronicsId>::const_iterator it = eids.begin(); it != eids.end(); ++it) {
89 MEMap::iterator mit =
_mes.find(hash);
90 if (mit !=
_mes.end())
94 _mes.insert(std::make_pair(hash,
109 std::vector<HcalTrigTowerDetId> tids = emap->
allTriggerId();
110 for (std::vector<HcalTrigTowerDetId>::const_iterator it = tids.begin(); it != tids.end(); ++it) {
113 MEMap::iterator mit =
_mes.find(hash);
114 if (mit !=
_mes.end())
118 _mes.insert(std::make_pair(hash,
146 for (std::vector<HcalGenericDetId>::const_iterator it = dids.begin(); it != dids.end(); ++it) {
148 if (!it->isHcalDetId())
153 MEMap::iterator mit =
_mes.find(hash);
154 if (mit !=
_mes.end())
160 _mes.insert(std::make_pair(hash,
176 for (std::vector<HcalElectronicsId>::const_iterator it = eids.begin(); it != eids.end(); ++it) {
179 MEMap::iterator mit =
_mes.find(hash);
180 if (mit !=
_mes.end())
186 _mes.insert(std::make_pair(hash,
201 std::vector<HcalTrigTowerDetId> tids = emap->
allTriggerId();
202 for (std::vector<HcalTrigTowerDetId>::const_iterator it = tids.begin(); it != tids.end(); ++it) {
205 MEMap::iterator mit =
_mes.find(hash);
206 if (mit !=
_mes.end())
212 _mes.insert(std::make_pair(hash,
void customize(MonitorElement *) override
virtual void setAxisType(AxisType at)
std::vector< HcalElectronicsId > allElectronicsIdPrecision() const
void fill(HcalDetId const &) override
virtual bool isTHash() const
void debug(STDTYPE const &msg) const
void setCurrentFolder(std::string const &fullpath)
virtual std::string getHashTypeName() const
virtual int getValue(HcalDetId const &)
std::vector< HcalGenericDetId > allPrecisionId() const
MonitorElement * bookProfile2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, double lowZ, double highZ, char const *option="s")
uint32_t getHash(HcalDetId const &did) const override
virtual void initialize(std::string const &folder, hashfunctions::HashType, quantity::Quantity *, quantity::Quantity *, quantity::Quantity *qz=new quantity::ValueQuantity(quantity::fN), int debug=0)
mapper::HashMapper _hashmap
void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="") override
virtual bool isCoordinate()
virtual bool isDHash() const
void initialize(std::string const &folder, hashfunctions::HashType, quantity::Quantity *, quantity::Quantity *, quantity::Quantity *qz=new quantity::ValueQuantity(quantity::fEnergy), int debug=0) override
virtual bool filter(HcalDetId const &) const
virtual bool isEHash() const
Readout chain identification for Hcal.
std::vector< HcalTrigTowerDetId > allTriggerId() const
std::string getName(HcalDetId const &did) const override