CMS 3D CMS Logo

List of all members | Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes
hcaldqm::Container1D Class Reference

#include <Container1D.h>

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

Public Member Functions

virtual void book (DQMStore::IBooker &, HcalElectronicsMap const *, filter::HashFilter const &, std::string subsystem="Hcal", std::string aux="")
 
virtual void book (DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="")
 
 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 (HcalDetId const &)
 
virtual void fill (HcalDetId const &, double)
 
virtual void fill (HcalDetId const &, double, double)
 
virtual void fill (HcalDetId const &, int)
 
virtual void fill (HcalDetId const &, int, double)
 
virtual void fill (HcalDetId const &, int, int)
 
virtual void fill (HcalElectronicsId const &)
 
virtual void fill (HcalElectronicsId const &, double)
 
virtual void fill (HcalElectronicsId const &, double, double)
 
virtual void fill (HcalElectronicsId const &, int)
 
virtual void fill (HcalElectronicsId const &, int, double)
 
virtual void fill (HcalElectronicsId const &, int, int)
 
virtual void fill (HcalTrigTowerDetId const &)
 
virtual void fill (HcalTrigTowerDetId const &, double)
 
virtual void fill (HcalTrigTowerDetId const &, double, double)
 
virtual void fill (HcalTrigTowerDetId const &, int)
 
virtual void fill (HcalTrigTowerDetId const &, int, double)
 
virtual void fill (HcalTrigTowerDetId const &, int, int)
 
virtual void fill (uint32_t)
 
virtual void fill (uint32_t, double)
 
virtual void fill (uint32_t, double, double)
 
virtual void fill (uint32_t, int)
 
virtual void fill (uint32_t, int, double)
 
virtual void fill (uint32_t, int, int)
 
virtual double getBinContent (HcalDetId const &)
 
virtual double getBinContent (HcalDetId const &, double)
 
virtual double getBinContent (HcalDetId const &, int)
 
virtual double getBinContent (HcalDetId const &did, double x, double)
 
virtual double getBinContent (HcalDetId const &did, int x, double)
 
virtual double getBinContent (HcalDetId const &did, int x, int)
 
virtual double getBinContent (HcalElectronicsId const &)
 
virtual double getBinContent (HcalElectronicsId const &, double)
 
virtual double getBinContent (HcalElectronicsId const &, int)
 
virtual double getBinContent (HcalElectronicsId const &eid, double x, double)
 
virtual double getBinContent (HcalElectronicsId const &eid, int x, double)
 
virtual double getBinContent (HcalElectronicsId const &eid, int x, int)
 
virtual double getBinContent (HcalTrigTowerDetId const &)
 
virtual double getBinContent (HcalTrigTowerDetId const &, double)
 
virtual double getBinContent (HcalTrigTowerDetId const &, int)
 
virtual double getBinContent (HcalTrigTowerDetId const &tid, double x, double)
 
virtual double getBinContent (HcalTrigTowerDetId const &tid, int x, double)
 
virtual double getBinContent (HcalTrigTowerDetId const &tid, int x, int)
 
virtual double getBinEntries (HcalDetId const &)
 
virtual double getBinEntries (HcalDetId const &, double)
 
virtual double getBinEntries (HcalDetId const &, int)
 
virtual double getBinEntries (HcalDetId const &did, double x, double)
 
virtual double getBinEntries (HcalDetId const &did, int x, double)
 
virtual double getBinEntries (HcalDetId const &did, int x, int)
 
virtual double getBinEntries (HcalElectronicsId const &)
 
virtual double getBinEntries (HcalElectronicsId const &, double)
 
virtual double getBinEntries (HcalElectronicsId const &, int)
 
virtual double getBinEntries (HcalElectronicsId const &eid, double x, double)
 
virtual double getBinEntries (HcalElectronicsId const &eid, int x, double)
 
virtual double getBinEntries (HcalElectronicsId const &eid, int x, int)
 
virtual double getBinEntries (HcalTrigTowerDetId const &)
 
virtual double getBinEntries (HcalTrigTowerDetId const &, double)
 
virtual double getBinEntries (HcalTrigTowerDetId const &, int)
 
virtual double getBinEntries (HcalTrigTowerDetId const &tid, double x, double)
 
virtual double getBinEntries (HcalTrigTowerDetId const &tid, int x, double)
 
virtual double getBinEntries (HcalTrigTowerDetId const &tid, int x, int)
 
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 *, filter::HashFilter const &, std::string const &subsystem="Hcal", std::string const &aux="")
 
virtual void load (DQMStore::IGetter &, HcalElectronicsMap const *, std::string const &subsystem="Hcal", std::string const &aux="")
 
virtual void print ()
 
virtual void reset ()
 
virtual void setBinContent (HcalDetId const &, double)
 
virtual void setBinContent (HcalDetId const &, double, double)
 
virtual void setBinContent (HcalDetId const &, double, int)
 
virtual void setBinContent (HcalDetId const &, int)
 
virtual void setBinContent (HcalDetId const &, int, double)
 
virtual void setBinContent (HcalDetId const &, int, int)
 
virtual void setBinContent (HcalDetId const &id, double x, double y, double)
 
virtual void setBinContent (HcalDetId const &id, double x, double y, int)
 
virtual void setBinContent (HcalDetId const &id, double x, int y, double)
 
virtual void setBinContent (HcalDetId const &id, double x, int y, int)
 
virtual void setBinContent (HcalDetId const &id, int x, double y, double)
 
virtual void setBinContent (HcalDetId const &id, int x, double y, int)
 
virtual void setBinContent (HcalDetId const &id, int x, int y, double)
 
virtual void setBinContent (HcalDetId const &id, int x, int y, int)
 
virtual void setBinContent (HcalElectronicsId const &, double)
 
virtual void setBinContent (HcalElectronicsId const &, double, double)
 
virtual void setBinContent (HcalElectronicsId const &, double, int)
 
virtual void setBinContent (HcalElectronicsId const &, int)
 
virtual void setBinContent (HcalElectronicsId const &, int, double)
 
virtual void setBinContent (HcalElectronicsId const &, int, int)
 
virtual void setBinContent (HcalElectronicsId const &id, double x, double y, double)
 
virtual void setBinContent (HcalElectronicsId const &id, double x, double y, int)
 
virtual void setBinContent (HcalElectronicsId const &id, double x, int y, double)
 
virtual void setBinContent (HcalElectronicsId const &id, double x, int y, int)
 
virtual void setBinContent (HcalElectronicsId const &id, int x, double y, double)
 
virtual void setBinContent (HcalElectronicsId const &id, int x, double y, int)
 
virtual void setBinContent (HcalElectronicsId const &id, int x, int y, double)
 
virtual void setBinContent (HcalElectronicsId const &id, int x, int y, int)
 
virtual void setBinContent (HcalTrigTowerDetId const &, double)
 
virtual void setBinContent (HcalTrigTowerDetId const &, double, double)
 
virtual void setBinContent (HcalTrigTowerDetId const &, double, int)
 
virtual void setBinContent (HcalTrigTowerDetId const &, int)
 
virtual void setBinContent (HcalTrigTowerDetId const &, int, double)
 
virtual void setBinContent (HcalTrigTowerDetId const &, int, int)
 
virtual void setBinContent (HcalTrigTowerDetId const &id, double x, double y, double)
 
virtual void setBinContent (HcalTrigTowerDetId const &id, double x, double y, int)
 
virtual void setBinContent (HcalTrigTowerDetId const &id, double x, int y, double)
 
virtual void setBinContent (HcalTrigTowerDetId const &id, double x, int y, int)
 
virtual void setBinContent (HcalTrigTowerDetId const &id, int x, double y, double)
 
virtual void setBinContent (HcalTrigTowerDetId const &id, int x, double y, int)
 
virtual void setBinContent (HcalTrigTowerDetId const &id, int x, int y, double)
 
virtual void setBinContent (HcalTrigTowerDetId const &id, int x, int y, int)
 
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 Types

typedef std::unordered_map< uint32_t, MonitorElement * > MEMap
 

Protected Member Functions

virtual void customize (MonitorElement *)
 

Protected Attributes

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

Additional Inherited Members

- Public Types inherited from hcaldqm::Container
typedef dqm::legacy::DQMStore DQMStore
 
typedef dqm::legacy::MonitorElement MonitorElement
 

Detailed Description

Definition at line 25 of file Container1D.h.

Member Typedef Documentation

◆ MEMap

typedef std::unordered_map<uint32_t, MonitorElement *> hcaldqm::Container1D::MEMap
protected

Definition at line 231 of file Container1D.h.

Constructor & Destructor Documentation

◆ Container1D() [1/2]

hcaldqm::Container1D::Container1D ( )

Definition at line 8 of file Container1D.cc.

8 : _qx(nullptr), _qy(nullptr) {}

◆ Container1D() [2/2]

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

Definition at line 10 of file Container1D.cc.

11  : Container(folder, qy->name() + "vs" + qx->name()), _hashmap(hashtype), _qx(qx), _qy(qy) {
14  }

References _qx, _qy, hcaldqm::quantity::fXAxis, hcaldqm::quantity::fYAxis, and hcaldqm::quantity::Quantity::setAxisType().

