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 *, std::string subsystem="Hcal", std::string aux="")
 
virtual void book (DQMStore::IBooker &, HcalElectronicsMap const *, filter::HashFilter 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 (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 void fill (HcalDetId const &)
 
virtual void fill (HcalDetId const &, int)
 
virtual void fill (HcalDetId const &, double)
 
virtual void fill (HcalDetId const &, int, double)
 
virtual void fill (HcalDetId const &, int, int)
 
virtual void fill (HcalDetId const &, double, double)
 
virtual void fill (HcalElectronicsId const &)
 
virtual void fill (HcalElectronicsId const &, int)
 
virtual void fill (HcalElectronicsId const &, double)
 
virtual void fill (HcalElectronicsId const &, int, double)
 
virtual void fill (HcalElectronicsId const &, int, int)
 
virtual void fill (HcalElectronicsId const &, double, double)
 
virtual void fill (HcalTrigTowerDetId const &)
 
virtual void fill (HcalTrigTowerDetId const &, int)
 
virtual void fill (HcalTrigTowerDetId const &, double)
 
virtual void fill (HcalTrigTowerDetId const &, int, double)
 
virtual void fill (HcalTrigTowerDetId const &, int, int)
 
virtual void fill (HcalTrigTowerDetId const &, double, double)
 
virtual double getBinContent (HcalDetId const &)
 
virtual double getBinContent (HcalDetId const &, int)
 
virtual double getBinContent (HcalDetId const &, double)
 
virtual double getBinContent (HcalDetId const &did, int x, int)
 
virtual double getBinContent (HcalDetId const &did, int x, double)
 
virtual double getBinContent (HcalDetId const &did, double x, double)
 
virtual double getBinContent (HcalElectronicsId const &)
 
virtual double getBinContent (HcalElectronicsId const &, int)
 
virtual double getBinContent (HcalElectronicsId const &, double)
 
virtual double getBinContent (HcalElectronicsId const &eid, int x, int)
 
virtual double getBinContent (HcalElectronicsId const &eid, int x, double)
 
virtual double getBinContent (HcalElectronicsId const &eid, double x, double)
 
virtual double getBinContent (HcalTrigTowerDetId const &)
 
virtual double getBinContent (HcalTrigTowerDetId const &, int)
 
virtual double getBinContent (HcalTrigTowerDetId const &, double)
 
virtual double getBinContent (HcalTrigTowerDetId const &tid, int x, int)
 
virtual double getBinContent (HcalTrigTowerDetId const &tid, int x, double)
 
virtual double getBinContent (HcalTrigTowerDetId const &tid, double x, double)
 
virtual double getBinEntries (HcalDetId const &)
 
virtual double getBinEntries (HcalDetId const &, int)
 
virtual double getBinEntries (HcalDetId const &, double)
 
virtual double getBinEntries (HcalDetId const &did, int x, int)
 
virtual double getBinEntries (HcalDetId const &did, int x, double)
 
virtual double getBinEntries (HcalDetId const &did, double x, double)
 
virtual double getBinEntries (HcalElectronicsId const &)
 
virtual double getBinEntries (HcalElectronicsId const &, int)
 
virtual double getBinEntries (HcalElectronicsId const &, double)
 
virtual double getBinEntries (HcalElectronicsId const &eid, int x, int)
 
virtual double getBinEntries (HcalElectronicsId const &eid, int x, double)
 
virtual double getBinEntries (HcalElectronicsId const &eid, double x, double)
 
virtual double getBinEntries (HcalTrigTowerDetId const &)
 
virtual double getBinEntries (HcalTrigTowerDetId const &, int)
 
virtual double getBinEntries (HcalTrigTowerDetId const &, double)
 
virtual double getBinEntries (HcalTrigTowerDetId const &tid, int x, int)
 
virtual double getBinEntries (HcalTrigTowerDetId const &tid, int x, double)
 
virtual double getBinEntries (HcalTrigTowerDetId const &tid, double x, double)
 
virtual double getMean (HcalDetId const &, int axis=1)
 
virtual double getMean (HcalElectronicsId const &, int axis=1)
 
virtual double getMean (HcalTrigTowerDetId const &, int axis=1)
 
virtual double getRMS (HcalDetId const &, int axix=1)
 
virtual double getRMS (HcalElectronicsId const &, int axis=1)
 
virtual double getRMS (HcalTrigTowerDetId const &, int axis=1)
 
virtual void initialize (std::string const &folder, hashfunctions::HashType, quantity::Quantity *, quantity::Quantity *qy=new quantity::ValueQuantity(quantity::fN), int debug=0)
 
virtual void initialize (std::string const &folder, std::string const &qname, hashfunctions::HashType, quantity::Quantity *, quantity::Quantity *qy=new quantity::ValueQuantity(quantity::fN), int debug=0)
 
virtual void load (DQMStore::IGetter &, HcalElectronicsMap const *, std::string const &subsystem="Hcal", std::string const &aux="")
 
virtual void load (DQMStore::IGetter &, HcalElectronicsMap const *, filter::HashFilter const &, std::string const &subsystem="Hcal", std::string const &aux="")
 
virtual void print ()
 
virtual void reset ()
 
virtual void setBinContent (HcalDetId const &, int)
 
virtual void setBinContent (HcalDetId const &, double)
 
virtual void setBinContent (HcalDetId const &, int, int)
 
virtual void setBinContent (HcalDetId const &, int, double)
 
virtual void setBinContent (HcalDetId const &, double, double)
 
virtual void setBinContent (HcalDetId const &, double, int)
 
virtual void setBinContent (HcalDetId const &id, int x, int y, int)
 
virtual void setBinContent (HcalDetId const &id, int x, double y, int)
 
virtual void setBinContent (HcalDetId const &id, double x, int y, int)
 
virtual void setBinContent (HcalDetId const &id, double x, double y, int)
 
virtual void setBinContent (HcalDetId const &id, int x, int y, double)
 
virtual void setBinContent (HcalDetId const &id, int x, double y, double)
 
virtual void setBinContent (HcalDetId const &id, double x, int y, double)
 
virtual void setBinContent (HcalDetId const &id, double x, double y, double)
 
virtual void setBinContent (HcalElectronicsId const &, int)
 
virtual void setBinContent (HcalElectronicsId const &, double)
 
virtual void setBinContent (HcalElectronicsId const &, int, int)
 
virtual void setBinContent (HcalElectronicsId const &, int, double)
 
virtual void setBinContent (HcalElectronicsId const &, double, double)
 
virtual void setBinContent (HcalElectronicsId const &, double, int)
 
virtual void setBinContent (HcalElectronicsId const &id, int x, int y, int)
 
virtual void setBinContent (HcalElectronicsId const &id, int x, double y, int)
 
virtual void setBinContent (HcalElectronicsId const &id, double x, int y, int)
 
virtual void setBinContent (HcalElectronicsId const &id, double x, double y, int)
 
virtual void setBinContent (HcalElectronicsId const &id, int x, int y, double)
 
virtual void setBinContent (HcalElectronicsId const &id, int x, double y, double)
 
virtual void setBinContent (HcalElectronicsId const &id, double x, int y, double)
 
virtual void setBinContent (HcalElectronicsId const &id, double x, double y, double)
 
virtual void setBinContent (HcalTrigTowerDetId const &, int)
 
virtual void setBinContent (HcalTrigTowerDetId const &, double)
 
virtual void setBinContent (HcalTrigTowerDetId const &, int, int)
 
virtual void setBinContent (HcalTrigTowerDetId const &, int, double)
 
virtual void setBinContent (HcalTrigTowerDetId const &, double, double)
 
virtual void setBinContent (HcalTrigTowerDetId const &, double, int)
 
virtual void setBinContent (HcalTrigTowerDetId const &id, int x, int y, int)
 
virtual void setBinContent (HcalTrigTowerDetId const &id, int x, double y, int)
 
virtual void setBinContent (HcalTrigTowerDetId const &id, double x, int y, int)
 
virtual void setBinContent (HcalTrigTowerDetId const &id, double x, double y, int)
 
virtual void setBinContent (HcalTrigTowerDetId const &id, int x, int y, double)
 
virtual void setBinContent (HcalTrigTowerDetId const &id, int x, double y, double)
 
virtual void setBinContent (HcalTrigTowerDetId const &id, double x, int y, double)
 
virtual void setBinContent (HcalTrigTowerDetId const &id, double x, double y, double)
 
virtual void setLumiFlag ()
 
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 boost::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
 

Detailed Description

Definition at line 25 of file Container1D.h.

Member Typedef Documentation

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

Definition at line 234 of file Container1D.h.

Constructor & Destructor Documentation

hcaldqm::Container1D::Container1D ( )

Definition at line 8 of file Container1D.cc.

8 : _qx(nullptr), _qy(nullptr) {}
quantity::Quantity * _qx
Definition: Container1D.h:237
quantity::Quantity * _qy
Definition: Container1D.h:238
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.

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

11  : Container(folder, qy->name() + "vs" + qx->name()), _hashmap(hashtype), _qx(qx), _qy(qy) {
14  }
virtual void setAxisType(AxisType at)
Definition: Quantity.h:36
quantity::Quantity * _qx
Definition: Container1D.h:237
mapper::HashMapper _hashmap
Definition: Container1D.h:236
quantity::Quantity * _qy
Definition: Container1D.h:238
hcaldqm::Container1D::~Container1D ( )
override

Definition at line 16 of file Container1D.cc.

References _qx, and _qy.

16  {
17  if (_qx != nullptr)
18  delete _qx;
19  if (_qy != nullptr)
20  delete _qy;
21  _qx = nullptr;
22  _qy = nullptr;
23  }
quantity::Quantity * _qx
Definition: Container1D.h:237
quantity::Quantity * _qy
Definition: Container1D.h:238

Member Function Documentation

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.

References hcaldqm::Container::_folder, _hashmap, hcaldqm::Container::_logger, _mes, hcaldqm::Container::_qname, _qx, HcalElectronicsMap::allElectronicsIdPrecision(), HcalElectronicsMap::allPrecisionId(), HcalElectronicsMap::allTriggerId(), printConversionInfo::aux, DQMStore::IBooker::book1D(), customize(), Logger::debug(), runTauDisplay::eid, hcaldqm::mapper::HashMapper::getHash(), hcaldqm::mapper::HashMapper::getHashTypeName(), hcaldqm::mapper::HashMapper::getName(), cond::hash, hcaldqm::mapper::HashMapper::isDHash(), hcaldqm::mapper::HashMapper::isEHash(), hcaldqm::mapper::HashMapper::isTHash(), hcaldqm::quantity::Quantity::max(), hcaldqm::quantity::Quantity::min(), hcaldqm::quantity::Quantity::nbins(), and DQMStore::IBooker::setCurrentFolder().

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

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.book1D(_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.book1D(_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.book1D(_hashmap.getName(tid), _hashmap.getName(tid), _qx->nbins(), _qx->min(), _qx->max())));
654  // customize
655  customize(_mes[hash]);
656  }
657  }
658  }
virtual void customize(MonitorElement *)
Definition: Container1D.cc:737
virtual bool isTHash() const
Definition: HashMapper.h:56
virtual double max()
Definition: Quantity.h:60
void debug(STDTYPE const &msg) const
Definition: Logger.h:20
virtual std::string getHashTypeName() const
Definition: HashMapper.h:48
quantity::Quantity * _qx
Definition: Container1D.h:237
void setCurrentFolder(std::string const &fullpath)
Definition: DQMStore.cc:268
MonitorElement * book1D(Args &&...args)
Definition: DQMStore.h:106
std::string _folder
Definition: Container.h:34
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
mapper::HashMapper _hashmap
Definition: Container1D.h:236
virtual double min()
Definition: Quantity.h:59
virtual bool isDHash() const
Definition: HashMapper.h:52
std::string _qname
Definition: Container.h:35
virtual bool isEHash() const
Definition: HashMapper.h:53
Readout chain identification for Hcal.
std::string getName(HcalDetId const &did) const override
Definition: HashMapper.h:39
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.

