CMS 3D CMS Logo

List of all members | Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions
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)
 
virtual void initialize (std::string const &folder, std::string const &qname, int debug=0)
 
virtual void initialize (std::string const &folder, hashfunctions::HashType, quantity::Quantity *, quantity::Quantity *qy=new quantity::ValueQuantity(quantity::fN), int debug=0)
 
virtual void initialize (std::string const &folder, std::string const &qname, 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)
 
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 initialize (std::string const &folder, std::string const &qname, 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
 

Private Member Functions

virtual void fill (uint32_t)
 
virtual void fill (HcalTrigTowerDetId const &, double, double)
 
virtual void fill (HcalTrigTowerDetId const &, int, int)
 
virtual void fill (HcalTrigTowerDetId const &, int, double)
 
virtual void fill (HcalTrigTowerDetId const &, double)
 
virtual void fill (HcalTrigTowerDetId const &, int)
 
virtual void fill (HcalTrigTowerDetId const &)
 
virtual void fill (HcalElectronicsId const &, double, double)
 
virtual void fill (HcalElectronicsId const &, int, int)
 
virtual void fill (HcalElectronicsId const &, int, double)
 
virtual void fill (HcalElectronicsId const &, double)
 
virtual void fill (HcalElectronicsId const &, int)
 
virtual void fill (HcalElectronicsId const &)
 
virtual void fill (HcalDetId const &, double, double)
 
virtual void fill (HcalDetId const &, int, int)
 
virtual void fill (HcalDetId const &, int, double)
 
virtual void fill (HcalDetId const &, double)
 
virtual void fill (HcalDetId const &, int)
 
virtual void fill (HcalDetId const &)
 
virtual void fill (uint32_t, double, double)
 
virtual void fill (uint32_t, int, int)
 
virtual void fill (uint32_t, int, double)
 
virtual void fill (uint32_t, double)
 
virtual void fill (uint32_t, int)
 

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

◆ Container2D() [1/2]

hcaldqm::Container2D::Container2D ( )

Definition at line 9 of file Container2D.cc.

9 : _qz(nullptr) {}
quantity::Quantity * _qz
Definition: Container2D.h:174

◆ Container2D() [2/2]

hcaldqm::Container2D::Container2D ( std::string const &  folder,
hashfunctions::HashType  hashtype,
quantity::Quantity qx,
quantity::Quantity qy,
quantity::Quantity qz = new quantity::ValueQuantity(quantity::fN) 
)

◆ ~Container2D()

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

◆ book() [1/2]

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, customize(), Logger::debug(), runTauDisplay::eid, hcaldqm::mapper::HashMapper::getHash(), hcaldqm::mapper::HashMapper::getHashTypeName(), hcaldqm::mapper::HashMapper::getName(), cond::hash, cuy::ib, hcaldqm::mapper::HashMapper::isDHash(), hcaldqm::mapper::HashMapper::isEHash(), hcaldqm::mapper::HashMapper::isMixHash(), hcaldqm::mapper::HashMapper::isTHash(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, HcalElectronicsMap::lookupTrigger(), hcaldqm::quantity::Quantity::max(), hcaldqm::quantity::Quantity::min(), hcaldqm::quantity::Quantity::nbins(), DetId::rawId(), and DigiTask_cfi::subsystem.

Referenced by HcalOnlineHarvesting::_dqmEndLuminosityBlock(), NoCQTask::bookHistograms(), PedestalTask::bookHistograms(), QIE10Task::bookHistograms(), QIE11Task::bookHistograms(), HcalGPUComparisonTask::bookHistograms(), TPTask::bookHistograms(), LEDTask::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) {
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),
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());
654  uint32_t hash = _hashmap.getHash(tid, eid);
655  MEMap::iterator mit = _mes.find(hash);
656  if (mit != _mes.end())
657  continue;
658 
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
virtual bool isMixHash() const
Definition: HashMapper.h:65
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
virtual double max()
Definition: Quantity.h:60
virtual bool isTHash() const
Definition: HashMapper.h:62
virtual std::string getHashTypeName() const
Definition: HashMapper.h:54
quantity::Quantity * _qx
Definition: Container1D.h:234
void debug(STDTYPE const &msg) const
Definition: Logger.h:20
virtual bool isEHash() const
Definition: HashMapper.h:59
std::string _folder
Definition: Container.h:37
mapper::HashMapper _hashmap
Definition: Container1D.h:233
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
quantity::Quantity * _qy
Definition: Container1D.h:235
Readout chain identification for Hcal.
ib
Definition: cuy.py:661