◆ ~Container1D()

hcaldqm::Container1D::~Container1D ( )
override

Definition at line 16 of file Container1D.cc.

16  {
17  if (_qx != nullptr)
18  delete _qx;
19  if (_qy != nullptr)
20  delete _qy;
21  _qx = nullptr;
22  _qy = nullptr;
23  }

References _qx, and _qy.

Member Function Documentation

◆ book() [1/2]

void hcaldqm::Container1D::book ( DQMStore::IBooker ib,
HcalElectronicsMap const *  emap,
filter::HashFilter const &  filter,
std::string  subsystem = "Hcal",
std::string  aux = "" 
)
virtual

Reimplemented in hcaldqm::Container2D, hcaldqm::ContainerProf2D, and hcaldqm::ContainerProf1D.

Definition at line 661 of file Container1D.cc.

665  {
666  // full path to where all the plots are living
667  // subsystem/taskname/QxvsQy_auxilary/HashType
668  ib.setCurrentFolder(subsystem + "/" + _folder + "/" + _qname + (aux.empty() ? aux : "_" + aux) + "/" +
671 
672  if (_hashmap.isDHash()) {
673  // for Detector Hashes
674  std::vector<HcalGenericDetId> dids = emap->allPrecisionId();
675  for (std::vector<HcalGenericDetId>::const_iterator it = dids.begin(); it != dids.end(); ++it) {
676  // skip trigger towers and calibration
677  if (!it->isHcalDetId())
678  continue;
679 
680  HcalDetId did = HcalDetId(it->rawId());
681  uint32_t hash = _hashmap.getHash(did);
682  MEMap::iterator mit = _mes.find(hash);
683  if (mit != _mes.end())
684  continue;
685  if (filter.filter(did))
686  continue;
687 
689  _mes.insert(std::make_pair(
690  hash, ib.book1DD(_hashmap.getName(did), _hashmap.getName(did), _qx->nbins(), _qx->min(), _qx->max())));
691 
692  // customize
693  customize(_mes[hash]);
694  }
695  }
696 
697  else if (_hashmap.isEHash()) {
698  // for Electronics Hashes
699  std::vector<HcalElectronicsId> eids = emap->allElectronicsIdPrecision();
700  for (std::vector<HcalElectronicsId>::const_iterator it = eids.begin(); it != eids.end(); ++it) {
701  HcalElectronicsId eid = HcalElectronicsId(it->rawId());
702  uint32_t hash = _hashmap.getHash(eid);
703  MEMap::iterator mit = _mes.find(hash);
704  if (mit != _mes.end())
705  continue;
706  if (filter.filter(eid))
707  continue;
708 
710  _mes.insert(std::make_pair(
711  hash, ib.book1DD(_hashmap.getName(eid), _hashmap.getName(eid), _qx->nbins(), _qx->min(), _qx->max())));
712 
713  // customize
714  customize(_mes[hash]);
715  }
716  } else if (_hashmap.isTHash()) {
717  // for TrigTower Hashes
718  std::vector<HcalTrigTowerDetId> tids = emap->allTriggerId();
719  for (std::vector<HcalTrigTowerDetId>::const_iterator it = tids.begin(); it != tids.end(); ++it) {
720  HcalTrigTowerDetId tid = HcalTrigTowerDetId(it->rawId());
721  uint32_t hash = _hashmap.getHash(tid);
722  MEMap::iterator mit = _mes.find(hash);
723  if (mit != _mes.end())
724  continue;
725  if (filter.filter(tid))
726  continue;
727 
729  _mes.insert(std::make_pair(
730  hash, ib.book1DD(_hashmap.getName(tid), _hashmap.getName(tid), _qx->nbins(), _qx->min(), _qx->max())));
731  // customize
732  customize(_mes[hash]);
733  }
734  }
735  }

References hcaldqm::Container::_folder, _hashmap, hcaldqm::Container::_logger, _mes, hcaldqm::Container::_qname, _qx, 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::isTHash(), hcaldqm::quantity::Quantity::max(), hcaldqm::quantity::Quantity::min(), hcaldqm::quantity::Quantity::nbins(), and hcal_dqm_sourceclient-live_cfg::subsystem.

◆ book() [2/2]

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

Reimplemented in hcaldqm::Container2D, hcaldqm::ContainerProf2D, and hcaldqm::ContainerProf1D.

Definition at line 592 of file Container1D.cc.

595  {
596  // full path to where all the plots are living
597  // subsystem/taskname/QxvsQy_auxilary/HashType
598  ib.setCurrentFolder(subsystem + "/" + _folder + "/" + _qname + (aux.empty() ? aux : "_" + aux) + "/" +
601  if (_hashmap.isDHash()) {
602  // for Detector Hashes
603  std::vector<HcalGenericDetId> dids = emap->allPrecisionId();
604  for (std::vector<HcalGenericDetId>::const_iterator it = dids.begin(); it != dids.end(); ++it) {
605  // skip trigger towers and calibration
606  if (!it->isHcalDetId())
607  continue;
608 
609  HcalDetId did = HcalDetId(it->rawId());
610  uint32_t hash = _hashmap.getHash(did);
611  MEMap::iterator mit = _mes.find(hash);
612  if (mit != _mes.end())
613  continue;
614 
616  _mes.insert(std::make_pair(
617  hash, ib.book1DD(_hashmap.getName(did), _hashmap.getName(did), _qx->nbins(), _qx->min(), _qx->max())));
618 
619  // customize
620  customize(_mes[hash]);
621  }
622  }
623 
624  else if (_hashmap.isEHash()) {
625  // for Electronics Hashes
626  std::vector<HcalElectronicsId> eids = emap->allElectronicsIdPrecision();
627  for (std::vector<HcalElectronicsId>::const_iterator it = eids.begin(); it != eids.end(); ++it) {
628  HcalElectronicsId eid = HcalElectronicsId(it->rawId());
629  uint32_t hash = _hashmap.getHash(eid);
630  MEMap::iterator mit = _mes.find(hash);
631  if (mit != _mes.end())
632  continue;
633 
635  _mes.insert(std::make_pair(
636  hash, ib.book1DD(_hashmap.getName(eid), _hashmap.getName(eid), _qx->nbins(), _qx->min(), _qx->max())));
637 
638  // customize
639  customize(_mes[hash]);
640  }
641  } else if (_hashmap.isTHash()) {
642  // for TrigTower Hashes
643  std::vector<HcalTrigTowerDetId> tids = emap->allTriggerId();
644  for (std::vector<HcalTrigTowerDetId>::const_iterator it = tids.begin(); it != tids.end(); ++it) {
645  HcalTrigTowerDetId tid = HcalTrigTowerDetId(it->rawId());
646  uint32_t hash = _hashmap.getHash(tid);
647  MEMap::iterator mit = _mes.find(hash);
648  if (mit != _mes.end())
649  continue;
650 
652  _mes.insert(std::make_pair(
653  hash, ib.book1DD(_hashmap.getName(tid), _hashmap.getName(tid), _qx->nbins(), _qx->min(), _qx->max())));
654  // customize
655  customize(_mes[hash]);
656  }
657  }
658  }

References hcaldqm::Container::_folder, _hashmap, hcaldqm::Container::_logger, _mes, hcaldqm::Container::_qname, _qx, 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::isTHash(), hcaldqm::quantity::Quantity::max(), hcaldqm::quantity::Quantity::min(), hcaldqm::quantity::Quantity::nbins(), and hcal_dqm_sourceclient-live_cfg::subsystem.

Referenced by DigiComparisonTask::bookHistograms(), PedestalTask::bookHistograms(), LEDTask::bookHistograms(), TPTask::bookHistograms(), QIE11Task::bookHistograms(), QIE10Task::bookHistograms(), LaserTask::bookHistograms(), RecHitTask::bookHistograms(), DigiTask::bookHistograms(), and hcaldqm::RecoRunSummary::endJob().

◆ customize()

void hcaldqm::Container1D::customize ( MonitorElement me)
protectedvirtual

Reimplemented in hcaldqm::Container2D.

Definition at line 737 of file Container1D.cc.

737  {
738  // set labels
739  me->setAxisTitle(_qx->name(), 1);
740  me->setAxisTitle(_qy->name(), 2);
741 
742  // set bits
743  TH1 *h = me->getTH1();
744  _qx->setBits(h);
745  _qy->setBits(h);
746 
747  // set labels
748  std::vector<std::string> xlabels = _qx->getLabels();
749  for (unsigned int i = 0; i < xlabels.size(); i++) {
750  me->setBinLabel(i + 1, xlabels[i], 1);
751  }
752  }

References _qx, _qy, hcaldqm::quantity::Quantity::getLabels(), mps_fire::i, hlt_dqm_clientPB-live_cfg::me, hcaldqm::quantity::Quantity::name(), and hcaldqm::quantity::Quantity::setBits().

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

◆ extendAxisRange()

void hcaldqm::Container1D::extendAxisRange ( int  l)
virtual

Definition at line 754 of file Container1D.cc.

754  {
755  if (l < _qx->nbins())
756  return;
757 
758  // inflate all the mes
759  for (auto const &pair : _mes) {
760  int x = _qx->nbins();
761  while (l >= x) {
762  pair.second->getTH1()->LabelsInflate();
763  x *= 2;
764  _qx->setMax(x);
765  }
766  }
767  }

References _mes, _qx, cmsLHEtoEOSManager::l, LaserClient_cfi::nbins, hcaldqm::quantity::Quantity::nbins(), and hcaldqm::quantity::Quantity::setMax().

◆ fill() [1/24]

void hcaldqm::Container1D::fill ( HcalDetId const &  did)
virtual

◆ fill() [2/24]

void hcaldqm::Container1D::fill ( HcalDetId const &  did,
double  x 
)
virtual

◆ fill() [3/24]

void hcaldqm::Container1D::fill ( HcalDetId const &  did,
double  x,
double  y 
)
virtual

◆ fill() [4/24]

void hcaldqm::Container1D::fill ( HcalDetId const &  did,
int  x 
)
virtual

◆ fill() [5/24]

void hcaldqm::Container1D::fill ( HcalDetId const &  did,
int  x,
double  y 
)
virtual

◆ fill() [6/24]

void hcaldqm::Container1D::fill ( HcalDetId const &  did,
int  x,
int  y 
)
virtual

◆ fill() [7/24]

void hcaldqm::Container1D::fill ( HcalElectronicsId const &  did)
virtual

Reimplemented in hcaldqm::Container2D, and hcaldqm::ContainerProf2D.

Definition at line 234 of file Container1D.cc.

234  {
235  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(did));
236  }

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

◆ fill() [8/24]

void hcaldqm::Container1D::fill ( HcalElectronicsId const &  did,
double  x 
)
virtual

◆ fill() [9/24]

void hcaldqm::Container1D::fill ( HcalElectronicsId const &  did,
double  x,
double  y 
)
virtual

◆ fill() [10/24]

void hcaldqm::Container1D::fill ( HcalElectronicsId const &  did,
int  x 
)
virtual

◆ fill() [11/24]

void hcaldqm::Container1D::fill ( HcalElectronicsId const &  did,
int  x,
double  y 
)
virtual

◆ fill() [12/24]

void hcaldqm::Container1D::fill ( HcalElectronicsId const &  did,
int  x,
int  y 
)
virtual

◆ fill() [13/24]

void hcaldqm::Container1D::fill ( HcalTrigTowerDetId const &  did)
virtual

Reimplemented in hcaldqm::Container2D, and hcaldqm::ContainerProf2D.

Definition at line 342 of file Container1D.cc.

342  {
343  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(did));
344  }

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