References hcaldqm::Container::_folder, _hashmap, hcaldqm::Container::_logger, _mes, hcaldqm::Container::_qname, _qx, HcalElectronicsMap::allElectronicsIdPrecision(), HcalElectronicsMap::allPrecisionId(), HcalElectronicsMap::allTriggerId(), printConversionInfo::aux, DQMStore::IBooker::book1D(), customize(), Logger::debug(), runTauDisplay::eid, hcaldqm::filter::HashFilter::filter(), hcaldqm::mapper::HashMapper::getHash(), hcaldqm::mapper::HashMapper::getHashTypeName(), hcaldqm::mapper::HashMapper::getName(), cond::hash, hcaldqm::mapper::HashMapper::isDHash(), hcaldqm::mapper::HashMapper::isEHash(), hcaldqm::mapper::HashMapper::isTHash(), hcaldqm::quantity::Quantity::max(), hcaldqm::quantity::Quantity::min(), hcaldqm::quantity::Quantity::nbins(), and DQMStore::IBooker::setCurrentFolder().

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.book1D(_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.book1D(_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.book1D(_hashmap.getName(tid), _hashmap.getName(tid), _qx->nbins(), _qx->min(), _qx->max())));
731  // customize
732  customize(_mes[hash]);
733  }
734  }
735  }
virtual void customize(MonitorElement *)
Definition: Container1D.cc:737
virtual bool isTHash() const
Definition: HashMapper.h:56
virtual double max()
Definition: Quantity.h:60
void debug(STDTYPE const &msg) const
Definition: Logger.h:20
virtual std::string getHashTypeName() const
Definition: HashMapper.h:48
quantity::Quantity * _qx
Definition: Container1D.h:237
void setCurrentFolder(std::string const &fullpath)
Definition: DQMStore.cc:268
MonitorElement * book1D(Args &&...args)
Definition: DQMStore.h:106
std::string _folder
Definition: Container.h:34
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
mapper::HashMapper _hashmap
Definition: Container1D.h:236
virtual double min()
Definition: Quantity.h:59
virtual bool isDHash() const
Definition: HashMapper.h:52
std::string _qname
Definition: Container.h:35
virtual bool isEHash() const
Definition: HashMapper.h:53
Readout chain identification for Hcal.
std::string getName(HcalDetId const &did) const override
Definition: HashMapper.h:39
void hcaldqm::Container1D::customize ( MonitorElement me)
protectedvirtual

Reimplemented in hcaldqm::Container2D.