◆ book() [2/2]

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, customize(), Logger::debug(), runTauDisplay::eid, ALCARECOTkAlBeamHalo_cff::filter, hcaldqm::mapper::HashMapper::getHash(), hcaldqm::mapper::HashMapper::getHashTypeName(), hcaldqm::mapper::HashMapper::getName(), cond::hash, cuy::ib, hcaldqm::mapper::HashMapper::isDHash(), hcaldqm::mapper::HashMapper::isEHash(), hcaldqm::mapper::HashMapper::isMixHash(), hcaldqm::mapper::HashMapper::isTHash(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, HcalElectronicsMap::lookupTrigger(), hcaldqm::quantity::Quantity::max(), hcaldqm::quantity::Quantity::min(), hcaldqm::quantity::Quantity::nbins(), DetId::rawId(), and DigiTask_cfi::subsystem.

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) {
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),
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());
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 
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
virtual bool isMixHash() const
Definition: HashMapper.h:65
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
virtual double max()
Definition: Quantity.h:60
virtual bool isTHash() const
Definition: HashMapper.h:62
virtual std::string getHashTypeName() const
Definition: HashMapper.h:54
quantity::Quantity * _qx
Definition: Container1D.h:234
void debug(STDTYPE const &msg) const
Definition: Logger.h:20
virtual bool isEHash() const
Definition: HashMapper.h:59
std::string _folder
Definition: Container.h:37
mapper::HashMapper _hashmap
Definition: Container1D.h:233
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
quantity::Quantity * _qy
Definition: Container1D.h:235
Readout chain identification for Hcal.
ib
Definition: cuy.py:661

◆ customize()

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(), h, mps_fire::i, hlt_dqm_clientPB-live_cfg::me, hcaldqm::quantity::Quantity::name(), 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
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

◆ fill() [1/43]

void hcaldqm::Container2D::fill ( HcalDetId const &  did)
overridevirtual

◆ fill() [2/43]

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(), hcaldqm::quantity::Quantity::isCoordinate(), and x.

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

◆ fill() [3/43]

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(), hcaldqm::quantity::Quantity::isCoordinate(), and x.

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

◆ fill() [4/43]

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(), hcaldqm::quantity::Quantity::isCoordinate(), and x.

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

◆ fill() [5/43]

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(), hcaldqm::quantity::Quantity::isCoordinate(), and x.

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

◆ fill() [6/43]

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(), hcaldqm::quantity::Quantity::isCoordinate(), and x.

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

◆ fill() [7/43]

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

◆ fill() [8/43]

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(), hcaldqm::quantity::Quantity::isCoordinate(), and x.

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

◆ fill() [9/43]

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(), hcaldqm::quantity::Quantity::isCoordinate(), and x.

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

◆ fill() [10/43]

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(), hcaldqm::quantity::Quantity::isCoordinate(), and x.

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

◆ fill() [11/43]

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(), hcaldqm::quantity::Quantity::isCoordinate(), and x.

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

◆ fill() [12/43]

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(), hcaldqm::quantity::Quantity::isCoordinate(), and x.

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

◆ fill() [13/43]

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

◆ fill() [14/43]

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(), hcaldqm::quantity::Quantity::isCoordinate(), and x.

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

◆ fill() [15/43]

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(), hcaldqm::quantity::Quantity::isCoordinate(), and x.

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

◆ fill() [16/43]

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(), hcaldqm::quantity::Quantity::isCoordinate(), and x.

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

◆ fill() [17/43]

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(), hcaldqm::quantity::Quantity::isCoordinate(), and x.

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

◆ fill() [18/43]

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(), hcaldqm::quantity::Quantity::isCoordinate(), and x.

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