◆ fill() [14/24]

void hcaldqm::Container1D::fill ( HcalTrigTowerDetId const &  did,
double  x 
)
virtual

◆ fill() [15/24]

void hcaldqm::Container1D::fill ( HcalTrigTowerDetId const &  did,
double  x,
double  y 
)
virtual

◆ fill() [16/24]

void hcaldqm::Container1D::fill ( HcalTrigTowerDetId const &  did,
int  x 
)
virtual

◆ fill() [17/24]

void hcaldqm::Container1D::fill ( HcalTrigTowerDetId const &  did,
int  x,
double  y 
)
virtual

◆ fill() [18/24]

void hcaldqm::Container1D::fill ( HcalTrigTowerDetId const &  did,
int  x,
int  y 
)
virtual

◆ fill() [19/24]

void hcaldqm::Container1D::fill ( uint32_t  hash)
virtual

◆ fill() [20/24]

void hcaldqm::Container1D::fill ( uint32_t  hash,
double  x 
)
virtual

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  }

References _hashmap, fill(), cond::hash, hcaldqm::mapper::HashMapper::isDHash(), hcaldqm::mapper::HashMapper::isEHash(), and hcaldqm::mapper::HashMapper::isTHash().

◆ fill() [21/24]

void hcaldqm::Container1D::fill ( uint32_t  hash,
double  x,
double  y 
)
virtual

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  }

References _hashmap, fill(), cond::hash, hcaldqm::mapper::HashMapper::isDHash(), hcaldqm::mapper::HashMapper::isEHash(), and hcaldqm::mapper::HashMapper::isTHash().

◆ fill() [22/24]

void hcaldqm::Container1D::fill ( uint32_t  hash,
int  x 
)
virtual

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  }

References _hashmap, fill(), cond::hash, hcaldqm::mapper::HashMapper::isDHash(), hcaldqm::mapper::HashMapper::isEHash(), and hcaldqm::mapper::HashMapper::isTHash().

◆ fill() [23/24]

void hcaldqm::Container1D::fill ( uint32_t  hash,
int  x,
double  y 
)
virtual

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  }

References _hashmap, fill(), cond::hash, hcaldqm::mapper::HashMapper::isDHash(), hcaldqm::mapper::HashMapper::isEHash(), and hcaldqm::mapper::HashMapper::isTHash().

◆ fill() [24/24]

void hcaldqm::Container1D::fill ( uint32_t  hash,
int  x,
int  y 
)
virtual

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  }

References _hashmap, fill(), cond::hash, hcaldqm::mapper::HashMapper::isDHash(), hcaldqm::mapper::HashMapper::isEHash(), and hcaldqm::mapper::HashMapper::isTHash().

◆ getBinContent() [1/18]

double hcaldqm::Container1D::getBinContent ( HcalDetId const &  tid)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 177 of file Container1D.cc.

177  {
178  return _mes[_hashmap.getHash(tid)]->getBinContent(_qx->getBin(tid));
179  }

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

Referenced by DigiTask::globalEndLuminosityBlock().

◆ getBinContent() [2/18]

double hcaldqm::Container1D::getBinContent ( HcalDetId const &  tid,
double  x 
)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 185 of file Container1D.cc.

185  {
186  return _mes[_hashmap.getHash(tid)]->getBinContent(_qx->getBin(x));
187  }

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

◆ getBinContent() [3/18]

double hcaldqm::Container1D::getBinContent ( HcalDetId const &  tid,
int  x 
)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 181 of file Container1D.cc.

181  {
182  return _mes[_hashmap.getHash(tid)]->getBinContent(_qx->getBin(x));
183  }

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

◆ getBinContent() [4/18]

virtual double hcaldqm::Container1D::getBinContent ( HcalDetId const &  did,
double  x,
double   
)
inlinevirtual

Reimplemented in hcaldqm::Container2D.

Definition at line 86 of file Container1D.h.

86 { return getBinContent(did, x); }

References getBinContent().

Referenced by getBinContent().

◆ getBinContent() [5/18]

virtual double hcaldqm::Container1D::getBinContent ( HcalDetId const &  did,
int  x,
double   
)
inlinevirtual

Reimplemented in hcaldqm::Container2D.

Definition at line 85 of file Container1D.h.

85 { return getBinContent(did, x); }

References getBinContent().

Referenced by getBinContent().

◆ getBinContent() [6/18]

virtual double hcaldqm::Container1D::getBinContent ( HcalDetId const &  did,
int  x,
int   
)
inlinevirtual

Reimplemented in hcaldqm::Container2D.

Definition at line 84 of file Container1D.h.

84 { return getBinContent(did, x); }

References getBinContent().

Referenced by getBinContent().

◆ getBinContent() [7/18]

double hcaldqm::Container1D::getBinContent ( HcalElectronicsId const &  tid)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 285 of file Container1D.cc.

285  {
286  return _mes[_hashmap.getHash(tid)]->getBinContent(_qx->getBin(tid));
287  }

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

◆ getBinContent() [8/18]

double hcaldqm::Container1D::getBinContent ( HcalElectronicsId const &  tid,
double  x 
)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 293 of file Container1D.cc.

293  {
294  return _mes[_hashmap.getHash(tid)]->getBinContent(_qx->getBin(x));
295  }

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

◆ getBinContent() [9/18]

double hcaldqm::Container1D::getBinContent ( HcalElectronicsId const &  tid,
int  x 
)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 289 of file Container1D.cc.

289  {
290  return _mes[_hashmap.getHash(tid)]->getBinContent(_qx->getBin(x));
291  }

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

◆ getBinContent() [10/18]

virtual double hcaldqm::Container1D::getBinContent ( HcalElectronicsId const &  eid,
double  x,
double   
)
inlinevirtual

Reimplemented in hcaldqm::Container2D.

Definition at line 125 of file Container1D.h.

125 { return getBinContent(eid, x); }

References runTauDisplay::eid, and getBinContent().

Referenced by getBinContent().

◆ getBinContent() [11/18]

virtual double hcaldqm::Container1D::getBinContent ( HcalElectronicsId const &  eid,
int  x,
double   
)
inlinevirtual

Reimplemented in hcaldqm::Container2D.

Definition at line 124 of file Container1D.h.

124 { return getBinContent(eid, x); }

References runTauDisplay::eid, and getBinContent().

Referenced by getBinContent().

◆ getBinContent() [12/18]

virtual double hcaldqm::Container1D::getBinContent ( HcalElectronicsId const &  eid,
int  x,
int   
)
inlinevirtual

Reimplemented in hcaldqm::Container2D.

Definition at line 123 of file Container1D.h.

123 { return getBinContent(eid, x); }