Definition at line 737 of file Container1D.cc.

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

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

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  }
virtual void setBits(TH1 *o)
Definition: Quantity.h:51
virtual std::string name()
Definition: Quantity.h:34
FWCore Framework interface EventSetupRecordImplementation h
Helper function to determine trigger accepts.
virtual std::vector< std::string > getLabels()
Definition: Quantity.h:62
TH1 * getTH1() const
void setBinLabel(int bin, const std::string &label, int axis=1)
set bin label for x, y or z axis (axis=1, 2, 3 respectively)
quantity::Quantity * _qx
Definition: Container1D.h:237
void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
quantity::Quantity * _qy
Definition: Container1D.h:238
void hcaldqm::Container1D::extendAxisRange ( int  l)
virtual

Definition at line 754 of file Container1D.cc.

References _mes, _qx, hcaldqm::quantity::Quantity::nbins(), pileupCalc::nbins, and hcaldqm::quantity::Quantity::setMax().

Referenced by setBinContent().

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  }
virtual void setMax(double)
Definition: Quantity.h:64
quantity::Quantity * _qx
Definition: Container1D.h:237
void hcaldqm::Container1D::fill ( uint32_t  hash)
virtual
void hcaldqm::Container1D::fill ( uint32_t  hash,
int  x 
)
virtual

Definition at line 82 of file Container1D.cc.

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

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:56
virtual void fill(uint32_t)
Definition: Container1D.cc:73
mapper::HashMapper _hashmap
Definition: Container1D.h:236
virtual bool isDHash() const
Definition: HashMapper.h:52
virtual bool isEHash() const
Definition: HashMapper.h:53
Readout chain identification for Hcal.
void hcaldqm::Container1D::fill ( uint32_t  hash,
double  x 
)
virtual

Definition at line 91 of file Container1D.cc.

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

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:56
virtual void fill(uint32_t)
Definition: Container1D.cc:73
mapper::HashMapper _hashmap
Definition: Container1D.h:236
virtual bool isDHash() const
Definition: HashMapper.h:52
virtual bool isEHash() const
Definition: HashMapper.h:53
Readout chain identification for Hcal.
void hcaldqm::Container1D::fill ( uint32_t  hash,
int  x,
double  y 
)
virtual

Definition at line 100 of file Container1D.cc.

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

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:56
virtual void fill(uint32_t)
Definition: Container1D.cc:73
mapper::HashMapper _hashmap
Definition: Container1D.h:236
virtual bool isDHash() const
Definition: HashMapper.h:52
virtual bool isEHash() const
Definition: HashMapper.h:53
Readout chain identification for Hcal.
void hcaldqm::Container1D::fill ( uint32_t  hash,
int  x,
int  y 
)
virtual

Definition at line 109 of file Container1D.cc.

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

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:56
virtual void fill(uint32_t)
Definition: Container1D.cc:73
mapper::HashMapper _hashmap
Definition: Container1D.h:236
virtual bool isDHash() const
Definition: HashMapper.h:52
virtual bool isEHash() const
Definition: HashMapper.h:53
Readout chain identification for Hcal.
void hcaldqm::Container1D::fill ( uint32_t  hash,
double  x,
double  y 
)
virtual

Definition at line 118 of file Container1D.cc.

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

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:56
virtual void fill(uint32_t)
Definition: Container1D.cc:73
mapper::HashMapper _hashmap
Definition: Container1D.h:236
virtual bool isDHash() const
Definition: HashMapper.h:52
virtual bool isEHash() const
Definition: HashMapper.h:53
Readout chain identification for Hcal.
void hcaldqm::Container1D::fill ( HcalDetId const &  did)
virtual

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

Definition at line 128 of file Container1D.cc.

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

128 { _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(did)); }
quantity::Quantity * _qx
Definition: Container1D.h:237
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:45
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
mapper::HashMapper _hashmap
Definition: Container1D.h:236
void hcaldqm::Container1D::fill ( HcalDetId const &  did,
int  x 
)
virtual

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

Definition at line 129 of file Container1D.cc.

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

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  }
quantity::Quantity * _qx
Definition: Container1D.h:237
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:45
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
mapper::HashMapper _hashmap
Definition: Container1D.h:236
virtual QuantityType type()
Definition: Quantity.h:33
quantity::Quantity * _qy
Definition: Container1D.h:238
void hcaldqm::Container1D::fill ( HcalDetId const &  did,
double  x 
)
virtual

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

Definition at line 136 of file Container1D.cc.

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

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  }
quantity::Quantity * _qx
Definition: Container1D.h:237
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:45
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
mapper::HashMapper _hashmap
Definition: Container1D.h:236
virtual QuantityType type()
Definition: Quantity.h:33
quantity::Quantity * _qy
Definition: Container1D.h:238
void hcaldqm::Container1D::fill ( HcalDetId const &  did,
int  x,
double  y 
)
virtual

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

Definition at line 143 of file Container1D.cc.

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

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  }
quantity::Quantity * _qx
Definition: Container1D.h:237
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:45
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
mapper::HashMapper _hashmap
Definition: Container1D.h:236
virtual QuantityType type()
Definition: Quantity.h:33
quantity::Quantity * _qy
Definition: Container1D.h:238
void hcaldqm::Container1D::fill ( HcalDetId const &  did,
int  x,
int  y 
)
virtual

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

Definition at line 150 of file Container1D.cc.

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

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  }
quantity::Quantity * _qx
Definition: Container1D.h:237
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:45
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
mapper::HashMapper _hashmap
Definition: Container1D.h:236
virtual QuantityType type()
Definition: Quantity.h:33
quantity::Quantity * _qy
Definition: Container1D.h:238
void hcaldqm::Container1D::fill ( HcalDetId const &  did,
double  x,
double  y 
)
virtual

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

Definition at line 157 of file Container1D.cc.

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

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  }
quantity::Quantity * _qx
Definition: Container1D.h:237
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:45
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
mapper::HashMapper _hashmap
Definition: Container1D.h:236
virtual QuantityType type()
Definition: Quantity.h:33
quantity::Quantity * _qy
Definition: Container1D.h:238
void hcaldqm::Container1D::fill ( HcalElectronicsId const &  did)
virtual

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

Definition at line 234 of file Container1D.cc.

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

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

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

Definition at line 237 of file Container1D.cc.

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

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  }
quantity::Quantity * _qx
Definition: Container1D.h:237
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:45
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
mapper::HashMapper _hashmap
Definition: Container1D.h:236
virtual QuantityType type()
Definition: Quantity.h:33
quantity::Quantity * _qy
Definition: Container1D.h:238
void hcaldqm::Container1D::fill ( HcalElectronicsId const &  did,
double  x 
)
virtual

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

Definition at line 244 of file Container1D.cc.

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

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  }
quantity::Quantity * _qx
Definition: Container1D.h:237
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:45
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
mapper::HashMapper _hashmap
Definition: Container1D.h:236
virtual QuantityType type()
Definition: Quantity.h:33
quantity::Quantity * _qy
Definition: Container1D.h:238
void hcaldqm::Container1D::fill ( HcalElectronicsId const &  did,
int  x,
double  y 
)
virtual

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

Definition at line 251 of file Container1D.cc.

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

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  }
quantity::Quantity * _qx
Definition: Container1D.h:237
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:45
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
mapper::HashMapper _hashmap
Definition: Container1D.h:236
virtual QuantityType type()
Definition: Quantity.h:33
quantity::Quantity * _qy
Definition: Container1D.h:238
void hcaldqm::Container1D::fill ( HcalElectronicsId const &  did,
int  x,
int  y 
)
virtual

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

