CMS 3D CMS Logo

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

#include <Container2D.h>

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

Public Member Functions

void book (DQMStore::IBooker &, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="") override
 
void book (DQMStore::IBooker &, HcalElectronicsMap const *, filter::HashFilter const &, std::string subsystem="Hcal", std::string aux="") override
 
void book (DQMStore *, HcalElectronicsMap const *, std::string subsystem="Hcal", std::string aux="") override
 
void book (DQMStore *, HcalElectronicsMap const *, filter::HashFilter const &, std::string subsystem="Hcal", std::string aux="") override
 
 Container2D ()
 
 Container2D (std::string const &folder, hashfunctions::HashType, Quantity *, Quantity *, Quantity *qz=new ValueQuantity(quantity::fN))
 
void fill (HcalDetId const &) override
 
void fill (HcalDetId const &, int) override
 
void fill (HcalDetId const &, double) override
 
void fill (HcalDetId const &, int, double) override
 
void fill (HcalDetId const &, int, int) override
 
void fill (HcalDetId const &, double, double) override
 
void fill (HcalElectronicsId const &) override
 
void fill (HcalElectronicsId const &, int) override
 
void fill (HcalElectronicsId const &, double) override
 
void fill (HcalElectronicsId const &, int, double) override
 
void fill (HcalElectronicsId const &, int, int) override
 
void fill (HcalElectronicsId const &, double, double) override
 
void fill (HcalTrigTowerDetId const &) override
 
void fill (HcalTrigTowerDetId const &, int) override
 
void fill (HcalTrigTowerDetId const &, double) override
 
void fill (HcalTrigTowerDetId const &, int, int) override
 
void fill (HcalTrigTowerDetId const &, int, double) override
 
void fill (HcalTrigTowerDetId const &, double, double) override
 
double getBinContent (HcalDetId const &) override
 
double getBinContent (HcalDetId const &, int) override
 
double getBinContent (HcalDetId const &, double) override
 
double getBinContent (HcalDetId const &, int, int) override
 
double getBinContent (HcalDetId const &, int, double) override
 
double getBinContent (HcalDetId const &, double, double) override
 
double getBinContent (HcalElectronicsId const &) override
 
double getBinContent (HcalElectronicsId const &, int) override
 
double getBinContent (HcalElectronicsId const &, double) override
 
double getBinContent (HcalElectronicsId const &, int, int) override
 
double getBinContent (HcalElectronicsId const &, int, double) override
 
double getBinContent (HcalElectronicsId const &, double, double) override
 
double getBinContent (HcalTrigTowerDetId const &) override
 
double getBinContent (HcalTrigTowerDetId const &, int) override
 
double getBinContent (HcalTrigTowerDetId const &, double) override
 
double getBinContent (HcalTrigTowerDetId const &, int, int) override
 
double getBinContent (HcalTrigTowerDetId const &, int, double) override
 
double getBinContent (HcalTrigTowerDetId const &, double, double) override
 
double getBinEntries (HcalDetId const &) override
 
double getBinEntries (HcalDetId const &, int) override
 
double getBinEntries (HcalDetId const &, double) override
 
double getBinEntries (HcalDetId const &, int, int) override
 
double getBinEntries (HcalDetId const &, int, double) override
 
double getBinEntries (HcalDetId const &, double, double) override
 
double getBinEntries (HcalElectronicsId const &) override
 
double getBinEntries (HcalElectronicsId const &, int) override
 
double getBinEntries (HcalElectronicsId const &, double) override
 
double getBinEntries (HcalElectronicsId const &, int, int) override
 
double getBinEntries (HcalElectronicsId const &, int, double) override
 
double getBinEntries (HcalElectronicsId const &, double, double) override
 
double getBinEntries (HcalTrigTowerDetId const &) override
 
double getBinEntries (HcalTrigTowerDetId const &, int) override
 
double getBinEntries (HcalTrigTowerDetId const &, double) override
 
double getBinEntries (HcalTrigTowerDetId const &, int, int) override
 
double getBinEntries (HcalTrigTowerDetId const &, int, double) override
 
double getBinEntries (HcalTrigTowerDetId const &, double, double) override
 
virtual void initialize (std::string const &folder, hashfunctions::HashType, Quantity *, Quantity *, Quantity *qz=new ValueQuantity(quantity::fN), int debug=0)
 
virtual void initialize (std::string const &folder, std::string const &qname, hashfunctions::HashType, Quantity *, Quantity *, Quantity *qz=new ValueQuantity(quantity::fN), int debug=0)
 
void setBinContent (HcalDetId const &, int) override
 
void setBinContent (HcalDetId const &, double) override
 
void setBinContent (HcalDetId const &, int, int) override
 
void setBinContent (HcalDetId const &, int, double) override
 
void setBinContent (HcalDetId const &, double, int) override
 
void setBinContent (HcalDetId const &, double, double) override
 
void setBinContent (HcalDetId const &, int, int, int) override
 
void setBinContent (HcalDetId const &, int, double, int) override
 
void setBinContent (HcalDetId const &, double, int, int) override
 
void setBinContent (HcalDetId const &, double, double, int) override
 
void setBinContent (HcalDetId const &, int, int, double) override
 
void setBinContent (HcalDetId const &, int, double, double) override
 
void setBinContent (HcalDetId const &, double, int, double) override
 
void setBinContent (HcalDetId const &, double, double, double) override
 
void setBinContent (HcalElectronicsId const &, int) override
 
void setBinContent (HcalElectronicsId const &, double) override
 
void setBinContent (HcalElectronicsId const &, int, int) override
 
void setBinContent (HcalElectronicsId const &, int, double) override
 
void setBinContent (HcalElectronicsId const &, double, int) override
 
void setBinContent (HcalElectronicsId const &, double, double) override
 
void setBinContent (HcalElectronicsId const &, int, int, int) override
 
void setBinContent (HcalElectronicsId const &, int, double, int) override
 
void setBinContent (HcalElectronicsId const &, double, int, int) override
 
void setBinContent (HcalElectronicsId const &, double, double, int) override
 
void setBinContent (HcalElectronicsId const &, int, int, double) override
 
void setBinContent (HcalElectronicsId const &, int, double, double) override
 
void setBinContent (HcalElectronicsId const &, double, int, double) override
 
void setBinContent (HcalElectronicsId const &, double, double, double) override
 
void setBinContent (HcalTrigTowerDetId const &, int) override
 
void setBinContent (HcalTrigTowerDetId const &, double) override
 
void setBinContent (HcalTrigTowerDetId const &, int, int) override
 
void setBinContent (HcalTrigTowerDetId const &, int, double) override
 
void setBinContent (HcalTrigTowerDetId const &, double, int) override
 
void setBinContent (HcalTrigTowerDetId const &, double, double) override
 
void setBinContent (HcalTrigTowerDetId const &, int, int, int) override
 
void setBinContent (HcalTrigTowerDetId const &, int, double, int) override
 
void setBinContent (HcalTrigTowerDetId const &, double, int, int) override
 
void setBinContent (HcalTrigTowerDetId const &, double, double, int) override
 
void setBinContent (HcalTrigTowerDetId const &, int, int, double) override
 
void setBinContent (HcalTrigTowerDetId const &, int, double, double) override
 
void setBinContent (HcalTrigTowerDetId const &, double, int, double) override
 
void setBinContent (HcalTrigTowerDetId const &, double, double, double) override
 
 ~Container2D () override
 
- Public Member Functions inherited from hcaldqm::Container1D
 Container1D ()
 
 Container1D (std::string const &folder, hashfunctions::HashType, Quantity *, Quantity *qy=new ValueQuantity(quantity::fN))
 
virtual void extendAxisRange (int)
 
virtual void fill (uint32_t)
 
virtual void fill (uint32_t, int)
 
virtual void fill (uint32_t, double)
 
virtual void fill (uint32_t, int, double)
 
virtual void fill (uint32_t, int, int)
 
virtual void fill (uint32_t, double, double)
 
virtual double getMean (HcalDetId const &, int axis=1)
 
virtual double getMean (HcalElectronicsId const &, int axis=1)
 
virtual double getMean (HcalTrigTowerDetId const &, int axis=1)
 
virtual double getRMS (HcalDetId const &, int axix=1)
 
virtual double getRMS (HcalElectronicsId const &, int axis=1)
 
virtual double getRMS (HcalTrigTowerDetId const &, int axis=1)
 
virtual void initialize (std::string const &folder, hashfunctions::HashType, Quantity *, Quantity *qy=new ValueQuantity(quantity::fN), int debug=0)
 
virtual void initialize (std::string const &folder, std::string const &qname, hashfunctions::HashType, Quantity *, Quantity *qy=new ValueQuantity(quantity::fN), int debug=0)
 
virtual void load (DQMStore *, HcalElectronicsMap const *, std::string const &subsystem="Hcal", std::string const &aux="", std::string const &prepend="", DQMStore::OpenRunDirs mode=DQMStore::StripRunDirs)
 
virtual void load (DQMStore *, HcalElectronicsMap const *, filter::HashFilter const &, std::string const &subsystem="Hcal", std::string const &aux="", std::string const &prepend="", DQMStore::OpenRunDirs mode=DQMStore::StripRunDirs)
 
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 setLumiFlag ()
 
 ~Container1D () override
 