◆ fill() [19/43]

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, runTauDisplay::eid, hcaldqm::mapper::HashMapper::getHash(), hcaldqm::quantity::Quantity::getValue(), hcaldqm::quantity::Quantity::isCoordinate(), and x.

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

◆ fill() [20/43]

void hcaldqm::Container1D::fill
private

Definition at line 345 of file Container1D.cc.

345  {
346  QuantityType qtype = _qx->type();
347  if (qtype == fValueQuantity || qtype == fFlagQuantity)
348  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(x));
349  else
350  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(did), _qy->getValue(x));
351  }
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 QuantityType type()
Definition: Quantity.h:33
quantity::Quantity * _qy
Definition: Container1D.h:235

◆ fill() [21/43]

void hcaldqm::Container1D::fill
private

Definition at line 352 of file Container1D.cc.

352  {
353  QuantityType qtype = _qx->type();
354  if (qtype == fValueQuantity || qtype == fFlagQuantity)
355  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(x));
356  else
357  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(did), _qy->getValue(x));
358  }
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 QuantityType type()
Definition: Quantity.h:33
quantity::Quantity * _qy
Definition: Container1D.h:235

◆ fill() [22/43]

void hcaldqm::Container1D::fill
private

Definition at line 359 of file Container1D.cc.

359  {
360  QuantityType qtype = _qx->type();
361  if (qtype == fValueQuantity || qtype == fFlagQuantity)
362  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(x), _qy->getValue(y));
363  else
364  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(did), _qy->getValue(x), y);
365  }
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 QuantityType type()
Definition: Quantity.h:33
quantity::Quantity * _qy
Definition: Container1D.h:235

◆ fill() [23/43]

void hcaldqm::Container1D::fill
private

Definition at line 366 of file Container1D.cc.

366  {
367  QuantityType qtype = _qx->type();
368  if (qtype == fValueQuantity || qtype == fFlagQuantity)
369  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(x), _qy->getValue(y));
370  else
371  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(did), _qy->getValue(x), y);
372  }
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 QuantityType type()
Definition: Quantity.h:33
quantity::Quantity * _qy
Definition: Container1D.h:235

◆ fill() [24/43]

void hcaldqm::Container1D::fill
private

Definition at line 251 of file Container1D.cc.

251  {
252  QuantityType qtype = _qx->type();
253  if (qtype == fValueQuantity || qtype == fFlagQuantity)
254  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(x), _qy->getValue(y));
255  else
256  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(did), _qy->getValue(x), y);
257  }
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 QuantityType type()
Definition: Quantity.h:33
quantity::Quantity * _qy
Definition: Container1D.h:235

◆ fill() [25/43]

void hcaldqm::Container1D::fill
private

Definition at line 157 of file Container1D.cc.

157  {
158  QuantityType qtype = _qx->type();
159  if (qtype == fValueQuantity || qtype == fFlagQuantity)
160  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(x), _qy->getValue(y));
161  else
162  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(did), _qy->getValue(x), y);
163  }
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 QuantityType type()
Definition: Quantity.h:33
quantity::Quantity * _qy
Definition: Container1D.h:235

◆ fill() [26/43]

void hcaldqm::Container1D::fill
private

Definition at line 373 of file Container1D.cc.

373  {
374  QuantityType qtype = _qx->type();
375  if (qtype == fValueQuantity || qtype == fFlagQuantity)
376  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(x), _qy->getValue(y));
377  else
378  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(did), _qy->getValue(x), y);
379  }
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 QuantityType type()
Definition: Quantity.h:33
quantity::Quantity * _qy
Definition: Container1D.h:235

◆ fill() [27/43]

void hcaldqm::Container1D::fill
private

Definition at line 73 of file Container1D.cc.

73  {
74  if (_hashmap.isDHash())
75  this->fill(HcalDetId(hash));
76  else if (_hashmap.isEHash())
77  this->fill(HcalElectronicsId(hash));
78  else if (_hashmap.isTHash())
80  }
virtual bool isTHash() const
Definition: HashMapper.h:62
virtual bool isEHash() const
Definition: HashMapper.h:59
mapper::HashMapper _hashmap
Definition: Container1D.h:233
virtual bool isDHash() const
Definition: HashMapper.h:58
void fill(HcalDetId const &) override
Definition: Container2D.cc:52
Readout chain identification for Hcal.

