CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes
hcaldqm::Container2D Class Reference

#include <Container2D.h>

Inheritance diagram for hcaldqm::Container2D:
hcaldqm::Container1D hcaldqm::Container hcaldqm::ContainerProf2D

Public Member Functions

void book (DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="") override
 
void book (DQMStore::IBooker &, HcalElectronicsMap const *, filter::HashFilter const &, std::string subsystem="Hcal", std::string aux="") override
 
 Container2D ()
 
 Container2D (std::string const &folder, hashfunctions::HashType, quantity::Quantity *, quantity::Quantity *, quantity::Quantity *qz=new quantity::ValueQuantity(quantity::fN))
 
void fill (HcalDetId const &) override
 
void fill (HcalDetId const &, int) override
 
void fill (HcalDetId const &, double) override
 
void fill (HcalDetId const &, int, double) override
 
void fill (HcalDetId const &, int, int) override
 
void fill (HcalDetId const &, double, double) override
 
void fill (HcalElectronicsId const &) override
 
void fill (HcalElectronicsId const &, int) override
 
void fill (HcalElectronicsId const &, double) override
 
void fill (HcalElectronicsId const &, int, double) override
 
void fill (HcalElectronicsId const &, int, int) override
 
void fill (HcalElectronicsId const &, double, double) override
 
void fill (HcalTrigTowerDetId const &) override
 
void fill (HcalTrigTowerDetId const &, int) override
 
void fill (HcalTrigTowerDetId const &, double) override
 
void fill (HcalTrigTowerDetId const &, int, int) override
 
void fill (HcalTrigTowerDetId const &, int, double) override
 
void fill (HcalTrigTowerDetId const &, double, double) override
 
void fill (HcalTrigTowerDetId const &, HcalElectronicsId const &, int, int)
 
double getBinContent (HcalDetId const &) override
 
double getBinContent (HcalDetId const &, int) override
 
double getBinContent (HcalDetId const &, double) override
 
double getBinContent (HcalDetId const &, int, int) override
 
double getBinContent (HcalDetId const &, int, double) override
 
double getBinContent (HcalDetId const &, double, double) override
 
double getBinContent (HcalElectronicsId const &) override
 
double getBinContent (HcalElectronicsId const &, int) override
 
double getBinContent (HcalElectronicsId const &, double) override
 
double getBinContent (HcalElectronicsId const &, int, int) override
 
double getBinContent (HcalElectronicsId const &, int, double) override
 
double getBinContent (HcalElectronicsId const &, double, double) override
 
double getBinContent (HcalTrigTowerDetId const &) override
 
double getBinContent (HcalTrigTowerDetId const &, int) override
 
double getBinContent (HcalTrigTowerDetId const &, double) override
 
double getBinContent (HcalTrigTowerDetId const &, int, int) override
 
double getBinContent (HcalTrigTowerDetId const &, int, double) override
 
double getBinContent (HcalTrigTowerDetId const &, double, double) override
 
double getBinEntries (HcalDetId const &) override
 
double getBinEntries (HcalDetId const &, int) override
 
double getBinEntries (HcalDetId const &, double) override
 
double getBinEntries (HcalDetId const &, int, int) override
 
double getBinEntries (HcalDetId const &, int, double) override
 
double getBinEntries (HcalDetId const &, double, double) override
 
double getBinEntries (HcalElectronicsId const &) override
 
double getBinEntries (HcalElectronicsId const &, int) override
 
double getBinEntries (HcalElectronicsId const &, double) override
 
double getBinEntries (HcalElectronicsId const &, int, int) override
 
double getBinEntries (HcalElectronicsId const &, int, double) override
 
double getBinEntries (HcalElectronicsId const &, double, double) override
 
double getBinEntries (HcalTrigTowerDetId const &) override
 
double getBinEntries (HcalTrigTowerDetId const &, int) override
 
double getBinEntries (HcalTrigTowerDetId const &, double) override
 
double getBinEntries (HcalTrigTowerDetId const &, int, int) override
 
double getBinEntries (HcalTrigTowerDetId const &, int, double) override
 
double getBinEntries (HcalTrigTowerDetId const &, double, double) override
 
virtual void initialize (std::string const &folder, hashfunctions::HashType, quantity::Quantity *, quantity::Quantity *, quantity::Quantity *qz=new quantity::ValueQuantity(quantity::fN), int debug=0)
 
virtual void initialize (std::string const &folder, std::string const &qname, hashfunctions::HashType, quantity::Quantity *, quantity::Quantity *, quantity::Quantity *qz=new quantity::ValueQuantity(quantity::fN), int debug=0)
 
void setBinContent (HcalDetId const &, int) override
 
void setBinContent (HcalDetId const &, double) override
 
void setBinContent (HcalDetId const &, int, int) override
 
void setBinContent (HcalDetId const &, int, double) override
 
void setBinContent (HcalDetId const &, double, int) override
 
void setBinContent (HcalDetId const &, double, double) override
 
void setBinContent (HcalDetId const &, int, int, int) override
 
void setBinContent (HcalDetId const &, int, double, int) override
 
void setBinContent (HcalDetId const &, double, int, int) override
 
void setBinContent (HcalDetId const &, double, double, int) override
 
void setBinContent (HcalDetId const &, int, int, double) override
 
void setBinContent (HcalDetId const &, int, double, double) override
 
void setBinContent (HcalDetId const &, double, int, double) override
 
void setBinContent (HcalDetId const &, double, double, double) override
 
void setBinContent (HcalElectronicsId const &, int) override
 
void setBinContent (HcalElectronicsId const &, double) override
 
void setBinContent (HcalElectronicsId const &, int, int) override
 
void setBinContent (HcalElectronicsId const &, int, double) override
 
void setBinContent (HcalElectronicsId const &, double, int) override
 
void setBinContent (HcalElectronicsId const &, double, double) override
 
void setBinContent (HcalElectronicsId const &, int, int, int) override
 
void setBinContent (HcalElectronicsId const &, int, double, int) override
 
void setBinContent (HcalElectronicsId const &, double, int, int) override
 
void setBinContent (HcalElectronicsId const &, double, double, int) override
 
void setBinContent (HcalElectronicsId const &, int, int, double) override
 
void setBinContent (HcalElectronicsId const &, int, double, double) override
 
void setBinContent (HcalElectronicsId const &, double, int, double) override
 
void setBinContent (HcalElectronicsId const &, double, double, double) override
 
void setBinContent (HcalTrigTowerDetId const &, int) override
 
void setBinContent (HcalTrigTowerDetId const &, double) override
 
void setBinContent (HcalTrigTowerDetId const &, int, int) override
 
void setBinContent (HcalTrigTowerDetId const &, int, double) override
 
void setBinContent (HcalTrigTowerDetId const &, double, int) override
 
void setBinContent (HcalTrigTowerDetId const &, double, double) override
 
void setBinContent (HcalTrigTowerDetId const &, int, int, int) override
 
void setBinContent (HcalTrigTowerDetId const &, int, double, int) override
 
void setBinContent (HcalTrigTowerDetId const &, double, int, int) override
 
void setBinContent (HcalTrigTowerDetId const &, double, double, int) override
 
void setBinContent (HcalTrigTowerDetId const &, int, int, double) override
 
void setBinContent (HcalTrigTowerDetId const &, int, double, double) override
 
void setBinContent (HcalTrigTowerDetId const &, double, int, double) override
 
void setBinContent (HcalTrigTowerDetId const &, double, double, double) override
 
void showOverflowZ (bool showOverflow)
 
 ~Container2D () override
 
- Public Member Functions inherited from hcaldqm::Container1D
 Container1D ()
 
 Container1D (std::string const &folder, hashfunctions::HashType, quantity::Quantity *, quantity::Quantity *qy=new quantity::ValueQuantity(quantity::fN))
 
virtual void extendAxisRange (int)
 
virtual void fill (uint32_t)
 
virtual void fill (uint32_t, int)
 
virtual void fill (uint32_t, double)
 
virtual void fill (uint32_t, int, double)
 
virtual void fill (uint32_t, int, int)
 
virtual void fill (uint32_t, double, double)
 
virtual double getMean (HcalDetId const &, int axis=1)
 
virtual double getMean (HcalElectronicsId const &, int axis=1)
 
virtual double getMean (HcalTrigTowerDetId const &, int axis=1)
 
virtual double getRMS (HcalDetId const &, int axix=1)
 
virtual double getRMS (HcalElectronicsId const &, int axis=1)
 
virtual double getRMS (HcalTrigTowerDetId const &, int axis=1)
 
virtual void initialize (std::string const &folder, hashfunctions::HashType, quantity::Quantity *, quantity::Quantity *qy=new quantity::ValueQuantity(quantity::fN), int debug=0)
 
virtual void initialize (std::string const &folder, std::string const &qname, hashfunctions::HashType, quantity::Quantity *, quantity::Quantity *qy=new quantity::ValueQuantity(quantity::fN), int debug=0)
 
virtual void load (DQMStore::IGetter &, HcalElectronicsMap const *, std::string const &subsystem="Hcal", std::string const &aux="")
 
virtual void load (DQMStore::IGetter &, HcalElectronicsMap const *, filter::HashFilter const &, std::string const &subsystem="Hcal", std::string const &aux="")
 
virtual void print ()
 
virtual void reset ()
 
virtual void showOverflowX (bool showOverflow)
 
virtual void showOverflowY (bool showOverflow)
 
 ~Container1D () override
 
- Public Member Functions inherited from hcaldqm::Container
 Container ()
 
 Container (std::string const &folder, std::string const &qname)
 
virtual void initialize (std::string const &folder, std::string const &qname, int debug=0)
 
virtual ~Container ()
 

Protected Member Functions

void customize (MonitorElement *) override
 

Protected Attributes

quantity::Quantity_qz
 
- Protected Attributes inherited from hcaldqm::Container1D
mapper::HashMapper _hashmap
 
MEMap _mes
 
quantity::Quantity_qx
 
quantity::Quantity_qy
 
- Protected Attributes inherited from hcaldqm::Container
std::string _folder
 
Logger _logger
 
std::string _qname
 

Additional Inherited Members

- Public Types inherited from hcaldqm::Container
typedef dqm::legacy::DQMStore DQMStore
 
typedef dqm::legacy::MonitorElement MonitorElement
 
- Protected Types inherited from hcaldqm::Container1D
typedef std::unordered_map
< uint32_t, MonitorElement * > 
MEMap
 

Detailed Description

Definition at line 19 of file Container2D.h.

Constructor & Destructor Documentation

hcaldqm::Container2D::Container2D ( )

Definition at line 9 of file Container2D.cc.

9 : _qz(nullptr) {}
quantity::Quantity * _qz
Definition: Container2D.h:174
hcaldqm::Container2D::Container2D ( std::string const &  folder,
hashfunctions::HashType  hashtype,
quantity::Quantity qx,
quantity::Quantity qy,
quantity::Quantity qz = new quantity::ValueQuantity(quantity::fN) 
)
hcaldqm::Container2D::~Container2D ( )
override

Definition at line 19 of file Container2D.cc.

References _qz.

19  {
20  if (_qz != nullptr)
21  delete _qz;
22  _qz = nullptr;
23  }
quantity::Quantity * _qz
Definition: Container2D.h:174

Member Function Documentation