References runTauDisplay::eid, and getBinContent().

Referenced by getBinContent().

◆ getBinContent() [13/18]

double hcaldqm::Container1D::getBinContent ( HcalTrigTowerDetId const &  tid)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 393 of file Container1D.cc.

393  {
394  return _mes[_hashmap.getHash(tid)]->getBinContent(_qx->getBin(tid));
395  }

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

◆ getBinContent() [14/18]

double hcaldqm::Container1D::getBinContent ( HcalTrigTowerDetId const &  tid,
double  x 
)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 401 of file Container1D.cc.

401  {
402  return _mes[_hashmap.getHash(tid)]->getBinContent(_qx->getBin(x));
403  }

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

◆ getBinContent() [15/18]

double hcaldqm::Container1D::getBinContent ( HcalTrigTowerDetId const &  tid,
int  x 
)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 397 of file Container1D.cc.

397  {
398  return _mes[_hashmap.getHash(tid)]->getBinContent(_qx->getBin(x));
399  }

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

◆ getBinContent() [16/18]

virtual double hcaldqm::Container1D::getBinContent ( HcalTrigTowerDetId const &  tid,
double  x,
double   
)
inlinevirtual

Reimplemented in hcaldqm::Container2D.

Definition at line 164 of file Container1D.h.

164 { return getBinContent(tid, x); }

References getBinContent().

Referenced by getBinContent().

◆ getBinContent() [17/18]

virtual double hcaldqm::Container1D::getBinContent ( HcalTrigTowerDetId const &  tid,
int  x,
double   
)
inlinevirtual

Reimplemented in hcaldqm::Container2D.

Definition at line 163 of file Container1D.h.

163 { return getBinContent(tid, x); }

References getBinContent().

Referenced by getBinContent().

◆ getBinContent() [18/18]

virtual double hcaldqm::Container1D::getBinContent ( HcalTrigTowerDetId const &  tid,
int  x,
int   
)
inlinevirtual

Reimplemented in hcaldqm::Container2D.

Definition at line 162 of file Container1D.h.

162 { return getBinContent(tid, x); }

References getBinContent().

Referenced by getBinContent().

◆ getBinEntries() [1/18]

double hcaldqm::Container1D::getBinEntries ( HcalDetId const &  id)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 165 of file Container1D.cc.

165  {
166  return _mes[_hashmap.getHash(id)]->getBinEntries(_qx->getBin(id));
167  }

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

◆ getBinEntries() [2/18]

double hcaldqm::Container1D::getBinEntries ( HcalDetId const &  id,
double  x 
)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 173 of file Container1D.cc.

173  {
174  return _mes[_hashmap.getHash(id)]->getBinEntries(_qx->getBin(x));
175  }

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

◆ getBinEntries() [3/18]

double hcaldqm::Container1D::getBinEntries ( HcalDetId const &  id,
int  x 
)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 169 of file Container1D.cc.

169  {
170  return _mes[_hashmap.getHash(id)]->getBinEntries(_qx->getBin(x));
171  }

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

◆ getBinEntries() [4/18]

virtual double hcaldqm::Container1D::getBinEntries ( HcalDetId const &  did,
double  x,
double   
)
inlinevirtual

Reimplemented in hcaldqm::Container2D.

Definition at line 79 of file Container1D.h.

79 { return getBinEntries(did, x); }

References getBinEntries().

Referenced by getBinEntries().

◆ getBinEntries() [5/18]

virtual double hcaldqm::Container1D::getBinEntries ( HcalDetId const &  did,
int  x,
double   
)
inlinevirtual

Reimplemented in hcaldqm::Container2D.

Definition at line 78 of file Container1D.h.

78 { return getBinEntries(did, x); }

References getBinEntries().

Referenced by getBinEntries().

◆ getBinEntries() [6/18]

virtual double hcaldqm::Container1D::getBinEntries ( HcalDetId const &  did,
int  x,
int   
)
inlinevirtual

Reimplemented in hcaldqm::Container2D.

Definition at line 77 of file Container1D.h.

77 { return getBinEntries(did, x); }

References getBinEntries().

Referenced by getBinEntries().

◆ getBinEntries() [7/18]

double hcaldqm::Container1D::getBinEntries ( HcalElectronicsId const &  id)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 273 of file Container1D.cc.

273  {
274  return _mes[_hashmap.getHash(id)]->getBinEntries(_qx->getBin(id));
275  }

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

◆ getBinEntries() [8/18]

double hcaldqm::Container1D::getBinEntries ( HcalElectronicsId const &  id,
double  x 
)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 281 of file Container1D.cc.

281  {
282  return _mes[_hashmap.getHash(id)]->getBinEntries(_qx->getBin(x));
283  }

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

◆ getBinEntries() [9/18]

double hcaldqm::Container1D::getBinEntries ( HcalElectronicsId const &  id,
int  x 
)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 277 of file Container1D.cc.

277  {
278  return _mes[_hashmap.getHash(id)]->getBinEntries(_qx->getBin(x));
279  }

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

◆ getBinEntries() [10/18]

virtual double hcaldqm::Container1D::getBinEntries ( HcalElectronicsId const &  eid,
double  x,
double   
)
inlinevirtual

Reimplemented in hcaldqm::Container2D.

Definition at line 118 of file Container1D.h.

118 { return getBinEntries(eid, x); }

References runTauDisplay::eid, and getBinEntries().

Referenced by getBinEntries().

◆ getBinEntries() [11/18]

virtual double hcaldqm::Container1D::getBinEntries ( HcalElectronicsId const &  eid,
int  x,
double   
)
inlinevirtual

Reimplemented in hcaldqm::Container2D.

Definition at line 117 of file Container1D.h.

117 { return getBinEntries(eid, x); }

References runTauDisplay::eid, and getBinEntries().

Referenced by getBinEntries().

◆ getBinEntries() [12/18]

virtual double hcaldqm::Container1D::getBinEntries ( HcalElectronicsId const &  eid,
int  x,
int   
)
inlinevirtual

Reimplemented in hcaldqm::Container2D.

Definition at line 116 of file Container1D.h.

116 { return getBinEntries(eid, x); }

References runTauDisplay::eid, and getBinEntries().

Referenced by getBinEntries().

◆ getBinEntries() [13/18]

double hcaldqm::Container1D::getBinEntries ( HcalTrigTowerDetId const &  id)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 381 of file Container1D.cc.

381  {
382  return _mes[_hashmap.getHash(id)]->getBinEntries(_qx->getBin(id));
383  }

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

◆ getBinEntries() [14/18]

double hcaldqm::Container1D::getBinEntries ( HcalTrigTowerDetId const &  id,
double  x 
)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 389 of file Container1D.cc.

389  {
390  return _mes[_hashmap.getHash(id)]->getBinEntries(_qx->getBin(x));
391  }

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

◆ getBinEntries() [15/18]

double hcaldqm::Container1D::getBinEntries ( HcalTrigTowerDetId const &  id,
int  x 
)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 385 of file Container1D.cc.

385  {
386  return _mes[_hashmap.getHash(id)]->getBinEntries(_qx->getBin(x));
387  }

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

◆ getBinEntries() [16/18]

virtual double hcaldqm::Container1D::getBinEntries ( HcalTrigTowerDetId const &  tid,
double  x,
double   
)
inlinevirtual

Reimplemented in hcaldqm::Container2D.

Definition at line 157 of file Container1D.h.

157 { return getBinEntries(tid, x); }

References getBinEntries().

Referenced by getBinEntries().

◆ getBinEntries() [17/18]

virtual double hcaldqm::Container1D::getBinEntries ( HcalTrigTowerDetId const &  tid,
int  x,
double   
)
inlinevirtual

Reimplemented in hcaldqm::Container2D.

Definition at line 156 of file Container1D.h.

156 { return getBinEntries(tid, x); }

References getBinEntries().

Referenced by getBinEntries().

◆ getBinEntries() [18/18]

virtual double hcaldqm::Container1D::getBinEntries ( HcalTrigTowerDetId const &  tid,
int  x,
int   
)
inlinevirtual

Reimplemented in hcaldqm::Container2D.

Definition at line 155 of file Container1D.h.

155 { return getBinEntries(tid, x); }

References getBinEntries().

Referenced by getBinEntries().

◆ getMean() [1/3]

double hcaldqm::Container1D::getMean ( HcalDetId const &  tid,
int  axis = 1 
)
virtual

Definition at line 189 of file Container1D.cc.

189  {
190  return _mes[_hashmap.getHash(tid)]->getMean(axis);
191  }

References _hashmap, _mes, and hcaldqm::mapper::HashMapper::getHash().

Referenced by hcaldqm::RecoRunSummary::endJob(), and hcaldqm::DigiRunSummary::endLuminosityBlock().

◆ getMean() [2/3]

double hcaldqm::Container1D::getMean ( HcalElectronicsId const &  tid,
int  axis = 1 
)
virtual

Definition at line 297 of file Container1D.cc.

297  {
298  return _mes[_hashmap.getHash(tid)]->getMean(axis);
299  }

References _hashmap, _mes, and hcaldqm::mapper::HashMapper::getHash().

