4 using namespace mapper;
5 using namespace quantity;
50 for (std::vector<HcalGenericDetId>::const_iterator it = dids.begin(); it != dids.end(); ++it) {
52 if (!it->isHcalDetId())
57 MEMap::iterator mit =
_mes.find(hash);
58 if (mit !=
_mes.end())
62 _mes.insert(std::make_pair(hash,
74 for (std::vector<HcalElectronicsId>::const_iterator it = eids.begin(); it != eids.end(); ++it) {
77 MEMap::iterator mit =
_mes.find(hash);
78 if (mit !=
_mes.end())
82 _mes.insert(std::make_pair(hash,
93 std::vector<HcalTrigTowerDetId> tids = emap->
allTriggerId();
94 for (std::vector<HcalTrigTowerDetId>::const_iterator it = tids.begin(); it != tids.end(); ++it) {
97 MEMap::iterator mit =
_mes.find(hash);
98 if (mit !=
_mes.end())
102 _mes.insert(std::make_pair(hash,
126 for (std::vector<HcalGenericDetId>::const_iterator it = dids.begin(); it != dids.end(); ++it) {
128 if (!it->isHcalDetId())
133 MEMap::iterator mit =
_mes.find(hash);
134 if (mit !=
_mes.end())
140 _mes.insert(std::make_pair(hash,
152 for (std::vector<HcalElectronicsId>::const_iterator it = eids.begin(); it != eids.end(); ++it) {
155 MEMap::iterator mit =
_mes.find(hash);
156 if (mit !=
_mes.end())
162 _mes.insert(std::make_pair(hash,
173 std::vector<HcalTrigTowerDetId> tids = emap->
allTriggerId();
174 for (std::vector<HcalTrigTowerDetId>::const_iterator it = tids.begin(); it != tids.end(); ++it) {
177 MEMap::iterator mit =
_mes.find(hash);
178 if (mit !=
_mes.end())
184 _mes.insert(std::make_pair(hash,
void initialize(std::string const &folder, hashfunctions::HashType, quantity::Quantity *, quantity::Quantity *, int debug=0) override
virtual void customize(MonitorElement *)
virtual void initialize(std::string const &folder, hashfunctions::HashType, quantity::Quantity *, quantity::Quantity *qy=new quantity::ValueQuantity(quantity::fN), int debug=0)
virtual void setAxisType(AxisType at)
std::vector< HcalElectronicsId > allElectronicsIdPrecision() const
uint32_t getHash(HcalDetId const &did) const override
virtual void setCurrentFolder(std::string const &fullpath)
virtual bool isTHash() const
void debug(STDTYPE const &msg) const
void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="") override
virtual std::string getHashTypeName() const
MonitorElement * bookProfile(TString const &name, TString const &title, int nchX, double lowX, double highX, int, double lowY, double highY, char const *option="s", FUNC onbooking=NOOP())
std::vector< HcalGenericDetId > allPrecisionId() const
mapper::HashMapper _hashmap
virtual bool isDHash() const
std::string getName(HcalDetId const &did) const override
virtual bool filter(HcalDetId const &) const
virtual bool isEHash() const
Readout chain identification for Hcal.
std::vector< HcalTrigTowerDetId > allTriggerId() const