void hcaldqm::Container2D::book ( DQMStore::IBooker ib,
HcalElectronicsMap const *  emap,
std::string  subsystem = "Hcal",
std::string  aux = "" 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Reimplemented in hcaldqm::ContainerProf2D.

Definition at line 567 of file Container2D.cc.

References hcaldqm::Container::_folder, hcaldqm::Container1D::_hashmap, hcaldqm::Container::_logger, hcaldqm::Container1D::_mes, hcaldqm::Container::_qname, hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, HcalElectronicsMap::allElectronicsIdPrecision(), HcalElectronicsMap::allPrecisionId(), HcalElectronicsMap::allTriggerId(), printConversionInfo::aux, dqm::implementation::IBooker::book2D(), customize(), Logger::debug(), runTauDisplay::eid, hcaldqm::mapper::HashMapper::getHash(), hcaldqm::mapper::HashMapper::getHashTypeName(), hcaldqm::mapper::HashMapper::getName(), cond::hash, hcaldqm::mapper::HashMapper::isDHash(), hcaldqm::mapper::HashMapper::isEHash(), hcaldqm::mapper::HashMapper::isMixHash(), hcaldqm::mapper::HashMapper::isTHash(), HcalElectronicsMap::lookupTrigger(), hcaldqm::quantity::Quantity::max(), hcaldqm::quantity::Quantity::min(), hcaldqm::quantity::Quantity::nbins(), DetId::rawId(), and dqm::implementation::NavigatorBase::setCurrentFolder().

Referenced by HcalOnlineHarvesting::_dqmEndLuminosityBlock(), NoCQTask::bookHistograms(), PedestalTask::bookHistograms(), QIE11Task::bookHistograms(), LEDTask::bookHistograms(), TPTask::bookHistograms(), QIE10Task::bookHistograms(), LaserTask::bookHistograms(), RawTask::bookHistograms(), RecHitTask::bookHistograms(), DigiTask::bookHistograms(), hcaldqm::RawRunSummary::endJob(), hcaldqm::DigiRunSummary::endJob(), hcaldqm::RawRunSummary::endLuminosityBlock(), and hcaldqm::DigiRunSummary::endLuminosityBlock().

570  {
571  // full path as in Container1D.cc
572  //
573  ib.setCurrentFolder(subsystem + "/" + _folder + "/" + _qname + (aux.empty() ? aux : "_" + aux) + "/" +
575  if (_hashmap.isDHash()) {
576  // for Detector Hashes
577  std::vector<HcalGenericDetId> dids = emap->allPrecisionId();
578  for (std::vector<HcalGenericDetId>::const_iterator it = dids.begin(); it != dids.end(); ++it) {
579  // skip trigger towers and calib
580  if (!it->isHcalDetId())
581  continue;
582 
583  HcalDetId did = HcalDetId(it->rawId());
584  uint32_t hash = _hashmap.getHash(did);
585  MEMap::iterator mit = _mes.find(hash);
586  if (mit != _mes.end())
587  continue;
588 
590  _mes.insert(std::make_pair(hash,
591  ib.book2D(_hashmap.getName(did),
592  _hashmap.getName(did),
593  _qx->nbins(),
594  _qx->min(),
595  _qx->max(),
596  _qy->nbins(),
597  _qy->min(),
598  _qy->max())));
599  customize(_mes[hash]);
600  }
601  } else if (_hashmap.isEHash()) {
602  // for Electronics hashes
603  std::vector<HcalElectronicsId> eids = emap->allElectronicsIdPrecision();
604  for (std::vector<HcalElectronicsId>::const_iterator it = eids.begin(); it != eids.end(); ++it) {
605  HcalElectronicsId eid = HcalElectronicsId(it->rawId());
606  uint32_t hash = _hashmap.getHash(eid);
607  MEMap::iterator mit = _mes.find(hash);
608  if (mit != _mes.end())
609  continue;
610 
612  _mes.insert(std::make_pair(hash,
613  ib.book2D(_hashmap.getName(eid),
614  _hashmap.getName(eid),
615  _qx->nbins(),
616  _qx->min(),
617  _qx->max(),
618  _qy->nbins(),
619  _qy->min(),
620  _qy->max())));
621  customize(_mes[hash]);
622  }
623  } else if (_hashmap.isTHash()) {
624  // for TrigTower hashes
625  std::vector<HcalTrigTowerDetId> tids = emap->allTriggerId();
626  for (std::vector<HcalTrigTowerDetId>::const_iterator it = tids.begin(); it != tids.end(); ++it) {
627  HcalTrigTowerDetId tid = HcalTrigTowerDetId(it->rawId());
629  uint32_t hash = _hashmap.getHash(tid);
630  MEMap::iterator mit = _mes.find(hash);
631  if (mit != _mes.end())
632  continue;
633 
635  _mes.insert(std::make_pair(hash,
636  ib.book2D(_hashmap.getName(tid),
637  _hashmap.getName(tid),
638  _qx->nbins(),
639  _qx->min(),
640  _qx->max(),
641  _qy->nbins(),
642  _qy->min(),
643  _qy->max())));
644 
645  customize(_mes[hash]);
646  }
647  } else if (_hashmap.isMixHash()) {
648  // for Mixed hashes
649  std::vector<HcalTrigTowerDetId> tids = emap->allTriggerId();
650  for (std::vector<HcalTrigTowerDetId>::const_iterator it = tids.begin(); it != tids.end(); ++it) {
651  HcalTrigTowerDetId tid = HcalTrigTowerDetId(it->rawId());
652  HcalElectronicsId eid = HcalElectronicsId(emap->lookupTrigger(*it).rawId());
653  _logger.debug(_hashmap.getName(tid, eid));
654  uint32_t hash = _hashmap.getHash(tid, eid);
655  MEMap::iterator mit = _mes.find(hash);
656  if (mit != _mes.end())
657  continue;
658 
659  _logger.debug(_hashmap.getName(tid, eid));
660  _mes.insert(std::make_pair(hash,
661  ib.book2D(_hashmap.getName(tid, eid),
662  _hashmap.getName(tid, eid),
663  _qx->nbins(),
664  _qx->min(),
665  _qx->max(),
666  _qy->nbins(),
667  _qy->min(),
668  _qy->max())));
669 
670  customize(_mes[hash]);
671  }
672  }
673  }
void customize(MonitorElement *) override
Definition: Container2D.cc:792
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
virtual void setCurrentFolder(std::string const &fullpath)
Definition: DQMStore.cc:32
virtual bool isMixHash() const
Definition: HashMapper.h:65
virtual bool isTHash() const
Definition: HashMapper.h:62
virtual double max()
Definition: Quantity.h:60
void debug(STDTYPE const &msg) const
Definition: Logger.h:20
virtual std::string getHashTypeName() const
Definition: HashMapper.h:54
quantity::Quantity * _qx
Definition: Container1D.h:234
std::string _folder
Definition: Container.h:37
mapper::HashMapper _hashmap
Definition: Container1D.h:233
MonitorElement * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, FUNC onbooking=NOOP())
Definition: DQMStore.h:177
virtual double min()
Definition: Quantity.h:59
virtual bool isDHash() const
Definition: HashMapper.h:58
std::string getName(HcalDetId const &did) const override
Definition: HashMapper.h:42
std::string _qname
Definition: Container.h:38
virtual bool isEHash() const
Definition: HashMapper.h:59
quantity::Quantity * _qy
Definition: Container1D.h:235
Readout chain identification for Hcal.
void hcaldqm::Container2D::book ( DQMStore::IBooker ib,
HcalElectronicsMap const *  emap,
filter::HashFilter const &  filter,
std::string  subsystem = "Hcal",
std::string  aux = "" 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Reimplemented in hcaldqm::ContainerProf2D.

Definition at line 675 of file Container2D.cc.

References hcaldqm::Container::_folder, hcaldqm::Container1D::_hashmap, hcaldqm::Container::_logger, hcaldqm::Container1D::_mes, hcaldqm::Container::_qname, hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, HcalElectronicsMap::allElectronicsIdPrecision(), HcalElectronicsMap::allPrecisionId(), HcalElectronicsMap::allTriggerId(), printConversionInfo::aux, dqm::implementation::IBooker::book2D(), customize(), Logger::debug(), runTauDisplay::eid, hcaldqm::filter::HashFilter::filter(), hcaldqm::mapper::HashMapper::getHash(), hcaldqm::mapper::HashMapper::getHashTypeName(), hcaldqm::mapper::HashMapper::getName(), cond::hash, hcaldqm::mapper::HashMapper::isDHash(), hcaldqm::mapper::HashMapper::isEHash(), hcaldqm::mapper::HashMapper::isMixHash(), hcaldqm::mapper::HashMapper::isTHash(), HcalElectronicsMap::lookupTrigger(), hcaldqm::quantity::Quantity::max(), hcaldqm::quantity::Quantity::min(), hcaldqm::quantity::Quantity::nbins(), DetId::rawId(), and dqm::implementation::NavigatorBase::setCurrentFolder().

679  {
680  // full path as in Container1D.cc
681  //
682  ib.setCurrentFolder(subsystem + "/" + _folder + "/" + _qname + (aux.empty() ? aux : "_" + aux) + "/" +
684  if (_hashmap.isDHash()) {
685  // for Detector Hashes
686  std::vector<HcalGenericDetId> dids = emap->allPrecisionId();
687  for (std::vector<HcalGenericDetId>::const_iterator it = dids.begin(); it != dids.end(); ++it) {
688  // skip trigger towers and calib
689  if (!it->isHcalDetId())
690  continue;
691 
692  HcalDetId did = HcalDetId(it->rawId());
693  uint32_t hash = _hashmap.getHash(did);
694  MEMap::iterator mit = _mes.find(hash);
695  if (mit != _mes.end())
696  continue;
697  if (filter.filter(did))
698  continue;
699 
701  _mes.insert(std::make_pair(hash,
702  ib.book2D(_hashmap.getName(did),
703  _hashmap.getName(did),
704  _qx->nbins(),
705  _qx->min(),
706  _qx->max(),
707  _qy->nbins(),
708  _qy->min(),
709  _qy->max())));
710  customize(_mes[hash]);
711  }
712  } else if (_hashmap.isEHash()) {
713  // for Electronics hashes
714  std::vector<HcalElectronicsId> eids = emap->allElectronicsIdPrecision();
715  for (std::vector<HcalElectronicsId>::const_iterator it = eids.begin(); it != eids.end(); ++it) {
716  HcalElectronicsId eid = HcalElectronicsId(it->rawId());
717  uint32_t hash = _hashmap.getHash(eid);
718  MEMap::iterator mit = _mes.find(hash);
719  if (mit != _mes.end())
720  continue;
721  if (filter.filter(eid))
722  continue;
723 
725  _mes.insert(std::make_pair(hash,
726  ib.book2D(_hashmap.getName(eid),
727  _hashmap.getName(eid),
728  _qx->nbins(),
729  _qx->min(),
730  _qx->max(),
731  _qy->nbins(),
732  _qy->min(),
733  _qy->max())));
734  customize(_mes[hash]);
735  }
736  } else if (_hashmap.isTHash()) {
737  // for TrigTower hashes
738  std::vector<HcalTrigTowerDetId> tids = emap->allTriggerId();
739  for (std::vector<HcalTrigTowerDetId>::const_iterator it = tids.begin(); it != tids.end(); ++it) {
740  HcalTrigTowerDetId tid = HcalTrigTowerDetId(it->rawId());
742  uint32_t hash = _hashmap.getHash(tid);
743  MEMap::iterator mit = _mes.find(hash);
744  if (mit != _mes.end())
745  continue;
746  if (filter.filter(tid))
747  continue;
748 
750  _mes.insert(std::make_pair(hash,
751  ib.book2D(_hashmap.getName(tid),
752  _hashmap.getName(tid),
753  _qx->nbins(),
754  _qx->min(),
755  _qx->max(),
756  _qy->nbins(),
757  _qy->min(),
758  _qy->max())));
759 
760  customize(_mes[hash]);
761  }
762  } else if (_hashmap.isMixHash()) {
763  // for Mixed hashes
764  std::vector<HcalTrigTowerDetId> tids = emap->allTriggerId();
765  for (std::vector<HcalTrigTowerDetId>::const_iterator it = tids.begin(); it != tids.end(); ++it) {
766  HcalTrigTowerDetId tid = HcalTrigTowerDetId(it->rawId());
767  HcalElectronicsId eid = HcalElectronicsId(emap->lookupTrigger(*it).rawId());
768  _logger.debug(_hashmap.getName(tid, eid));
769  uint32_t hash = _hashmap.getHash(tid, eid);
770  MEMap::iterator mit = _mes.find(hash);
771  if (mit != _mes.end())
772  continue;
773  if (filter.filter(tid))
774  continue;
775 
776  _logger.debug(_hashmap.getName(tid, eid));
777  _mes.insert(std::make_pair(hash,
778  ib.book2D(_hashmap.getName(tid, eid),
779  _hashmap.getName(tid, eid),
780  _qx->nbins(),
781  _qx->min(),
782  _qx->max(),
783  _qy->nbins(),
784  _qy->min(),
785  _qy->max())));
786 
787  customize(_mes[hash]);
788  }
789  }
790  }
void customize(MonitorElement *) override
Definition: Container2D.cc:792
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
virtual void setCurrentFolder(std::string const &fullpath)
Definition: DQMStore.cc:32
virtual bool isMixHash() const
Definition: HashMapper.h:65
virtual bool isTHash() const
Definition: HashMapper.h:62
virtual double max()
Definition: Quantity.h:60
void debug(STDTYPE const &msg) const
Definition: Logger.h:20
virtual std::string getHashTypeName() const
Definition: HashMapper.h:54
quantity::Quantity * _qx
Definition: Container1D.h:234
std::string _folder
Definition: Container.h:37
mapper::HashMapper _hashmap
Definition: Container1D.h:233
MonitorElement * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, FUNC onbooking=NOOP())
Definition: DQMStore.h:177
virtual double min()
Definition: Quantity.h:59
virtual bool isDHash() const
Definition: HashMapper.h:58
std::string getName(HcalDetId const &did) const override
Definition: HashMapper.h:42
std::string _qname
Definition: Container.h:38
virtual bool isEHash() const
Definition: HashMapper.h:59
quantity::Quantity * _qy
Definition: Container1D.h:235
Readout chain identification for Hcal.
void hcaldqm::Container2D::customize ( MonitorElement me)
overrideprotectedvirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 792 of file Container2D.cc.

References hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, _qz, hcaldqm::quantity::Quantity::getLabels(), dqm::legacy::MonitorElement::getTH1(), h, mps_fire::i, hcaldqm::quantity::Quantity::name(), dqm::impl::MonitorElement::setAxisTitle(), dqm::impl::MonitorElement::setBinLabel(), and hcaldqm::quantity::Quantity::setBits().

Referenced by hcaldqm::ContainerProf2D::book(), and book().

792  {
793  me->setAxisTitle(_qx->name(), 1);
794  me->setAxisTitle(_qy->name(), 2);
795  me->setAxisTitle(_qz->name(), 3);
796 
797  TH1 *h = me->getTH1();
798  _qx->setBits(h);
799  _qy->setBits(h);
800  _qz->setBits(h);
801 
802  std::vector<std::string> xlabels = _qx->getLabels();
803  std::vector<std::string> ylabels = _qy->getLabels();
804  for (unsigned int i = 0; i < xlabels.size(); i++) {
805  me->setBinLabel(i + 1, xlabels[i], 1);
806  }
807  for (unsigned int i = 0; i < ylabels.size(); i++) {
808  me->setBinLabel(i + 1, ylabels[i], 2);
809  }
810  }
virtual void setBits(TH1 *o)
Definition: Quantity.h:51
virtual std::string name()
Definition: Quantity.h:34
virtual std::vector< std::string > getLabels()
Definition: Quantity.h:62
quantity::Quantity * _qx
Definition: Container1D.h:234
virtual 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)
quantity::Quantity * _qz
Definition: Container2D.h:174
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
Definition: Activities.doc:4
quantity::Quantity * _qy
Definition: Container1D.h:235
virtual TH1 * getTH1() const
virtual void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
void hcaldqm::Container2D::fill ( HcalDetId const &  did)
overridevirtual
void hcaldqm::Container2D::fill ( HcalDetId const &  did,
int  x 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Reimplemented in hcaldqm::ContainerProf2D.

Definition at line 57 of file Container2D.cc.

References hcaldqm::Container1D::_hashmap, hcaldqm::Container1D::_mes, hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, hcaldqm::mapper::HashMapper::getHash(), hcaldqm::quantity::Quantity::getValue(), and hcaldqm::quantity::Quantity::isCoordinate().

57  {
58  if (_qx->isCoordinate() && _qy->isCoordinate())
59  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(did), _qy->getValue(did), x);
60  else if (_qx->isCoordinate())
61  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(did), _qy->getValue(x));
62  else if (_qy->isCoordinate())
63  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(x), _qy->getValue(did));
64  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
quantity::Quantity * _qx
Definition: Container1D.h:234
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:45
mapper::HashMapper _hashmap
Definition: Container1D.h:233
virtual bool isCoordinate()
Definition: Quantity.h:61
quantity::Quantity * _qy
Definition: Container1D.h:235
void hcaldqm::Container2D::fill ( HcalDetId const &  did,
double  x 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Reimplemented in hcaldqm::ContainerProf2D.

Definition at line 66 of file Container2D.cc.

References hcaldqm::Container1D::_hashmap, hcaldqm::Container1D::_mes, hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, hcaldqm::mapper::HashMapper::getHash(), hcaldqm::quantity::Quantity::getValue(), and hcaldqm::quantity::Quantity::isCoordinate().

66  {
67  if (_qx->isCoordinate() && _qy->isCoordinate())
68  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(did), _qy->getValue(did), x);
69  else if (_qx->isCoordinate())
70  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(did), _qy->getValue(x));
71  else if (_qy->isCoordinate())
72  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(x), _qy->getValue(did));
73  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
quantity::Quantity * _qx
Definition: Container1D.h:234
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:45
mapper::HashMapper _hashmap
Definition: Container1D.h:233
virtual bool isCoordinate()
Definition: Quantity.h:61
quantity::Quantity * _qy
Definition: Container1D.h:235
void hcaldqm::Container2D::fill ( HcalDetId const &  did,
int  x,
double  y 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Reimplemented in hcaldqm::ContainerProf2D.

Definition at line 75 of file Container2D.cc.

References hcaldqm::Container1D::_hashmap, hcaldqm::Container1D::_mes, hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, hcaldqm::mapper::HashMapper::getHash(), hcaldqm::quantity::Quantity::getValue(), and hcaldqm::quantity::Quantity::isCoordinate().

75  {
76  if (_qx->isCoordinate() && !_qy->isCoordinate())
77  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(did), _qy->getValue(x), y);
78  else if (!_qx->isCoordinate() && _qy->isCoordinate())
79  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(x), _qy->getValue(did), y);
80  else if (!_qx->isCoordinate() && !_qy->isCoordinate())
81  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(x), _qy->getValue(y));
82  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
quantity::Quantity * _qx
Definition: Container1D.h:234
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:45
mapper::HashMapper _hashmap
Definition: Container1D.h:233
virtual bool isCoordinate()
Definition: Quantity.h:61
quantity::Quantity * _qy
Definition: Container1D.h:235
void hcaldqm::Container2D::fill ( HcalDetId const &  did,
int  x,
int  y 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Reimplemented in hcaldqm::ContainerProf2D.

Definition at line 84 of file Container2D.cc.

References hcaldqm::Container1D::_hashmap, hcaldqm::Container1D::_mes, hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, hcaldqm::mapper::HashMapper::getHash(), hcaldqm::quantity::Quantity::getValue(), and hcaldqm::quantity::Quantity::isCoordinate().

84  {
85  if (_qx->isCoordinate() && !_qy->isCoordinate())
86  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(did), _qy->getValue(x), y);
87  else if (!_qx->isCoordinate() && _qy->isCoordinate())
88  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(x), _qy->getValue(did), y);
89  else if (!_qx->isCoordinate() && !_qy->isCoordinate())
90  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(x), _qy->getValue(y));
91  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
quantity::Quantity * _qx
Definition: Container1D.h:234
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:45
mapper::HashMapper _hashmap
Definition: Container1D.h:233
virtual bool isCoordinate()
Definition: Quantity.h:61
quantity::Quantity * _qy
Definition: Container1D.h:235
void hcaldqm::Container2D::fill ( HcalDetId const &  did,
double  x,
double  y 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Reimplemented in hcaldqm::ContainerProf2D.

Definition at line 93 of file Container2D.cc.

References hcaldqm::Container1D::_hashmap, hcaldqm::Container1D::_mes, hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, hcaldqm::mapper::HashMapper::getHash(), hcaldqm::quantity::Quantity::getValue(), and hcaldqm::quantity::Quantity::isCoordinate().

93  {
94  if (_qx->isCoordinate() && !_qy->isCoordinate())
95  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(did), _qy->getValue(x), y);
96  else if (!_qx->isCoordinate() && _qy->isCoordinate())
97  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(x), _qy->getValue(did), y);
98  else if (!_qx->isCoordinate() && !_qy->isCoordinate())
99  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(x), _qy->getValue(y));
100  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
quantity::Quantity * _qx
Definition: Container1D.h:234
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:45
mapper::HashMapper _hashmap
Definition: Container1D.h:233
virtual bool isCoordinate()
Definition: Quantity.h:61
quantity::Quantity * _qy
Definition: Container1D.h:235
void hcaldqm::Container2D::fill ( HcalElectronicsId const &  did)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Reimplemented in hcaldqm::ContainerProf2D.