- Public Member Functions inherited from hcaldqm::Container
 Container ()
 
 Container (std::string const &folder, std::string const &qname)
 
virtual void initialize (std::string const &folder, std::string const &qname, int debug=0)
 
virtual ~Container ()
 

Protected Member Functions

void customize (MonitorElement *) override
 

Protected Attributes

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

Additional Inherited Members

- Protected Types inherited from hcaldqm::Container1D
typedef boost::unordered_map< uint32_t, MonitorElement * > MEMap
 

Detailed Description

Definition at line 20 of file Container2D.h.

Constructor & Destructor Documentation

hcaldqm::Container2D::Container2D ( )

Definition at line 11 of file Container2D.cc.

11  :
12  _qz(nullptr)
13  {}
hcaldqm::Container2D::Container2D ( std::string const &  folder,
hashfunctions::HashType  hashtype,
Quantity qx,
Quantity qy,
Quantity qz = new ValueQuantity(quantity::fN) 
)
hcaldqm::Container2D::~Container2D ( )
override

Definition at line 25 of file Container2D.cc.

References _qz.

26  {
27  if (_qz!=nullptr)
28  delete _qz;
29  _qz = nullptr;
30  }

Member Function Documentation

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

Reimplemented from hcaldqm::Container1D.

Reimplemented in hcaldqm::ContainerProf2D.

Definition at line 895 of file Container2D.cc.

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

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