Definition at line 258 of file Container1D.cc.

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

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  }
quantity::Quantity * _qx
Definition: Container1D.h:237
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:45
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
mapper::HashMapper _hashmap
Definition: Container1D.h:236
virtual QuantityType type()
Definition: Quantity.h:33
quantity::Quantity * _qy
Definition: Container1D.h:238
void hcaldqm::Container1D::fill ( HcalElectronicsId const &  did,
double  x,
double  y 
)
virtual

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

Definition at line 265 of file Container1D.cc.

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

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  }
quantity::Quantity * _qx
Definition: Container1D.h:237
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:45
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
mapper::HashMapper _hashmap
Definition: Container1D.h:236
virtual QuantityType type()
Definition: Quantity.h:33
quantity::Quantity * _qy
Definition: Container1D.h:238
void hcaldqm::Container1D::fill ( HcalTrigTowerDetId const &  did)
virtual

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

Definition at line 342 of file Container1D.cc.

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

342  {
343  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(did));
344  }
quantity::Quantity * _qx
Definition: Container1D.h:237
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:45
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
mapper::HashMapper _hashmap
Definition: Container1D.h:236
void hcaldqm::Container1D::fill ( HcalTrigTowerDetId const &  did,
int  x 
)
virtual

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

Definition at line 345 of file Container1D.cc.

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

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  }
quantity::Quantity * _qx
Definition: Container1D.h:237
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:45
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
mapper::HashMapper _hashmap
Definition: Container1D.h:236
virtual QuantityType type()
Definition: Quantity.h:33
quantity::Quantity * _qy
Definition: Container1D.h:238
void hcaldqm::Container1D::fill ( HcalTrigTowerDetId const &  did,
double  x 
)
virtual

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

Definition at line 352 of file Container1D.cc.

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

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  }
quantity::Quantity * _qx
Definition: Container1D.h:237
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:45
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
mapper::HashMapper _hashmap
Definition: Container1D.h:236
virtual QuantityType type()
Definition: Quantity.h:33
quantity::Quantity * _qy
Definition: Container1D.h:238
void hcaldqm::Container1D::fill ( HcalTrigTowerDetId const &  did,
int  x,
double  y 
)
virtual

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

Definition at line 359 of file Container1D.cc.

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

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  }
quantity::Quantity * _qx
Definition: Container1D.h:237
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:45
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
mapper::HashMapper _hashmap
Definition: Container1D.h:236
virtual QuantityType type()
Definition: Quantity.h:33
quantity::Quantity * _qy
Definition: Container1D.h:238
void hcaldqm::Container1D::fill ( HcalTrigTowerDetId const &  did,
int  x,
int  y 
)
virtual

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

Definition at line 366 of file Container1D.cc.

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

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  }
quantity::Quantity * _qx
Definition: Container1D.h:237
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:45
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
mapper::HashMapper _hashmap
Definition: Container1D.h:236
virtual QuantityType type()
Definition: Quantity.h:33
quantity::Quantity * _qy
Definition: Container1D.h:238
void hcaldqm::Container1D::fill ( HcalTrigTowerDetId const &  did,
double  x,
double  y 
)
virtual

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

Definition at line 373 of file Container1D.cc.

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

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  }
quantity::Quantity * _qx
Definition: Container1D.h:237
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:45
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
mapper::HashMapper _hashmap
Definition: Container1D.h:236
virtual QuantityType type()
Definition: Quantity.h:33
quantity::Quantity * _qy
Definition: Container1D.h:238
double hcaldqm::Container1D::getBinContent ( HcalDetId const &  tid)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 177 of file Container1D.cc.

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

Referenced by DigiTask::endLuminosityBlock(), getBinEntries(), and hcaldqm::ContainerXXX< STDTYPE >::load().

177  {
178  return _mes[_hashmap.getHash(tid)]->getBinContent(_qx->getBin(tid));
179  }
quantity::Quantity * _qx
Definition: Container1D.h:237
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
mapper::HashMapper _hashmap
Definition: Container1D.h:236
double hcaldqm::Container1D::getBinContent ( HcalDetId const &  tid,
int  x 
)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 181 of file Container1D.cc.

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

181  {
182  return _mes[_hashmap.getHash(tid)]->getBinContent(_qx->getBin(x));
183  }
quantity::Quantity * _qx
Definition: Container1D.h:237
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
mapper::HashMapper _hashmap
Definition: Container1D.h:236
double hcaldqm::Container1D::getBinContent ( HcalDetId const &  tid,
double  x 
)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 185 of file Container1D.cc.

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

185  {
186  return _mes[_hashmap.getHash(tid)]->getBinContent(_qx->getBin(x));
187  }
quantity::Quantity * _qx
Definition: Container1D.h:237
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
mapper::HashMapper _hashmap
Definition: Container1D.h:236
virtual double hcaldqm::Container1D::getBinContent ( HcalDetId const &  did,
int  x,
int   
)
inlinevirtual

Reimplemented in hcaldqm::Container2D.

Definition at line 84 of file Container1D.h.

References getBinContent().

Referenced by getBinContent().

84 { return getBinContent(did, x); }
virtual double getBinContent(HcalDetId const &)
Definition: Container1D.cc:177
virtual double hcaldqm::Container1D::getBinContent ( HcalDetId const &  did,
int  x,
double   
)
inlinevirtual

Reimplemented in hcaldqm::Container2D.

Definition at line 85 of file Container1D.h.

References getBinContent().

Referenced by getBinContent().

85 { return getBinContent(did, x); }
virtual double getBinContent(HcalDetId const &)
Definition: Container1D.cc:177
virtual double hcaldqm::Container1D::getBinContent ( HcalDetId const &  did,
double  x,
double   
)
inlinevirtual

Reimplemented in hcaldqm::Container2D.

Definition at line 86 of file Container1D.h.

References getBinContent(), getMean(), getRMS(), and setBinContent().

Referenced by getBinContent().

86 { return getBinContent(did, x); }
virtual double getBinContent(HcalDetId const &)
Definition: Container1D.cc:177
double hcaldqm::Container1D::getBinContent ( HcalElectronicsId const &  tid)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 285 of file Container1D.cc.

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

285  {
286  return _mes[_hashmap.getHash(tid)]->getBinContent(_qx->getBin(tid));
287  }
quantity::Quantity * _qx
Definition: Container1D.h:237
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
mapper::HashMapper _hashmap
Definition: Container1D.h:236
double hcaldqm::Container1D::getBinContent ( HcalElectronicsId const &  tid,
int  x 
)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 289 of file Container1D.cc.

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

289  {
290  return _mes[_hashmap.getHash(tid)]->getBinContent(_qx->getBin(x));
291  }
quantity::Quantity * _qx
Definition: Container1D.h:237
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
mapper::HashMapper _hashmap
Definition: Container1D.h:236
double hcaldqm::Container1D::getBinContent ( HcalElectronicsId const &  tid,
double  x 
)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 293 of file Container1D.cc.

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

293  {
294  return _mes[_hashmap.getHash(tid)]->getBinContent(_qx->getBin(x));
295  }
quantity::Quantity * _qx
Definition: Container1D.h:237
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
mapper::HashMapper _hashmap
Definition: Container1D.h:236
virtual double hcaldqm::Container1D::getBinContent ( HcalElectronicsId const &  eid,
int  x,
int   
)
inlinevirtual

Reimplemented in hcaldqm::Container2D.

Definition at line 123 of file Container1D.h.