Definition at line 221 of file Container2D.cc.

References hcaldqm::Container1D::_hashmap, hcaldqm::Container1D::_mes, hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, hcaldqm::mapper::HashMapper::getHash(), and hcaldqm::quantity::Quantity::getValue().

221  {
222  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(did), _qy->getValue(did));
223  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
quantity::Quantity * _qx
Definition: Container1D.h:234
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:45
mapper::HashMapper _hashmap
Definition: Container1D.h:233
quantity::Quantity * _qy
Definition: Container1D.h:235
void hcaldqm::Container2D::fill ( HcalElectronicsId const &  did,
int  x 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Reimplemented in hcaldqm::ContainerProf2D.

Definition at line 225 of file Container2D.cc.

References hcaldqm::Container1D::_hashmap, hcaldqm::Container1D::_mes, hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, hcaldqm::mapper::HashMapper::getHash(), hcaldqm::quantity::Quantity::getValue(), and hcaldqm::quantity::Quantity::isCoordinate().

225  {
226  if (_qx->isCoordinate() && _qy->isCoordinate())
227  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(did), _qy->getValue(did), x);
228  else if (_qx->isCoordinate())
229  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(did), _qy->getValue(x));
230  else if (_qy->isCoordinate())
231  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(x), _qy->getValue(did));
232  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
quantity::Quantity * _qx
Definition: Container1D.h:234
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:45
mapper::HashMapper _hashmap
Definition: Container1D.h:233
virtual bool isCoordinate()
Definition: Quantity.h:61
quantity::Quantity * _qy
Definition: Container1D.h:235
void hcaldqm::Container2D::fill ( HcalElectronicsId const &  did,
double  x 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Reimplemented in hcaldqm::ContainerProf2D.

Definition at line 234 of file Container2D.cc.

References hcaldqm::Container1D::_hashmap, hcaldqm::Container1D::_mes, hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, hcaldqm::mapper::HashMapper::getHash(), hcaldqm::quantity::Quantity::getValue(), and hcaldqm::quantity::Quantity::isCoordinate().

234  {
235  if (_qx->isCoordinate() && _qy->isCoordinate())
236  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(did), _qy->getValue(did), x);
237  else if (_qx->isCoordinate())
238  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(did), _qy->getValue(x));
239  else if (_qy->isCoordinate())
240  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(x), _qy->getValue(did));
241  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
quantity::Quantity * _qx
Definition: Container1D.h:234
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:45
mapper::HashMapper _hashmap
Definition: Container1D.h:233
virtual bool isCoordinate()
Definition: Quantity.h:61
quantity::Quantity * _qy
Definition: Container1D.h:235
void hcaldqm::Container2D::fill ( HcalElectronicsId const &  did,
int  x,
double  y 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Reimplemented in hcaldqm::ContainerProf2D.

Definition at line 243 of file Container2D.cc.

References hcaldqm::Container1D::_hashmap, hcaldqm::Container1D::_mes, hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, hcaldqm::mapper::HashMapper::getHash(), hcaldqm::quantity::Quantity::getValue(), and hcaldqm::quantity::Quantity::isCoordinate().

243  {
244  if (_qx->isCoordinate() && !_qy->isCoordinate())
245  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(did), _qy->getValue(x), y);
246  else if (!_qx->isCoordinate() && _qy->isCoordinate())
247  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(x), _qy->getValue(did), y);
248  else if (!_qx->isCoordinate() && !_qy->isCoordinate())
249  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(x), _qy->getValue(y));
250  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
quantity::Quantity * _qx
Definition: Container1D.h:234
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:45
mapper::HashMapper _hashmap
Definition: Container1D.h:233
virtual bool isCoordinate()
Definition: Quantity.h:61
quantity::Quantity * _qy
Definition: Container1D.h:235
void hcaldqm::Container2D::fill ( HcalElectronicsId const &  did,
int  x,
int  y 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Reimplemented in hcaldqm::ContainerProf2D.

Definition at line 252 of file Container2D.cc.

References hcaldqm::Container1D::_hashmap, hcaldqm::Container1D::_mes, hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, hcaldqm::mapper::HashMapper::getHash(), hcaldqm::quantity::Quantity::getValue(), and hcaldqm::quantity::Quantity::isCoordinate().

252  {
253  if (_qx->isCoordinate() && !_qy->isCoordinate())
254  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(did), _qy->getValue(x), y);
255  else if (!_qx->isCoordinate() && _qy->isCoordinate())
256  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(x), _qy->getValue(did), y);
257  else if (!_qx->isCoordinate() && !_qy->isCoordinate())
258  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(x), _qy->getValue(y));
259  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
quantity::Quantity * _qx
Definition: Container1D.h:234
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:45
mapper::HashMapper _hashmap
Definition: Container1D.h:233
virtual bool isCoordinate()
Definition: Quantity.h:61
quantity::Quantity * _qy
Definition: Container1D.h:235
void hcaldqm::Container2D::fill ( HcalElectronicsId const &  did,
double  x,
double  y 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Reimplemented in hcaldqm::ContainerProf2D.

Definition at line 261 of file Container2D.cc.

References hcaldqm::Container1D::_hashmap, hcaldqm::Container1D::_mes, hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, hcaldqm::mapper::HashMapper::getHash(), hcaldqm::quantity::Quantity::getValue(), and hcaldqm::quantity::Quantity::isCoordinate().

261  {
262  if (_qx->isCoordinate() && !_qy->isCoordinate())
263  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(did), _qy->getValue(x), y);
264  else if (!_qx->isCoordinate() && _qy->isCoordinate())
265  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(x), _qy->getValue(did), y);
266  else if (!_qx->isCoordinate() && !_qy->isCoordinate())
267  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(x), _qy->getValue(y));
268  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
quantity::Quantity * _qx
Definition: Container1D.h:234
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:45
mapper::HashMapper _hashmap
Definition: Container1D.h:233
virtual bool isCoordinate()
Definition: Quantity.h:61
quantity::Quantity * _qy
Definition: Container1D.h:235
void hcaldqm::Container2D::fill ( HcalTrigTowerDetId const &  did)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Reimplemented in hcaldqm::ContainerProf2D.

Definition at line 389 of file Container2D.cc.

References hcaldqm::Container1D::_hashmap, hcaldqm::Container1D::_mes, hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, hcaldqm::mapper::HashMapper::getHash(), and hcaldqm::quantity::Quantity::getValue().