898  {
899 
900  // full path as in Container1D.cc
901  //
902  ib.setCurrentFolder(subsystem+"/"+_folder+"/"+_qname+
903  (aux==""?aux:"_"+aux)+"/"+_hashmap.getHashTypeName());
904  if (_hashmap.isDHash())
905  {
906  // for Detector Hashes
907  std::vector<HcalGenericDetId> dids = emap->allPrecisionId();
908  for (std::vector<HcalGenericDetId>::const_iterator it=
909  dids.begin(); it!=dids.end(); ++it)
910  {
911  // skip trigger towers and calib
912  if (!it->isHcalDetId())
913  continue;
914 
915  HcalDetId did = HcalDetId(it->rawId());
916  uint32_t hash = _hashmap.getHash(did);
917  MEMap::iterator mit = _mes.find(hash);
918  if (mit!=_mes.end())
919  continue;
920 
922  _mes.insert(
923  std::make_pair(hash, ib.book2D(_hashmap.getName(did),
924  _hashmap.getName(did), _qx->nbins(), _qx->min(),
925  _qx->max(), _qy->nbins(), _qy->min(), _qy->max())));
926  customize(_mes[hash]);
927  }
928  }
929  else if (_hashmap.isEHash())
930  {
931  // for Electronics hashes
932  std::vector<HcalElectronicsId> eids =
933  emap->allElectronicsIdPrecision();
934  for (std::vector<HcalElectronicsId>::const_iterator it=
935  eids.begin(); it!=eids.end(); ++it)
936  {
937  HcalElectronicsId eid = HcalElectronicsId(it->rawId());
938  uint32_t hash = _hashmap.getHash(eid);
939  MEMap::iterator mit = _mes.find(hash);
940  if (mit!=_mes.end())
941  continue;
942 
944  _mes.insert(
945  std::make_pair(hash, ib.book2D(_hashmap.getName(eid),
946  _hashmap.getName(eid), _qx->nbins(), _qx->min(),
947  _qx->max(), _qy->nbins(), _qy->min(), _qy->max())));
948  customize(_mes[hash]);
949  }
950  }
951  else if (_hashmap.isTHash())
952  {
953  // for TrigTower hashes
954  std::vector<HcalTrigTowerDetId> tids =
955  emap->allTriggerId();
956  for (std::vector<HcalTrigTowerDetId>::const_iterator it=
957  tids.begin(); it!=tids.end(); ++it)
958  {
959  HcalTrigTowerDetId tid = HcalTrigTowerDetId(it->rawId());
961  uint32_t hash = _hashmap.getHash(tid);
962  MEMap::iterator mit = _mes.find(hash);
963  if (mit!=_mes.end())
964  continue;
965 
967  _mes.insert(
968  std::make_pair(hash, ib.book2D(_hashmap.getName(tid),
969  _hashmap.getName(tid), _qx->nbins(), _qx->min(),
970  _qx->max(), _qy->nbins(), _qy->min(), _qy->max())));
971 
972  customize(_mes[hash]);
973  }
974  }
975  }
void customize(MonitorElement *) override
virtual bool isTHash() const
Definition: HashMapper.h:64
virtual double max()
Definition: Quantity.h:76
void debug(STDTYPE const &msg) const
Definition: Logger.h:31
virtual std::string getHashTypeName() const
Definition: HashMapper.h:51
std::string _folder
Definition: Container.h:42
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:34
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:277
MonitorElement * book2D(Args &&...args)
Definition: DQMStore.h:133
mapper::HashMapper _hashmap
Definition: Container1D.h:331
virtual double min()
Definition: Quantity.h:75
virtual bool isDHash() const
Definition: HashMapper.h:57
std::string _qname
Definition: Container.h:43
virtual bool isEHash() const
Definition: HashMapper.h:59
Readout chain identification for Hcal.
std::string getName(HcalDetId const &did) const override
Definition: HashMapper.h:43
void hcaldqm::Container2D::book ( DQMStore::IBooker ib,
HcalElectronicsMap const *  emap,
filter::HashFilter const &  filter,
std::string  subsystem = "Hcal",
std::string  aux = "" 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Reimplemented in hcaldqm::ContainerProf2D.

Definition at line 977 of file Container2D.cc.

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

980  {
981 
982  // full path as in Container1D.cc
983  //
984  ib.setCurrentFolder(subsystem+"/"+_folder+"/"+_qname+
985  (aux==""?aux:"_"+aux)+"/"+_hashmap.getHashTypeName());
986  if (_hashmap.isDHash())
987  {
988  // for Detector Hashes
989  std::vector<HcalGenericDetId> dids = emap->allPrecisionId();
990  for (std::vector<HcalGenericDetId>::const_iterator it=
991  dids.begin(); it!=dids.end(); ++it)
992  {
993  // skip trigger towers and calib
994  if (!it->isHcalDetId())
995  continue;
996 
997  HcalDetId did = HcalDetId(it->rawId());
998  uint32_t hash = _hashmap.getHash(did);
999  MEMap::iterator mit = _mes.find(hash);
1000  if (mit!=_mes.end())
1001  continue;
1002  if (filter.filter(did))
1003  continue;
1004 
1005  _logger.debug(_hashmap.getName(did));
1006  _mes.insert(
1007  std::make_pair(hash, ib.book2D(_hashmap.getName(did),
1008  _hashmap.getName(did), _qx->nbins(), _qx->min(),
1009  _qx->max(), _qy->nbins(), _qy->min(), _qy->max())));
1010  customize(_mes[hash]);
1011  }
1012  }
1013  else if (_hashmap.isEHash())
1014  {
1015  // for Electronics hashes
1016  std::vector<HcalElectronicsId> eids =
1017  emap->allElectronicsIdPrecision();
1018  for (std::vector<HcalElectronicsId>::const_iterator it=
1019  eids.begin(); it!=eids.end(); ++it)
1020  {
1021  HcalElectronicsId eid = HcalElectronicsId(it->rawId());
1022  uint32_t hash = _hashmap.getHash(eid);
1023  MEMap::iterator mit = _mes.find(hash);
1024  if (mit!=_mes.end())
1025  continue;
1026  if (filter.filter(eid))
1027  continue;
1028 
1029  _logger.debug(_hashmap.getName(eid));
1030  _mes.insert(
1031  std::make_pair(hash, ib.book2D(_hashmap.getName(eid),
1032  _hashmap.getName(eid), _qx->nbins(), _qx->min(),
1033  _qx->max(), _qy->nbins(), _qy->min(), _qy->max())));
1034  customize(_mes[hash]);
1035  }
1036  }
1037  else if (_hashmap.isTHash())
1038  {
1039  // for TrigTower hashes
1040  std::vector<HcalTrigTowerDetId> tids =
1041  emap->allTriggerId();
1042  for (std::vector<HcalTrigTowerDetId>::const_iterator it=
1043  tids.begin(); it!=tids.end(); ++it)
1044  {
1045  HcalTrigTowerDetId tid = HcalTrigTowerDetId(it->rawId());
1046  _logger.debug(_hashmap.getName(tid));
1047  uint32_t hash = _hashmap.getHash(tid);
1048  MEMap::iterator mit = _mes.find(hash);
1049  if (mit!=_mes.end())
1050  continue;
1051  if (filter.filter(tid))
1052  continue;
1053 
1054  _logger.debug(_hashmap.getName(tid));
1055  _mes.insert(
1056  std::make_pair(hash, ib.book2D(_hashmap.getName(tid),
1057  _hashmap.getName(tid), _qx->nbins(), _qx->min(),
1058  _qx->max(), _qy->nbins(), _qy->min(), _qy->max())));
1059 
1060  customize(_mes[hash]);
1061  }
1062  }
1063  }
void customize(MonitorElement *) override
virtual bool isTHash() const
Definition: HashMapper.h:64
virtual double max()
Definition: Quantity.h:76
void debug(STDTYPE const &msg) const
Definition: Logger.h:31
virtual std::string getHashTypeName() const
Definition: HashMapper.h:51
std::string _folder
Definition: Container.h:42
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:34
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:277
MonitorElement * book2D(Args &&...args)
Definition: DQMStore.h:133
mapper::HashMapper _hashmap
Definition: Container1D.h:331
virtual double min()
Definition: Quantity.h:75
virtual bool isDHash() const
Definition: HashMapper.h:57
std::string _qname
Definition: Container.h:43
virtual bool isEHash() const
Definition: HashMapper.h:59
Readout chain identification for Hcal.
std::string getName(HcalDetId const &did) const override
Definition: HashMapper.h:43
void hcaldqm::Container2D::book ( DQMStore store,
HcalElectronicsMap const *  emap,
std::string  subsystem = "Hcal",
std::string  aux = "" 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Reimplemented in hcaldqm::ContainerProf2D.

Definition at line 1065 of file Container2D.cc.

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

1068  {
1069 
1070  // full path as in Container1D.cc
1071  //
1072  store->setCurrentFolder(subsystem+"/"+_folder+"/"+_qname+
1073  (aux==""?aux:"_"+aux)+"/"+_hashmap.getHashTypeName());
1074  if (_hashmap.isDHash())
1075  {
1076  // for Detector Hashes
1077  std::vector<HcalGenericDetId> dids = emap->allPrecisionId();
1078  for (std::vector<HcalGenericDetId>::const_iterator it=
1079  dids.begin(); it!=dids.end(); ++it)
1080  {
1081  // skip trigger towers and calib
1082  if (!it->isHcalDetId())
1083  continue;
1084 
1085  HcalDetId did = HcalDetId(it->rawId());
1086  uint32_t hash = _hashmap.getHash(did);
1087  MEMap::iterator mit = _mes.find(hash);
1088  if (mit!=_mes.end())
1089  continue;
1090 
1091  _logger.debug(_hashmap.getName(did));
1092  _mes.insert(
1093  std::make_pair(hash, store->book2D(_hashmap.getName(did),
1094  _hashmap.getName(did), _qx->nbins(), _qx->min(),
1095  _qx->max(), _qy->nbins(), _qy->min(), _qy->max())));
1096  customize(_mes[hash]);
1097  }
1098  }
1099  else if (_hashmap.isEHash())
1100  {
1101  // for Electronics hashes
1102  std::vector<HcalElectronicsId> eids =
1103  emap->allElectronicsIdPrecision();
1104  for (std::vector<HcalElectronicsId>::const_iterator it=
1105  eids.begin(); it!=eids.end(); ++it)
1106  {
1107  HcalElectronicsId eid = HcalElectronicsId(it->rawId());
1108  uint32_t hash = _hashmap.getHash(eid);
1109  MEMap::iterator mit = _mes.find(hash);
1110  if (mit!=_mes.end())
1111  continue;
1112 
1113  _logger.debug(_hashmap.getName(eid));
1114  _mes.insert(
1115  std::make_pair(hash, store->book2D(_hashmap.getName(eid),
1116  _hashmap.getName(eid), _qx->nbins(), _qx->min(),
1117  _qx->max(), _qy->nbins(), _qy->min(), _qy->max())));
1118  customize(_mes[hash]);
1119  }
1120  }
1121  else if (_hashmap.isTHash())
1122  {
1123  // for TrigTower hashes
1124  std::vector<HcalTrigTowerDetId> tids =
1125  emap->allTriggerId();
1126  for (std::vector<HcalTrigTowerDetId>::const_iterator it=
1127  tids.begin(); it!=tids.end(); ++it)
1128  {
1129  HcalTrigTowerDetId tid = HcalTrigTowerDetId(it->rawId());
1130  _logger.debug(_hashmap.getName(tid));
1131  uint32_t hash = _hashmap.getHash(tid);
1132  MEMap::iterator mit = _mes.find(hash);
1133  if (mit!=_mes.end())
1134  continue;
1135 
1136  _logger.debug(_hashmap.getName(tid));
1137  _mes.insert(
1138  std::make_pair(hash, store->book2D(_hashmap.getName(tid),
1139  _hashmap.getName(tid), _qx->nbins(), _qx->min(),
1140  _qx->max(), _qy->nbins(), _qy->min(), _qy->max())));
1141 
1142  customize(_mes[hash]);
1143  }
1144  }
1145  }
void customize(MonitorElement *) override
virtual bool isTHash() const
Definition: HashMapper.h:64
virtual double max()
Definition: Quantity.h:76
void debug(STDTYPE const &msg) const
Definition: Logger.h:31
virtual std::string getHashTypeName() const
Definition: HashMapper.h:51
std::string _folder
Definition: Container.h:42
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:34
mapper::HashMapper _hashmap
Definition: Container1D.h:331
virtual double min()
Definition: Quantity.h:75
virtual bool isDHash() const
Definition: HashMapper.h:57
std::string _qname
Definition: Container.h:43
virtual bool isEHash() const
Definition: HashMapper.h:59
MonitorElement * book2D(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY)
Book 2D histogram.
Definition: DQMStore.cc:1163
Readout chain identification for Hcal.
std::string getName(HcalDetId const &did) const override
Definition: HashMapper.h:43
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:741
void hcaldqm::Container2D::book ( DQMStore store,
HcalElectronicsMap const *  emap,
filter::HashFilter const &  filter,
std::string  subsystem = "Hcal",
std::string  aux = "" 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Reimplemented in hcaldqm::ContainerProf2D.

Definition at line 1147 of file Container2D.cc.

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

1150  {
1151 
1152  // full path as in Container1D.cc
1153  //
1154  store->setCurrentFolder(subsystem+"/"+_folder+"/"+_qname+
1155  (aux==""?aux:"_"+aux)+"/"+_hashmap.getHashTypeName());
1156  if (_hashmap.isDHash())
1157  {
1158  // for Detector Hashes
1159  std::vector<HcalGenericDetId> dids = emap->allPrecisionId();
1160  for (std::vector<HcalGenericDetId>::const_iterator it=
1161  dids.begin(); it!=dids.end(); ++it)
1162  {
1163  // skip trigger towers and calib
1164  if (!it->isHcalDetId())
1165  continue;
1166 
1167  HcalDetId did = HcalDetId(it->rawId());
1168  uint32_t hash = _hashmap.getHash(did);
1169  MEMap::iterator mit = _mes.find(hash);
1170  if (mit!=_mes.end())
1171  continue;
1172  if (filter.filter(did))
1173  continue;
1174 
1175  _logger.debug(_hashmap.getName(did));
1176  _mes.insert(
1177  std::make_pair(hash, store->book2D(_hashmap.getName(did),
1178  _hashmap.getName(did), _qx->nbins(), _qx->min(),
1179  _qx->max(), _qy->nbins(), _qy->min(), _qy->max())));
1180  customize(_mes[hash]);
1181  }
1182  }
1183  else if (_hashmap.isEHash())
1184  {
1185  // for Electronics hashes
1186  std::vector<HcalElectronicsId> eids =
1187  emap->allElectronicsIdPrecision();
1188  for (std::vector<HcalElectronicsId>::const_iterator it=
1189  eids.begin(); it!=eids.end(); ++it)
1190  {
1191  HcalElectronicsId eid = HcalElectronicsId(it->rawId());
1192  uint32_t hash = _hashmap.getHash(eid);
1193  MEMap::iterator mit = _mes.find(hash);
1194  if (mit!=_mes.end())
1195  continue;
1196  if (filter.filter(eid))
1197  continue;
1198 
1199  _logger.debug(_hashmap.getName(eid));
1200  _mes.insert(
1201  std::make_pair(hash, store->book2D(_hashmap.getName(eid),
1202  _hashmap.getName(eid), _qx->nbins(), _qx->min(),
1203  _qx->max(), _qy->nbins(), _qy->min(), _qy->max())));
1204  customize(_mes[hash]);
1205  }
1206  }
1207  else if (_hashmap.isTHash())
1208  {
1209  // for TrigTower hashes
1210  std::vector<HcalTrigTowerDetId> tids =
1211  emap->allTriggerId();
1212  for (std::vector<HcalTrigTowerDetId>::const_iterator it=
1213  tids.begin(); it!=tids.end(); ++it)
1214  {
1215  HcalTrigTowerDetId tid = HcalTrigTowerDetId(it->rawId());
1216  _logger.debug(_hashmap.getName(tid));
1217  uint32_t hash = _hashmap.getHash(tid);
1218  MEMap::iterator mit = _mes.find(hash);
1219  if (mit!=_mes.end())
1220  continue;
1221  if (filter.filter(tid))
1222  continue;
1223 
1224  _logger.debug(_hashmap.getName(tid));
1225  _mes.insert(
1226  std::make_pair(hash, store->book2D(_hashmap.getName(tid),
1227  _hashmap.getName(tid), _qx->nbins(), _qx->min(),
1228  _qx->max(), _qy->nbins(), _qy->min(), _qy->max())));
1229 
1230  customize(_mes[hash]);
1231  }
1232  }
1233  }
void customize(MonitorElement *) override
virtual bool isTHash() const
Definition: HashMapper.h:64
virtual double max()
Definition: Quantity.h:76
void debug(STDTYPE const &msg) const
Definition: Logger.h:31
virtual std::string getHashTypeName() const
Definition: HashMapper.h:51
std::string _folder
Definition: Container.h:42
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:34
mapper::HashMapper _hashmap
Definition: Container1D.h:331
virtual double min()
Definition: Quantity.h:75
virtual bool isDHash() const
Definition: HashMapper.h:57
std::string _qname
Definition: Container.h:43
virtual bool isEHash() const
Definition: HashMapper.h:59
MonitorElement * book2D(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY)
Book 2D histogram.
Definition: DQMStore.cc:1163
Readout chain identification for Hcal.
std::string getName(HcalDetId const &did) const override
Definition: HashMapper.h:43
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:741
void hcaldqm::Container2D::customize ( MonitorElement me)
overrideprotectedvirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 1235 of file Container2D.cc.

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

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

1236  {
1237  me->setAxisTitle(_qx->name(), 1);
1238  me->setAxisTitle(_qy->name(), 2);
1239  me->setAxisTitle(_qz->name(), 3);
1240 
1241  TH1 *h = me->getTH1();
1242  _qx->setBits(h);
1243  _qy->setBits(h);
1244  _qz->setBits(h);
1245 
1246  std::vector<std::string> xlabels = _qx->getLabels();
1247  std::vector<std::string> ylabels = _qy->getLabels();
1248  for (unsigned int i=0; i<xlabels.size(); i++) {
1249  me->setBinLabel(i+1, xlabels[i], 1);
1250  }
1251  for (unsigned int i=0; i<ylabels.size(); i++) {
1252  me->setBinLabel(i+1, ylabels[i], 2);
1253  }
1254  }
virtual void setBits(TH1 *o)
Definition: Quantity.h:65
virtual std::string name()
Definition: Quantity.h:47
virtual std::vector< std::string > getLabels()
Definition: Quantity.h:78
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)
TH1 * getTH1(void) const
void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
void hcaldqm::Container2D::fill ( HcalDetId const &  did)
overridevirtual
void hcaldqm::Container2D::fill ( HcalDetId const &  did,
int  x 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 66 of file Container2D.cc.

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

67  {
68  if (_qx->isCoordinate() && _qy->isCoordinate())
69  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(did),
70  _qy->getValue(did), x);
71  else if (_qx->isCoordinate())
72  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(did),
73  _qy->getValue(x));
74  else if (_qy->isCoordinate())
75  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(x),
76  _qy->getValue(did));
77  }
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:59
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:34
mapper::HashMapper _hashmap
Definition: Container1D.h:331
virtual bool isCoordinate()
Definition: Quantity.h:77
void hcaldqm::Container2D::fill ( HcalDetId const &  did,
double  x 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 79 of file Container2D.cc.

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

80  {
81  if (_qx->isCoordinate() && _qy->isCoordinate())
82  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(did),
83  _qy->getValue(did), x);
84  else if (_qx->isCoordinate())
85  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(did),
86  _qy->getValue(x));
87  else if (_qy->isCoordinate())
88  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(x),
89  _qy->getValue(did));
90  }
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:59
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:34
mapper::HashMapper _hashmap
Definition: Container1D.h:331
virtual bool isCoordinate()
Definition: Quantity.h:77
void hcaldqm::Container2D::fill ( HcalDetId const &  did,
int  x,
double  y 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 92 of file Container2D.cc.

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

94  {
95  if (_qx->isCoordinate() && !_qy->isCoordinate())
96  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(did),
97  _qy->getValue(x), y);
98  else if (!_qx->isCoordinate() && _qy->isCoordinate())
99  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(x),
100  _qy->getValue(did), y);
101  else if (!_qx->isCoordinate() && !_qy->isCoordinate())
102  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(x),
103  _qy->getValue(y));
104  }
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:59
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:34
mapper::HashMapper _hashmap
Definition: Container1D.h:331
virtual bool isCoordinate()
Definition: Quantity.h:77
void hcaldqm::Container2D::fill ( HcalDetId const &  did,
int  x,
int  y 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 106 of file Container2D.cc.

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

108  {
109  if (_qx->isCoordinate() && !_qy->isCoordinate())
110  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(did),
111  _qy->getValue(x), y);
112  else if (!_qx->isCoordinate() && _qy->isCoordinate())
113  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(x),
114  _qy->getValue(did), y);
115  else if (!_qx->isCoordinate() && !_qy->isCoordinate())
116  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(x),
117  _qy->getValue(y));
118  }
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:59
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:34
mapper::HashMapper _hashmap
Definition: Container1D.h:331
virtual bool isCoordinate()
Definition: Quantity.h:77
void hcaldqm::Container2D::fill ( HcalDetId const &  did,
double  x,
double  y 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 120 of file Container2D.cc.

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

122  {
123  if (_qx->isCoordinate() && !_qy->isCoordinate())
124  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(did),
125  _qy->getValue(x), y);
126  else if (!_qx->isCoordinate() && _qy->isCoordinate())
127  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(x),
128  _qy->getValue(did), y);
129  else if (!_qx->isCoordinate() && !_qy->isCoordinate())
130  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(x),
131  _qy->getValue(y));
132  }
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:59
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:34
mapper::HashMapper _hashmap
Definition: Container1D.h:331
virtual bool isCoordinate()
Definition: Quantity.h:77
void hcaldqm::Container2D::fill ( HcalElectronicsId const &  did)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 337 of file Container2D.cc.

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