References getBinContent().

Referenced by getBinContent().

123 { return getBinContent(eid, x); }
virtual double getBinContent(HcalDetId const &)
Definition: Container1D.cc:177
virtual double hcaldqm::Container1D::getBinContent ( HcalElectronicsId const &  eid,
int  x,
double   
)
inlinevirtual

Reimplemented in hcaldqm::Container2D.

Definition at line 124 of file Container1D.h.

References getBinContent().

Referenced by getBinContent().

124 { return getBinContent(eid, x); }
virtual double getBinContent(HcalDetId const &)
Definition: Container1D.cc:177
virtual double hcaldqm::Container1D::getBinContent ( HcalElectronicsId const &  eid,
double  x,
double   
)
inlinevirtual

Reimplemented in hcaldqm::Container2D.

Definition at line 125 of file Container1D.h.

References getBinContent(), getMean(), getRMS(), and setBinContent().

Referenced by getBinContent().

125 { return getBinContent(eid, x); }
virtual double getBinContent(HcalDetId const &)
Definition: Container1D.cc:177
double hcaldqm::Container1D::getBinContent ( HcalTrigTowerDetId const &  tid)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 393 of file Container1D.cc.

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

393  {
394  return _mes[_hashmap.getHash(tid)]->getBinContent(_qx->getBin(tid));
395  }
quantity::Quantity * _qx
Definition: Container1D.h:237
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
mapper::HashMapper _hashmap
Definition: Container1D.h:236
double hcaldqm::Container1D::getBinContent ( HcalTrigTowerDetId const &  tid,
int  x 
)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 397 of file Container1D.cc.

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

397  {
398  return _mes[_hashmap.getHash(tid)]->getBinContent(_qx->getBin(x));
399  }
quantity::Quantity * _qx
Definition: Container1D.h:237
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
mapper::HashMapper _hashmap
Definition: Container1D.h:236
double hcaldqm::Container1D::getBinContent ( HcalTrigTowerDetId const &  tid,
double  x 
)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 401 of file Container1D.cc.

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

401  {
402  return _mes[_hashmap.getHash(tid)]->getBinContent(_qx->getBin(x));
403  }
quantity::Quantity * _qx
Definition: Container1D.h:237
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
mapper::HashMapper _hashmap
Definition: Container1D.h:236
virtual double hcaldqm::Container1D::getBinContent ( HcalTrigTowerDetId const &  tid,
int  x,
int   
)
inlinevirtual

Reimplemented in hcaldqm::Container2D.

Definition at line 162 of file Container1D.h.

References getBinContent().

Referenced by getBinContent().

162 { return getBinContent(tid, x); }
virtual double getBinContent(HcalDetId const &)
Definition: Container1D.cc:177
virtual double hcaldqm::Container1D::getBinContent ( HcalTrigTowerDetId const &  tid,
int  x,
double   
)
inlinevirtual

Reimplemented in hcaldqm::Container2D.

Definition at line 163 of file Container1D.h.

References getBinContent().

Referenced by getBinContent().

163 { return getBinContent(tid, x); }
virtual double getBinContent(HcalDetId const &)
Definition: Container1D.cc:177
virtual double hcaldqm::Container1D::getBinContent ( HcalTrigTowerDetId const &  tid,
double  x,
double   
)
inlinevirtual

Reimplemented in hcaldqm::Container2D.

Definition at line 164 of file Container1D.h.

References getBinContent(), getMean(), getRMS(), and setBinContent().

Referenced by getBinContent().

164 { return getBinContent(tid, x); }
virtual double getBinContent(HcalDetId const &)
Definition: Container1D.cc:177
double hcaldqm::Container1D::getBinEntries ( HcalDetId const &  id)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 165 of file Container1D.cc.

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

Referenced by setBinContent().

165  {
166  return _mes[_hashmap.getHash(id)]->getBinEntries(_qx->getBin(id));
167  }
quantity::Quantity * _qx
Definition: Container1D.h:237
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
mapper::HashMapper _hashmap
Definition: Container1D.h:236
double hcaldqm::Container1D::getBinEntries ( HcalDetId const &  id,
int  x 
)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 169 of file Container1D.cc.

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

169  {
170  return _mes[_hashmap.getHash(id)]->getBinEntries(_qx->getBin(x));
171  }
quantity::Quantity * _qx
Definition: Container1D.h:237
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
mapper::HashMapper _hashmap
Definition: Container1D.h:236
double hcaldqm::Container1D::getBinEntries ( HcalDetId const &  id,
double  x 
)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 173 of file Container1D.cc.

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

173  {
174  return _mes[_hashmap.getHash(id)]->getBinEntries(_qx->getBin(x));
175  }
quantity::Quantity * _qx
Definition: Container1D.h:237
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
mapper::HashMapper _hashmap
Definition: Container1D.h:236
virtual double hcaldqm::Container1D::getBinEntries ( HcalDetId const &  did,
int  x,
int   
)
inlinevirtual

Reimplemented in hcaldqm::Container2D.

Definition at line 77 of file Container1D.h.

References getBinEntries().

Referenced by getBinEntries().

77 { return getBinEntries(did, x); }
virtual double getBinEntries(HcalDetId const &)
Definition: Container1D.cc:165
virtual double hcaldqm::Container1D::getBinEntries ( HcalDetId const &  did,
int  x,
double   
)
inlinevirtual

Reimplemented in hcaldqm::Container2D.

Definition at line 78 of file Container1D.h.

References getBinEntries().

Referenced by getBinEntries().

78 { return getBinEntries(did, x); }
virtual double getBinEntries(HcalDetId const &)
Definition: Container1D.cc:165
virtual double hcaldqm::Container1D::getBinEntries ( HcalDetId const &  did,
double  x,
double   
)
inlinevirtual

Reimplemented in hcaldqm::Container2D.

Definition at line 79 of file Container1D.h.

References getBinContent(), and getBinEntries().

Referenced by getBinEntries().

79 { return getBinEntries(did, x); }
virtual double getBinEntries(HcalDetId const &)
Definition: Container1D.cc:165
double hcaldqm::Container1D::getBinEntries ( HcalElectronicsId const &  id)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 273 of file Container1D.cc.

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

273  {
274  return _mes[_hashmap.getHash(id)]->getBinEntries(_qx->getBin(id));
275  }
quantity::Quantity * _qx
Definition: Container1D.h:237
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
mapper::HashMapper _hashmap
Definition: Container1D.h:236
double hcaldqm::Container1D::getBinEntries ( HcalElectronicsId const &  id,
int  x 
)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 277 of file Container1D.cc.

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

277  {
278  return _mes[_hashmap.getHash(id)]->getBinEntries(_qx->getBin(x));
279  }
quantity::Quantity * _qx
Definition: Container1D.h:237
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
mapper::HashMapper _hashmap
Definition: Container1D.h:236
double hcaldqm::Container1D::getBinEntries ( HcalElectronicsId const &  id,
double  x 
)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 281 of file Container1D.cc.

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

281  {
282  return _mes[_hashmap.getHash(id)]->getBinEntries(_qx->getBin(x));
283  }
quantity::Quantity * _qx
Definition: Container1D.h:237
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
mapper::HashMapper _hashmap
Definition: Container1D.h:236
virtual double hcaldqm::Container1D::getBinEntries ( HcalElectronicsId const &  eid,
int  x,
int   
)
inlinevirtual