389  {
390  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(did), _qy->getValue(did));
391  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
quantity::Quantity * _qx
Definition: Container1D.h:234
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:45
mapper::HashMapper _hashmap
Definition: Container1D.h:233
quantity::Quantity * _qy
Definition: Container1D.h:235
void hcaldqm::Container2D::fill ( HcalTrigTowerDetId const &  did,
int  x 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Reimplemented in hcaldqm::ContainerProf2D.

Definition at line 394 of file Container2D.cc.

References hcaldqm::Container1D::_hashmap, hcaldqm::Container1D::_mes, hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, hcaldqm::mapper::HashMapper::getHash(), hcaldqm::quantity::Quantity::getValue(), and hcaldqm::quantity::Quantity::isCoordinate().

394  {
395  if (_qx->isCoordinate() && _qy->isCoordinate())
396  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(did), _qy->getValue(did), x);
397  else if (_qx->isCoordinate())
398  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(did), _qy->getValue(x));
399  else if (_qy->isCoordinate())
400  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(x), _qy->getValue(did));
401  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
quantity::Quantity * _qx
Definition: Container1D.h:234
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:45
mapper::HashMapper _hashmap
Definition: Container1D.h:233
virtual bool isCoordinate()
Definition: Quantity.h:61
quantity::Quantity * _qy
Definition: Container1D.h:235
void hcaldqm::Container2D::fill ( HcalTrigTowerDetId const &  did,
double  x 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Reimplemented in hcaldqm::ContainerProf2D.

Definition at line 403 of file Container2D.cc.

References hcaldqm::Container1D::_hashmap, hcaldqm::Container1D::_mes, hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, hcaldqm::mapper::HashMapper::getHash(), hcaldqm::quantity::Quantity::getValue(), and hcaldqm::quantity::Quantity::isCoordinate().

403  {
404  if (_qx->isCoordinate() && _qy->isCoordinate())
405  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(did), _qy->getValue(did), x);
406  else if (_qx->isCoordinate())
407  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(did), _qy->getValue(x));
408  else if (_qy->isCoordinate())
409  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(x), _qy->getValue(did));
410  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
quantity::Quantity * _qx
Definition: Container1D.h:234
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:45
mapper::HashMapper _hashmap
Definition: Container1D.h:233
virtual bool isCoordinate()
Definition: Quantity.h:61
quantity::Quantity * _qy
Definition: Container1D.h:235
void hcaldqm::Container2D::fill ( HcalTrigTowerDetId const &  did,
int  x,
int  y 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Reimplemented in hcaldqm::ContainerProf2D.

Definition at line 421 of file Container2D.cc.

References hcaldqm::Container1D::_hashmap, hcaldqm::Container1D::_mes, hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, hcaldqm::mapper::HashMapper::getHash(), hcaldqm::quantity::Quantity::getValue(), and hcaldqm::quantity::Quantity::isCoordinate().

421  {
422  if (_qx->isCoordinate() && !_qy->isCoordinate())
423  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(did), _qy->getValue(x), y);
424  else if (!_qx->isCoordinate() && _qy->isCoordinate())
425  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(x), _qy->getValue(did), y);
426  else if (!_qx->isCoordinate() && !_qy->isCoordinate())
427  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(x), _qy->getValue(y));
428  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
quantity::Quantity * _qx
Definition: Container1D.h:234
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:45
mapper::HashMapper _hashmap
Definition: Container1D.h:233
virtual bool isCoordinate()
Definition: Quantity.h:61
quantity::Quantity * _qy
Definition: Container1D.h:235
void hcaldqm::Container2D::fill ( HcalTrigTowerDetId const &  did,
int  x,
double  y 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Reimplemented in hcaldqm::ContainerProf2D.

Definition at line 412 of file Container2D.cc.

References hcaldqm::Container1D::_hashmap, hcaldqm::Container1D::_mes, hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, hcaldqm::mapper::HashMapper::getHash(), hcaldqm::quantity::Quantity::getValue(), and hcaldqm::quantity::Quantity::isCoordinate().

412  {
413  if (_qx->isCoordinate() && !_qy->isCoordinate())
414  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(did), _qy->getValue(x), y);
415  else if (!_qx->isCoordinate() && _qy->isCoordinate())
416  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(x), _qy->getValue(did), y);
417  else if (!_qx->isCoordinate() && !_qy->isCoordinate())
418  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(x), _qy->getValue(y));
419  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
quantity::Quantity * _qx
Definition: Container1D.h:234
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:45
mapper::HashMapper _hashmap
Definition: Container1D.h:233
virtual bool isCoordinate()
Definition: Quantity.h:61
quantity::Quantity * _qy
Definition: Container1D.h:235
void hcaldqm::Container2D::fill ( HcalTrigTowerDetId const &  did,
double  x,
double  y 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Reimplemented in hcaldqm::ContainerProf2D.

Definition at line 430 of file Container2D.cc.

References hcaldqm::Container1D::_hashmap, hcaldqm::Container1D::_mes, hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, hcaldqm::mapper::HashMapper::getHash(), hcaldqm::quantity::Quantity::getValue(), and hcaldqm::quantity::Quantity::isCoordinate().

430  {
431  if (_qx->isCoordinate() && !_qy->isCoordinate())
432  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(did), _qy->getValue(x), y);
433  else if (!_qx->isCoordinate() && _qy->isCoordinate())
434  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(x), _qy->getValue(did), y);
435  else if (!_qx->isCoordinate() && !_qy->isCoordinate())
436  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(x), _qy->getValue(y));
437  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
quantity::Quantity * _qx
Definition: Container1D.h:234
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:45
mapper::HashMapper _hashmap
Definition: Container1D.h:233
virtual bool isCoordinate()
Definition: Quantity.h:61
quantity::Quantity * _qy
Definition: Container1D.h:235
void hcaldqm::Container2D::fill ( HcalTrigTowerDetId const &  did,
HcalElectronicsId const &  eid,
int  x,
int  y 
)

Definition at line 439 of file Container2D.cc.

References hcaldqm::Container1D::_hashmap, hcaldqm::Container1D::_mes, hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, hcaldqm::mapper::HashMapper::getHash(), hcaldqm::quantity::Quantity::getValue(), and hcaldqm::quantity::Quantity::isCoordinate().