338  {
339  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(did),
340  _qy->getValue(did));
341  }
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:59
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:34
mapper::HashMapper _hashmap
Definition: Container1D.h:331
void hcaldqm::Container2D::fill ( HcalElectronicsId const &  did,
int  x 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 343 of file Container2D.cc.

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

344  {
345  if (_qx->isCoordinate() && _qy->isCoordinate())
346  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(did),
347  _qy->getValue(did), x);
348  else if (_qx->isCoordinate())
349  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(did),
350  _qy->getValue(x));
351  else if (_qy->isCoordinate())
352  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(x),
353  _qy->getValue(did));
354  }
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:59
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:34
mapper::HashMapper _hashmap
Definition: Container1D.h:331
virtual bool isCoordinate()
Definition: Quantity.h:77
void hcaldqm::Container2D::fill ( HcalElectronicsId const &  did,
double  x 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 356 of file Container2D.cc.

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

357  {
358  if (_qx->isCoordinate() && _qy->isCoordinate())
359  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(did),
360  _qy->getValue(did), x);
361  else if (_qx->isCoordinate())
362  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(did),
363  _qy->getValue(x));
364  else if (_qy->isCoordinate())
365  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(x),
366  _qy->getValue(did));
367  }
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:59
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:34
mapper::HashMapper _hashmap
Definition: Container1D.h:331
virtual bool isCoordinate()
Definition: Quantity.h:77
void hcaldqm::Container2D::fill ( HcalElectronicsId const &  did,
int  x,
double  y 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 369 of file Container2D.cc.

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

371  {
372  if (_qx->isCoordinate() && !_qy->isCoordinate())
373  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(did),
374  _qy->getValue(x), y);
375  else if (!_qx->isCoordinate() && _qy->isCoordinate())
376  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(x),
377  _qy->getValue(did), y);
378  else if (!_qx->isCoordinate() && !_qy->isCoordinate())
379  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(x),
380  _qy->getValue(y));
381  }
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:59
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:34
mapper::HashMapper _hashmap
Definition: Container1D.h:331
virtual bool isCoordinate()
Definition: Quantity.h:77
void hcaldqm::Container2D::fill ( HcalElectronicsId const &  did,
int  x,
int  y 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 383 of file Container2D.cc.

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

385  {
386  if (_qx->isCoordinate() && !_qy->isCoordinate())
387  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(did),
388  _qy->getValue(x), y);
389  else if (!_qx->isCoordinate() && _qy->isCoordinate())
390  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(x),
391  _qy->getValue(did), y);
392  else if (!_qx->isCoordinate() && !_qy->isCoordinate())
393  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(x),
394  _qy->getValue(y));
395  }
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:59
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:34
mapper::HashMapper _hashmap
Definition: Container1D.h:331
virtual bool isCoordinate()
Definition: Quantity.h:77
void hcaldqm::Container2D::fill ( HcalElectronicsId const &  did,
double  x,
double  y 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 397 of file Container2D.cc.

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

399  {
400  if (_qx->isCoordinate() && !_qy->isCoordinate())
401  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(did),
402  _qy->getValue(x), y);
403  else if (!_qx->isCoordinate() && _qy->isCoordinate())
404  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(x),
405  _qy->getValue(did), y);
406  else if (!_qx->isCoordinate() && !_qy->isCoordinate())
407  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(x),
408  _qy->getValue(y));
409  }
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:59
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:34
mapper::HashMapper _hashmap
Definition: Container1D.h:331
virtual bool isCoordinate()
Definition: Quantity.h:77
void hcaldqm::Container2D::fill ( HcalTrigTowerDetId const &  did)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 616 of file Container2D.cc.

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