Reimplemented in hcaldqm::Container2D.

Definition at line 116 of file Container1D.h.

References getBinEntries().

Referenced by getBinEntries().

116 { return getBinEntries(eid, x); }
virtual double getBinEntries(HcalDetId const &)
Definition: Container1D.cc:165
virtual double hcaldqm::Container1D::getBinEntries ( HcalElectronicsId const &  eid,
int  x,
double   
)
inlinevirtual

Reimplemented in hcaldqm::Container2D.

Definition at line 117 of file Container1D.h.

References getBinEntries().

Referenced by getBinEntries().

117 { return getBinEntries(eid, x); }
virtual double getBinEntries(HcalDetId const &)
Definition: Container1D.cc:165
virtual double hcaldqm::Container1D::getBinEntries ( HcalElectronicsId const &  eid,
double  x,
double   
)
inlinevirtual

Reimplemented in hcaldqm::Container2D.

Definition at line 118 of file Container1D.h.

References getBinContent(), and getBinEntries().

Referenced by getBinEntries().

118 { return getBinEntries(eid, x); }
virtual double getBinEntries(HcalDetId const &)
Definition: Container1D.cc:165
double hcaldqm::Container1D::getBinEntries ( HcalTrigTowerDetId const &  id)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 381 of file Container1D.cc.

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

381  {
382  return _mes[_hashmap.getHash(id)]->getBinEntries(_qx->getBin(id));
383  }
quantity::Quantity * _qx
Definition: Container1D.h:237
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
mapper::HashMapper _hashmap
Definition: Container1D.h:236
double hcaldqm::Container1D::getBinEntries ( HcalTrigTowerDetId const &  id,
int  x 
)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 385 of file Container1D.cc.

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

385  {
386  return _mes[_hashmap.getHash(id)]->getBinEntries(_qx->getBin(x));
387  }
quantity::Quantity * _qx
Definition: Container1D.h:237
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
mapper::HashMapper _hashmap
Definition: Container1D.h:236
double hcaldqm::Container1D::getBinEntries ( HcalTrigTowerDetId const &  id,
double  x 
)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 389 of file Container1D.cc.

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

389  {
390  return _mes[_hashmap.getHash(id)]->getBinEntries(_qx->getBin(x));
391  }
quantity::Quantity * _qx
Definition: Container1D.h:237
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
mapper::HashMapper _hashmap
Definition: Container1D.h:236
virtual double hcaldqm::Container1D::getBinEntries ( HcalTrigTowerDetId const &  tid,
int  x,
int   
)
inlinevirtual

Reimplemented in hcaldqm::Container2D.

Definition at line 155 of file Container1D.h.

References getBinEntries().

Referenced by getBinEntries().

155 { return getBinEntries(tid, x); }
virtual double getBinEntries(HcalDetId const &)
Definition: Container1D.cc:165
virtual double hcaldqm::Container1D::getBinEntries ( HcalTrigTowerDetId const &  tid,
int  x,
double   
)
inlinevirtual

Reimplemented in hcaldqm::Container2D.

Definition at line 156 of file Container1D.h.

References getBinEntries().

Referenced by getBinEntries().

156 { return getBinEntries(tid, x); }
virtual double getBinEntries(HcalDetId const &)
Definition: Container1D.cc:165
virtual double hcaldqm::Container1D::getBinEntries ( HcalTrigTowerDetId const &  tid,
double  x,
double   
)
inlinevirtual

Reimplemented in hcaldqm::Container2D.

Definition at line 157 of file Container1D.h.

References getBinContent(), and getBinEntries().

Referenced by getBinEntries().

157 { return getBinEntries(tid, x); }
virtual double getBinEntries(HcalDetId const &)
Definition: Container1D.cc:165
double hcaldqm::Container1D::getMean ( HcalDetId const &  tid,
int  axis = 1 
)
virtual

Definition at line 189 of file Container1D.cc.

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

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