◆ getMean() [3/3]

double hcaldqm::Container1D::getMean ( HcalTrigTowerDetId const &  tid,
int  axis = 1 
)
virtual

Definition at line 405 of file Container1D.cc.

405  {
406  return _mes[_hashmap.getHash(tid)]->getMean(axis);
407  }

References _hashmap, _mes, and hcaldqm::mapper::HashMapper::getHash().

◆ getRMS() [1/3]

double hcaldqm::Container1D::getRMS ( HcalDetId const &  id,
int  axix = 1 
)
virtual

Definition at line 193 of file Container1D.cc.

193  {
194  return _mes[_hashmap.getHash(id)]->getRMS(axis);
195  }

References _hashmap, _mes, and hcaldqm::mapper::HashMapper::getHash().

Referenced by hcaldqm::DigiRunSummary::endLuminosityBlock().

◆ getRMS() [2/3]

double hcaldqm::Container1D::getRMS ( HcalElectronicsId const &  id,
int  axis = 1 
)
virtual

Definition at line 301 of file Container1D.cc.

301  {
302  return _mes[_hashmap.getHash(id)]->getRMS(axis);
303  }

References _hashmap, _mes, and hcaldqm::mapper::HashMapper::getHash().

◆ getRMS() [3/3]

double hcaldqm::Container1D::getRMS ( HcalTrigTowerDetId const &  id,
int  axis = 1 
)
virtual

Definition at line 409 of file Container1D.cc.

409  {
410  return _mes[_hashmap.getHash(id)]->getRMS(axis);
411  }

References _hashmap, _mes, and hcaldqm::mapper::HashMapper::getHash().

◆ initialize() [1/3]

void hcaldqm::Container1D::initialize ( std::string const &  folder,
hashfunctions::HashType  hashtype,
quantity::Quantity qx,
quantity::Quantity qy = new quantity::ValueQuantity(quantity::fN),
int  debug = 0 
)
virtual

◆ initialize() [2/3]

void hcaldqm::Container1D::initialize ( std::string const &  folder,
std::string const &  qname,
hashfunctions::HashType  hashtype,
quantity::Quantity qx,
quantity::Quantity qy = new quantity::ValueQuantity(quantity::fN),
int  debug = 0 
)
virtual

◆ initialize() [3/3]

virtual void hcaldqm::Container::initialize
inline

Definition at line 30 of file Container.h.

30  {
31  _folder = folder;
32  _qname = qname;
34  }

◆ load() [1/2]

void hcaldqm::Container1D::load ( DQMStore::IGetter ig,
HcalElectronicsMap const *  emap,
filter::HashFilter const &  filter,
std::string const &  subsystem = "Hcal",
std::string const &  aux = "" 
)
virtual

Definition at line 516 of file Container1D.cc.

520  {
521  // full path to where all the plots are living
522  // prepend/subsystem/taskname/QxvsQy_auxilary/HashType
524  std::string path =
525  subsystem + "/" + _folder + "/" + _qname + (aux.empty() ? aux : "_" + aux) + "/" + _hashmap.getHashTypeName();
526  _logger.debug("FULLPATH::" + path);
527 
528  if (_hashmap.isDHash()) {
529  // for Detector Hashes
530  std::vector<HcalGenericDetId> dids = emap->allPrecisionId();
531  for (std::vector<HcalGenericDetId>::const_iterator it = dids.begin(); it != dids.end(); ++it) {
532  // skip trigger towers and calibration
533  if (!it->isHcalDetId())
534  continue;
535 
536  HcalDetId did = HcalDetId(it->rawId());
537  uint32_t hash = _hashmap.getHash(did);
538  MEMap::iterator mit = _mes.find(hash);
539 
540  // skip this guy, it's already present
541  if (mit != _mes.end())
542  continue;
543  // filter out what's not needed
544  if (filter.filter(did))
545  continue;
546 
548  _mes.insert(std::make_pair(hash, ig.get(path + "/" + _hashmap.getName(did))));
549  }
550  }
551 
552  else if (_hashmap.isEHash()) {
553  // for Electronics Hashes
554  std::vector<HcalElectronicsId> eids = emap->allElectronicsIdPrecision();
555  for (std::vector<HcalElectronicsId>::const_iterator it = eids.begin(); it != eids.end(); ++it) {
556  HcalElectronicsId eid = HcalElectronicsId(it->rawId());
557  uint32_t hash = _hashmap.getHash(eid);
558  MEMap::iterator mit = _mes.find(hash);
559 
560  // skip this guy, it's already present
561  if (mit != _mes.end())
562  continue;
563  // filter out
564  if (filter.filter(eid))
565  continue;
566 
568  _mes.insert(std::make_pair(hash, ig.get(path + "/" + _hashmap.getName(eid))));
569  }
570  } else if (_hashmap.isTHash()) {
571  // for TrigTower Hashes
572  std::vector<HcalTrigTowerDetId> tids = emap->allTriggerId();
573  for (std::vector<HcalTrigTowerDetId>::const_iterator it = tids.begin(); it != tids.end(); ++it) {
574  HcalTrigTowerDetId tid = HcalTrigTowerDetId(it->rawId());
575  uint32_t hash = _hashmap.getHash(tid);
576  MEMap::iterator mit = _mes.find(hash);
577 
578  // skip if this guy already exists
579  if (mit != _mes.end())
580  continue;
581  // filter out
582  if (filter.filter(tid))
583  continue;
584 
586  _mes.insert(std::make_pair(hash, ig.get(path + "/" + _hashmap.getName(tid))));
587  }
588  }
589  }

References hcaldqm::Container::_folder, _hashmap, hcaldqm::Container::_logger, _mes, hcaldqm::Container::_qname, HcalElectronicsMap::allElectronicsIdPrecision(), HcalElectronicsMap::allPrecisionId(), HcalElectronicsMap::allTriggerId(), printConversionInfo::aux, Logger::debug(), runTauDisplay::eid, ALCARECOTkAlBeamHalo_cff::filter, dqm::implementation::IGetter::get(), hcaldqm::mapper::HashMapper::getHash(), hcaldqm::mapper::HashMapper::getHashTypeName(), hcaldqm::mapper::HashMapper::getName(), cond::hash, hcaldqm::mapper::HashMapper::isDHash(), hcaldqm::mapper::HashMapper::isEHash(), hcaldqm::mapper::HashMapper::isTHash(), castor_dqm_sourceclient_file_cfg::path, AlCaHLTBitMon_QueryRunRegistry::string, and hcal_dqm_sourceclient-live_cfg::subsystem.

◆ load() [2/2]

void hcaldqm::Container1D::load ( DQMStore::IGetter ig,
HcalElectronicsMap const *  emap,
std::string const &  subsystem = "Hcal",
std::string const &  aux = "" 
)
virtual

Definition at line 450 of file Container1D.cc.

453  {
454  // full path to where all the plots are living
455  // prepend/subsystem/taskname/QxvsQy_auxilary/HashType
457  std::string path =
458  subsystem + "/" + _folder + "/" + _qname + (aux.empty() ? aux : "_" + aux) + "/" + _hashmap.getHashTypeName();
459  _logger.debug("FULLPATH::" + path);
460 
461  if (_hashmap.isDHash()) {
462  // for Detector Hashes
463  std::vector<HcalGenericDetId> dids = emap->allPrecisionId();
464  for (std::vector<HcalGenericDetId>::const_iterator it = dids.begin(); it != dids.end(); ++it) {
465  // skip trigger towers and calibration
466  if (!it->isHcalDetId())
467  continue;
468 
469  HcalDetId did = HcalDetId(it->rawId());
470  uint32_t hash = _hashmap.getHash(did);
471  MEMap::iterator mit = _mes.find(hash);
472 
473  // skip this guy, it's already present
474  if (mit != _mes.end())
475  continue;
476 
478  _mes.insert(std::make_pair(hash, ig.get(path + "/" + _hashmap.getName(did))));
479  }
480  }
481 
482  else if (_hashmap.isEHash()) {
483  // for Electronics Hashes
484  std::vector<HcalElectronicsId> eids = emap->allElectronicsIdPrecision();
485  for (std::vector<HcalElectronicsId>::const_iterator it = eids.begin(); it != eids.end(); ++it) {
486  HcalElectronicsId eid = HcalElectronicsId(it->rawId());
487  uint32_t hash = _hashmap.getHash(eid);
488  MEMap::iterator mit = _mes.find(hash);
489 
490  // skip this guy, it's already present
491  if (mit != _mes.end())
492  continue;
493 
495  _mes.insert(std::make_pair(hash, ig.get(path + "/" + _hashmap.getName(eid))));
496  }
497  } else if (_hashmap.isTHash()) {
498  // for TrigTower Hashes
499  std::vector<HcalTrigTowerDetId> tids = emap->allTriggerId();
500  for (std::vector<HcalTrigTowerDetId>::const_iterator it = tids.begin(); it != tids.end(); ++it) {
501  HcalTrigTowerDetId tid = HcalTrigTowerDetId(it->rawId());
502  uint32_t hash = _hashmap.getHash(tid);
503  MEMap::iterator mit = _mes.find(hash);
504 
505  // skip if this guy already exists
506  if (mit != _mes.end())
507  continue;
508 
510  _mes.insert(std::make_pair(hash, ig.get(path + "/" + _hashmap.getName(tid))));
511  }
512  }
513  }