617  {
618  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(did),
619  _qy->getValue(did));
620  }
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:59
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:34
mapper::HashMapper _hashmap
Definition: Container1D.h:331
void hcaldqm::Container2D::fill ( HcalTrigTowerDetId const &  did,
int  x 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 623 of file Container2D.cc.

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

624  {
625  if (_qx->isCoordinate() && _qy->isCoordinate())
626  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(did),
627  _qy->getValue(did), x);
628  else if (_qx->isCoordinate())
629  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(did),
630  _qy->getValue(x));
631  else if (_qy->isCoordinate())
632  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(x),
633  _qy->getValue(did));
634  }
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:59
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:34
mapper::HashMapper _hashmap
Definition: Container1D.h:331
virtual bool isCoordinate()
Definition: Quantity.h:77
void hcaldqm::Container2D::fill ( HcalTrigTowerDetId const &  did,
double  x 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 636 of file Container2D.cc.

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

638  {
639  if (_qx->isCoordinate() && _qy->isCoordinate())
640  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(did),
641  _qy->getValue(did), x);
642  else if (_qx->isCoordinate())
643  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(did),
644  _qy->getValue(x));
645  else if (_qy->isCoordinate())
646  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(x),
647  _qy->getValue(did));
648  }
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:59
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:34
mapper::HashMapper _hashmap
Definition: Container1D.h:331
virtual bool isCoordinate()
Definition: Quantity.h:77
void hcaldqm::Container2D::fill ( HcalTrigTowerDetId const &  did,
int  x,
int  y 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 664 of file Container2D.cc.

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

666  {
667  if (_qx->isCoordinate() && !_qy->isCoordinate())
668  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(did),
669  _qy->getValue(x), y);
670  else if (!_qx->isCoordinate() && _qy->isCoordinate())
671  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(x),
672  _qy->getValue(did), y);
673  else if (!_qx->isCoordinate() && !_qy->isCoordinate())
674  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(x),
675  _qy->getValue(y));
676  }
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:59
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:34
mapper::HashMapper _hashmap
Definition: Container1D.h:331
virtual bool isCoordinate()
Definition: Quantity.h:77
void hcaldqm::Container2D::fill ( HcalTrigTowerDetId const &  did,
int  x,
double  y 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 650 of file Container2D.cc.

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

652  {
653  if (_qx->isCoordinate() && !_qy->isCoordinate())
654  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(did),
655  _qy->getValue(x), y);
656  else if (!_qx->isCoordinate() && _qy->isCoordinate())
657  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(x),
658  _qy->getValue(did), y);
659  else if (!_qx->isCoordinate() && !_qy->isCoordinate())
660  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(x),
661  _qy->getValue(y));
662  }
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:59
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:34
mapper::HashMapper _hashmap
Definition: Container1D.h:331
virtual bool isCoordinate()
Definition: Quantity.h:77
void hcaldqm::Container2D::fill ( HcalTrigTowerDetId const &  did,
double  x,
double  y 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 678 of file Container2D.cc.

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

680  {
681  if (_qx->isCoordinate() && !_qy->isCoordinate())
682  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(did),
683  _qy->getValue(x), y);
684  else if (!_qx->isCoordinate() && _qy->isCoordinate())
685  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(x),
686  _qy->getValue(did), y);
687  else if (!_qx->isCoordinate() && !_qy->isCoordinate())
688  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(x),
689  _qy->getValue(y));
690  }
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:59
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:34
mapper::HashMapper _hashmap
Definition: Container1D.h:331
virtual bool isCoordinate()
Definition: Quantity.h:77
double hcaldqm::Container2D::getBinContent ( HcalDetId const &  id)
overridevirtual
double hcaldqm::Container2D::getBinContent ( HcalDetId const &  id,
int  x 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 191 of file Container2D.cc.

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

193  {
194  if (_qx->isCoordinate())
195  return _mes[_hashmap.getHash(id)]->getBinContent(
196  _qx->getBin(id), _qy->getBin(x));
197  else
198  return _mes[_hashmap.getHash(id)]->getBinContent(
199  _qx->getBin(x), _qy->getBin(id));
200  }
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:34
mapper::HashMapper _hashmap
Definition: Container1D.h:331
virtual bool isCoordinate()
Definition: Quantity.h:77
double hcaldqm::Container2D::getBinContent ( HcalDetId const &  id,
double  x 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 202 of file Container2D.cc.

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

204  {
205  if (_qx->isCoordinate())
206  return _mes[_hashmap.getHash(id)]->getBinContent(
207  _qx->getBin(id), _qy->getBin(x));
208  else
209  return _mes[_hashmap.getHash(id)]->getBinContent(
210  _qx->getBin(x), _qy->getBin(id));
211  }
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:34
mapper::HashMapper _hashmap
Definition: Container1D.h:331
virtual bool isCoordinate()
Definition: Quantity.h:77
double hcaldqm::Container2D::getBinContent ( HcalDetId const &  id,
int  x,
int  y 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 213 of file Container2D.cc.

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

215  {
216  return _mes[_hashmap.getHash(id)]->getBinContent(
217  _qx->getBin(x), _qy->getBin(y));
218  }
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:34
mapper::HashMapper _hashmap
Definition: Container1D.h:331
double hcaldqm::Container2D::getBinContent ( HcalDetId const &  id,
int  x,
double  y 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 220 of file Container2D.cc.

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

222  {
223  return _mes[_hashmap.getHash(id)]->getBinContent(
224  _qx->getBin(x), _qy->getBin(y));
225  }
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:34
mapper::HashMapper _hashmap
Definition: Container1D.h:331
double hcaldqm::Container2D::getBinContent ( HcalDetId const &  id,
double  x,
double  y 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 227 of file Container2D.cc.

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

229  {
230  return _mes[_hashmap.getHash(id)]->getBinContent(
231  _qx->getBin(x), _qy->getBin(y));
232  }
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:34
mapper::HashMapper _hashmap
Definition: Container1D.h:331
double hcaldqm::Container2D::getBinContent ( HcalElectronicsId const &  id)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 462 of file Container2D.cc.

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

464  {
465  return _mes[_hashmap.getHash(id)]->getBinContent(
466  _qx->getBin(id), _qy->getBin(id));
467  }
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:34
mapper::HashMapper _hashmap
Definition: Container1D.h:331
double hcaldqm::Container2D::getBinContent ( HcalElectronicsId const &  id,
int  x 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 469 of file Container2D.cc.

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

471  {
472  if (_qx->isCoordinate())
473  return _mes[_hashmap.getHash(id)]->getBinContent(
474  _qx->getBin(id), _qy->getBin(x));
475  else
476  return _mes[_hashmap.getHash(id)]->getBinContent(
477  _qx->getBin(x), _qy->getBin(id));
478  }
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:34
mapper::HashMapper _hashmap
Definition: Container1D.h:331
virtual bool isCoordinate()
Definition: Quantity.h:77
double hcaldqm::Container2D::getBinContent ( HcalElectronicsId const &  id,
double  x 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 480 of file Container2D.cc.

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

482  {
483  if (_qx->isCoordinate())
484  return _mes[_hashmap.getHash(id)]->getBinContent(
485  _qx->getBin(id), _qy->getBin(x));
486  else
487  return _mes[_hashmap.getHash(id)]->getBinContent(
488  _qx->getBin(x), _qy->getBin(id));
489  }
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:34
mapper::HashMapper _hashmap
Definition: Container1D.h:331
virtual bool isCoordinate()
Definition: Quantity.h:77
double hcaldqm::Container2D::getBinContent ( HcalElectronicsId const &  id,
int  x,
int  y 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 491 of file Container2D.cc.

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

493  {
494  return _mes[_hashmap.getHash(id)]->getBinContent(
495  _qx->getBin(x), _qy->getBin(y));
496  }
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:34
mapper::HashMapper _hashmap
Definition: Container1D.h:331
double hcaldqm::Container2D::getBinContent ( HcalElectronicsId const &  id,
int  x,
double  y 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 498 of file Container2D.cc.

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

500  {
501  return _mes[_hashmap.getHash(id)]->getBinContent(
502  _qx->getBin(x), _qy->getBin(y));
503  }
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:34
mapper::HashMapper _hashmap
Definition: Container1D.h:331
double hcaldqm::Container2D::getBinContent ( HcalElectronicsId const &  id,
double  x,
double  y 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 505 of file Container2D.cc.

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

507  {
508  return _mes[_hashmap.getHash(id)]->getBinContent(
509  _qx->getBin(x), _qy->getBin(y));
510  }
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:34
mapper::HashMapper _hashmap
Definition: Container1D.h:331
double hcaldqm::Container2D::getBinContent ( HcalTrigTowerDetId const &  id)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 742 of file Container2D.cc.

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

744  {
745  return _mes[_hashmap.getHash(id)]->getBinContent(
746  _qx->getBin(id), _qy->getBin(id));
747  }
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:34
mapper::HashMapper _hashmap
Definition: Container1D.h:331
double hcaldqm::Container2D::getBinContent ( HcalTrigTowerDetId const &  id,
int  x 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 749 of file Container2D.cc.

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

751  {
752  if (_qx->isCoordinate())
753  return _mes[_hashmap.getHash(id)]->getBinContent(
754  _qx->getBin(id), _qy->getBin(x));
755  else
756  return _mes[_hashmap.getHash(id)]->getBinContent(
757  _qx->getBin(x), _qy->getBin(id));
758  }
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:34
mapper::HashMapper _hashmap
Definition: Container1D.h:331
virtual bool isCoordinate()
Definition: Quantity.h:77
double hcaldqm::Container2D::getBinContent ( HcalTrigTowerDetId const &  id,
double  x 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 760 of file Container2D.cc.

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

762  {
763  if (_qx->isCoordinate())
764  return _mes[_hashmap.getHash(id)]->getBinContent(
765  _qx->getBin(id), _qy->getBin(x));
766  else
767  return _mes[_hashmap.getHash(id)]->getBinContent(
768  _qx->getBin(x), _qy->getBin(id));
769  }
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:34
mapper::HashMapper _hashmap
Definition: Container1D.h:331
virtual bool isCoordinate()
Definition: Quantity.h:77
double hcaldqm::Container2D::getBinContent ( HcalTrigTowerDetId const &  id,
int  x,
int  y 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 771 of file Container2D.cc.

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

773  {
774  return _mes[_hashmap.getHash(id)]->getBinContent(
775  _qx->getBin(x), _qy->getBin(y));
776  }
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:34
mapper::HashMapper _hashmap
Definition: Container1D.h:331
double hcaldqm::Container2D::getBinContent ( HcalTrigTowerDetId const &  id,
int  x,
double  y 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 778 of file Container2D.cc.

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

780  {
781  return _mes[_hashmap.getHash(id)]->getBinContent(
782  _qx->getBin(x), _qy->getBin(y));
783  }
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:34
mapper::HashMapper _hashmap
Definition: Container1D.h:331
double hcaldqm::Container2D::getBinContent ( HcalTrigTowerDetId const &  id,
double  x,
double  y 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 785 of file Container2D.cc.

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

787  {
788  return _mes[_hashmap.getHash(id)]->getBinContent(
789  _qx->getBin(x), _qy->getBin(y));
790  }
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:34
mapper::HashMapper _hashmap
Definition: Container1D.h:331
double hcaldqm::Container2D::getBinEntries ( HcalDetId const &  id)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 134 of file Container2D.cc.

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

136  {
137  return _mes[_hashmap.getHash(id)]->getBinEntries(
138  _qx->getBin(id)+_qy->getBin(id)*_qx->wofnbins());
139  }
virtual int wofnbins()
Definition: Quantity.h:74
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:34
mapper::HashMapper _hashmap
Definition: Container1D.h:331
double hcaldqm::Container2D::getBinEntries ( HcalDetId const &  id,
int  x 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 141 of file Container2D.cc.

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

143  {
144  if (_qx->isCoordinate())
145  return _mes[_hashmap.getHash(id)]->getBinEntries(
146  _qx->getBin(id)+_qy->getBin(x)*_qx->wofnbins());
147  else
148  return _mes[_hashmap.getHash(id)]->getBinEntries(
149  _qx->getBin(x)+_qy->getBin(id)*_qx->wofnbins());
150  }
virtual int wofnbins()
Definition: Quantity.h:74
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:34
mapper::HashMapper _hashmap
Definition: Container1D.h:331
virtual bool isCoordinate()
Definition: Quantity.h:77
double hcaldqm::Container2D::getBinEntries ( HcalDetId const &  id,
double  x 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 152 of file Container2D.cc.

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

154  {
155  if (_qx->isCoordinate())
156  return _mes[_hashmap.getHash(id)]->getBinEntries(
157  _qx->getBin(id)+ _qy->getBin(x)*_qx->wofnbins());
158  else
159  return _mes[_hashmap.getHash(id)]->getBinEntries(
160  _qx->getBin(x)+_qy->getBin(id)*_qx->wofnbins());
161  }
virtual int wofnbins()
Definition: Quantity.h:74
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:34
mapper::HashMapper _hashmap
Definition: Container1D.h:331
virtual bool isCoordinate()
Definition: Quantity.h:77
double hcaldqm::Container2D::getBinEntries ( HcalDetId const &  id,
int  x,
int  y 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 163 of file Container2D.cc.

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

165  {
166  return _mes[_hashmap.getHash(id)]->getBinEntries(
167  _qx->getBin(x)+ _qy->getBin(y)*_qx->wofnbins());
168  }
virtual int wofnbins()
Definition: Quantity.h:74
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:34
mapper::HashMapper _hashmap
Definition: Container1D.h:331
double hcaldqm::Container2D::getBinEntries ( HcalDetId const &  id,
int  x,
double  y 
)
overridevirtual
double hcaldqm::Container2D::getBinEntries ( HcalDetId const &  id,
double  x,
double  y 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 177 of file Container2D.cc.

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

179  {
180  return _mes[_hashmap.getHash(id)]->getBinEntries(
181  _qx->getBin(x)+ _qy->getBin(y)*_qx->wofnbins());
182  }
virtual int wofnbins()
Definition: Quantity.h:74
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:34
mapper::HashMapper _hashmap
Definition: Container1D.h:331
double hcaldqm::Container2D::getBinEntries ( HcalElectronicsId const &  id)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 411 of file Container2D.cc.

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

413  {
414  return _mes[_hashmap.getHash(id)]->getBinEntries(
415  _qx->getBin(id)+_qy->getBin(id)*_qx->wofnbins());
416 
417  }
virtual int wofnbins()
Definition: Quantity.h:74
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:34
mapper::HashMapper _hashmap
Definition: Container1D.h:331
double hcaldqm::Container2D::getBinEntries ( HcalElectronicsId const &  id,
int  x 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 419 of file Container2D.cc.

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

421  {
422  if (_qx->isCoordinate())
423  return _mes[_hashmap.getHash(id)]->getBinEntries(
424  _qx->getBin(id)+_qy->getBin(x)*_qx->wofnbins());
425  else
426  return _mes[_hashmap.getHash(id)]->getBinEntries(
427  _qx->getBin(x)+_qy->getBin(id)*_qx->wofnbins());
428  }
virtual int wofnbins()
Definition: Quantity.h:74
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:34
mapper::HashMapper _hashmap
Definition: Container1D.h:331
virtual bool isCoordinate()
Definition: Quantity.h:77
double hcaldqm::Container2D::getBinEntries ( HcalElectronicsId const &  id,
double  x 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 430 of file Container2D.cc.

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

432  {
433  if (_qx->isCoordinate())
434  return _mes[_hashmap.getHash(id)]->getBinEntries(
435  _qx->getBin(id)+ _qy->getBin(x)*_qx->wofnbins());
436  else
437  return _mes[_hashmap.getHash(id)]->getBinEntries(
438  _qx->getBin(x)+_qy->getBin(id)*_qx->wofnbins());
439  }
virtual int wofnbins()
Definition: Quantity.h:74
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:34
mapper::HashMapper _hashmap
Definition: Container1D.h:331
virtual bool isCoordinate()
Definition: Quantity.h:77
double hcaldqm::Container2D::getBinEntries ( HcalElectronicsId const &  id,
int  x,
int  y 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 441 of file Container2D.cc.

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

443  {
444  return _mes[_hashmap.getHash(id)]->getBinEntries(
445  _qx->getBin(x)+ _qy->getBin(y)*_qx->wofnbins());
446  }
virtual int wofnbins()
Definition: Quantity.h:74
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:34
mapper::HashMapper _hashmap
Definition: Container1D.h:331
double hcaldqm::Container2D::getBinEntries ( HcalElectronicsId const &  id,
int  x,
double  y 
)
overridevirtual
double hcaldqm::Container2D::getBinEntries ( HcalElectronicsId const &  id,
double  x,
double  y 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 455 of file Container2D.cc.

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

457  {
458  return _mes[_hashmap.getHash(id)]->getBinEntries(
459  _qx->getBin(x)+ _qy->getBin(y)*_qx->wofnbins());
460  }
virtual int wofnbins()
Definition: Quantity.h:74
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:34
mapper::HashMapper _hashmap
Definition: Container1D.h:331
double hcaldqm::Container2D::getBinEntries ( HcalTrigTowerDetId const &  id)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 692 of file Container2D.cc.

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

694  {
695  return _mes[_hashmap.getHash(id)]->getBinEntries(
696  _qx->getBin(id)+_qy->getBin(id)*_qx->wofnbins());
697  }
virtual int wofnbins()
Definition: Quantity.h:74
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:34
mapper::HashMapper _hashmap
Definition: Container1D.h:331
double hcaldqm::Container2D::getBinEntries ( HcalTrigTowerDetId const &  id,
int  x 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 699 of file Container2D.cc.

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

701  {
702  if (_qx->isCoordinate())
703  return _mes[_hashmap.getHash(id)]->getBinEntries(
704  _qx->getBin(id)+_qy->getBin(x)*_qx->wofnbins());
705  else
706  return _mes[_hashmap.getHash(id)]->getBinEntries(
707  _qx->getBin(x)+_qy->getBin(id)*_qx->wofnbins());
708  }
virtual int wofnbins()
Definition: Quantity.h:74
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:34
mapper::HashMapper _hashmap
Definition: Container1D.h:331
virtual bool isCoordinate()
Definition: Quantity.h:77
double hcaldqm::Container2D::getBinEntries ( HcalTrigTowerDetId const &  id,
double  x 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 710 of file Container2D.cc.

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

712  {
713  if (_qx->isCoordinate())
714  return _mes[_hashmap.getHash(id)]->getBinEntries(
715  _qx->getBin(id)+ _qy->getBin(x)*_qx->wofnbins());
716  else
717  return _mes[_hashmap.getHash(id)]->getBinEntries(
718  _qx->getBin(x)+_qy->getBin(id)*_qx->wofnbins());
719  }
virtual int wofnbins()
Definition: Quantity.h:74
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:34
mapper::HashMapper _hashmap
Definition: Container1D.h:331
virtual bool isCoordinate()
Definition: Quantity.h:77
double hcaldqm::Container2D::getBinEntries ( HcalTrigTowerDetId const &  id,
int  x,
int  y 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 721 of file Container2D.cc.

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

723  {
724  return _mes[_hashmap.getHash(id)]->getBinEntries(
725  _qx->getBin(x)+ _qy->getBin(y)*_qx->wofnbins());
726  }
virtual int wofnbins()
Definition: Quantity.h:74
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:34
mapper::HashMapper _hashmap
Definition: Container1D.h:331
double hcaldqm::Container2D::getBinEntries ( HcalTrigTowerDetId const &  id,
int  x,
double  y 
)
overridevirtual
double hcaldqm::Container2D::getBinEntries ( HcalTrigTowerDetId const &  id,
double  x,
double  y 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 735 of file Container2D.cc.

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

737  {
738  return _mes[_hashmap.getHash(id)]->getBinEntries(
739  _qx->getBin(x)+ _qy->getBin(y)*_qx->wofnbins());
740  }
virtual int wofnbins()
Definition: Quantity.h:74
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:34
mapper::HashMapper _hashmap
Definition: Container1D.h:331
void hcaldqm::Container2D::initialize ( std::string const &  folder,
hashfunctions::HashType  hashtype,
Quantity qx,
Quantity qy,
Quantity qz = new ValueQuantity(quantity::fN),
int  debug = 0 
)
virtual

Reimplemented in hcaldqm::ContainerProf2D.

Definition at line 32 of file Container2D.cc.

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

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

36  {
38  qz->name()+"vs"+qy->name()+"vs"+qx->name(),
39  hashtype, qx, qy, debug);
40  _qz = qz;
43  _qz->setAxisType(quantity::fZAxis);
44  }
virtual void initialize(std::string const &folder, hashfunctions::HashType, Quantity *, Quantity *qy=new ValueQuantity(quantity::fN), int debug=0)
Definition: Container1D.cc:40
virtual void setAxisType(AxisType at)
Definition: Quantity.h:49
#define debug
Definition: HDRShower.cc:19
void hcaldqm::Container2D::initialize ( std::string const &  folder,
std::string const &  qname,
hashfunctions::HashType  hashtype,
Quantity qx,
Quantity qy,
Quantity qz = new ValueQuantity(quantity::fN),
int  debug = 0 
)
virtual

Reimplemented in hcaldqm::ContainerProf2D.

Definition at line 46 of file Container2D.cc.

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

51  {
52  Container1D::initialize(folder, qname, hashtype, qx, qy, debug);
53  _qz = qz;
57  }
virtual void initialize(std::string const &folder, hashfunctions::HashType, Quantity *, Quantity *qy=new ValueQuantity(quantity::fN), int debug=0)
Definition: Container1D.cc:40
virtual void setAxisType(AxisType at)
Definition: Quantity.h:49
#define debug
Definition: HDRShower.cc:19
void hcaldqm::Container2D::setBinContent ( HcalDetId const &  id,
int  x 
)
overridevirtual
void hcaldqm::Container2D::setBinContent ( HcalDetId const &  id,
double  x 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 240 of file Container2D.cc.

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

241  {
242  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(id),
243  _qy->getBin(id), x);
244  }
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:34
mapper::HashMapper _hashmap
Definition: Container1D.h:331
void hcaldqm::Container2D::setBinContent ( HcalDetId const &  id,
int  x,
int  y 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 245 of file Container2D.cc.

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

247  {
248  if (_qx->isCoordinate())
249  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(id),
250  _qy->getBin(x), y);
251  else
252  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x),
253  _qy->getBin(id), y);
254  }
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:34
mapper::HashMapper _hashmap
Definition: Container1D.h:331
virtual bool isCoordinate()
Definition: Quantity.h:77
void hcaldqm::Container2D::setBinContent ( HcalDetId const &  id,
int  x,
double  y 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 256 of file Container2D.cc.

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

258  {
259  if (_qx->isCoordinate())
260  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(id),
261  _qy->getBin(x), y);
262  else
263  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x),
264  _qy->getBin(id), y);
265  }
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:34
mapper::HashMapper _hashmap
Definition: Container1D.h:331
virtual bool isCoordinate()
Definition: Quantity.h:77
void hcaldqm::Container2D::setBinContent ( HcalDetId const &  id,
double  x,
int  y 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 266 of file Container2D.cc.

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

268  {
269  if (_qx->isCoordinate())
270  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(id),
271  _qy->getBin(x), y);
272  else
273  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x),
274  _qy->getBin(id), y);
275  }
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:34
mapper::HashMapper _hashmap
Definition: Container1D.h:331
virtual bool isCoordinate()
Definition: Quantity.h:77
void hcaldqm::Container2D::setBinContent ( HcalDetId const &  id,
double  x,
double  y 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 276 of file Container2D.cc.

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

278  {
279  if (_qx->isCoordinate())
280  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(id),
281  _qy->getBin(x), y);
282  else
283  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x),
284  _qy->getBin(id), y);
285  }
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:34
mapper::HashMapper _hashmap
Definition: Container1D.h:331
virtual bool isCoordinate()
Definition: Quantity.h:77
void hcaldqm::Container2D::setBinContent ( HcalDetId const &  id,
int  x,
int  y,
int  z 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 287 of file Container2D.cc.

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

289  {
290  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x),
291  _qy->getBin(y), z);
292  }
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:34
mapper::HashMapper _hashmap
Definition: Container1D.h:331
void hcaldqm::Container2D::setBinContent ( HcalDetId const &  id,
int  x,
double  y,
int  z 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 293 of file Container2D.cc.

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

295  {
296  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x),
297  _qy->getBin(y), z);
298  }
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:34
mapper::HashMapper _hashmap
Definition: Container1D.h:331
void hcaldqm::Container2D::setBinContent ( HcalDetId const &  id,
double  x,
int  y,
int  z 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 299 of file Container2D.cc.

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

301  {
302  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x),
303  _qy->getBin(y), z);
304  }
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:34
mapper::HashMapper _hashmap
Definition: Container1D.h:331
void hcaldqm::Container2D::setBinContent ( HcalDetId const &  id,
double  x,
double  y,
int  z 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 305 of file Container2D.cc.

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

307  {
308  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x),
309  _qy->getBin(y), z);
310  }
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:34
mapper::HashMapper _hashmap
Definition: Container1D.h:331
void hcaldqm::Container2D::setBinContent ( HcalDetId const &  id,
int  x,
int  y,
double  z 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 311 of file Container2D.cc.

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

313  {
314  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x),
315  _qy->getBin(y), z);
316  }
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:34
mapper::HashMapper _hashmap
Definition: Container1D.h:331
void hcaldqm::Container2D::setBinContent ( HcalDetId const &  id,
int  x,
double  y,
double  z 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 317 of file Container2D.cc.

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

319  {
320  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x),
321  _qy->getBin(y), z);
322  }
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:34
mapper::HashMapper _hashmap
Definition: Container1D.h:331
void hcaldqm::Container2D::setBinContent ( HcalDetId const &  id,
double  x,
int  y,
double  z 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 323 of file Container2D.cc.

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

325  {
326  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x),
327  _qy->getBin(y), z);
328  }
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:34
mapper::HashMapper _hashmap
Definition: Container1D.h:331
void hcaldqm::Container2D::setBinContent ( HcalDetId const &  id,
double  x,
double  y,
double  z 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 329 of file Container2D.cc.

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

331  {
332  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x),
333  _qy->getBin(y), z);
334  }
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:34
mapper::HashMapper _hashmap
Definition: Container1D.h:331
void hcaldqm::Container2D::setBinContent ( HcalElectronicsId const &  id,
int  x 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 513 of file Container2D.cc.

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

515  {
516  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(id),
517  _qy->getBin(id), x);
518  }
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:34
mapper::HashMapper _hashmap
Definition: Container1D.h:331
void hcaldqm::Container2D::setBinContent ( HcalElectronicsId const &  id,
double  x 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 519 of file Container2D.cc.

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

520  {
521  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(id),
522  _qy->getBin(id), x);
523  }
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:34
mapper::HashMapper _hashmap
Definition: Container1D.h:331
void hcaldqm::Container2D::setBinContent ( HcalElectronicsId const &  id,
int  x,
int  y 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 524 of file Container2D.cc.

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

526  {
527  if (_qx->isCoordinate())
528  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(id),
529  _qy->getBin(x), y);
530  else
531  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x),
532  _qy->getBin(id), y);
533  }
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:34
mapper::HashMapper _hashmap
Definition: Container1D.h:331
virtual bool isCoordinate()
Definition: Quantity.h:77
void hcaldqm::Container2D::setBinContent ( HcalElectronicsId const &  id,
int  x,
double  y 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 535 of file Container2D.cc.

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

537  {
538  if (_qx->isCoordinate())
539  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(id),
540  _qy->getBin(x), y);
541  else
542  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x),
543  _qy->getBin(id), y);
544  }
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:34
mapper::HashMapper _hashmap
Definition: Container1D.h:331
virtual bool isCoordinate()
Definition: Quantity.h:77
void hcaldqm::Container2D::setBinContent ( HcalElectronicsId const &  id,
double  x,
int  y 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 545 of file Container2D.cc.

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

547  {
548  if (_qx->isCoordinate())
549  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(id),
550  _qy->getBin(x), y);
551  else
552  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x),
553  _qy->getBin(id), y);
554  }
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:34
mapper::HashMapper _hashmap
Definition: Container1D.h:331
virtual bool isCoordinate()
Definition: Quantity.h:77
void hcaldqm::Container2D::setBinContent ( HcalElectronicsId const &  id,
double  x,
double  y 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 555 of file Container2D.cc.

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

557  {
558  if (_qx->isCoordinate())
559  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(id),
560  _qy->getBin(x), y);
561  else
562  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x),
563  _qy->getBin(id), y);
564  }
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:34
mapper::HashMapper _hashmap
Definition: Container1D.h:331
virtual bool isCoordinate()
Definition: Quantity.h:77
void hcaldqm::Container2D::setBinContent ( HcalElectronicsId const &  id,
int  x,
int  y,
int  z 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 566 of file Container2D.cc.

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

568  {
569  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x),
570  _qy->getBin(y), z);
571  }
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:34
mapper::HashMapper _hashmap
Definition: Container1D.h:331
void hcaldqm::Container2D::setBinContent ( HcalElectronicsId const &  id,
int  x,
double  y,
int  z 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 572 of file Container2D.cc.

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

574  {
575  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x),
576  _qy->getBin(y), z);
577  }
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:34
mapper::HashMapper _hashmap
Definition: Container1D.h:331
void hcaldqm::Container2D::setBinContent ( HcalElectronicsId const &  id,
double  x,
int  y,
int  z 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 578 of file Container2D.cc.

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

580  {
581  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x),
582  _qy->getBin(y), z);
583  }
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:34
mapper::HashMapper _hashmap
Definition: Container1D.h:331
void hcaldqm::Container2D::setBinContent ( HcalElectronicsId const &  id,
double  x,
double  y,
int  z 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 584 of file Container2D.cc.

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

586  {
587  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x),
588  _qy->getBin(y), z);
589  }
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:34
mapper::HashMapper _hashmap
Definition: Container1D.h:331
void hcaldqm::Container2D::setBinContent ( HcalElectronicsId const &  id,
int  x,
int  y,
double  z 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 590 of file Container2D.cc.

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

592  {
593  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x),
594  _qy->getBin(y), z);
595  }
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:34
mapper::HashMapper _hashmap
Definition: Container1D.h:331
void hcaldqm::Container2D::setBinContent ( HcalElectronicsId const &  id,
int  x,
double  y,
double  z 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 596 of file Container2D.cc.

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

598  {
599  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x),
600  _qy->getBin(y), z);
601  }
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:34
mapper::HashMapper _hashmap
Definition: Container1D.h:331
void hcaldqm::Container2D::setBinContent ( HcalElectronicsId const &  id,
double  x,
int  y,
double  z 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 602 of file Container2D.cc.

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

604  {
605  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x),
606  _qy->getBin(y), z);
607  }
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:34
mapper::HashMapper _hashmap
Definition: Container1D.h:331
void hcaldqm::Container2D::setBinContent ( HcalElectronicsId const &  id,
double  x,
double  y,
double  z 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 608 of file Container2D.cc.

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

610  {
611  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x),
612  _qy->getBin(y), z);
613  }
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:34
mapper::HashMapper _hashmap
Definition: Container1D.h:331
void hcaldqm::Container2D::setBinContent ( HcalTrigTowerDetId const &  id,
int  x 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 793 of file Container2D.cc.

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

794  {
795  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(id),
796  _qy->getBin(id), x);
797  }
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:34
mapper::HashMapper _hashmap
Definition: Container1D.h:331
void hcaldqm::Container2D::setBinContent ( HcalTrigTowerDetId const &  id,
double  x 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 798 of file Container2D.cc.

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

799  {
800  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(id),
801  _qy->getBin(id), x);
802  }
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:34
mapper::HashMapper _hashmap
Definition: Container1D.h:331
void hcaldqm::Container2D::setBinContent ( HcalTrigTowerDetId const &  id,
int  x,
int  y 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 803 of file Container2D.cc.

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

805  {
806  if (_qx->isCoordinate())
807  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(id),
808  _qy->getBin(x), y);
809  else
810  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x),
811  _qy->getBin(id), y);
812  }
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:34
mapper::HashMapper _hashmap
Definition: Container1D.h:331
virtual bool isCoordinate()
Definition: Quantity.h:77
void hcaldqm::Container2D::setBinContent ( HcalTrigTowerDetId const &  id,
int  x,
double  y 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 814 of file Container2D.cc.

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

816  {
817  if (_qx->isCoordinate())
818  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(id),
819  _qy->getBin(x), y);
820  else
821  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x),
822  _qy->getBin(id), y);
823  }
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:34
mapper::HashMapper _hashmap
Definition: Container1D.h:331
virtual bool isCoordinate()
Definition: Quantity.h:77
void hcaldqm::Container2D::setBinContent ( HcalTrigTowerDetId const &  id,
double  x,
int  y 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 824 of file Container2D.cc.

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

826  {
827  if (_qx->isCoordinate())
828  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(id),
829  _qy->getBin(x), y);
830  else
831  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x),
832  _qy->getBin(id), y);
833  }
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:34
mapper::HashMapper _hashmap
Definition: Container1D.h:331
virtual bool isCoordinate()
Definition: Quantity.h:77
void hcaldqm::Container2D::setBinContent ( HcalTrigTowerDetId const &  id,
double  x,
double  y 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 834 of file Container2D.cc.

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

836  {
837  if (_qx->isCoordinate())
838  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(id),
839  _qy->getBin(x), y);
840  else
841  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x),
842  _qy->getBin(id), y);
843  }
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:34
mapper::HashMapper _hashmap
Definition: Container1D.h:331
virtual bool isCoordinate()
Definition: Quantity.h:77
void hcaldqm::Container2D::setBinContent ( HcalTrigTowerDetId const &  id,
int  x,
int  y,
int  z 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 845 of file Container2D.cc.

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

847  {
848  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x),
849  _qy->getBin(y), z);
850  }
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:34
mapper::HashMapper _hashmap
Definition: Container1D.h:331
void hcaldqm::Container2D::setBinContent ( HcalTrigTowerDetId const &  id,
int  x,
double  y,
int  z 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 851 of file Container2D.cc.

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

853  {
854  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x),
855  _qy->getBin(y), z);
856  }
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:34
mapper::HashMapper _hashmap
Definition: Container1D.h:331
void hcaldqm::Container2D::setBinContent ( HcalTrigTowerDetId const &  id,
double  x,
int  y,
int  z 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 857 of file Container2D.cc.

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

859  {
860  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x),
861  _qy->getBin(y), z);
862  }
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:34
mapper::HashMapper _hashmap
Definition: Container1D.h:331
void hcaldqm::Container2D::setBinContent ( HcalTrigTowerDetId const &  id,
double  x,
double  y,
int  z 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 863 of file Container2D.cc.

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

865  {
866  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x),
867  _qy->getBin(y), z);
868  }
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:34
mapper::HashMapper _hashmap
Definition: Container1D.h:331
void hcaldqm::Container2D::setBinContent ( HcalTrigTowerDetId const &  id,
int  x,
int  y,
double  z 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 869 of file Container2D.cc.

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

871  {
872  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x),
873  _qy->getBin(y), z);
874  }
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:34
mapper::HashMapper _hashmap
Definition: Container1D.h:331
void hcaldqm::Container2D::setBinContent ( HcalTrigTowerDetId const &  id,
int  x,
double  y,
double  z 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 875 of file Container2D.cc.

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

877  {
878  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x),
879  _qy->getBin(y), z);
880  }
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:34
mapper::HashMapper _hashmap
Definition: Container1D.h:331
void hcaldqm::Container2D::setBinContent ( HcalTrigTowerDetId const &  id,
double  x,
int  y,
double  z 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 881 of file Container2D.cc.

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

883  {
884  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x),
885  _qy->getBin(y), z);
886  }
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:34
mapper::HashMapper _hashmap
Definition: Container1D.h:331
void hcaldqm::Container2D::setBinContent ( HcalTrigTowerDetId const &  id,
double  x,
double  y,
double  z 
)
overridevirtual

Reimplemented from hcaldqm::Container1D.

Definition at line 887 of file Container2D.cc.

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

889  {
890  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x),
891  _qy->getBin(y), z);
892  }
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:34
mapper::HashMapper _hashmap
Definition: Container1D.h:331

Member Data Documentation

Quantity* hcaldqm::Container2D::_qz
protected