4 using namespace mapper;
61 for (
auto const &pair :
_mes) {
68 for (
auto const &pair :
_mes) {
464 for (std::vector<HcalGenericDetId>::const_iterator it = dids.begin(); it != dids.end(); ++it) {
466 if (!it->isHcalDetId())
471 MEMap::iterator mit =
_mes.find(hash);
474 if (mit !=
_mes.end())
485 for (std::vector<HcalElectronicsId>::const_iterator it = eids.begin(); it != eids.end(); ++it) {
488 MEMap::iterator mit =
_mes.find(hash);
491 if (mit !=
_mes.end())
499 std::vector<HcalTrigTowerDetId> tids = emap->
allTriggerId();
500 for (std::vector<HcalTrigTowerDetId>::const_iterator it = tids.begin(); it != tids.end(); ++it) {
503 MEMap::iterator mit =
_mes.find(hash);
506 if (mit !=
_mes.end())
531 for (std::vector<HcalGenericDetId>::const_iterator it = dids.begin(); it != dids.end(); ++it) {
533 if (!it->isHcalDetId())
538 MEMap::iterator mit =
_mes.find(hash);
541 if (mit !=
_mes.end())
555 for (std::vector<HcalElectronicsId>::const_iterator it = eids.begin(); it != eids.end(); ++it) {
558 MEMap::iterator mit =
_mes.find(hash);
561 if (mit !=
_mes.end())
572 std::vector<HcalTrigTowerDetId> tids = emap->
allTriggerId();
573 for (std::vector<HcalTrigTowerDetId>::const_iterator it = tids.begin(); it != tids.end(); ++it) {
576 MEMap::iterator mit =
_mes.find(hash);
579 if (mit !=
_mes.end())
604 for (std::vector<HcalGenericDetId>::const_iterator it = dids.begin(); it != dids.end(); ++it) {
606 if (!it->isHcalDetId())
611 MEMap::iterator mit =
_mes.find(hash);
612 if (mit !=
_mes.end())
616 _mes.insert(std::make_pair(
627 for (std::vector<HcalElectronicsId>::const_iterator it = eids.begin(); it != eids.end(); ++it) {
630 MEMap::iterator mit =
_mes.find(hash);
631 if (mit !=
_mes.end())
635 _mes.insert(std::make_pair(
643 std::vector<HcalTrigTowerDetId> tids = emap->
allTriggerId();
644 for (std::vector<HcalTrigTowerDetId>::const_iterator it = tids.begin(); it != tids.end(); ++it) {
647 MEMap::iterator mit =
_mes.find(hash);
648 if (mit !=
_mes.end())
652 _mes.insert(std::make_pair(
675 for (std::vector<HcalGenericDetId>::const_iterator it = dids.begin(); it != dids.end(); ++it) {
677 if (!it->isHcalDetId())
682 MEMap::iterator mit =
_mes.find(hash);
683 if (mit !=
_mes.end())
689 _mes.insert(std::make_pair(
700 for (std::vector<HcalElectronicsId>::const_iterator it = eids.begin(); it != eids.end(); ++it) {
703 MEMap::iterator mit =
_mes.find(hash);
704 if (mit !=
_mes.end())
710 _mes.insert(std::make_pair(
718 std::vector<HcalTrigTowerDetId> tids = emap->
allTriggerId();
719 for (std::vector<HcalTrigTowerDetId>::const_iterator it = tids.begin(); it != tids.end(); ++it) {
722 MEMap::iterator mit =
_mes.find(hash);
723 if (mit !=
_mes.end())
729 _mes.insert(std::make_pair(
749 for (
unsigned int i = 0;
i < xlabels.size();
i++) {
755 if (l < _qx->
nbins())
759 for (
auto const &pair :
_mes) {
762 pair.second->getTH1()->LabelsInflate();
770 for (
auto const &pair :
_mes) {
771 pair.second->setLumiFlag();
virtual void setBits(TH1 *o)
virtual void customize(MonitorElement *)
virtual void initialize(std::string const &folder, std::string const &qname, int debug=0)
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
virtual double getRMS(HcalDetId const &, int axix=1)
FWCore Framework interface EventSetupRecordImplementation h
Helper function to determine trigger accepts.
virtual std::vector< std::string > getLabels()
virtual bool isTHash() const
virtual void initialize(hashfunctions::HashType htype)
void debug(STDTYPE const &msg) const
virtual void setMax(double)
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
virtual void fill(uint32_t)
virtual int getValue(HcalDetId const &)
void setCurrentFolder(std::string const &fullpath)
virtual void showOverflowX(bool showOverflow)
MonitorElement * book1D(Args &&...args)
virtual uint32_t getBin(HcalDetId const &)
std::vector< HcalGenericDetId > allPrecisionId() const
virtual void showOverflowY(bool showOverflow)
virtual double getMean(HcalDetId const &, int axis=1)
MonitorElement * get(std::string const &path)
virtual void showOverflow(bool showOverflow)
uint32_t getHash(HcalDetId const &did) const override
virtual void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="")
virtual void setBinContent(HcalDetId const &, int)
mapper::HashMapper _hashmap
virtual bool isDHash() const
virtual void setLumiFlag()
virtual double getBinContent(HcalDetId const &)
virtual bool filter(HcalDetId const &) const
virtual QuantityType type()
virtual bool isEHash() const
virtual void load(DQMStore::IGetter &, HcalElectronicsMap const *, std::string const &subsystem="Hcal", std::string const &aux="")
virtual double getBinEntries(HcalDetId const &)
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
virtual void extendAxisRange(int)