439  {
440  if (_qx->isCoordinate() && !_qy->isCoordinate())
441  _mes[_hashmap.getHash(did, eid)]->Fill(_qx->getValue(did), _qy->getValue(x), y);
442  else if (!_qx->isCoordinate() && _qy->isCoordinate())
443  _mes[_hashmap.getHash(did, eid)]->Fill(_qx->getValue(x), _qy->getValue(did), y);
444  else if (!_qx->isCoordinate() && !_qy->isCoordinate())
445  _mes[_hashmap.getHash(did, eid)]->Fill(_qx->getValue(x), _qy->getValue(y));
446  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
quantity::Quantity * _qx
Definition: Container1D.h:234
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:45
mapper::HashMapper _hashmap
Definition: Container1D.h:233
virtual bool isCoordinate()
Definition: Quantity.h:61
quantity::Quantity * _qy
Definition: Container1D.h:235
double hcaldqm::Container2D::getBinContent ( HcalDetId const &  id)
overridevirtual
double hcaldqm::Container2D::getBinContent ( HcalDetId const &  id,
int  x 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 136 of file Container2D.cc.

References hcaldqm::Container1D::_hashmap, hcaldqm::Container1D::_mes, hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, hcaldqm::quantity::Quantity::getBin(), hcaldqm::mapper::HashMapper::getHash(), and hcaldqm::quantity::Quantity::isCoordinate().

136  {
137  if (_qx->isCoordinate())
138  return _mes[_hashmap.getHash(id)]->getBinContent(_qx->getBin(id), _qy->getBin(x));
139  else
140  return _mes[_hashmap.getHash(id)]->getBinContent(_qx->getBin(x), _qy->getBin(id));
141  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
quantity::Quantity * _qx
Definition: Container1D.h:234
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
mapper::HashMapper _hashmap
Definition: Container1D.h:233
virtual bool isCoordinate()
Definition: Quantity.h:61
quantity::Quantity * _qy
Definition: Container1D.h:235
double hcaldqm::Container2D::getBinContent ( HcalDetId const &  id,
double  x 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 143 of file Container2D.cc.

References hcaldqm::Container1D::_hashmap, hcaldqm::Container1D::_mes, hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, hcaldqm::quantity::Quantity::getBin(), hcaldqm::mapper::HashMapper::getHash(), and hcaldqm::quantity::Quantity::isCoordinate().

143  {
144  if (_qx->isCoordinate())
145  return _mes[_hashmap.getHash(id)]->getBinContent(_qx->getBin(id), _qy->getBin(x));
146  else
147  return _mes[_hashmap.getHash(id)]->getBinContent(_qx->getBin(x), _qy->getBin(id));
148  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
quantity::Quantity * _qx
Definition: Container1D.h:234
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
mapper::HashMapper _hashmap
Definition: Container1D.h:233
virtual bool isCoordinate()
Definition: Quantity.h:61
quantity::Quantity * _qy
Definition: Container1D.h:235
double hcaldqm::Container2D::getBinContent ( HcalDetId const &  id,
int  x,
int  y 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 150 of file Container2D.cc.

References hcaldqm::Container1D::_hashmap, hcaldqm::Container1D::_mes, hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, hcaldqm::quantity::Quantity::getBin(), and hcaldqm::mapper::HashMapper::getHash().

150  {
151  return _mes[_hashmap.getHash(id)]->getBinContent(_qx->getBin(x), _qy->getBin(y));
152  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
quantity::Quantity * _qx
Definition: Container1D.h:234
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
mapper::HashMapper _hashmap
Definition: Container1D.h:233
quantity::Quantity * _qy
Definition: Container1D.h:235
double hcaldqm::Container2D::getBinContent ( HcalDetId const &  id,
int  x,
double  y 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 154 of file Container2D.cc.

References hcaldqm::Container1D::_hashmap, hcaldqm::Container1D::_mes, hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, hcaldqm::quantity::Quantity::getBin(), and hcaldqm::mapper::HashMapper::getHash().

154  {
155  return _mes[_hashmap.getHash(id)]->getBinContent(_qx->getBin(x), _qy->getBin(y));
156  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
quantity::Quantity * _qx
Definition: Container1D.h:234
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
mapper::HashMapper _hashmap
Definition: Container1D.h:233
quantity::Quantity * _qy
Definition: Container1D.h:235
double hcaldqm::Container2D::getBinContent ( HcalDetId const &  id,
double  x,
double  y 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 158 of file Container2D.cc.

References hcaldqm::Container1D::_hashmap, hcaldqm::Container1D::_mes, hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, hcaldqm::quantity::Quantity::getBin(), and hcaldqm::mapper::HashMapper::getHash().

158  {
159  return _mes[_hashmap.getHash(id)]->getBinContent(_qx->getBin(x), _qy->getBin(y));
160  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
quantity::Quantity * _qx
Definition: Container1D.h:234
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
mapper::HashMapper _hashmap
Definition: Container1D.h:233
quantity::Quantity * _qy
Definition: Container1D.h:235
double hcaldqm::Container2D::getBinContent ( HcalElectronicsId const &  id)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 300 of file Container2D.cc.

References hcaldqm::Container1D::_hashmap, hcaldqm::Container1D::_mes, hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, hcaldqm::quantity::Quantity::getBin(), and hcaldqm::mapper::HashMapper::getHash().

300  {
301  return _mes[_hashmap.getHash(id)]->getBinContent(_qx->getBin(id), _qy->getBin(id));
302  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
quantity::Quantity * _qx
Definition: Container1D.h:234
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
mapper::HashMapper _hashmap
Definition: Container1D.h:233
quantity::Quantity * _qy
Definition: Container1D.h:235
double hcaldqm::Container2D::getBinContent ( HcalElectronicsId const &  id,
int  x 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 304 of file Container2D.cc.

References hcaldqm::Container1D::_hashmap, hcaldqm::Container1D::_mes, hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, hcaldqm::quantity::Quantity::getBin(), hcaldqm::mapper::HashMapper::getHash(), and hcaldqm::quantity::Quantity::isCoordinate().

304  {
305  if (_qx->isCoordinate())
306  return _mes[_hashmap.getHash(id)]->getBinContent(_qx->getBin(id), _qy->getBin(x));
307  else
308  return _mes[_hashmap.getHash(id)]->getBinContent(_qx->getBin(x), _qy->getBin(id));
309  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
quantity::Quantity * _qx
Definition: Container1D.h:234
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
mapper::HashMapper _hashmap
Definition: Container1D.h:233
virtual bool isCoordinate()
Definition: Quantity.h:61
quantity::Quantity * _qy
Definition: Container1D.h:235
double hcaldqm::Container2D::getBinContent ( HcalElectronicsId const &  id,
double  x 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 311 of file Container2D.cc.

References hcaldqm::Container1D::_hashmap, hcaldqm::Container1D::_mes, hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, hcaldqm::quantity::Quantity::getBin(), hcaldqm::mapper::HashMapper::getHash(), and hcaldqm::quantity::Quantity::isCoordinate().

311  {
312  if (_qx->isCoordinate())
313  return _mes[_hashmap.getHash(id)]->getBinContent(_qx->getBin(id), _qy->getBin(x));
314  else
315  return _mes[_hashmap.getHash(id)]->getBinContent(_qx->getBin(x), _qy->getBin(id));
316  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
quantity::Quantity * _qx
Definition: Container1D.h:234
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
mapper::HashMapper _hashmap
Definition: Container1D.h:233
virtual bool isCoordinate()
Definition: Quantity.h:61
quantity::Quantity * _qy
Definition: Container1D.h:235
double hcaldqm::Container2D::getBinContent ( HcalElectronicsId const &  id,
int  x,
int  y 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 318 of file Container2D.cc.

References hcaldqm::Container1D::_hashmap, hcaldqm::Container1D::_mes, hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, hcaldqm::quantity::Quantity::getBin(), and hcaldqm::mapper::HashMapper::getHash().

318  {
319  return _mes[_hashmap.getHash(id)]->getBinContent(_qx->getBin(x), _qy->getBin(y));
320  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
quantity::Quantity * _qx
Definition: Container1D.h:234
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
mapper::HashMapper _hashmap
Definition: Container1D.h:233
quantity::Quantity * _qy
Definition: Container1D.h:235
double hcaldqm::Container2D::getBinContent ( HcalElectronicsId const &  id,
int  x,
double  y 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 322 of file Container2D.cc.

References hcaldqm::Container1D::_hashmap, hcaldqm::Container1D::_mes, hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, hcaldqm::quantity::Quantity::getBin(), and hcaldqm::mapper::HashMapper::getHash().

322  {
323  return _mes[_hashmap.getHash(id)]->getBinContent(_qx->getBin(x), _qy->getBin(y));
324  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
quantity::Quantity * _qx
Definition: Container1D.h:234
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
mapper::HashMapper _hashmap
Definition: Container1D.h:233
quantity::Quantity * _qy
Definition: Container1D.h:235
double hcaldqm::Container2D::getBinContent ( HcalElectronicsId const &  id,
double  x,
double  y 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 326 of file Container2D.cc.

References hcaldqm::Container1D::_hashmap, hcaldqm::Container1D::_mes, hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, hcaldqm::quantity::Quantity::getBin(), and hcaldqm::mapper::HashMapper::getHash().

326  {
327  return _mes[_hashmap.getHash(id)]->getBinContent(_qx->getBin(x), _qy->getBin(y));
328  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
quantity::Quantity * _qx
Definition: Container1D.h:234
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
mapper::HashMapper _hashmap
Definition: Container1D.h:233
quantity::Quantity * _qy
Definition: Container1D.h:235
double hcaldqm::Container2D::getBinContent ( HcalTrigTowerDetId const &  id)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 478 of file Container2D.cc.

References hcaldqm::Container1D::_hashmap, hcaldqm::Container1D::_mes, hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, hcaldqm::quantity::Quantity::getBin(), and hcaldqm::mapper::HashMapper::getHash().

478  {
479  return _mes[_hashmap.getHash(id)]->getBinContent(_qx->getBin(id), _qy->getBin(id));
480  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
quantity::Quantity * _qx
Definition: Container1D.h:234
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
mapper::HashMapper _hashmap
Definition: Container1D.h:233
quantity::Quantity * _qy
Definition: Container1D.h:235
double hcaldqm::Container2D::getBinContent ( HcalTrigTowerDetId const &  id,
int  x 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 482 of file Container2D.cc.

References hcaldqm::Container1D::_hashmap, hcaldqm::Container1D::_mes, hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, hcaldqm::quantity::Quantity::getBin(), hcaldqm::mapper::HashMapper::getHash(), and hcaldqm::quantity::Quantity::isCoordinate().

482  {
483  if (_qx->isCoordinate())
484  return _mes[_hashmap.getHash(id)]->getBinContent(_qx->getBin(id), _qy->getBin(x));
485  else
486  return _mes[_hashmap.getHash(id)]->getBinContent(_qx->getBin(x), _qy->getBin(id));
487  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
quantity::Quantity * _qx
Definition: Container1D.h:234
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
mapper::HashMapper _hashmap
Definition: Container1D.h:233
virtual bool isCoordinate()
Definition: Quantity.h:61
quantity::Quantity * _qy
Definition: Container1D.h:235
double hcaldqm::Container2D::getBinContent ( HcalTrigTowerDetId const &  id,
double  x 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 489 of file Container2D.cc.

References hcaldqm::Container1D::_hashmap, hcaldqm::Container1D::_mes, hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, hcaldqm::quantity::Quantity::getBin(), hcaldqm::mapper::HashMapper::getHash(), and hcaldqm::quantity::Quantity::isCoordinate().

489  {
490  if (_qx->isCoordinate())
491  return _mes[_hashmap.getHash(id)]->getBinContent(_qx->getBin(id), _qy->getBin(x));
492  else
493  return _mes[_hashmap.getHash(id)]->getBinContent(_qx->getBin(x), _qy->getBin(id));
494  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
quantity::Quantity * _qx
Definition: Container1D.h:234
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
mapper::HashMapper _hashmap
Definition: Container1D.h:233
virtual bool isCoordinate()
Definition: Quantity.h:61
quantity::Quantity * _qy
Definition: Container1D.h:235
double hcaldqm::Container2D::getBinContent ( HcalTrigTowerDetId const &  id,
int  x,
int  y 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 496 of file Container2D.cc.

References hcaldqm::Container1D::_hashmap, hcaldqm::Container1D::_mes, hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, hcaldqm::quantity::Quantity::getBin(), and hcaldqm::mapper::HashMapper::getHash().

496  {
497  return _mes[_hashmap.getHash(id)]->getBinContent(_qx->getBin(x), _qy->getBin(y));
498  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
quantity::Quantity * _qx
Definition: Container1D.h:234
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
mapper::HashMapper _hashmap
Definition: Container1D.h:233
quantity::Quantity * _qy
Definition: Container1D.h:235
double hcaldqm::Container2D::getBinContent ( HcalTrigTowerDetId const &  id,
int  x,
double  y 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 500 of file Container2D.cc.

References hcaldqm::Container1D::_hashmap, hcaldqm::Container1D::_mes, hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, hcaldqm::quantity::Quantity::getBin(), and hcaldqm::mapper::HashMapper::getHash().

500  {
501  return _mes[_hashmap.getHash(id)]->getBinContent(_qx->getBin(x), _qy->getBin(y));
502  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
quantity::Quantity * _qx
Definition: Container1D.h:234
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
mapper::HashMapper _hashmap
Definition: Container1D.h:233
quantity::Quantity * _qy
Definition: Container1D.h:235
double hcaldqm::Container2D::getBinContent ( HcalTrigTowerDetId const &  id,
double  x,
double  y 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 504 of file Container2D.cc.

References hcaldqm::Container1D::_hashmap, hcaldqm::Container1D::_mes, hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, hcaldqm::quantity::Quantity::getBin(), and hcaldqm::mapper::HashMapper::getHash().

504  {
505  return _mes[_hashmap.getHash(id)]->getBinContent(_qx->getBin(x), _qy->getBin(y));
506  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
quantity::Quantity * _qx
Definition: Container1D.h:234
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
mapper::HashMapper _hashmap
Definition: Container1D.h:233
quantity::Quantity * _qy
Definition: Container1D.h:235
double hcaldqm::Container2D::getBinEntries ( HcalDetId const &  id)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 102 of file Container2D.cc.

References hcaldqm::Container1D::_hashmap, hcaldqm::Container1D::_mes, hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, hcaldqm::quantity::Quantity::getBin(), hcaldqm::mapper::HashMapper::getHash(), and hcaldqm::quantity::Quantity::wofnbins().

102  {
103  return _mes[_hashmap.getHash(id)]->getBinEntries(_qx->getBin(id) + _qy->getBin(id) * _qx->wofnbins());
104  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
virtual int wofnbins()
Definition: Quantity.h:58
quantity::Quantity * _qx
Definition: Container1D.h:234
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
mapper::HashMapper _hashmap
Definition: Container1D.h:233
quantity::Quantity * _qy
Definition: Container1D.h:235
double hcaldqm::Container2D::getBinEntries ( HcalDetId const &  id,
int  x 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 106 of file Container2D.cc.

References hcaldqm::Container1D::_hashmap, hcaldqm::Container1D::_mes, hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, hcaldqm::quantity::Quantity::getBin(), hcaldqm::mapper::HashMapper::getHash(), hcaldqm::quantity::Quantity::isCoordinate(), and hcaldqm::quantity::Quantity::wofnbins().

106  {
107  if (_qx->isCoordinate())
108  return _mes[_hashmap.getHash(id)]->getBinEntries(_qx->getBin(id) + _qy->getBin(x) * _qx->wofnbins());
109  else
110  return _mes[_hashmap.getHash(id)]->getBinEntries(_qx->getBin(x) + _qy->getBin(id) * _qx->wofnbins());
111  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
virtual int wofnbins()
Definition: Quantity.h:58
quantity::Quantity * _qx
Definition: Container1D.h:234
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
mapper::HashMapper _hashmap
Definition: Container1D.h:233
virtual bool isCoordinate()
Definition: Quantity.h:61
quantity::Quantity * _qy
Definition: Container1D.h:235
double hcaldqm::Container2D::getBinEntries ( HcalDetId const &  id,
double  x 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 113 of file Container2D.cc.

References hcaldqm::Container1D::_hashmap, hcaldqm::Container1D::_mes, hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, hcaldqm::quantity::Quantity::getBin(), hcaldqm::mapper::HashMapper::getHash(), hcaldqm::quantity::Quantity::isCoordinate(), and hcaldqm::quantity::Quantity::wofnbins().

113  {
114  if (_qx->isCoordinate())
115  return _mes[_hashmap.getHash(id)]->getBinEntries(_qx->getBin(id) + _qy->getBin(x) * _qx->wofnbins());
116  else
117  return _mes[_hashmap.getHash(id)]->getBinEntries(_qx->getBin(x) + _qy->getBin(id) * _qx->wofnbins());
118  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
virtual int wofnbins()
Definition: Quantity.h:58
quantity::Quantity * _qx
Definition: Container1D.h:234
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
mapper::HashMapper _hashmap
Definition: Container1D.h:233
virtual bool isCoordinate()
Definition: Quantity.h:61
quantity::Quantity * _qy
Definition: Container1D.h:235
double hcaldqm::Container2D::getBinEntries ( HcalDetId const &  id,
int  x,
int  y 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 120 of file Container2D.cc.

References hcaldqm::Container1D::_hashmap, hcaldqm::Container1D::_mes, hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, hcaldqm::quantity::Quantity::getBin(), hcaldqm::mapper::HashMapper::getHash(), and hcaldqm::quantity::Quantity::wofnbins().

120  {
121  return _mes[_hashmap.getHash(id)]->getBinEntries(_qx->getBin(x) + _qy->getBin(y) * _qx->wofnbins());
122  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
virtual int wofnbins()
Definition: Quantity.h:58
quantity::Quantity * _qx
Definition: Container1D.h:234
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
mapper::HashMapper _hashmap
Definition: Container1D.h:233
quantity::Quantity * _qy
Definition: Container1D.h:235
double hcaldqm::Container2D::getBinEntries ( HcalDetId const &  id,
int  x,
double  y 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 124 of file Container2D.cc.

References hcaldqm::Container1D::_hashmap, hcaldqm::Container1D::_mes, hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, hcaldqm::quantity::Quantity::getBin(), hcaldqm::mapper::HashMapper::getHash(), and hcaldqm::quantity::Quantity::wofnbins().

124  {
125  return _mes[_hashmap.getHash(id)]->getBinEntries(_qx->getBin(x) + _qy->getBin(y) * _qx->wofnbins());
126  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
virtual int wofnbins()
Definition: Quantity.h:58
quantity::Quantity * _qx
Definition: Container1D.h:234
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
mapper::HashMapper _hashmap
Definition: Container1D.h:233
quantity::Quantity * _qy
Definition: Container1D.h:235
double hcaldqm::Container2D::getBinEntries ( HcalDetId const &  id,
double  x,
double  y 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 128 of file Container2D.cc.

References hcaldqm::Container1D::_hashmap, hcaldqm::Container1D::_mes, hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, hcaldqm::quantity::Quantity::getBin(), hcaldqm::mapper::HashMapper::getHash(), and hcaldqm::quantity::Quantity::wofnbins().

128  {
129  return _mes[_hashmap.getHash(id)]->getBinEntries(_qx->getBin(x) + _qy->getBin(y) * _qx->wofnbins());
130  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
virtual int wofnbins()
Definition: Quantity.h:58
quantity::Quantity * _qx
Definition: Container1D.h:234
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
mapper::HashMapper _hashmap
Definition: Container1D.h:233
quantity::Quantity * _qy
Definition: Container1D.h:235
double hcaldqm::Container2D::getBinEntries ( HcalElectronicsId const &  id)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 270 of file Container2D.cc.

References hcaldqm::Container1D::_hashmap, hcaldqm::Container1D::_mes, hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, hcaldqm::quantity::Quantity::getBin(), hcaldqm::mapper::HashMapper::getHash(), and hcaldqm::quantity::Quantity::wofnbins().

270  {
271  return _mes[_hashmap.getHash(id)]->getBinEntries(_qx->getBin(id) + _qy->getBin(id) * _qx->wofnbins());
272  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
virtual int wofnbins()
Definition: Quantity.h:58
quantity::Quantity * _qx
Definition: Container1D.h:234
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
mapper::HashMapper _hashmap
Definition: Container1D.h:233
quantity::Quantity * _qy
Definition: Container1D.h:235
double hcaldqm::Container2D::getBinEntries ( HcalElectronicsId const &  id,
int  x 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 274 of file Container2D.cc.

References hcaldqm::Container1D::_hashmap, hcaldqm::Container1D::_mes, hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, hcaldqm::quantity::Quantity::getBin(), hcaldqm::mapper::HashMapper::getHash(), hcaldqm::quantity::Quantity::isCoordinate(), and hcaldqm::quantity::Quantity::wofnbins().

274  {
275  if (_qx->isCoordinate())
276  return _mes[_hashmap.getHash(id)]->getBinEntries(_qx->getBin(id) + _qy->getBin(x) * _qx->wofnbins());
277  else
278  return _mes[_hashmap.getHash(id)]->getBinEntries(_qx->getBin(x) + _qy->getBin(id) * _qx->wofnbins());
279  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
virtual int wofnbins()
Definition: Quantity.h:58
quantity::Quantity * _qx
Definition: Container1D.h:234
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
mapper::HashMapper _hashmap
Definition: Container1D.h:233
virtual bool isCoordinate()
Definition: Quantity.h:61
quantity::Quantity * _qy
Definition: Container1D.h:235
double hcaldqm::Container2D::getBinEntries ( HcalElectronicsId const &  id,
double  x 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 281 of file Container2D.cc.

References hcaldqm::Container1D::_hashmap, hcaldqm::Container1D::_mes, hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, hcaldqm::quantity::Quantity::getBin(), hcaldqm::mapper::HashMapper::getHash(), hcaldqm::quantity::Quantity::isCoordinate(), and hcaldqm::quantity::Quantity::wofnbins().

281  {
282  if (_qx->isCoordinate())
283  return _mes[_hashmap.getHash(id)]->getBinEntries(_qx->getBin(id) + _qy->getBin(x) * _qx->wofnbins());
284  else
285  return _mes[_hashmap.getHash(id)]->getBinEntries(_qx->getBin(x) + _qy->getBin(id) * _qx->wofnbins());
286  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
virtual int wofnbins()
Definition: Quantity.h:58
quantity::Quantity * _qx
Definition: Container1D.h:234
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
mapper::HashMapper _hashmap
Definition: Container1D.h:233
virtual bool isCoordinate()
Definition: Quantity.h:61
quantity::Quantity * _qy
Definition: Container1D.h:235
double hcaldqm::Container2D::getBinEntries ( HcalElectronicsId const &  id,
int  x,
int  y 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 288 of file Container2D.cc.

References hcaldqm::Container1D::_hashmap, hcaldqm::Container1D::_mes, hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, hcaldqm::quantity::Quantity::getBin(), hcaldqm::mapper::HashMapper::getHash(), and hcaldqm::quantity::Quantity::wofnbins().

288  {
289  return _mes[_hashmap.getHash(id)]->getBinEntries(_qx->getBin(x) + _qy->getBin(y) * _qx->wofnbins());
290  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
virtual int wofnbins()
Definition: Quantity.h:58
quantity::Quantity * _qx
Definition: Container1D.h:234
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
mapper::HashMapper _hashmap
Definition: Container1D.h:233
quantity::Quantity * _qy
Definition: Container1D.h:235
double hcaldqm::Container2D::getBinEntries ( HcalElectronicsId const &  id,
int  x,
double  y 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 292 of file Container2D.cc.

References hcaldqm::Container1D::_hashmap, hcaldqm::Container1D::_mes, hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, hcaldqm::quantity::Quantity::getBin(), hcaldqm::mapper::HashMapper::getHash(), and hcaldqm::quantity::Quantity::wofnbins().

292  {
293  return _mes[_hashmap.getHash(id)]->getBinEntries(_qx->getBin(x) + _qy->getBin(y) * _qx->wofnbins());
294  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
virtual int wofnbins()
Definition: Quantity.h:58
quantity::Quantity * _qx
Definition: Container1D.h:234
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
mapper::HashMapper _hashmap
Definition: Container1D.h:233
quantity::Quantity * _qy
Definition: Container1D.h:235
double hcaldqm::Container2D::getBinEntries ( HcalElectronicsId const &  id,
double  x,
double  y 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 296 of file Container2D.cc.

References hcaldqm::Container1D::_hashmap, hcaldqm::Container1D::_mes, hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, hcaldqm::quantity::Quantity::getBin(), hcaldqm::mapper::HashMapper::getHash(), and hcaldqm::quantity::Quantity::wofnbins().

296  {
297  return _mes[_hashmap.getHash(id)]->getBinEntries(_qx->getBin(x) + _qy->getBin(y) * _qx->wofnbins());
298  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
virtual int wofnbins()
Definition: Quantity.h:58
quantity::Quantity * _qx
Definition: Container1D.h:234
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
mapper::HashMapper _hashmap
Definition: Container1D.h:233
quantity::Quantity * _qy
Definition: Container1D.h:235
double hcaldqm::Container2D::getBinEntries ( HcalTrigTowerDetId const &  id)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 448 of file Container2D.cc.

References hcaldqm::Container1D::_hashmap, hcaldqm::Container1D::_mes, hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, hcaldqm::quantity::Quantity::getBin(), hcaldqm::mapper::HashMapper::getHash(), and hcaldqm::quantity::Quantity::wofnbins().

448  {
449  return _mes[_hashmap.getHash(id)]->getBinEntries(_qx->getBin(id) + _qy->getBin(id) * _qx->wofnbins());
450  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
virtual int wofnbins()
Definition: Quantity.h:58
quantity::Quantity * _qx
Definition: Container1D.h:234
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
mapper::HashMapper _hashmap
Definition: Container1D.h:233
quantity::Quantity * _qy
Definition: Container1D.h:235
double hcaldqm::Container2D::getBinEntries ( HcalTrigTowerDetId const &  id,
int  x 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 452 of file Container2D.cc.

References hcaldqm::Container1D::_hashmap, hcaldqm::Container1D::_mes, hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, hcaldqm::quantity::Quantity::getBin(), hcaldqm::mapper::HashMapper::getHash(), hcaldqm::quantity::Quantity::isCoordinate(), and hcaldqm::quantity::Quantity::wofnbins().

452  {
453  if (_qx->isCoordinate())
454  return _mes[_hashmap.getHash(id)]->getBinEntries(_qx->getBin(id) + _qy->getBin(x) * _qx->wofnbins());
455  else
456  return _mes[_hashmap.getHash(id)]->getBinEntries(_qx->getBin(x) + _qy->getBin(id) * _qx->wofnbins());
457  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
virtual int wofnbins()
Definition: Quantity.h:58
quantity::Quantity * _qx
Definition: Container1D.h:234
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
mapper::HashMapper _hashmap
Definition: Container1D.h:233
virtual bool isCoordinate()
Definition: Quantity.h:61
quantity::Quantity * _qy
Definition: Container1D.h:235
double hcaldqm::Container2D::getBinEntries ( HcalTrigTowerDetId const &  id,
double  x 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 459 of file Container2D.cc.

References hcaldqm::Container1D::_hashmap, hcaldqm::Container1D::_mes, hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, hcaldqm::quantity::Quantity::getBin(), hcaldqm::mapper::HashMapper::getHash(), hcaldqm::quantity::Quantity::isCoordinate(), and hcaldqm::quantity::Quantity::wofnbins().

459  {
460  if (_qx->isCoordinate())
461  return _mes[_hashmap.getHash(id)]->getBinEntries(_qx->getBin(id) + _qy->getBin(x) * _qx->wofnbins());
462  else
463  return _mes[_hashmap.getHash(id)]->getBinEntries(_qx->getBin(x) + _qy->getBin(id) * _qx->wofnbins());
464  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
virtual int wofnbins()
Definition: Quantity.h:58
quantity::Quantity * _qx
Definition: Container1D.h:234
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
mapper::HashMapper _hashmap
Definition: Container1D.h:233
virtual bool isCoordinate()
Definition: Quantity.h:61
quantity::Quantity * _qy
Definition: Container1D.h:235
double hcaldqm::Container2D::getBinEntries ( HcalTrigTowerDetId const &  id,
int  x,
int  y 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 466 of file Container2D.cc.

References hcaldqm::Container1D::_hashmap, hcaldqm::Container1D::_mes, hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, hcaldqm::quantity::Quantity::getBin(), hcaldqm::mapper::HashMapper::getHash(), and hcaldqm::quantity::Quantity::wofnbins().

466  {
467  return _mes[_hashmap.getHash(id)]->getBinEntries(_qx->getBin(x) + _qy->getBin(y) * _qx->wofnbins());
468  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
virtual int wofnbins()
Definition: Quantity.h:58
quantity::Quantity * _qx
Definition: Container1D.h:234
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
mapper::HashMapper _hashmap
Definition: Container1D.h:233
quantity::Quantity * _qy
Definition: Container1D.h:235
double hcaldqm::Container2D::getBinEntries ( HcalTrigTowerDetId const &  id,
int  x,
double  y 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 470 of file Container2D.cc.

References hcaldqm::Container1D::_hashmap, hcaldqm::Container1D::_mes, hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, hcaldqm::quantity::Quantity::getBin(), hcaldqm::mapper::HashMapper::getHash(), and hcaldqm::quantity::Quantity::wofnbins().

470  {
471  return _mes[_hashmap.getHash(id)]->getBinEntries(_qx->getBin(x) + _qy->getBin(y) * _qx->wofnbins());
472  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
virtual int wofnbins()
Definition: Quantity.h:58
quantity::Quantity * _qx
Definition: Container1D.h:234
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
mapper::HashMapper _hashmap
Definition: Container1D.h:233
quantity::Quantity * _qy
Definition: Container1D.h:235
double hcaldqm::Container2D::getBinEntries ( HcalTrigTowerDetId const &  id,
double  x,
double  y 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 474 of file Container2D.cc.

References hcaldqm::Container1D::_hashmap, hcaldqm::Container1D::_mes, hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, hcaldqm::quantity::Quantity::getBin(), hcaldqm::mapper::HashMapper::getHash(), and hcaldqm::quantity::Quantity::wofnbins().

474  {
475  return _mes[_hashmap.getHash(id)]->getBinEntries(_qx->getBin(x) + _qy->getBin(y) * _qx->wofnbins());
476  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
virtual int wofnbins()
Definition: Quantity.h:58
quantity::Quantity * _qx
Definition: Container1D.h:234
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
mapper::HashMapper _hashmap
Definition: Container1D.h:233
quantity::Quantity * _qy
Definition: Container1D.h:235
void hcaldqm::Container2D::initialize ( std::string const &  folder,
hashfunctions::HashType  hashtype,
quantity::Quantity qx,
quantity::Quantity qy,
quantity::Quantity qz = new quantity::ValueQuantity(quantity::fN),
int  debug = 0 
)
virtual

Reimplemented in hcaldqm::ContainerProf2D.

Definition at line 25 of file Container2D.cc.

References hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, _qz, debug, hcaldqm::quantity::fXAxis, hcaldqm::quantity::fYAxis, hcaldqm::quantity::fZAxis, hcaldqm::Container1D::initialize(), hcaldqm::quantity::Quantity::name(), and hcaldqm::quantity::Quantity::setAxisType().

Referenced by HcalOnlineHarvesting::_dqmEndLuminosityBlock(), hcaldqm::RawRunSummary::beginRun(), hcaldqm::DigiRunSummary::beginRun(), NoCQTask::bookHistograms(), PedestalTask::bookHistograms(), QIE10Task::bookHistograms(), QIE11Task::bookHistograms(), TPTask::bookHistograms(), LEDTask::bookHistograms(), LaserTask::bookHistograms(), RawTask::bookHistograms(), RecHitTask::bookHistograms(), DigiTask::bookHistograms(), hcaldqm::RecoRunSummary::endJob(), hcaldqm::RawRunSummary::endJob(), hcaldqm::DigiRunSummary::endJob(), hcaldqm::RawRunSummary::endLuminosityBlock(), hcaldqm::DigiRunSummary::endLuminosityBlock(), and hcaldqm::ContainerProf2D::initialize().

30  {
31  Container1D::initialize(folder, qz->name() + "vs" + qy->name() + "vs" + qx->name(), hashtype, qx, qy, debug);
32  _qz = qz;
35  _qz->setAxisType(quantity::fZAxis);
36  }
virtual void initialize(std::string const &folder, hashfunctions::HashType, quantity::Quantity *, quantity::Quantity *qy=new quantity::ValueQuantity(quantity::fN), int debug=0)
Definition: Container1D.cc:33
virtual void setAxisType(AxisType at)
Definition: Quantity.h:36
quantity::Quantity * _qx
Definition: Container1D.h:234
#define debug
Definition: HDRShower.cc:19
quantity::Quantity * _qz
Definition: Container2D.h:174
quantity::Quantity * _qy
Definition: Container1D.h:235
void hcaldqm::Container2D::initialize ( std::string const &  folder,
std::string const &  qname,
hashfunctions::HashType  hashtype,
quantity::Quantity qx,
quantity::Quantity qy,
quantity::Quantity qz = new quantity::ValueQuantity(quantity::fN),
int  debug = 0 
)
virtual

Reimplemented in hcaldqm::ContainerProf2D.

Definition at line 38 of file Container2D.cc.

References hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, _qz, hcaldqm::quantity::fXAxis, hcaldqm::quantity::fYAxis, hcaldqm::quantity::fZAxis, hcaldqm::Container1D::initialize(), and hcaldqm::quantity::Quantity::setAxisType().

44  {
45  Container1D::initialize(folder, qname, hashtype, qx, qy, debug);
46  _qz = qz;
50  }
virtual void initialize(std::string const &folder, hashfunctions::HashType, quantity::Quantity *, quantity::Quantity *qy=new quantity::ValueQuantity(quantity::fN), int debug=0)
Definition: Container1D.cc:33
virtual void setAxisType(AxisType at)
Definition: Quantity.h:36
quantity::Quantity * _qx
Definition: Container1D.h:234
#define debug
Definition: HDRShower.cc:19
quantity::Quantity * _qz
Definition: Container2D.h:174
quantity::Quantity * _qy
Definition: Container1D.h:235
void hcaldqm::Container2D::setBinContent ( HcalDetId const &  id,
int  x 
)
overridevirtual
void hcaldqm::Container2D::setBinContent ( HcalDetId const &  id,
double  x 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 166 of file Container2D.cc.

References hcaldqm::Container1D::_hashmap, hcaldqm::Container1D::_mes, hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, hcaldqm::quantity::Quantity::getBin(), and hcaldqm::mapper::HashMapper::getHash().

166  {
167  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(id), _qy->getBin(id), x);
168  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
quantity::Quantity * _qx
Definition: Container1D.h:234
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
mapper::HashMapper _hashmap
Definition: Container1D.h:233
quantity::Quantity * _qy
Definition: Container1D.h:235
void hcaldqm::Container2D::setBinContent ( HcalDetId const &  id,
int  x,
int  y 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 169 of file Container2D.cc.

References hcaldqm::Container1D::_hashmap, hcaldqm::Container1D::_mes, hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, hcaldqm::quantity::Quantity::getBin(), hcaldqm::mapper::HashMapper::getHash(), and hcaldqm::quantity::Quantity::isCoordinate().

169  {
170  if (_qx->isCoordinate())
171  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(id), _qy->getBin(x), y);
172  else
173  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x), _qy->getBin(id), y);
174  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
quantity::Quantity * _qx
Definition: Container1D.h:234
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
mapper::HashMapper _hashmap
Definition: Container1D.h:233
virtual bool isCoordinate()
Definition: Quantity.h:61
quantity::Quantity * _qy
Definition: Container1D.h:235
void hcaldqm::Container2D::setBinContent ( HcalDetId const &  id,
int  x,
double  y 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 176 of file Container2D.cc.

References hcaldqm::Container1D::_hashmap, hcaldqm::Container1D::_mes, hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, hcaldqm::quantity::Quantity::getBin(), hcaldqm::mapper::HashMapper::getHash(), and hcaldqm::quantity::Quantity::isCoordinate().

176  {
177  if (_qx->isCoordinate())
178  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(id), _qy->getBin(x), y);
179  else
180  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x), _qy->getBin(id), y);
181  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
quantity::Quantity * _qx
Definition: Container1D.h:234
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
mapper::HashMapper _hashmap
Definition: Container1D.h:233
virtual bool isCoordinate()
Definition: Quantity.h:61
quantity::Quantity * _qy
Definition: Container1D.h:235
void hcaldqm::Container2D::setBinContent ( HcalDetId const &  id,
double  x,
int  y 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 182 of file Container2D.cc.

References hcaldqm::Container1D::_hashmap, hcaldqm::Container1D::_mes, hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, hcaldqm::quantity::Quantity::getBin(), hcaldqm::mapper::HashMapper::getHash(), and hcaldqm::quantity::Quantity::isCoordinate().

182  {
183  if (_qx->isCoordinate())
184  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(id), _qy->getBin(x), y);
185  else
186  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x), _qy->getBin(id), y);
187  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
quantity::Quantity * _qx
Definition: Container1D.h:234
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
mapper::HashMapper _hashmap
Definition: Container1D.h:233
virtual bool isCoordinate()
Definition: Quantity.h:61
quantity::Quantity * _qy
Definition: Container1D.h:235
void hcaldqm::Container2D::setBinContent ( HcalDetId const &  id,
double  x,
double  y 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 188 of file Container2D.cc.

References hcaldqm::Container1D::_hashmap, hcaldqm::Container1D::_mes, hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, hcaldqm::quantity::Quantity::getBin(), hcaldqm::mapper::HashMapper::getHash(), and hcaldqm::quantity::Quantity::isCoordinate().

188  {
189  if (_qx->isCoordinate())
190  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(id), _qy->getBin(x), y);
191  else
192  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x), _qy->getBin(id), y);
193  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
quantity::Quantity * _qx
Definition: Container1D.h:234
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
mapper::HashMapper _hashmap
Definition: Container1D.h:233
virtual bool isCoordinate()
Definition: Quantity.h:61
quantity::Quantity * _qy
Definition: Container1D.h:235
void hcaldqm::Container2D::setBinContent ( HcalDetId const &  id,
int  x,
int  y,
int  z 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 195 of file Container2D.cc.

References hcaldqm::Container1D::_hashmap, hcaldqm::Container1D::_mes, hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, hcaldqm::quantity::Quantity::getBin(), and hcaldqm::mapper::HashMapper::getHash().

195  {
196  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x), _qy->getBin(y), z);
197  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
quantity::Quantity * _qx
Definition: Container1D.h:234
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
mapper::HashMapper _hashmap
Definition: Container1D.h:233
quantity::Quantity * _qy
Definition: Container1D.h:235
void hcaldqm::Container2D::setBinContent ( HcalDetId const &  id,
int  x,
double  y,
int  z 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 198 of file Container2D.cc.

References hcaldqm::Container1D::_hashmap, hcaldqm::Container1D::_mes, hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, hcaldqm::quantity::Quantity::getBin(), and hcaldqm::mapper::HashMapper::getHash().

198  {
199  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x), _qy->getBin(y), z);
200  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
quantity::Quantity * _qx
Definition: Container1D.h:234
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
mapper::HashMapper _hashmap
Definition: Container1D.h:233
quantity::Quantity * _qy
Definition: Container1D.h:235
void hcaldqm::Container2D::setBinContent ( HcalDetId const &  id,
double  x,
int  y,
int  z 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 201 of file Container2D.cc.

References hcaldqm::Container1D::_hashmap, hcaldqm::Container1D::_mes, hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, hcaldqm::quantity::Quantity::getBin(), and hcaldqm::mapper::HashMapper::getHash().

201  {
202  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x), _qy->getBin(y), z);
203  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
quantity::Quantity * _qx
Definition: Container1D.h:234
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
mapper::HashMapper _hashmap
Definition: Container1D.h:233
quantity::Quantity * _qy
Definition: Container1D.h:235
void hcaldqm::Container2D::setBinContent ( HcalDetId const &  id,
double  x,
double  y,
int  z 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 204 of file Container2D.cc.

References hcaldqm::Container1D::_hashmap, hcaldqm::Container1D::_mes, hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, hcaldqm::quantity::Quantity::getBin(), and hcaldqm::mapper::HashMapper::getHash().

204  {
205  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x), _qy->getBin(y), z);
206  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
quantity::Quantity * _qx
Definition: Container1D.h:234
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
mapper::HashMapper _hashmap
Definition: Container1D.h:233
quantity::Quantity * _qy
Definition: Container1D.h:235
void hcaldqm::Container2D::setBinContent ( HcalDetId const &  id,
int  x,
int  y,
double  z 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 207 of file Container2D.cc.

References hcaldqm::Container1D::_hashmap, hcaldqm::Container1D::_mes, hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, hcaldqm::quantity::Quantity::getBin(), and hcaldqm::mapper::HashMapper::getHash().

207  {
208  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x), _qy->getBin(y), z);
209  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
quantity::Quantity * _qx
Definition: Container1D.h:234
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
mapper::HashMapper _hashmap
Definition: Container1D.h:233
quantity::Quantity * _qy
Definition: Container1D.h:235
void hcaldqm::Container2D::setBinContent ( HcalDetId const &  id,
int  x,
double  y,
double  z 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 210 of file Container2D.cc.

References hcaldqm::Container1D::_hashmap, hcaldqm::Container1D::_mes, hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, hcaldqm::quantity::Quantity::getBin(), and hcaldqm::mapper::HashMapper::getHash().

210  {
211  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x), _qy->getBin(y), z);
212  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
quantity::Quantity * _qx
Definition: Container1D.h:234
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
mapper::HashMapper _hashmap
Definition: Container1D.h:233
quantity::Quantity * _qy
Definition: Container1D.h:235
void hcaldqm::Container2D::setBinContent ( HcalDetId const &  id,
double  x,
int  y,
double  z 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 213 of file Container2D.cc.

References hcaldqm::Container1D::_hashmap, hcaldqm::Container1D::_mes, hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, hcaldqm::quantity::Quantity::getBin(), and hcaldqm::mapper::HashMapper::getHash().

213  {
214  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x), _qy->getBin(y), z);
215  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
quantity::Quantity * _qx
Definition: Container1D.h:234
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
mapper::HashMapper _hashmap
Definition: Container1D.h:233
quantity::Quantity * _qy
Definition: Container1D.h:235
void hcaldqm::Container2D::setBinContent ( HcalDetId const &  id,
double  x,
double  y,
double  z 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 216 of file Container2D.cc.

References hcaldqm::Container1D::_hashmap, hcaldqm::Container1D::_mes, hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, hcaldqm::quantity::Quantity::getBin(), and hcaldqm::mapper::HashMapper::getHash().

216  {
217  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x), _qy->getBin(y), z);
218  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
quantity::Quantity * _qx
Definition: Container1D.h:234
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
mapper::HashMapper _hashmap
Definition: Container1D.h:233
quantity::Quantity * _qy
Definition: Container1D.h:235
void hcaldqm::Container2D::setBinContent ( HcalElectronicsId const &  id,
int  x 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 331 of file Container2D.cc.

References hcaldqm::Container1D::_hashmap, hcaldqm::Container1D::_mes, hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, hcaldqm::quantity::Quantity::getBin(), and hcaldqm::mapper::HashMapper::getHash().

331  {
332  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(id), _qy->getBin(id), x);
333  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
quantity::Quantity * _qx
Definition: Container1D.h:234
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
mapper::HashMapper _hashmap
Definition: Container1D.h:233
quantity::Quantity * _qy
Definition: Container1D.h:235
void hcaldqm::Container2D::setBinContent ( HcalElectronicsId const &  id,
double  x 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 334 of file Container2D.cc.

References hcaldqm::Container1D::_hashmap, hcaldqm::Container1D::_mes, hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, hcaldqm::quantity::Quantity::getBin(), and hcaldqm::mapper::HashMapper::getHash().

334  {
335  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(id), _qy->getBin(id), x);
336  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
quantity::Quantity * _qx
Definition: Container1D.h:234
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
mapper::HashMapper _hashmap
Definition: Container1D.h:233
quantity::Quantity * _qy
Definition: Container1D.h:235
void hcaldqm::Container2D::setBinContent ( HcalElectronicsId const &  id,
int  x,
int  y 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 337 of file Container2D.cc.

References hcaldqm::Container1D::_hashmap, hcaldqm::Container1D::_mes, hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, hcaldqm::quantity::Quantity::getBin(), hcaldqm::mapper::HashMapper::getHash(), and hcaldqm::quantity::Quantity::isCoordinate().

337  {
338  if (_qx->isCoordinate())
339  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(id), _qy->getBin(x), y);
340  else
341  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x), _qy->getBin(id), y);
342  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
quantity::Quantity * _qx
Definition: Container1D.h:234
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
mapper::HashMapper _hashmap
Definition: Container1D.h:233
virtual bool isCoordinate()
Definition: Quantity.h:61
quantity::Quantity * _qy
Definition: Container1D.h:235
void hcaldqm::Container2D::setBinContent ( HcalElectronicsId const &  id,
int  x,
double  y 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 344 of file Container2D.cc.

References hcaldqm::Container1D::_hashmap, hcaldqm::Container1D::_mes, hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, hcaldqm::quantity::Quantity::getBin(), hcaldqm::mapper::HashMapper::getHash(), and hcaldqm::quantity::Quantity::isCoordinate().

344  {
345  if (_qx->isCoordinate())
346  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(id), _qy->getBin(x), y);
347  else
348  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x), _qy->getBin(id), y);
349  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
quantity::Quantity * _qx
Definition: Container1D.h:234
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
mapper::HashMapper _hashmap
Definition: Container1D.h:233
virtual bool isCoordinate()
Definition: Quantity.h:61
quantity::Quantity * _qy
Definition: Container1D.h:235
void hcaldqm::Container2D::setBinContent ( HcalElectronicsId const &  id,
double  x,
int  y 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 350 of file Container2D.cc.

References hcaldqm::Container1D::_hashmap, hcaldqm::Container1D::_mes, hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, hcaldqm::quantity::Quantity::getBin(), hcaldqm::mapper::HashMapper::getHash(), and hcaldqm::quantity::Quantity::isCoordinate().

350  {
351  if (_qx->isCoordinate())
352  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(id), _qy->getBin(x), y);
353  else
354  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x), _qy->getBin(id), y);
355  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
quantity::Quantity * _qx
Definition: Container1D.h:234
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
mapper::HashMapper _hashmap
Definition: Container1D.h:233
virtual bool isCoordinate()
Definition: Quantity.h:61
quantity::Quantity * _qy
Definition: Container1D.h:235
void hcaldqm::Container2D::setBinContent ( HcalElectronicsId const &  id,
double  x,
double  y 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 356 of file Container2D.cc.

References hcaldqm::Container1D::_hashmap, hcaldqm::Container1D::_mes, hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, hcaldqm::quantity::Quantity::getBin(), hcaldqm::mapper::HashMapper::getHash(), and hcaldqm::quantity::Quantity::isCoordinate().

356  {
357  if (_qx->isCoordinate())
358  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(id), _qy->getBin(x), y);
359  else
360  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x), _qy->getBin(id), y);
361  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
quantity::Quantity * _qx
Definition: Container1D.h:234
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
mapper::HashMapper _hashmap
Definition: Container1D.h:233
virtual bool isCoordinate()
Definition: Quantity.h:61
quantity::Quantity * _qy
Definition: Container1D.h:235
void hcaldqm::Container2D::setBinContent ( HcalElectronicsId const &  id,
int  x,
int  y,
int  z 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 363 of file Container2D.cc.

References hcaldqm::Container1D::_hashmap, hcaldqm::Container1D::_mes, hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, hcaldqm::quantity::Quantity::getBin(), and hcaldqm::mapper::HashMapper::getHash().

363  {
364  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x), _qy->getBin(y), z);
365  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
quantity::Quantity * _qx
Definition: Container1D.h:234
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
mapper::HashMapper _hashmap
Definition: Container1D.h:233
quantity::Quantity * _qy
Definition: Container1D.h:235
void hcaldqm::Container2D::setBinContent ( HcalElectronicsId const &  id,
int  x,
double  y,
int  z 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 366 of file Container2D.cc.

References hcaldqm::Container1D::_hashmap, hcaldqm::Container1D::_mes, hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, hcaldqm::quantity::Quantity::getBin(), and hcaldqm::mapper::HashMapper::getHash().

366  {
367  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x), _qy->getBin(y), z);
368  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
quantity::Quantity * _qx
Definition: Container1D.h:234
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
mapper::HashMapper _hashmap
Definition: Container1D.h:233
quantity::Quantity * _qy
Definition: Container1D.h:235
void hcaldqm::Container2D::setBinContent ( HcalElectronicsId const &  id,
double  x,
int  y,
int  z 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 369 of file Container2D.cc.

References hcaldqm::Container1D::_hashmap, hcaldqm::Container1D::_mes, hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, hcaldqm::quantity::Quantity::getBin(), and hcaldqm::mapper::HashMapper::getHash().

369  {
370  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x), _qy->getBin(y), z);
371  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
quantity::Quantity * _qx
Definition: Container1D.h:234
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
mapper::HashMapper _hashmap
Definition: Container1D.h:233
quantity::Quantity * _qy
Definition: Container1D.h:235
void hcaldqm::Container2D::setBinContent ( HcalElectronicsId const &  id,
double  x,
double  y,
int  z 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 372 of file Container2D.cc.

References hcaldqm::Container1D::_hashmap, hcaldqm::Container1D::_mes, hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, hcaldqm::quantity::Quantity::getBin(), and hcaldqm::mapper::HashMapper::getHash().

372  {
373  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x), _qy->getBin(y), z);
374  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
quantity::Quantity * _qx
Definition: Container1D.h:234
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
mapper::HashMapper _hashmap
Definition: Container1D.h:233
quantity::Quantity * _qy
Definition: Container1D.h:235
void hcaldqm::Container2D::setBinContent ( HcalElectronicsId const &  id,
int  x,
int  y,
double  z 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 375 of file Container2D.cc.

References hcaldqm::Container1D::_hashmap, hcaldqm::Container1D::_mes, hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, hcaldqm::quantity::Quantity::getBin(), and hcaldqm::mapper::HashMapper::getHash().

375  {
376  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x), _qy->getBin(y), z);
377  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
quantity::Quantity * _qx
Definition: Container1D.h:234
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
mapper::HashMapper _hashmap
Definition: Container1D.h:233
quantity::Quantity * _qy
Definition: Container1D.h:235
void hcaldqm::Container2D::setBinContent ( HcalElectronicsId const &  id,
int  x,
double  y,
double  z 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 378 of file Container2D.cc.

References hcaldqm::Container1D::_hashmap, hcaldqm::Container1D::_mes, hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, hcaldqm::quantity::Quantity::getBin(), and hcaldqm::mapper::HashMapper::getHash().

378  {
379  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x), _qy->getBin(y), z);
380  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
quantity::Quantity * _qx
Definition: Container1D.h:234
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
mapper::HashMapper _hashmap
Definition: Container1D.h:233
quantity::Quantity * _qy
Definition: Container1D.h:235
void hcaldqm::Container2D::setBinContent ( HcalElectronicsId const &  id,
double  x,
int  y,
double  z 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 381 of file Container2D.cc.

References hcaldqm::Container1D::_hashmap, hcaldqm::Container1D::_mes, hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, hcaldqm::quantity::Quantity::getBin(), and hcaldqm::mapper::HashMapper::getHash().

381  {
382  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x), _qy->getBin(y), z);
383  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
quantity::Quantity * _qx
Definition: Container1D.h:234
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
mapper::HashMapper _hashmap
Definition: Container1D.h:233
quantity::Quantity * _qy
Definition: Container1D.h:235
void hcaldqm::Container2D::setBinContent ( HcalElectronicsId const &  id,
double  x,
double  y,
double  z 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 384 of file Container2D.cc.

References hcaldqm::Container1D::_hashmap, hcaldqm::Container1D::_mes, hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, hcaldqm::quantity::Quantity::getBin(), and hcaldqm::mapper::HashMapper::getHash().

384  {
385  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x), _qy->getBin(y), z);
386  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
quantity::Quantity * _qx
Definition: Container1D.h:234
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
mapper::HashMapper _hashmap
Definition: Container1D.h:233
quantity::Quantity * _qy
Definition: Container1D.h:235
void hcaldqm::Container2D::setBinContent ( HcalTrigTowerDetId const &  id,
int  x 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 509 of file Container2D.cc.

References hcaldqm::Container1D::_hashmap, hcaldqm::Container1D::_mes, hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, hcaldqm::quantity::Quantity::getBin(), and hcaldqm::mapper::HashMapper::getHash().

509  {
510  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(id), _qy->getBin(id), x);
511  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
quantity::Quantity * _qx
Definition: Container1D.h:234
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
mapper::HashMapper _hashmap
Definition: Container1D.h:233
quantity::Quantity * _qy
Definition: Container1D.h:235
void hcaldqm::Container2D::setBinContent ( HcalTrigTowerDetId const &  id,
double  x 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 512 of file Container2D.cc.

References hcaldqm::Container1D::_hashmap, hcaldqm::Container1D::_mes, hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, hcaldqm::quantity::Quantity::getBin(), and hcaldqm::mapper::HashMapper::getHash().

512  {
513  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(id), _qy->getBin(id), x);
514  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
quantity::Quantity * _qx
Definition: Container1D.h:234
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
mapper::HashMapper _hashmap
Definition: Container1D.h:233
quantity::Quantity * _qy
Definition: Container1D.h:235
void hcaldqm::Container2D::setBinContent ( HcalTrigTowerDetId const &  id,
int  x,
int  y 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 515 of file Container2D.cc.

References hcaldqm::Container1D::_hashmap, hcaldqm::Container1D::_mes, hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, hcaldqm::quantity::Quantity::getBin(), hcaldqm::mapper::HashMapper::getHash(), and hcaldqm::quantity::Quantity::isCoordinate().

515  {
516  if (_qx->isCoordinate())
517  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(id), _qy->getBin(x), y);
518  else
519  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x), _qy->getBin(id), y);
520  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
quantity::Quantity * _qx
Definition: Container1D.h:234
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
mapper::HashMapper _hashmap
Definition: Container1D.h:233
virtual bool isCoordinate()
Definition: Quantity.h:61
quantity::Quantity * _qy
Definition: Container1D.h:235
void hcaldqm::Container2D::setBinContent ( HcalTrigTowerDetId const &  id,
int  x,
double  y 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 522 of file Container2D.cc.

References hcaldqm::Container1D::_hashmap, hcaldqm::Container1D::_mes, hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, hcaldqm::quantity::Quantity::getBin(), hcaldqm::mapper::HashMapper::getHash(), and hcaldqm::quantity::Quantity::isCoordinate().

522  {
523  if (_qx->isCoordinate())
524  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(id), _qy->getBin(x), y);
525  else
526  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x), _qy->getBin(id), y);
527  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
quantity::Quantity * _qx
Definition: Container1D.h:234
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
mapper::HashMapper _hashmap
Definition: Container1D.h:233
virtual bool isCoordinate()
Definition: Quantity.h:61
quantity::Quantity * _qy
Definition: Container1D.h:235
void hcaldqm::Container2D::setBinContent ( HcalTrigTowerDetId const &  id,
double  x,
int  y 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 528 of file Container2D.cc.

References hcaldqm::Container1D::_hashmap, hcaldqm::Container1D::_mes, hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, hcaldqm::quantity::Quantity::getBin(), hcaldqm::mapper::HashMapper::getHash(), and hcaldqm::quantity::Quantity::isCoordinate().

528  {
529  if (_qx->isCoordinate())
530  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(id), _qy->getBin(x), y);
531  else
532  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x), _qy->getBin(id), y);
533  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
quantity::Quantity * _qx
Definition: Container1D.h:234
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
mapper::HashMapper _hashmap
Definition: Container1D.h:233
virtual bool isCoordinate()
Definition: Quantity.h:61
quantity::Quantity * _qy
Definition: Container1D.h:235
void hcaldqm::Container2D::setBinContent ( HcalTrigTowerDetId const &  id,
double  x,
double  y 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 534 of file Container2D.cc.

References hcaldqm::Container1D::_hashmap, hcaldqm::Container1D::_mes, hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, hcaldqm::quantity::Quantity::getBin(), hcaldqm::mapper::HashMapper::getHash(), and hcaldqm::quantity::Quantity::isCoordinate().

534  {
535  if (_qx->isCoordinate())
536  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(id), _qy->getBin(x), y);
537  else
538  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x), _qy->getBin(id), y);
539  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
quantity::Quantity * _qx
Definition: Container1D.h:234
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
mapper::HashMapper _hashmap
Definition: Container1D.h:233
virtual bool isCoordinate()
Definition: Quantity.h:61
quantity::Quantity * _qy
Definition: Container1D.h:235
void hcaldqm::Container2D::setBinContent ( HcalTrigTowerDetId const &  id,
int  x,
int  y,
int  z 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 541 of file Container2D.cc.

References hcaldqm::Container1D::_hashmap, hcaldqm::Container1D::_mes, hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, hcaldqm::quantity::Quantity::getBin(), and hcaldqm::mapper::HashMapper::getHash().

541  {
542  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x), _qy->getBin(y), z);
543  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
quantity::Quantity * _qx
Definition: Container1D.h:234
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
mapper::HashMapper _hashmap
Definition: Container1D.h:233
quantity::Quantity * _qy
Definition: Container1D.h:235
void hcaldqm::Container2D::setBinContent ( HcalTrigTowerDetId const &  id,
int  x,
double  y,
int  z 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 544 of file Container2D.cc.

References hcaldqm::Container1D::_hashmap, hcaldqm::Container1D::_mes, hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, hcaldqm::quantity::Quantity::getBin(), and hcaldqm::mapper::HashMapper::getHash().

544  {
545  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x), _qy->getBin(y), z);
546  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
quantity::Quantity * _qx
Definition: Container1D.h:234
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
mapper::HashMapper _hashmap
Definition: Container1D.h:233
quantity::Quantity * _qy
Definition: Container1D.h:235
void hcaldqm::Container2D::setBinContent ( HcalTrigTowerDetId const &  id,
double  x,
int  y,
int  z 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 547 of file Container2D.cc.

References hcaldqm::Container1D::_hashmap, hcaldqm::Container1D::_mes, hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, hcaldqm::quantity::Quantity::getBin(), and hcaldqm::mapper::HashMapper::getHash().

547  {
548  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x), _qy->getBin(y), z);
549  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
quantity::Quantity * _qx
Definition: Container1D.h:234
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
mapper::HashMapper _hashmap
Definition: Container1D.h:233
quantity::Quantity * _qy
Definition: Container1D.h:235
void hcaldqm::Container2D::setBinContent ( HcalTrigTowerDetId const &  id,
double  x,
double  y,
int  z 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 550 of file Container2D.cc.

References hcaldqm::Container1D::_hashmap, hcaldqm::Container1D::_mes, hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, hcaldqm::quantity::Quantity::getBin(), and hcaldqm::mapper::HashMapper::getHash().

550  {
551  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x), _qy->getBin(y), z);
552  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
quantity::Quantity * _qx
Definition: Container1D.h:234
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
mapper::HashMapper _hashmap
Definition: Container1D.h:233
quantity::Quantity * _qy
Definition: Container1D.h:235
void hcaldqm::Container2D::setBinContent ( HcalTrigTowerDetId const &  id,
int  x,
int  y,
double  z 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 553 of file Container2D.cc.

References hcaldqm::Container1D::_hashmap, hcaldqm::Container1D::_mes, hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, hcaldqm::quantity::Quantity::getBin(), and hcaldqm::mapper::HashMapper::getHash().

553  {
554  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x), _qy->getBin(y), z);
555  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
quantity::Quantity * _qx
Definition: Container1D.h:234
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
mapper::HashMapper _hashmap
Definition: Container1D.h:233
quantity::Quantity * _qy
Definition: Container1D.h:235
void hcaldqm::Container2D::setBinContent ( HcalTrigTowerDetId const &  id,
int  x,
double  y,
double  z 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 556 of file Container2D.cc.

References hcaldqm::Container1D::_hashmap, hcaldqm::Container1D::_mes, hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, hcaldqm::quantity::Quantity::getBin(), and hcaldqm::mapper::HashMapper::getHash().

556  {
557  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x), _qy->getBin(y), z);
558  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
quantity::Quantity * _qx
Definition: Container1D.h:234
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
mapper::HashMapper _hashmap
Definition: Container1D.h:233
quantity::Quantity * _qy
Definition: Container1D.h:235
void hcaldqm::Container2D::setBinContent ( HcalTrigTowerDetId const &  id,
double  x,
int  y,
double  z 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 559 of file Container2D.cc.

References hcaldqm::Container1D::_hashmap, hcaldqm::Container1D::_mes, hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, hcaldqm::quantity::Quantity::getBin(), and hcaldqm::mapper::HashMapper::getHash().

559  {
560  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x), _qy->getBin(y), z);
561  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
quantity::Quantity * _qx
Definition: Container1D.h:234
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
mapper::HashMapper _hashmap
Definition: Container1D.h:233
quantity::Quantity * _qy
Definition: Container1D.h:235
void hcaldqm::Container2D::setBinContent ( HcalTrigTowerDetId const &  id,
double  x,
double  y,
double  z 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 562 of file Container2D.cc.

References hcaldqm::Container1D::_hashmap, hcaldqm::Container1D::_mes, hcaldqm::Container1D::_qx, hcaldqm::Container1D::_qy, hcaldqm::quantity::Quantity::getBin(), and hcaldqm::mapper::HashMapper::getHash().

562  {
563  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x), _qy->getBin(y), z);
564  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
quantity::Quantity * _qx
Definition: Container1D.h:234
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
mapper::HashMapper _hashmap
Definition: Container1D.h:233
quantity::Quantity * _qy
Definition: Container1D.h:235
void hcaldqm::Container2D::showOverflowZ ( bool  showOverflow)

Definition at line 812 of file Container2D.cc.

References _qz, and hcaldqm::quantity::Quantity::showOverflow().

812 { _qz->showOverflow(showOverflow); }
virtual void showOverflow(bool showOverflow)
Definition: Quantity.h:68
quantity::Quantity * _qz
Definition: Container2D.h:174

Member Data Documentation

quantity::Quantity* hcaldqm::Container2D::_qz
protected