◆ fill() [28/43]

void hcaldqm::Container1D::fill
private

Definition at line 82 of file Container1D.cc.

82  {
83  if (_hashmap.isDHash())
84  this->fill(HcalDetId(hash), x);
85  else if (_hashmap.isEHash())
86  this->fill(HcalElectronicsId(hash), x);
87  else if (_hashmap.isTHash())
88  this->fill(HcalTrigTowerDetId(hash), x);
89  }
virtual bool isTHash() const
Definition: HashMapper.h:62
virtual bool isEHash() const
Definition: HashMapper.h:59
mapper::HashMapper _hashmap
Definition: Container1D.h:233
virtual bool isDHash() const
Definition: HashMapper.h:58
void fill(HcalDetId const &) override
Definition: Container2D.cc:52
Readout chain identification for Hcal.

◆ fill() [29/43]

void hcaldqm::Container1D::fill
private

Definition at line 91 of file Container1D.cc.

91  {
92  if (_hashmap.isDHash())
93  this->fill(HcalDetId(hash), x);
94  else if (_hashmap.isEHash())
95  this->fill(HcalElectronicsId(hash), x);
96  else if (_hashmap.isTHash())
97  this->fill(HcalTrigTowerDetId(hash), x);
98  }
virtual bool isTHash() const
Definition: HashMapper.h:62
virtual bool isEHash() const
Definition: HashMapper.h:59
mapper::HashMapper _hashmap
Definition: Container1D.h:233
virtual bool isDHash() const
Definition: HashMapper.h:58
void fill(HcalDetId const &) override
Definition: Container2D.cc:52
Readout chain identification for Hcal.

◆ fill() [30/43]

void hcaldqm::Container1D::fill
private

Definition at line 100 of file Container1D.cc.

100  {
101  if (_hashmap.isDHash())
102  this->fill(HcalDetId(hash), x, y);
103  else if (_hashmap.isEHash())
104  this->fill(HcalElectronicsId(hash), x, y);
105  else if (_hashmap.isTHash())
106  this->fill(HcalTrigTowerDetId(hash), x, y);
107  }
virtual bool isTHash() const
Definition: HashMapper.h:62
virtual bool isEHash() const
Definition: HashMapper.h:59
mapper::HashMapper _hashmap
Definition: Container1D.h:233
virtual bool isDHash() const
Definition: HashMapper.h:58
void fill(HcalDetId const &) override
Definition: Container2D.cc:52
Readout chain identification for Hcal.

◆ fill() [31/43]

void hcaldqm::Container1D::fill
private

Definition at line 109 of file Container1D.cc.

109  {
110  if (_hashmap.isDHash())
111  this->fill(HcalDetId(hash), x, y);
112  else if (_hashmap.isEHash())
113  this->fill(HcalElectronicsId(hash), x, y);
114  else if (_hashmap.isTHash())
115  this->fill(HcalTrigTowerDetId(hash), x, y);
116  }
virtual bool isTHash() const
Definition: HashMapper.h:62
virtual bool isEHash() const
Definition: HashMapper.h:59
mapper::HashMapper _hashmap
Definition: Container1D.h:233
virtual bool isDHash() const
Definition: HashMapper.h:58
void fill(HcalDetId const &) override
Definition: Container2D.cc:52
Readout chain identification for Hcal.

◆ fill() [32/43]

void hcaldqm::Container1D::fill
private

Definition at line 118 of file Container1D.cc.

118  {
119  if (_hashmap.isDHash())
120  this->fill(HcalDetId(hash), x, y);
121  else if (_hashmap.isEHash())
122  this->fill(HcalElectronicsId(hash), x, y);
123  else if (_hashmap.isTHash())
124  this->fill(HcalTrigTowerDetId(hash), x, y);
125  }
virtual bool isTHash() const
Definition: HashMapper.h:62
virtual bool isEHash() const
Definition: HashMapper.h:59
mapper::HashMapper _hashmap
Definition: Container1D.h:233
virtual bool isDHash() const
Definition: HashMapper.h:58
void fill(HcalDetId const &) override
Definition: Container2D.cc:52
Readout chain identification for Hcal.