189  {
190  return _mes[_hashmap.getHash(tid)]->getMean(axis);
191  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
mapper::HashMapper _hashmap
Definition: Container1D.h:236
double hcaldqm::Container1D::getMean ( HcalElectronicsId const &  tid,
int  axis = 1 
)
virtual

Definition at line 297 of file Container1D.cc.

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

297  {
298  return _mes[_hashmap.getHash(tid)]->getMean(axis);
299  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
mapper::HashMapper _hashmap
Definition: Container1D.h:236
double hcaldqm::Container1D::getMean ( HcalTrigTowerDetId const &  tid,
int  axis = 1 
)
virtual

Definition at line 405 of file Container1D.cc.

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

405  {
406  return _mes[_hashmap.getHash(tid)]->getMean(axis);
407  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
mapper::HashMapper _hashmap
Definition: Container1D.h:236
double hcaldqm::Container1D::getRMS ( HcalDetId const &  id,
int  axix = 1 
)
virtual

Definition at line 193 of file Container1D.cc.

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

Referenced by hcaldqm::DigiRunSummary::endLuminosityBlock(), and getBinContent().

193  {
194  return _mes[_hashmap.getHash(id)]->getRMS(axis);
195  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
mapper::HashMapper _hashmap
Definition: Container1D.h:236
double hcaldqm::Container1D::getRMS ( HcalElectronicsId const &  id,
int  axis = 1 
)
virtual

Definition at line 301 of file Container1D.cc.

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

301  {
302  return _mes[_hashmap.getHash(id)]->getRMS(axis);
303  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
mapper::HashMapper _hashmap
Definition: Container1D.h:236
double hcaldqm::Container1D::getRMS ( HcalTrigTowerDetId const &  id,
int  axis = 1 
)
virtual

Definition at line 409 of file Container1D.cc.

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

409  {
410  return _mes[_hashmap.getHash(id)]->getRMS(axis);
411  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
mapper::HashMapper _hashmap
Definition: Container1D.h:236
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

Reimplemented in hcaldqm::ContainerProf1D.

Definition at line 33 of file Container1D.cc.

References _hashmap, _qx, _qy, debug, hcaldqm::quantity::fXAxis, hcaldqm::quantity::fYAxis, hcaldqm::mapper::HashMapper::initialize(), hcaldqm::Container::initialize(), hcaldqm::quantity::Quantity::name(), and hcaldqm::quantity::Quantity::setAxisType().

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

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:27
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:237
#define debug
Definition: HDRShower.cc:19
mapper::HashMapper _hashmap
Definition: Container1D.h:236
quantity::Quantity * _qy
Definition: Container1D.h:238
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

Reimplemented in hcaldqm::ContainerProf1D.

Definition at line 46 of file Container1D.cc.

References _hashmap, _qx, _qy, hcaldqm::quantity::fXAxis, hcaldqm::quantity::fYAxis, hcaldqm::mapper::HashMapper::initialize(), hcaldqm::Container::initialize(), and hcaldqm::quantity::Quantity::setAxisType().

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:27
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:237
#define debug
Definition: HDRShower.cc:19
mapper::HashMapper _hashmap
Definition: Container1D.h:236
quantity::Quantity * _qy
Definition: Container1D.h:238
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.

References hcaldqm::Container::_folder, _hashmap, hcaldqm::Container::_logger, _mes, hcaldqm::Container::_qname, HcalElectronicsMap::allElectronicsIdPrecision(), HcalElectronicsMap::allPrecisionId(), HcalElectronicsMap::allTriggerId(), printConversionInfo::aux, Logger::debug(), runTauDisplay::eid, DQMStore::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(), callgraph::path, and AlCaHLTBitMon_QueryRunRegistry::string.

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

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  }
virtual bool isTHash() const
Definition: HashMapper.h:56
void debug(STDTYPE const &msg) const
Definition: Logger.h:20
virtual std::string getHashTypeName() const
Definition: HashMapper.h:48
MonitorElement * get(std::string const &path)
Definition: DQMStore.cc:303
std::string _folder
Definition: Container.h:34
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
mapper::HashMapper _hashmap
Definition: Container1D.h:236
virtual bool isDHash() const
Definition: HashMapper.h:52
std::string _qname
Definition: Container.h:35
virtual bool isEHash() const
Definition: HashMapper.h:53
Readout chain identification for Hcal.
std::string getName(HcalDetId const &did) const override
Definition: HashMapper.h:39
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.

References hcaldqm::Container::_folder, _hashmap, hcaldqm::Container::_logger, _mes, hcaldqm::Container::_qname, HcalElectronicsMap::allElectronicsIdPrecision(), HcalElectronicsMap::allPrecisionId(), HcalElectronicsMap::allTriggerId(), printConversionInfo::aux, Logger::debug(), runTauDisplay::eid, hcaldqm::filter::HashFilter::filter(), DQMStore::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(), callgraph::path, and AlCaHLTBitMon_QueryRunRegistry::string.

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  }
virtual bool isTHash() const
Definition: HashMapper.h:56
void debug(STDTYPE const &msg) const
Definition: Logger.h:20
virtual std::string getHashTypeName() const
Definition: HashMapper.h:48
MonitorElement * get(std::string const &path)
Definition: DQMStore.cc:303
std::string _folder
Definition: Container.h:34
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
mapper::HashMapper _hashmap
Definition: Container1D.h:236
virtual bool isDHash() const
Definition: HashMapper.h:52
std::string _qname
Definition: Container.h:35
virtual bool isEHash() const
Definition: HashMapper.h:53
Readout chain identification for Hcal.
std::string getName(HcalDetId const &did) const override
Definition: HashMapper.h:39
void hcaldqm::Container1D::print ( void  )
virtual

Definition at line 66 of file Container1D.cc.

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

Referenced by setBinContent().

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  }
virtual std::string getHashTypeName() const
Definition: HashMapper.h:48
mapper::HashMapper _hashmap
Definition: Container1D.h:236
void hcaldqm::Container1D::reset ( void  )
virtual

Definition at line 60 of file Container1D.cc.

References _mes.

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

60  {
61  for (auto const &pair : _mes) {
62  pair.second->Reset();
63  }
64  }
void hcaldqm::Container1D::setBinContent ( HcalDetId const &  id,
int  x 
)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 198 of file Container1D.cc.

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

Referenced by getBinContent().

198  {
199  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(id), x);
200  }
quantity::Quantity * _qx
Definition: Container1D.h:237
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
mapper::HashMapper _hashmap
Definition: Container1D.h:236
void hcaldqm::Container1D::setBinContent ( HcalDetId const &  id,
double  x 
)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 201 of file Container1D.cc.

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

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

Reimplemented in hcaldqm::Container2D.

Definition at line 204 of file Container1D.cc.

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

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  }
quantity::Quantity * _qx
Definition: Container1D.h:237
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
mapper::HashMapper _hashmap
Definition: Container1D.h:236
virtual QuantityType type()
Definition: Quantity.h:33
void hcaldqm::Container1D::setBinContent ( HcalDetId const &  id,
int  x,
double  y 
)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 211 of file Container1D.cc.

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

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  }
quantity::Quantity * _qx
Definition: Container1D.h:237
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
mapper::HashMapper _hashmap
Definition: Container1D.h:236
virtual QuantityType type()
Definition: Quantity.h:33
void hcaldqm::Container1D::setBinContent ( HcalDetId const &  id,
double  x,
double  y 
)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 225 of file Container1D.cc.

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

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  }
quantity::Quantity * _qx
Definition: Container1D.h:237
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
mapper::HashMapper _hashmap
Definition: Container1D.h:236
virtual QuantityType type()
Definition: Quantity.h:33
void hcaldqm::Container1D::setBinContent ( HcalDetId const &  id,
double  x,
int  y 
)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 218 of file Container1D.cc.

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

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  }
quantity::Quantity * _qx
Definition: Container1D.h:237
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
mapper::HashMapper _hashmap
Definition: Container1D.h:236
virtual QuantityType type()
Definition: Quantity.h:33
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.

References setBinContent().

Referenced by setBinContent().

96 { setBinContent(id, x, y); }
virtual void setBinContent(HcalDetId const &, int)
Definition: Container1D.cc:198
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.

References setBinContent().

Referenced by setBinContent().

97 { setBinContent(id, x, y); }
virtual void setBinContent(HcalDetId const &, int)
Definition: Container1D.cc:198
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.

References setBinContent().

Referenced by setBinContent().

98 { setBinContent(id, x, y); }
virtual void setBinContent(HcalDetId const &, int)
Definition: Container1D.cc:198
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.

References setBinContent().

Referenced by setBinContent().

99 { setBinContent(id, x, y); }
virtual void setBinContent(HcalDetId const &, int)
Definition: Container1D.cc:198
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.

References setBinContent().

Referenced by setBinContent().

100 { setBinContent(id, x, y); }
virtual void setBinContent(HcalDetId const &, int)
Definition: Container1D.cc:198
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.

References setBinContent().

Referenced by setBinContent().

101 { setBinContent(id, x, y); }
virtual void setBinContent(HcalDetId const &, int)
Definition: Container1D.cc:198
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.

References setBinContent().

Referenced by setBinContent().

102 { setBinContent(id, x, y); }
virtual void setBinContent(HcalDetId const &, int)
Definition: Container1D.cc:198
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.

References fill(), getBinEntries(), and setBinContent().

Referenced by setBinContent().

103 { setBinContent(id, x, y); }
virtual void setBinContent(HcalDetId const &, int)
Definition: Container1D.cc:198
void hcaldqm::Container1D::setBinContent ( HcalElectronicsId const &  id,
int  x 
)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 306 of file Container1D.cc.

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

306  {
307  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(id), x);
308  }
quantity::Quantity * _qx
Definition: Container1D.h:237
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
mapper::HashMapper _hashmap
Definition: Container1D.h:236
void hcaldqm::Container1D::setBinContent ( HcalElectronicsId const &  id,
double  x 
)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 309 of file Container1D.cc.

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

309  {
310  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(id), x);
311  }
quantity::Quantity * _qx
Definition: Container1D.h:237
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
mapper::HashMapper _hashmap
Definition: Container1D.h:236
void hcaldqm::Container1D::setBinContent ( HcalElectronicsId const &  id,
int  x,
int  y 
)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 312 of file Container1D.cc.

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

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  }
quantity::Quantity * _qx
Definition: Container1D.h:237
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
mapper::HashMapper _hashmap
Definition: Container1D.h:236
virtual QuantityType type()
Definition: Quantity.h:33
void hcaldqm::Container1D::setBinContent ( HcalElectronicsId const &  id,
int  x,
double  y 
)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 319 of file Container1D.cc.

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

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  }
quantity::Quantity * _qx
Definition: Container1D.h:237
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
mapper::HashMapper _hashmap
Definition: Container1D.h:236
virtual QuantityType type()
Definition: Quantity.h:33
void hcaldqm::Container1D::setBinContent ( HcalElectronicsId const &  id,
double  x,
double  y 
)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 333 of file Container1D.cc.

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

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  }
quantity::Quantity * _qx
Definition: Container1D.h:237
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
mapper::HashMapper _hashmap
Definition: Container1D.h:236
virtual QuantityType type()
Definition: Quantity.h:33
void hcaldqm::Container1D::setBinContent ( HcalElectronicsId const &  id,
double  x,
int  y 
)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 326 of file Container1D.cc.

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

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  }
quantity::Quantity * _qx
Definition: Container1D.h:237
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
mapper::HashMapper _hashmap
Definition: Container1D.h:236
virtual QuantityType type()
Definition: Quantity.h:33
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.

