7 using namespace mapper;
578 for (std::vector<HcalGenericDetId>::const_iterator it = dids.begin(); it != dids.end(); ++it) {
580 if (!it->isHcalDetId())
585 MEMap::iterator mit =
_mes.find(
hash);
586 if (mit !=
_mes.end())
604 for (std::vector<HcalElectronicsId>::const_iterator it = eids.begin(); it != eids.end(); ++it) {
607 MEMap::iterator mit =
_mes.find(
hash);
608 if (mit !=
_mes.end())
625 std::vector<HcalTrigTowerDetId> tids = emap->
allTriggerId();
626 for (std::vector<HcalTrigTowerDetId>::const_iterator it = tids.begin(); it != tids.end(); ++it) {
630 MEMap::iterator mit =
_mes.find(
hash);
631 if (mit !=
_mes.end())
649 std::vector<HcalTrigTowerDetId> tids = emap->
allTriggerId();
650 for (std::vector<HcalTrigTowerDetId>::const_iterator it = tids.begin(); it != tids.end(); ++it) {
655 MEMap::iterator mit =
_mes.find(
hash);
656 if (mit !=
_mes.end())
687 for (std::vector<HcalGenericDetId>::const_iterator it = dids.begin(); it != dids.end(); ++it) {
689 if (!it->isHcalDetId())
694 MEMap::iterator mit =
_mes.find(
hash);
695 if (mit !=
_mes.end())
715 for (std::vector<HcalElectronicsId>::const_iterator it = eids.begin(); it != eids.end(); ++it) {
718 MEMap::iterator mit =
_mes.find(
hash);
719 if (mit !=
_mes.end())
738 std::vector<HcalTrigTowerDetId> tids = emap->
allTriggerId();
739 for (std::vector<HcalTrigTowerDetId>::const_iterator it = tids.begin(); it != tids.end(); ++it) {
743 MEMap::iterator mit =
_mes.find(
hash);
744 if (mit !=
_mes.end())
764 std::vector<HcalTrigTowerDetId> tids = emap->
allTriggerId();
765 for (std::vector<HcalTrigTowerDetId>::const_iterator it = tids.begin(); it != tids.end(); ++it) {
770 MEMap::iterator mit =
_mes.find(
hash);
771 if (mit !=
_mes.end())
797 TH1 *
h =
me->getTH1();
804 for (
unsigned int i = 0;
i < xlabels.size();
i++) {
805 me->setBinLabel(
i + 1, xlabels[
i], 1);
807 for (
unsigned int i = 0;
i < ylabels.size();
i++) {
808 me->setBinLabel(
i + 1, ylabels[
i], 2);
void customize(MonitorElement *) override
virtual void setBits(TH1 *o)
virtual bool isMixHash() const
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)
uint32_t getHash(HcalDetId const &did) const override
virtual std::vector< std::string > getLabels()
virtual bool isTHash() const
std::vector< HcalTrigTowerDetId > allTriggerId() const
virtual std::string getHashTypeName() const
double getBinEntries(HcalDetId const &) override
virtual int getValue(HcalDetId const &)
virtual uint32_t getBin(HcalDetId const &)
void debug(STDTYPE const &msg) const
virtual bool isEHash() const
virtual void showOverflow(bool showOverflow)
void showOverflowZ(bool showOverflow)
double getBinContent(HcalDetId const &) override
constexpr uint32_t rawId() const
get the raw id
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 isDHash() const
virtual bool isCoordinate()
void setBinContent(HcalDetId const &, int) override
std::string getName(HcalDetId const &did) const override
std::vector< HcalGenericDetId > allPrecisionId() const
void fill(HcalDetId const &) override
std::vector< HcalElectronicsId > allElectronicsIdPrecision() const
const DetId lookupTrigger(HcalElectronicsId fId) const
brief lookup the trigger logical detid associated with the given electronics id
void book(DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="") override
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
Readout chain identification for Hcal.