◆ fill() [33/43]

void hcaldqm::Container1D::fill
private

Definition at line 128 of file Container1D.cc.

128 { _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(did)); }
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

◆ fill() [34/43]

void hcaldqm::Container1D::fill
private

Definition at line 129 of file Container1D.cc.

129  {
130  QuantityType qtype = _qx->type();
131  if (qtype == fValueQuantity || qtype == fFlagQuantity)
132  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(x));
133  else
134  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(did), _qy->getValue(x));
135  }
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 QuantityType type()
Definition: Quantity.h:33
quantity::Quantity * _qy
Definition: Container1D.h:235

◆ fill() [35/43]

void hcaldqm::Container1D::fill
private

Definition at line 136 of file Container1D.cc.

136  {
137  QuantityType qtype = _qx->type();
138  if (qtype == fValueQuantity || qtype == fFlagQuantity)
139  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(x));
140  else
141  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(did), _qy->getValue(x));
142  }
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 QuantityType type()
Definition: Quantity.h:33
quantity::Quantity * _qy
Definition: Container1D.h:235

◆ fill() [36/43]

void hcaldqm::Container1D::fill
private

Definition at line 143 of file Container1D.cc.

143  {
144  QuantityType qtype = _qx->type();
145  if (qtype == fValueQuantity || qtype == fFlagQuantity)
146  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(x), _qy->getValue(y));
147  else
148  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(did), _qy->getValue(x), y);
149  }
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 QuantityType type()
Definition: Quantity.h:33
quantity::Quantity * _qy
Definition: Container1D.h:235

◆ fill() [37/43]

void hcaldqm::Container1D::fill
private

Definition at line 150 of file Container1D.cc.

150  {
151  QuantityType qtype = _qx->type();
152  if (qtype == fValueQuantity || qtype == fFlagQuantity)
153  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(x), _qy->getValue(y));
154  else
155  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(did), _qy->getValue(x), y);
156  }
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 QuantityType type()
Definition: Quantity.h:33
quantity::Quantity * _qy
Definition: Container1D.h:235

◆ fill() [38/43]

void hcaldqm::Container1D::fill
private

Definition at line 234 of file Container1D.cc.

234  {
235  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(did));
236  }
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

◆ fill() [39/43]

void hcaldqm::Container1D::fill
private

Definition at line 237 of file Container1D.cc.

237  {
238  QuantityType qtype = _qx->type();
239  if (qtype == fValueQuantity || qtype == fFlagQuantity)
240  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(x));
241  else
242  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(did), _qy->getValue(x));
243  }
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 QuantityType type()
Definition: Quantity.h:33
quantity::Quantity * _qy
Definition: Container1D.h:235

◆ fill() [40/43]

void hcaldqm::Container1D::fill
private

Definition at line 244 of file Container1D.cc.

244  {
245  QuantityType qtype = _qx->type();
246  if (qtype == fValueQuantity || qtype == fFlagQuantity)
247  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(x));
248  else
249  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(did), _qy->getValue(x));
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 QuantityType type()
Definition: Quantity.h:33
quantity::Quantity * _qy
Definition: Container1D.h:235

◆ fill() [41/43]

void hcaldqm::Container1D::fill
private

Definition at line 258 of file Container1D.cc.

258  {
259  QuantityType qtype = _qx->type();
260  if (qtype == fValueQuantity || qtype == fFlagQuantity)
261  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(x), _qy->getValue(y));
262  else
263  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(did), _qy->getValue(x), y);
264  }
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 QuantityType type()
Definition: Quantity.h:33
quantity::Quantity * _qy
Definition: Container1D.h:235

◆ fill() [42/43]

void hcaldqm::Container1D::fill
private

Definition at line 265 of file Container1D.cc.