References hcaldqm::Container::_folder, _hashmap, hcaldqm::Container::_logger, _mes, hcaldqm::Container::_qname, HcalElectronicsMap::allElectronicsIdPrecision(), HcalElectronicsMap::allPrecisionId(), HcalElectronicsMap::allTriggerId(), printConversionInfo::aux, Logger::debug(), runTauDisplay::eid, dqm::implementation::IGetter::get(), hcaldqm::mapper::HashMapper::getHash(), hcaldqm::mapper::HashMapper::getHashTypeName(), hcaldqm::mapper::HashMapper::getName(), cond::hash, hcaldqm::mapper::HashMapper::isDHash(), hcaldqm::mapper::HashMapper::isEHash(), hcaldqm::mapper::HashMapper::isTHash(), castor_dqm_sourceclient_file_cfg::path, AlCaHLTBitMon_QueryRunRegistry::string, and hcal_dqm_sourceclient-live_cfg::subsystem.

Referenced by hcaldqm::RecoRunSummary::endJob(), hcaldqm::DigiRunSummary::endJob(), hcaldqm::RawRunSummary::endLuminosityBlock(), and hcaldqm::DigiRunSummary::endLuminosityBlock().

◆ print()

void hcaldqm::Container1D::print ( void  )
virtual

Definition at line 66 of file Container1D.cc.

66  {
67  std::cout << "Container by " << _hashmap.getHashTypeName() << std::endl;
68  for (auto const &pair : _mes) {
69  std::cout << std::hex << pair.first << std::dec << std::endl;
70  }
71  }

References _hashmap, _mes, gather_cfg::cout, TauDecayModes::dec, and hcaldqm::mapper::HashMapper::getHashTypeName().

◆ reset()

void hcaldqm::Container1D::reset ( void  )
virtual

Definition at line 60 of file Container1D.cc.

60  {
61  for (auto const &pair : _mes) {
62  pair.second->Reset();
63  }
64  }

References _mes.

Referenced by PedestalTask::_dump(), LEDTask::_dump(), LaserTask::_dump(), PedestalTask::_resetMonitors(), DigiTask::_resetMonitors(), and hcaldqm::DigiRunSummary::endLuminosityBlock().

◆ setBinContent() [1/42]

void hcaldqm::Container1D::setBinContent ( HcalDetId const &  id,
double  x 
)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 201 of file Container1D.cc.

201  {
202  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(id), x);
203  }

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

◆ setBinContent() [2/42]

void hcaldqm::Container1D::setBinContent ( HcalDetId const &  id,
double  x,
double  y 
)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 225 of file Container1D.cc.

225  {
226  QuantityType qtype = _qx->type();
227  if (qtype == fValueQuantity || qtype == fFlagQuantity)
228  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x), y);
229  else
230  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(id), x);
231  }

References _hashmap, _mes, _qx, hcaldqm::quantity::fFlagQuantity, hcaldqm::quantity::fValueQuantity, hcaldqm::quantity::Quantity::getBin(), hcaldqm::mapper::HashMapper::getHash(), and hcaldqm::quantity::Quantity::type().

◆ setBinContent() [3/42]

void hcaldqm::Container1D::setBinContent ( HcalDetId const &  id,
double  x,
int  y 
)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 218 of file Container1D.cc.

218  {
219  QuantityType qtype = _qx->type();
220  if (qtype == fValueQuantity || qtype == fFlagQuantity)
221  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x), y);
222  else
223  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(id), x);
224  }

References _hashmap, _mes, _qx, hcaldqm::quantity::fFlagQuantity, hcaldqm::quantity::fValueQuantity, hcaldqm::quantity::Quantity::getBin(), hcaldqm::mapper::HashMapper::getHash(), and hcaldqm::quantity::Quantity::type().

◆ setBinContent() [4/42]

void hcaldqm::Container1D::setBinContent ( HcalDetId const &  id,
int  x 
)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 198 of file Container1D.cc.

198  {
199  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(id), x);
200  }

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

◆ setBinContent() [5/42]

void hcaldqm::Container1D::setBinContent ( HcalDetId const &  id,
int  x,
double  y 
)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 211 of file Container1D.cc.

211  {
212  QuantityType qtype = _qx->type();
213  if (qtype == fValueQuantity || qtype == fFlagQuantity)
214  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x), y);
215  else
216  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(id), x);
217  }

References _hashmap, _mes, _qx, hcaldqm::quantity::fFlagQuantity, hcaldqm::quantity::fValueQuantity, hcaldqm::quantity::Quantity::getBin(), hcaldqm::mapper::HashMapper::getHash(), and hcaldqm::quantity::Quantity::type().

◆ setBinContent() [6/42]

void hcaldqm::Container1D::setBinContent ( HcalDetId const &  id,
int  x,
int  y 
)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 204 of file Container1D.cc.

204  {
205  QuantityType qtype = _qx->type();
206  if (qtype == fValueQuantity || qtype == fFlagQuantity)
207  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x), y);
208  else
209  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(id), x);
210  }

References _hashmap, _mes, _qx, hcaldqm::quantity::fFlagQuantity, hcaldqm::quantity::fValueQuantity, hcaldqm::quantity::Quantity::getBin(), hcaldqm::mapper::HashMapper::getHash(), and hcaldqm::quantity::Quantity::type().

◆ setBinContent() [7/42]

virtual void hcaldqm::Container1D::setBinContent ( HcalDetId const &  id,
double  x,
double  y,
double   
)
inlinevirtual

Reimplemented in hcaldqm::Container2D.

Definition at line 103 of file Container1D.h.

103 { setBinContent(id, x, y); }

References setBinContent().

Referenced by setBinContent().

◆ setBinContent() [8/42]

virtual void hcaldqm::Container1D::setBinContent ( HcalDetId const &  id,
double  x,
double  y,
int   
)
inlinevirtual

Reimplemented in hcaldqm::Container2D.

Definition at line 99 of file Container1D.h.

99 { setBinContent(id, x, y); }

References setBinContent().

Referenced by setBinContent().

◆ setBinContent() [9/42]

virtual void hcaldqm::Container1D::setBinContent ( HcalDetId const &  id,
double  x,
int  y,
double   
)
inlinevirtual

Reimplemented in hcaldqm::Container2D.

Definition at line 102 of file Container1D.h.

102 { setBinContent(id, x, y); }

References setBinContent().

Referenced by setBinContent().

◆ setBinContent() [10/42]

virtual void hcaldqm::Container1D::setBinContent ( HcalDetId const &  id,
double  x,
int  y,
int   
)
inlinevirtual

Reimplemented in hcaldqm::Container2D.

Definition at line 98 of file Container1D.h.

98 { setBinContent(id, x, y); }

References setBinContent().

Referenced by setBinContent().

◆ setBinContent() [11/42]

virtual void hcaldqm::Container1D::setBinContent ( HcalDetId const &  id,
int  x,
double  y,
double   
)
inlinevirtual

Reimplemented in hcaldqm::Container2D.

Definition at line 101 of file Container1D.h.

101 { setBinContent(id, x, y); }

References setBinContent().

Referenced by setBinContent().

◆ setBinContent() [12/42]

virtual void hcaldqm::Container1D::setBinContent ( HcalDetId const &  id,
int  x,
double  y,
int   
)
inlinevirtual

Reimplemented in hcaldqm::Container2D.

Definition at line 97 of file Container1D.h.

97 { setBinContent(id, x, y); }

References setBinContent().

Referenced by setBinContent().

◆ setBinContent() [13/42]

virtual void hcaldqm::Container1D::setBinContent ( HcalDetId const &  id,
int  x,
int  y,
double   
)
inlinevirtual

Reimplemented in hcaldqm::Container2D.

Definition at line 100 of file Container1D.h.

100 { setBinContent(id, x, y); }

References setBinContent().

Referenced by setBinContent().

◆ setBinContent() [14/42]

virtual void hcaldqm::Container1D::setBinContent ( HcalDetId const &  id,
int  x,
int  y,
int   
)
inlinevirtual

Reimplemented in hcaldqm::Container2D.

Definition at line 96 of file Container1D.h.

96 { setBinContent(id, x, y); }

References setBinContent().

Referenced by setBinContent().

◆ setBinContent() [15/42]

void hcaldqm::Container1D::setBinContent ( HcalElectronicsId const &  id,
double  x 
)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 309 of file Container1D.cc.

309  {
310  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(id), x);
311  }

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

◆ setBinContent() [16/42]

void hcaldqm::Container1D::setBinContent ( HcalElectronicsId const &  id,
double  x,
double  y 
)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 333 of file Container1D.cc.

333  {
334  QuantityType qtype = _qx->type();
335  if (qtype == fValueQuantity || qtype == fFlagQuantity)
336  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x), y);
337  else
338  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(id), x);
339  }

References _hashmap, _mes, _qx, hcaldqm::quantity::fFlagQuantity, hcaldqm::quantity::fValueQuantity, hcaldqm::quantity::Quantity::getBin(), hcaldqm::mapper::HashMapper::getHash(), and hcaldqm::quantity::Quantity::type().

