6 using namespace mapper;
616 for (std::vector<HcalGenericDetId>::const_iterator it=
617 dids.begin(); it!=dids.end(); ++it)
620 if (!it->isHcalDetId())
625 MEMap::iterator mit =
_mes.find(hash);
639 std::vector<HcalElectronicsId> eids =
641 for (std::vector<HcalElectronicsId>::const_iterator it=
642 eids.begin(); it!=eids.end(); ++it)
646 MEMap::iterator mit =
_mes.find(hash);
659 std::vector<HcalTrigTowerDetId> tids =
661 for (std::vector<HcalTrigTowerDetId>::const_iterator it=
662 tids.begin(); it!=tids.end(); ++it)
666 MEMap::iterator mit =
_mes.find(hash);
699 for (std::vector<HcalGenericDetId>::const_iterator it=
700 dids.begin(); it!=dids.end(); ++it)
703 if (!it->isHcalDetId())
708 MEMap::iterator mit =
_mes.find(hash);
727 std::vector<HcalElectronicsId> eids =
729 for (std::vector<HcalElectronicsId>::const_iterator it=
730 eids.begin(); it!=eids.end(); ++it)
734 MEMap::iterator mit =
_mes.find(hash);
752 std::vector<HcalTrigTowerDetId> tids =
754 for (std::vector<HcalTrigTowerDetId>::const_iterator it=
755 tids.begin(); it!=tids.end(); ++it)
759 MEMap::iterator mit =
_mes.find(hash);
793 for (std::vector<HcalGenericDetId>::const_iterator it=
794 dids.begin(); it!=dids.end(); ++it)
797 if (!it->isHcalDetId())
802 MEMap::iterator mit =
_mes.find(hash);
818 std::vector<HcalElectronicsId> eids =
820 for (std::vector<HcalElectronicsId>::const_iterator it=
821 eids.begin(); it!=eids.end(); ++it)
825 MEMap::iterator mit =
_mes.find(hash);
840 std::vector<HcalTrigTowerDetId> tids =
842 for (std::vector<HcalTrigTowerDetId>::const_iterator it=
843 tids.begin(); it!=tids.end(); ++it)
847 MEMap::iterator mit =
_mes.find(hash);
879 for (std::vector<HcalGenericDetId>::const_iterator it=
880 dids.begin(); it!=dids.end(); ++it)
883 if (!it->isHcalDetId())
888 MEMap::iterator mit =
_mes.find(hash);
907 std::vector<HcalElectronicsId> eids =
909 for (std::vector<HcalElectronicsId>::const_iterator it=
910 eids.begin(); it!=eids.end(); ++it)
914 MEMap::iterator mit =
_mes.find(hash);
932 std::vector<HcalTrigTowerDetId> tids =
934 for (std::vector<HcalTrigTowerDetId>::const_iterator it=
935 tids.begin(); it!=tids.end(); ++it)
939 MEMap::iterator mit =
_mes.find(hash);
970 for (std::vector<HcalGenericDetId>::const_iterator it=
971 dids.begin(); it!=dids.end(); ++it)
974 if (!it->isHcalDetId())
979 MEMap::iterator mit =
_mes.find(hash);
997 std::vector<HcalElectronicsId> eids =
999 for (std::vector<HcalElectronicsId>::const_iterator it=
1000 eids.begin(); it!=eids.end(); ++it)
1005 MEMap::iterator mit =
_mes.find(hash);
1006 if (mit!=
_mes.end())
1011 std::make_pair(hash,
1023 std::vector<HcalTrigTowerDetId> tids =
1025 for (std::vector<HcalTrigTowerDetId>::const_iterator it=
1026 tids.begin(); it!=tids.end(); ++it)
1030 MEMap::iterator mit =
_mes.find(hash);
1031 if (mit!=
_mes.end())
1036 std::make_pair(hash,
1061 for (std::vector<HcalGenericDetId>::const_iterator it=
1062 dids.begin(); it!=dids.end(); ++it)
1065 if (!it->isHcalDetId())
1070 MEMap::iterator mit =
_mes.find(hash);
1071 if (mit!=
_mes.end())
1090 std::vector<HcalElectronicsId> eids =
1092 for (std::vector<HcalElectronicsId>::const_iterator it=
1093 eids.begin(); it!=eids.end(); ++it)
1097 MEMap::iterator mit =
_mes.find(hash);
1098 if (mit!=
_mes.end())
1105 std::make_pair(hash,
1117 std::vector<HcalTrigTowerDetId> tids =
1119 for (std::vector<HcalTrigTowerDetId>::const_iterator it=
1120 tids.begin(); it!=tids.end(); ++it)
1124 MEMap::iterator mit =
_mes.find(hash);
1125 if (mit!=
_mes.end())
1132 std::make_pair(hash,
1155 for (std::vector<HcalGenericDetId>::const_iterator it=
1156 dids.begin(); it!=dids.end(); ++it)
1159 if (!it->isHcalDetId())
1164 MEMap::iterator mit =
_mes.find(hash);
1165 if (mit!=
_mes.end())
1182 std::vector<HcalElectronicsId> eids =
1184 for (std::vector<HcalElectronicsId>::const_iterator it=
1185 eids.begin(); it!=eids.end(); ++it)
1189 MEMap::iterator mit =
_mes.find(hash);
1190 if (mit!=
_mes.end())
1195 std::make_pair(hash,
1207 std::vector<HcalTrigTowerDetId> tids =
1209 for (std::vector<HcalTrigTowerDetId>::const_iterator it=
1210 tids.begin(); it!=tids.end(); ++it)
1214 MEMap::iterator mit =
_mes.find(hash);
1215 if (mit!=
_mes.end())
1220 std::make_pair(hash,
1243 for (std::vector<HcalGenericDetId>::const_iterator it=
1244 dids.begin(); it!=dids.end(); ++it)
1247 if (!it->isHcalDetId())
1252 MEMap::iterator mit =
_mes.find(hash);
1253 if (mit!=
_mes.end())
1272 std::vector<HcalElectronicsId> eids =
1274 for (std::vector<HcalElectronicsId>::const_iterator it=
1275 eids.begin(); it!=eids.end(); ++it)
1279 MEMap::iterator mit =
_mes.find(hash);
1280 if (mit!=
_mes.end())
1287 std::make_pair(hash,
1299 std::vector<HcalTrigTowerDetId> tids =
1301 for (std::vector<HcalTrigTowerDetId>::const_iterator it=
1302 tids.begin(); it!=tids.end(); ++it)
1306 MEMap::iterator mit =
_mes.find(hash);
1307 if (mit!=
_mes.end())
1314 std::make_pair(hash,
1337 for (
unsigned int i=0;
i<xlabels.size();
i++) {
1353 pair.second->getTH1()->LabelsInflate();
1364 pair.second->setLumiFlag();
virtual void setBits(TH1 *o)
virtual void customize(MonitorElement *)
virtual void initialize(std::string const &folder, hashfunctions::HashType, Quantity *, Quantity *qy=new ValueQuantity(quantity::fN), int debug=0)
virtual void initialize(std::string const &folder, std::string const &qname, 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)
virtual void initialize(HashType htype)
virtual std::vector< std::string > getLabels()
MonitorElement * book1D(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1D histogram.
virtual bool isTHash() const
void debug(STDTYPE const &msg) const
MonitorElement * get(const std::string &path)
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 &)
Container::value_type value_type
MonitorElement * book1D(Args &&...args)
virtual uint32_t getBin(HcalDetId const &)
std::vector< HcalGenericDetId > allPrecisionId() const
MonitorElement * get(const std::string &path) const
get ME from full pathname (e.g. "my/long/dir/my_histo")
virtual double getMean(HcalDetId const &, int axis=1)
uint32_t getHash(HcalDetId const &did) const override
void setCurrentFolder(const std::string &fullpath)
virtual void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="")
virtual void load(DQMStore *, HcalElectronicsMap const *, std::string const &subsystem="Hcal", std::string const &aux="", std::string const &prepend="", DQMStore::OpenRunDirs mode=DQMStore::StripRunDirs)
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 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
void setCurrentFolder(const std::string &fullpath)
virtual void extendAxisRange(int)