265  {
266  QuantityType qtype = _qx->type();
267  if (qtype == fValueQuantity || qtype == fFlagQuantity)
268  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(x), _qy->getValue(y));
269  else
270  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(did), _qy->getValue(x), y);
271  }
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 QuantityType type()
Definition: Quantity.h:33
quantity::Quantity * _qy
Definition: Container1D.h:235

◆ fill() [43/43]

void hcaldqm::Container1D::fill
private

Definition at line 342 of file Container1D.cc.

342  {
343  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(did));
344  }
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

◆ getBinContent() [1/18]

double hcaldqm::Container2D::getBinContent ( HcalDetId const &  id)
overridevirtual

◆ getBinContent() [2/18]

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(), hcaldqm::quantity::Quantity::isCoordinate(), and x.

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

◆ getBinContent() [3/18]

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(), hcaldqm::quantity::Quantity::isCoordinate(), and x.

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

◆ getBinContent() [4/18]

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(), hcaldqm::mapper::HashMapper::getHash(), and x.

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

◆ getBinContent() [5/18]

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(), hcaldqm::mapper::HashMapper::getHash(), and x.

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

◆ getBinContent() [6/18]

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(), hcaldqm::mapper::HashMapper::getHash(), and x.

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

◆ getBinContent() [7/18]

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

◆ getBinContent() [8/18]

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(), hcaldqm::quantity::Quantity::isCoordinate(), and x.

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

◆ getBinContent() [9/18]

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(), hcaldqm::quantity::Quantity::isCoordinate(), and x.

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

◆ getBinContent() [10/18]

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(), hcaldqm::mapper::HashMapper::getHash(), and x.

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

◆ getBinContent() [11/18]

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(), hcaldqm::mapper::HashMapper::getHash(), and x.

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

◆ getBinContent() [12/18]

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(), hcaldqm::mapper::HashMapper::getHash(), and x.

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

◆ getBinContent() [13/18]

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

◆ getBinContent() [14/18]

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(), hcaldqm::quantity::Quantity::isCoordinate(), and x.

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

◆ getBinContent() [15/18]

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(), hcaldqm::quantity::Quantity::isCoordinate(), and x.

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

◆ getBinContent() [16/18]

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(), hcaldqm::mapper::HashMapper::getHash(), and x.

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

◆ getBinContent() [17/18]

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(), hcaldqm::mapper::HashMapper::getHash(), and x.

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

◆ getBinContent() [18/18]

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(), hcaldqm::mapper::HashMapper::getHash(), and x.

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

◆ getBinEntries() [1/18]

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

◆ getBinEntries() [2/18]

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(), hcaldqm::quantity::Quantity::wofnbins(), and x.

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

◆ getBinEntries() [3/18]

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(), hcaldqm::quantity::Quantity::wofnbins(), and x.

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

◆ getBinEntries() [4/18]

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(), hcaldqm::quantity::Quantity::wofnbins(), and x.

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

◆ getBinEntries() [5/18]

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(), hcaldqm::quantity::Quantity::wofnbins(), and x.

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

◆ getBinEntries() [6/18]

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(), hcaldqm::quantity::Quantity::wofnbins(), and x.

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

◆ getBinEntries() [7/18]

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

◆ getBinEntries() [8/18]

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(), hcaldqm::quantity::Quantity::wofnbins(), and x.

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

◆ getBinEntries() [9/18]

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(), hcaldqm::quantity::Quantity::wofnbins(), and x.

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

◆ getBinEntries() [10/18]

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(), hcaldqm::quantity::Quantity::wofnbins(), and x.

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

◆ getBinEntries() [11/18]

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(), hcaldqm::quantity::Quantity::wofnbins(), and x.

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

◆ getBinEntries() [12/18]

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(), hcaldqm::quantity::Quantity::wofnbins(), and x.

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

◆ getBinEntries() [13/18]

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

◆ getBinEntries() [14/18]

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(), hcaldqm::quantity::Quantity::wofnbins(), and x.

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

◆ getBinEntries() [15/18]

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(), hcaldqm::quantity::Quantity::wofnbins(), and x.

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

◆ getBinEntries() [16/18]

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(), hcaldqm::quantity::Quantity::wofnbins(), and x.

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