◆ setBinContent() [17/42]

void hcaldqm::Container1D::setBinContent ( HcalElectronicsId const &  id,
double  x,
int  y 
)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 326 of file Container1D.cc.

326  {
327  QuantityType qtype = _qx->type();
328  if (qtype == fValueQuantity || qtype == fFlagQuantity)
329  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x), y);
330  else
331  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(id), x);
332  }

References _hashmap, _mes, _qx, hcaldqm::quantity::fFlagQuantity, hcaldqm::quantity::fValueQuantity, hcaldqm::quantity::Quantity::getBin(), hcaldqm::mapper::HashMapper::getHash(), and hcaldqm::quantity::Quantity::type().

◆ setBinContent() [18/42]

void hcaldqm::Container1D::setBinContent ( HcalElectronicsId const &  id,
int  x 
)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 306 of file Container1D.cc.

306  {
307  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(id), x);
308  }

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

◆ setBinContent() [19/42]

void hcaldqm::Container1D::setBinContent ( HcalElectronicsId const &  id,
int  x,
double  y 
)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 319 of file Container1D.cc.

319  {
320  QuantityType qtype = _qx->type();
321  if (qtype == fValueQuantity || qtype == fFlagQuantity)
322  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x), y);
323  else
324  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(id), x);
325  }

References _hashmap, _mes, _qx, hcaldqm::quantity::fFlagQuantity, hcaldqm::quantity::fValueQuantity, hcaldqm::quantity::Quantity::getBin(), hcaldqm::mapper::HashMapper::getHash(), and hcaldqm::quantity::Quantity::type().

◆ setBinContent() [20/42]

void hcaldqm::Container1D::setBinContent ( HcalElectronicsId const &  id,
int  x,
int  y 
)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 312 of file Container1D.cc.

312  {
313  QuantityType qtype = _qx->type();
314  if (qtype == fValueQuantity || qtype == fFlagQuantity)
315  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x), y);
316  else
317  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(id), x);
318  }

References _hashmap, _mes, _qx, hcaldqm::quantity::fFlagQuantity, hcaldqm::quantity::fValueQuantity, hcaldqm::quantity::Quantity::getBin(), hcaldqm::mapper::HashMapper::getHash(), and hcaldqm::quantity::Quantity::type().

◆ setBinContent() [21/42]

virtual void hcaldqm::Container1D::setBinContent ( HcalElectronicsId const &  id,
double  x,
double  y,
double   
)
inlinevirtual

Reimplemented in hcaldqm::Container2D.

Definition at line 142 of file Container1D.h.

142 { setBinContent(id, x, y); }

References setBinContent().

Referenced by setBinContent().

◆ setBinContent() [22/42]

virtual void hcaldqm::Container1D::setBinContent ( HcalElectronicsId const &  id,
double  x,
double  y,
int   
)
inlinevirtual

Reimplemented in hcaldqm::Container2D.

Definition at line 138 of file Container1D.h.

138 { setBinContent(id, x, y); }

References setBinContent().

Referenced by setBinContent().

◆ setBinContent() [23/42]

virtual void hcaldqm::Container1D::setBinContent ( HcalElectronicsId const &  id,
double  x,
int  y,
double   
)
inlinevirtual

Reimplemented in hcaldqm::Container2D.

Definition at line 141 of file Container1D.h.

141 { setBinContent(id, x, y); }

References setBinContent().

Referenced by setBinContent().

◆ setBinContent() [24/42]

virtual void hcaldqm::Container1D::setBinContent ( HcalElectronicsId const &  id,
double  x,
int  y,
int   
)
inlinevirtual

Reimplemented in hcaldqm::Container2D.

Definition at line 137 of file Container1D.h.

137 { setBinContent(id, x, y); }

References setBinContent().

Referenced by setBinContent().

◆ setBinContent() [25/42]

virtual void hcaldqm::Container1D::setBinContent ( HcalElectronicsId const &  id,
int  x,
double  y,
double   
)
inlinevirtual

Reimplemented in hcaldqm::Container2D.

Definition at line 140 of file Container1D.h.

140 { setBinContent(id, x, y); }

References setBinContent().

Referenced by setBinContent().

◆ setBinContent() [26/42]

virtual void hcaldqm::Container1D::setBinContent ( HcalElectronicsId const &  id,
int  x,
double  y,
int   
)
inlinevirtual

Reimplemented in hcaldqm::Container2D.

Definition at line 136 of file Container1D.h.

136 { setBinContent(id, x, y); }

References setBinContent().

Referenced by setBinContent().

◆ setBinContent() [27/42]

virtual void hcaldqm::Container1D::setBinContent ( HcalElectronicsId const &  id,
int  x,
int  y,
double   
)
inlinevirtual

Reimplemented in hcaldqm::Container2D.

Definition at line 139 of file Container1D.h.

139 { setBinContent(id, x, y); }

References setBinContent().

Referenced by setBinContent().

◆ setBinContent() [28/42]

virtual void hcaldqm::Container1D::setBinContent ( HcalElectronicsId const &  id,
int  x,
int  y,
int   
)
inlinevirtual

Reimplemented in hcaldqm::Container2D.

Definition at line 135 of file Container1D.h.

135 { setBinContent(id, x, y); }

References setBinContent().

Referenced by setBinContent().

◆ setBinContent() [29/42]

void hcaldqm::Container1D::setBinContent ( HcalTrigTowerDetId const &  id,
double  x 
)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 417 of file Container1D.cc.

417  {
418  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(id), x);
419  }

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

◆ setBinContent() [30/42]

void hcaldqm::Container1D::setBinContent ( HcalTrigTowerDetId const &  id,
double  x,
double  y 
)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 441 of file Container1D.cc.

441  {
442  QuantityType qtype = _qx->type();
443  if (qtype == fValueQuantity || qtype == fFlagQuantity)
444  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x), y);
445  else
446  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(id), x);
447  }

References _hashmap, _mes, _qx, hcaldqm::quantity::fFlagQuantity, hcaldqm::quantity::fValueQuantity, hcaldqm::quantity::Quantity::getBin(), hcaldqm::mapper::HashMapper::getHash(), and hcaldqm::quantity::Quantity::type().

◆ setBinContent() [31/42]

void hcaldqm::Container1D::setBinContent ( HcalTrigTowerDetId const &  id,
double  x,
int  y 
)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 434 of file Container1D.cc.

434  {
435  QuantityType qtype = _qx->type();
436  if (qtype == fValueQuantity || qtype == fFlagQuantity)
437  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x), y);
438  else
439  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(id), x);
440  }

References _hashmap, _mes, _qx, hcaldqm::quantity::fFlagQuantity, hcaldqm::quantity::fValueQuantity, hcaldqm::quantity::Quantity::getBin(), hcaldqm::mapper::HashMapper::getHash(), and hcaldqm::quantity::Quantity::type().

◆ setBinContent() [32/42]

void hcaldqm::Container1D::setBinContent ( HcalTrigTowerDetId const &  id,
int  x 
)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 414 of file Container1D.cc.

414  {
415  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(id), x);
416  }

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

◆ setBinContent() [33/42]

void hcaldqm::Container1D::setBinContent ( HcalTrigTowerDetId const &  id,
int  x,
double  y 
)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 427 of file Container1D.cc.

427  {
428  QuantityType qtype = _qx->type();
429  if (qtype == fValueQuantity || qtype == fFlagQuantity)
430  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x), y);
431  else
432  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(id), x);
433  }

References _hashmap, _mes, _qx, hcaldqm::quantity::fFlagQuantity, hcaldqm::quantity::fValueQuantity, hcaldqm::quantity::Quantity::getBin(), hcaldqm::mapper::HashMapper::getHash(), and hcaldqm::quantity::Quantity::type().

◆ setBinContent() [34/42]

void hcaldqm::Container1D::setBinContent ( HcalTrigTowerDetId const &  id,
int  x,
int  y 
)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 420 of file Container1D.cc.

420  {
421  QuantityType qtype = _qx->type();
422  if (qtype == fValueQuantity || qtype == fFlagQuantity)
423  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x), y);
424  else
425  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(id), x);
426  }

References _hashmap, _mes, _qx, hcaldqm::quantity::fFlagQuantity, hcaldqm::quantity::fValueQuantity, hcaldqm::quantity::Quantity::getBin(), hcaldqm::mapper::HashMapper::getHash(), and hcaldqm::quantity::Quantity::type().

◆ setBinContent() [35/42]

virtual void hcaldqm::Container1D::setBinContent ( HcalTrigTowerDetId const &  id,
double  x,
double  y,
double   
)
inlinevirtual

Reimplemented in hcaldqm::Container2D.

Definition at line 181 of file Container1D.h.

181 { setBinContent(id, x, y); }

References setBinContent().

Referenced by setBinContent().

◆ setBinContent() [36/42]

virtual void hcaldqm::Container1D::setBinContent ( HcalTrigTowerDetId const &  id,
double  x,
double  y,
int   
)
inlinevirtual

Reimplemented in hcaldqm::Container2D.

