7 using namespace mapper;
569 for (std::vector<HcalGenericDetId>::const_iterator it = dids.begin(); it != dids.end(); ++it) {
571 if (!it->isHcalDetId())
576 MEMap::iterator mit =
_mes.find(hash);
577 if (mit !=
_mes.end())
581 _mes.insert(std::make_pair(hash,
595 for (std::vector<HcalElectronicsId>::const_iterator it = eids.begin(); it != eids.end(); ++it) {
598 MEMap::iterator mit =
_mes.find(hash);
599 if (mit !=
_mes.end())
603 _mes.insert(std::make_pair(hash,
616 std::vector<HcalTrigTowerDetId> tids = emap->
allTriggerId();
617 for (std::vector<HcalTrigTowerDetId>::const_iterator it = tids.begin(); it != tids.end(); ++it) {
621 MEMap::iterator mit =
_mes.find(hash);
622 if (mit !=
_mes.end())
626 _mes.insert(std::make_pair(hash,
653 for (std::vector<HcalGenericDetId>::const_iterator it = dids.begin(); it != dids.end(); ++it) {
655 if (!it->isHcalDetId())
660 MEMap::iterator mit =
_mes.find(hash);
661 if (mit !=
_mes.end())
667 _mes.insert(std::make_pair(hash,
681 for (std::vector<HcalElectronicsId>::const_iterator it = eids.begin(); it != eids.end(); ++it) {
684 MEMap::iterator mit =
_mes.find(hash);
685 if (mit !=
_mes.end())
691 _mes.insert(std::make_pair(hash,
704 std::vector<HcalTrigTowerDetId> tids = emap->
allTriggerId();
705 for (std::vector<HcalTrigTowerDetId>::const_iterator it = tids.begin(); it != tids.end(); ++it) {
709 MEMap::iterator mit =
_mes.find(hash);
710 if (mit !=
_mes.end())
716 _mes.insert(std::make_pair(hash,
743 for (
unsigned int i = 0;
i < xlabels.size();
i++) {
746 for (
unsigned int i = 0;
i < ylabels.size();
i++) {
void customize(MonitorElement *) override
virtual void setBits(TH1 *o)
virtual void initialize(std::string const &folder, hashfunctions::HashType, quantity::Quantity *, quantity::Quantity *qy=new quantity::ValueQuantity(quantity::fN), int debug=0)
virtual std::string name()
virtual void setAxisType(AxisType at)
std::vector< HcalElectronicsId > allElectronicsIdPrecision() const
FWCore Framework interface EventSetupRecordImplementation h
Helper function to determine trigger accepts.
virtual std::vector< std::string > getLabels()
virtual bool isTHash() const
void debug(STDTYPE const &msg) const
void setBinLabel(int bin, const std::string &label, int axis=1)
set bin label for x, y or z axis (axis=1, 2, 3 respectively)
virtual std::string getHashTypeName() const
double getBinEntries(HcalDetId const &) override
virtual int getValue(HcalDetId const &)
void setCurrentFolder(std::string const &fullpath)
virtual uint32_t getBin(HcalDetId const &)
std::vector< HcalGenericDetId > allPrecisionId() const
virtual void showOverflow(bool showOverflow)
void showOverflowZ(bool showOverflow)
uint32_t getHash(HcalDetId const &did) const override
double getBinContent(HcalDetId const &) override
MonitorElement * book2D(Args &&...args)
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
virtual bool isCoordinate()
virtual bool isDHash() const
void setBinContent(HcalDetId const &, int) override
void fill(HcalDetId const &) override
virtual bool filter(HcalDetId const &) const
virtual bool isEHash() const
void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="") override
void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
Readout chain identification for Hcal.
std::vector< HcalTrigTowerDetId > allTriggerId() const
std::string getName(HcalDetId const &did) const override