◆ getBinEntries() [17/18]

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(), hcaldqm::quantity::Quantity::wofnbins(), and x.

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

◆ getBinEntries() [18/18]

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(), hcaldqm::quantity::Quantity::wofnbins(), and x.

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

◆ initialize() [1/6]

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, printsummarytable::folder, 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(), HcalGPUComparisonTask::bookHistograms(), QIE10Task::bookHistograms(), QIE11Task::bookHistograms(), TPTask::bookHistograms(), LEDTask::bookHistograms(), LaserTask::bookHistograms(), RawTask::bookHistograms(), RecHitTask::bookHistograms(), DigiTask::bookHistograms(), hcaldqm::RawRunSummary::endJob(), hcaldqm::RecoRunSummary::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;
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

◆ initialize() [2/6]

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, debug, printsummarytable::folder, 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

◆ initialize() [3/6]

virtual void hcaldqm::Container::initialize
inline

Definition at line 30 of file Container.h.

30  {
31  _folder = folder;
32  _qname = qname;
34  }
void set(std::string const &name, int debug=0)
Definition: Logger.h:29
std::string _folder
Definition: Container.h:37
#define debug
Definition: HDRShower.cc:19
std::string _qname
Definition: Container.h:38

◆ initialize() [4/6]

void hcaldqm::Container1D::initialize

Definition at line 33 of file Container1D.cc.

37  {
38  Container::initialize(folder, qy->name() + "vs" + qx->name(), debug);
39  _hashmap.initialize(hashtype);
40  _qx = qx;
41  _qy = qy;
44  }
virtual void initialize(std::string const &folder, std::string const &qname, int debug=0)
Definition: Container.h:30
virtual void setAxisType(AxisType at)
Definition: Quantity.h:36
virtual void initialize(hashfunctions::HashType htype)
Definition: HashMapper.h:25
quantity::Quantity * _qx
Definition: Container1D.h:234
#define debug
Definition: HDRShower.cc:19
mapper::HashMapper _hashmap
Definition: Container1D.h:233
quantity::Quantity * _qy
Definition: Container1D.h:235

◆ initialize() [5/6]

virtual void hcaldqm::Container::initialize
inline

Definition at line 30 of file Container.h.

30  {
31  _folder = folder;
32  _qname = qname;
34  }
void set(std::string const &name, int debug=0)
Definition: Logger.h:29
std::string _folder
Definition: Container.h:37
#define debug
Definition: HDRShower.cc:19
std::string _qname
Definition: Container.h:38

◆ initialize() [6/6]

void hcaldqm::Container1D::initialize

Definition at line 46 of file Container1D.cc.

51  {
53  _hashmap.initialize(hashtype);
54  _qx = qx;
55  _qy = qy;
58  }
virtual void initialize(std::string const &folder, std::string const &qname, int debug=0)
Definition: Container.h:30
virtual void setAxisType(AxisType at)
Definition: Quantity.h:36
virtual void initialize(hashfunctions::HashType htype)
Definition: HashMapper.h:25
quantity::Quantity * _qx
Definition: Container1D.h:234
#define debug
Definition: HDRShower.cc:19
mapper::HashMapper _hashmap
Definition: Container1D.h:233
quantity::Quantity * _qy
Definition: Container1D.h:235

◆ setBinContent() [1/42]

void hcaldqm::Container2D::setBinContent ( HcalDetId const &  id,
int  x 
)
overridevirtual

◆ setBinContent() [2/42]

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(), hcaldqm::mapper::HashMapper::getHash(), and x.

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

◆ setBinContent() [3/42]

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(), hcaldqm::quantity::Quantity::isCoordinate(), and x.

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

◆ setBinContent() [4/42]

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(), hcaldqm::quantity::Quantity::isCoordinate(), and x.

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

◆ setBinContent() [5/42]

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(), hcaldqm::quantity::Quantity::isCoordinate(), and x.

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

◆ setBinContent() [6/42]

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(), hcaldqm::quantity::Quantity::isCoordinate(), and x.

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

◆ setBinContent() [7/42]

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(), hcaldqm::mapper::HashMapper::getHash(), and x.

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