Definition at line 177 of file Container1D.h.

177 { setBinContent(id, x, y); }

References setBinContent().

Referenced by setBinContent().

◆ setBinContent() [37/42]

virtual void hcaldqm::Container1D::setBinContent ( HcalTrigTowerDetId const &  id,
double  x,
int  y,
double   
)
inlinevirtual

Reimplemented in hcaldqm::Container2D.

Definition at line 180 of file Container1D.h.

180 { setBinContent(id, x, y); }

References setBinContent().

Referenced by setBinContent().

◆ setBinContent() [38/42]

virtual void hcaldqm::Container1D::setBinContent ( HcalTrigTowerDetId const &  id,
double  x,
int  y,
int   
)
inlinevirtual

Reimplemented in hcaldqm::Container2D.

Definition at line 176 of file Container1D.h.

176 { setBinContent(id, x, y); }

References setBinContent().

Referenced by setBinContent().

◆ setBinContent() [39/42]

virtual void hcaldqm::Container1D::setBinContent ( HcalTrigTowerDetId const &  id,
int  x,
double  y,
double   
)
inlinevirtual

Reimplemented in hcaldqm::Container2D.

Definition at line 179 of file Container1D.h.

179 { setBinContent(id, x, y); }

References setBinContent().

Referenced by setBinContent().

◆ setBinContent() [40/42]

virtual void hcaldqm::Container1D::setBinContent ( HcalTrigTowerDetId const &  id,
int  x,
double  y,
int   
)
inlinevirtual

Reimplemented in hcaldqm::Container2D.

Definition at line 175 of file Container1D.h.

175 { setBinContent(id, x, y); }

References setBinContent().

Referenced by setBinContent().

◆ setBinContent() [41/42]

virtual void hcaldqm::Container1D::setBinContent ( HcalTrigTowerDetId const &  id,
int  x,
int  y,
double   
)
inlinevirtual

Reimplemented in hcaldqm::Container2D.

Definition at line 178 of file Container1D.h.

178 { setBinContent(id, x, y); }

References setBinContent().

Referenced by setBinContent().

◆ setBinContent() [42/42]

virtual void hcaldqm::Container1D::setBinContent ( HcalTrigTowerDetId const &  id,
int  x,
int  y,
int   
)
inlinevirtual

Reimplemented in hcaldqm::Container2D.

Definition at line 174 of file Container1D.h.

174 { setBinContent(id, x, y); }

References setBinContent().

Referenced by setBinContent().

◆ showOverflowX()

void hcaldqm::Container1D::showOverflowX ( bool  showOverflow)
virtual

Definition at line 769 of file Container1D.cc.

769 { _qx->showOverflow(showOverflow); }

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

Referenced by LaserTask::bookHistograms().

◆ showOverflowY()

void hcaldqm::Container1D::showOverflowY ( bool  showOverflow)
virtual

Definition at line 771 of file Container1D.cc.

771 { _qy->showOverflow(showOverflow); }

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

Referenced by LaserTask::bookHistograms().

Member Data Documentation

◆ _hashmap

mapper::HashMapper hcaldqm::Container1D::_hashmap
protected

◆ _mes

MEMap hcaldqm::Container1D::_mes
protected

◆ _qx

quantity::Quantity* hcaldqm::Container1D::_qx
protected

◆ _qy

quantity::Quantity* hcaldqm::Container1D::_qy
protected
hcal_dqm_sourceclient-live_cfg.subsystem
subsystem
Definition: hcal_dqm_sourceclient-live_cfg.py:16
DDAxes::y
hcaldqm::quantity::Quantity::showOverflow
virtual void showOverflow(bool showOverflow)
Definition: Quantity.h:68
mps_fire.i
i
Definition: mps_fire.py:428
hcaldqm::Container1D::_hashmap
mapper::HashMapper _hashmap
Definition: Container1D.h:233
hcaldqm::Container1D::getBinEntries
virtual double getBinEntries(HcalDetId const &)
Definition: Container1D.cc:165
hcaldqm::mapper::HashMapper::getHash
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
hcaldqm::mapper::HashMapper::isDHash
virtual bool isDHash() const
Definition: HashMapper.h:58
hcaldqm::quantity::Quantity::setAxisType
virtual void setAxisType(AxisType at)
Definition: Quantity.h:36
printsummarytable.folder
folder
Definition: printsummarytable.py:7
cond::hash
Definition: Time.h:19
gather_cfg.cout
cout
Definition: gather_cfg.py:144
hcaldqm::quantity::Quantity::setBits
virtual void setBits(TH1 *o)
Definition: Quantity.h:51
hcaldqm::Container::initialize
virtual void initialize(std::string const &folder, std::string const &qname, int debug=0)
Definition: Container.h:30
hcaldqm::Container1D::_mes
MEMap _mes
Definition: Container1D.h:232
hcaldqm::quantity::Quantity::type
virtual QuantityType type()
Definition: Quantity.h:33
DDAxes::x
hcaldqm::Container1D::getBinContent
virtual double getBinContent(HcalDetId const &)
Definition: Container1D.cc:177
hcaldqm::Container1D::_qx
quantity::Quantity * _qx
Definition: Container1D.h:234
hcaldqm::quantity::Quantity::min
virtual double min()
Definition: Quantity.h:59
hcaldqm::Container::_folder
std::string _folder
Definition: Container.h:37
hcaldqm::Container1D::_qy
quantity::Quantity * _qy
Definition: Container1D.h:235
hcaldqm::mapper::HashMapper::getName
std::string getName(HcalDetId const &did) const override
Definition: HashMapper.h:42
hcaldqm::quantity::Quantity::getBin
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
hcaldqm::mapper::HashMapper::initialize
virtual void initialize(hashfunctions::HashType htype)
Definition: HashMapper.h:25
hcaldqm::quantity::Quantity::nbins
virtual int nbins()
Definition: Quantity.h:57
debug
#define debug
Definition: HDRShower.cc:19
hcaldqm::quantity::Quantity::getValue
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:45
hcaldqm::mapper::HashMapper::isTHash
virtual bool isTHash() const
Definition: HashMapper.h:62
HcalElectronicsId
Readout chain identification for Hcal.
Definition: HcalElectronicsId.h:32
hcaldqm::quantity::fValueQuantity
Definition: Quantity.h:19
LaserClient_cfi.nbins
nbins
Definition: LaserClient_cfi.py:51
hcaldqm::quantity::Quantity::max
virtual double max()
Definition: Quantity.h:60
h
hcaldqm::quantity::fYAxis
Definition: Quantity.h:25
ALCARECOTkAlBeamHalo_cff.filter
filter
Definition: ALCARECOTkAlBeamHalo_cff.py:27
hcaldqm::quantity::Quantity::getLabels
virtual std::vector< std::string > getLabels()
Definition: Quantity.h:62
hcaldqm::Container1D::setBinContent
virtual void setBinContent(HcalDetId const &, int)
Definition: Container1D.cc:198
hcaldqm::quantity::Quantity::name
virtual std::string name()
Definition: Quantity.h:34
hcaldqm::Container1D::fill
virtual void fill(uint32_t)
Definition: Container1D.cc:73
hcaldqm::quantity::QuantityType
QuantityType
Definition: Quantity.h:15
hcaldqm::Container::_logger
Logger _logger
Definition: Container.h:39
printConversionInfo.aux
aux
Definition: printConversionInfo.py:19
HcalDetId
Definition: HcalDetId.h:12
runTauDisplay.eid
eid
Definition: runTauDisplay.py:298
cuy.ib
ib
Definition: cuy.py:661
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
cmsLHEtoEOSManager.l
l
Definition: cmsLHEtoEOSManager.py:204
hcaldqm::quantity::Quantity::setMax
virtual void setMax(double)
Definition: Quantity.h:64
hcaldqm::mapper::HashMapper::getHashTypeName
virtual std::string getHashTypeName() const
Definition: HashMapper.h:54
hcaldqm::Container1D::customize
virtual void customize(MonitorElement *)
Definition: Container1D.cc:737
dqm::implementation::IGetter::get
virtual MonitorElement * get(std::string const &fullpath) const
Definition: DQMStore.cc:673
Logger::set
void set(std::string const &name, int debug=0)
Definition: Logger.h:29
hcaldqm::quantity::fFlagQuantity
Definition: Quantity.h:20
castor_dqm_sourceclient_file_cfg.path
path
Definition: castor_dqm_sourceclient_file_cfg.py:37
Logger::debug
void debug(STDTYPE const &msg) const
Definition: Logger.h:20
hcaldqm::quantity::fXAxis
Definition: Quantity.h:25
hlt_dqm_clientPB-live_cfg.me
me
Definition: hlt_dqm_clientPB-live_cfg.py:61
TauDecayModes.dec
dec
Definition: TauDecayModes.py:142
hcaldqm::Container::_qname
std::string _qname
Definition: Container.h:38
hcaldqm::mapper::HashMapper::isEHash
virtual bool isEHash() const
Definition: HashMapper.h:59
hcaldqm::Container::Container
Container()
Definition: Container.h:26
HcalTrigTowerDetId
Definition: HcalTrigTowerDetId.h:14