References setBinContent().

Referenced by setBinContent().

135 { setBinContent(id, x, y); }
virtual void setBinContent(HcalDetId const &, int)
Definition: Container1D.cc:198
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.

References setBinContent().

Referenced by setBinContent().

136 { setBinContent(id, x, y); }
virtual void setBinContent(HcalDetId const &, int)
Definition: Container1D.cc:198
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.

References setBinContent().

Referenced by setBinContent().

137 { setBinContent(id, x, y); }
virtual void setBinContent(HcalDetId const &, int)
Definition: Container1D.cc:198
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.

References setBinContent().

Referenced by setBinContent().

138 { setBinContent(id, x, y); }
virtual void setBinContent(HcalDetId const &, int)
Definition: Container1D.cc:198
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.

References setBinContent().

Referenced by setBinContent().

139 { setBinContent(id, x, y); }
virtual void setBinContent(HcalDetId const &, int)
Definition: Container1D.cc:198
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.

References setBinContent().

Referenced by setBinContent().

140 { setBinContent(id, x, y); }
virtual void setBinContent(HcalDetId const &, int)
Definition: Container1D.cc:198
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.

References setBinContent().

Referenced by setBinContent().

141 { setBinContent(id, x, y); }
virtual void setBinContent(HcalDetId const &, int)
Definition: Container1D.cc:198
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.

References fill(), getBinEntries(), and setBinContent().

Referenced by setBinContent().

142 { setBinContent(id, x, y); }
virtual void setBinContent(HcalDetId const &, int)
Definition: Container1D.cc:198
void hcaldqm::Container1D::setBinContent ( HcalTrigTowerDetId const &  id,
int  x 
)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 414 of file Container1D.cc.

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

414  {
415  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(id), x);
416  }
quantity::Quantity * _qx
Definition: Container1D.h:237
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
mapper::HashMapper _hashmap
Definition: Container1D.h:236
void hcaldqm::Container1D::setBinContent ( HcalTrigTowerDetId const &  id,
double  x 
)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 417 of file Container1D.cc.

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

417  {
418  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(id), x);
419  }
quantity::Quantity * _qx
Definition: Container1D.h:237
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
mapper::HashMapper _hashmap
Definition: Container1D.h:236
void hcaldqm::Container1D::setBinContent ( HcalTrigTowerDetId const &  id,
int  x,
int  y 
)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 420 of file Container1D.cc.

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

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  }
quantity::Quantity * _qx
Definition: Container1D.h:237
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
mapper::HashMapper _hashmap
Definition: Container1D.h:236
virtual QuantityType type()
Definition: Quantity.h:33
void hcaldqm::Container1D::setBinContent ( HcalTrigTowerDetId const &  id,
int  x,
double  y 
)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 427 of file Container1D.cc.

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

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  }
quantity::Quantity * _qx
Definition: Container1D.h:237
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
mapper::HashMapper _hashmap
Definition: Container1D.h:236
virtual QuantityType type()
Definition: Quantity.h:33
void hcaldqm::Container1D::setBinContent ( HcalTrigTowerDetId const &  id,
double  x,
double  y 
)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 441 of file Container1D.cc.

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

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  }
quantity::Quantity * _qx
Definition: Container1D.h:237
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
mapper::HashMapper _hashmap
Definition: Container1D.h:236
virtual QuantityType type()
Definition: Quantity.h:33
void hcaldqm::Container1D::setBinContent ( HcalTrigTowerDetId const &  id,
double  x,
int  y 
)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 434 of file Container1D.cc.

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

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  }
quantity::Quantity * _qx
Definition: Container1D.h:237
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:39
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:29
mapper::HashMapper _hashmap
Definition: Container1D.h:236
virtual QuantityType type()
Definition: Quantity.h:33
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.

References setBinContent().

Referenced by setBinContent().

174 { setBinContent(id, x, y); }
virtual void setBinContent(HcalDetId const &, int)
Definition: Container1D.cc:198
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.

References setBinContent().

Referenced by setBinContent().

175 { setBinContent(id, x, y); }
virtual void setBinContent(HcalDetId const &, int)
Definition: Container1D.cc:198
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.

References setBinContent().

Referenced by setBinContent().

176 { setBinContent(id, x, y); }
virtual void setBinContent(HcalDetId const &, int)
Definition: Container1D.cc:198
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.

References setBinContent().

Referenced by setBinContent().

177 { setBinContent(id, x, y); }
virtual void setBinContent(HcalDetId const &, int)
Definition: Container1D.cc:198
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.

References setBinContent().

Referenced by setBinContent().

178 { setBinContent(id, x, y); }
virtual void setBinContent(HcalDetId const &, int)
Definition: Container1D.cc:198
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.

References setBinContent().

Referenced by setBinContent().

179 { setBinContent(id, x, y); }
virtual void setBinContent(HcalDetId const &, int)
Definition: Container1D.cc:198
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.

References setBinContent().

Referenced by setBinContent().

180 { setBinContent(id, x, y); }
virtual void setBinContent(HcalDetId const &, int)
Definition: Container1D.cc:198
virtual void hcaldqm::Container1D::setBinContent ( HcalTrigTowerDetId const &  id,
double  x,
double  y,
double   
)
inlinevirtual
void hcaldqm::Container1D::setLumiFlag ( )
virtual

Definition at line 769 of file Container1D.cc.

References _mes.

Referenced by RawTask::bookHistograms(), DigiPhase1Task::bookHistograms(), DigiTask::bookHistograms(), and setBinContent().

769  {
770  for (auto const &pair : _mes) {
771  pair.second->setLumiFlag();
772  }
773  }
void hcaldqm::Container1D::showOverflowX ( bool  showOverflow)
virtual

Definition at line 775 of file Container1D.cc.

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

Referenced by LaserTask::bookHistograms(), and setBinContent().

775 { _qx->showOverflow(showOverflow); }
quantity::Quantity * _qx
Definition: Container1D.h:237
virtual void showOverflow(bool showOverflow)
Definition: Quantity.h:68
void hcaldqm::Container1D::showOverflowY ( bool  showOverflow)
virtual

Definition at line 777 of file Container1D.cc.

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

Referenced by LaserTask::bookHistograms(), and setBinContent().

777 { _qy->showOverflow(showOverflow); }
virtual void showOverflow(bool showOverflow)
Definition: Quantity.h:68
quantity::Quantity * _qy
Definition: Container1D.h:238

Member Data Documentation

mapper::HashMapper hcaldqm::Container1D::_hashmap
protected
MEMap hcaldqm::Container1D::_mes
protected
quantity::Quantity* hcaldqm::Container1D::_qx
protected
quantity::Quantity* hcaldqm::Container1D::_qy
protected