◆ setBinContent() [8/42]

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(), hcaldqm::mapper::HashMapper::getHash(), and x.

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

◆ setBinContent() [9/42]

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(), hcaldqm::mapper::HashMapper::getHash(), and x.

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

◆ setBinContent() [10/42]

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(), hcaldqm::mapper::HashMapper::getHash(), and x.

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

◆ setBinContent() [11/42]

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(), hcaldqm::mapper::HashMapper::getHash(), and x.

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

◆ setBinContent() [12/42]

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(), hcaldqm::mapper::HashMapper::getHash(), and x.

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

◆ setBinContent() [13/42]

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(), hcaldqm::mapper::HashMapper::getHash(), and x.

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

◆ setBinContent() [14/42]

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(), hcaldqm::mapper::HashMapper::getHash(), and x.

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

◆ setBinContent() [15/42]

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(), hcaldqm::mapper::HashMapper::getHash(), and x.

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

◆ setBinContent() [16/42]

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(), hcaldqm::mapper::HashMapper::getHash(), and x.

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

◆ setBinContent() [17/42]

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(), hcaldqm::quantity::Quantity::isCoordinate(), and x.

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

◆ setBinContent() [18/42]

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(), hcaldqm::quantity::Quantity::isCoordinate(), and x.

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

◆ setBinContent() [19/42]

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(), hcaldqm::quantity::Quantity::isCoordinate(), and x.

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

◆ setBinContent() [20/42]

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(), hcaldqm::quantity::Quantity::isCoordinate(), and x.

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

◆ setBinContent() [21/42]

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(), hcaldqm::mapper::HashMapper::getHash(), and x.

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

◆ setBinContent() [22/42]

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(), hcaldqm::mapper::HashMapper::getHash(), and x.

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

◆ setBinContent() [23/42]

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(), hcaldqm::mapper::HashMapper::getHash(), and x.

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

◆ setBinContent() [24/42]

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(), hcaldqm::mapper::HashMapper::getHash(), and x.

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

◆ setBinContent() [25/42]

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(), hcaldqm::mapper::HashMapper::getHash(), and x.

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

◆ setBinContent() [26/42]

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(), hcaldqm::mapper::HashMapper::getHash(), and x.

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

◆ setBinContent() [27/42]

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(), hcaldqm::mapper::HashMapper::getHash(), and x.

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

◆ setBinContent() [28/42]

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(), hcaldqm::mapper::HashMapper::getHash(), and x.

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

◆ setBinContent() [29/42]

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(), hcaldqm::mapper::HashMapper::getHash(), and x.

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

◆ setBinContent() [30/42]

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(), hcaldqm::mapper::HashMapper::getHash(), and x.

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

◆ setBinContent() [31/42]

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(), hcaldqm::quantity::Quantity::isCoordinate(), and x.

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

◆ setBinContent() [32/42]

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(), hcaldqm::quantity::Quantity::isCoordinate(), and x.

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

◆ setBinContent() [33/42]

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(), hcaldqm::quantity::Quantity::isCoordinate(), and x.

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

◆ setBinContent() [34/42]

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(), hcaldqm::quantity::Quantity::isCoordinate(), and x.

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

◆ setBinContent() [35/42]

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(), hcaldqm::mapper::HashMapper::getHash(), and x.

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

◆ setBinContent() [36/42]

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(), hcaldqm::mapper::HashMapper::getHash(), and x.

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

◆ setBinContent() [37/42]

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(), hcaldqm::mapper::HashMapper::getHash(), and x.

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

◆ setBinContent() [38/42]

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(), hcaldqm::mapper::HashMapper::getHash(), and x.

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

◆ setBinContent() [39/42]

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(), hcaldqm::mapper::HashMapper::getHash(), and x.

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

◆ setBinContent() [40/42]

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(), hcaldqm::mapper::HashMapper::getHash(), and x.

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

◆ setBinContent() [41/42]

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(), hcaldqm::mapper::HashMapper::getHash(), and x.

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

◆ setBinContent() [42/42]

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(), hcaldqm::mapper::HashMapper::getHash(), and x.

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

◆ showOverflowZ()

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

◆ _qz

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