CMS 3D CMS Logo

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

#include <Container1D.h>

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

Public Member Functions

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

Protected Types

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

Protected Member Functions

virtual void customize (MonitorElement *)
 

Protected Attributes

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

Detailed Description

Definition at line 29 of file Container1D.h.

Member Typedef Documentation

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

Definition at line 329 of file Container1D.h.

Constructor & Destructor Documentation

hcaldqm::Container1D::Container1D ( )

Definition at line 10 of file Container1D.cc.

10  :
11  _qx(nullptr), _qy(nullptr)
12  {}
quantity::Quantity * _qx
Definition: Container1D.h:332
quantity::Quantity * _qy
Definition: Container1D.h:333
hcaldqm::Container1D::Container1D ( std::string const &  folder,
hashfunctions::HashType  hashtype,
quantity::Quantity qx,
quantity::Quantity qy = new quantity::ValueQuantity(quantity::fN) 
)

Definition at line 14 of file Container1D.cc.

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

15  :
16  Container(folder, qy->name()+"vs"+qx->name()), _hashmap(hashtype),
17  _qx(qx), _qy(qy)
18  {
21  }
virtual void setAxisType(AxisType at)
Definition: Quantity.h:49
quantity::Quantity * _qx
Definition: Container1D.h:332
mapper::HashMapper _hashmap
Definition: Container1D.h:331
quantity::Quantity * _qy
Definition: Container1D.h:333
hcaldqm::Container1D::~Container1D ( )
override

Definition at line 23 of file Container1D.cc.

References _qx, and _qy.

24  {
25  if (_qx!=nullptr)
26  delete _qx;
27  if (_qy!=nullptr)
28  delete _qy;
29  _qx = nullptr;
30  _qy = nullptr;
31  }
quantity::Quantity * _qx
Definition: Container1D.h:332
quantity::Quantity * _qy
Definition: Container1D.h:333

Member Function Documentation

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

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

Definition at line 958 of file Container1D.cc.

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

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

961  {
962  // full path to where all the plots are living
963  // subsystem/taskname/QxvsQy_auxilary/HashType
964  ib.setCurrentFolder(subsystem+"/"+_folder+"/"+_qname+
965  (aux.empty()?aux:"_"+aux)+"/"+_hashmap.getHashTypeName());
967  if (_hashmap.isDHash())
968  {
969  // for Detector Hashes
970  std::vector<HcalGenericDetId> dids = emap->allPrecisionId();
971  for (std::vector<HcalGenericDetId>::const_iterator it=
972  dids.begin(); it!=dids.end(); ++it)
973  {
974  // skip trigger towers and calibration
975  if (!it->isHcalDetId())
976  continue;
977 
978  HcalDetId did = HcalDetId(it->rawId());
979  uint32_t hash = _hashmap.getHash(did);
980  MEMap::iterator mit = _mes.find(hash);
981  if (mit!=_mes.end())
982  continue;
983 
985  _mes.insert(
986  std::make_pair(hash, ib.book1D(_hashmap.getName(did),
987  _hashmap.getName(did), _qx->nbins(), _qx->min(),
988  _qx->max())));
989 
990  // customize
991  customize(_mes[hash]);
992  }
993  }
994 
995  else if (_hashmap.isEHash())
996  {
997  // for Electronics Hashes
998  std::vector<HcalElectronicsId> eids =
999  emap->allElectronicsIdPrecision();
1000  for (std::vector<HcalElectronicsId>::const_iterator it=
1001  eids.begin(); it!=eids.end(); ++it)
1002  {
1003 
1004  HcalElectronicsId eid = HcalElectronicsId(it->rawId());
1005  uint32_t hash = _hashmap.getHash(eid);
1006  MEMap::iterator mit = _mes.find(hash);
1007  if (mit!=_mes.end())
1008  continue;
1009 
1010  _logger.debug(_hashmap.getName(eid));
1011  _mes.insert(
1012  std::make_pair(hash,
1013  ib.book1D(_hashmap.getName(eid),
1014  _hashmap.getName(eid),
1015  _qx->nbins(), _qx->min(), _qx->max())));
1016 
1017  // customize
1018  customize(_mes[hash]);
1019  }
1020  }
1021  else if (_hashmap.isTHash())
1022  {
1023  // for TrigTower Hashes
1024  std::vector<HcalTrigTowerDetId> tids =
1025  emap->allTriggerId();
1026  for (std::vector<HcalTrigTowerDetId>::const_iterator it=
1027  tids.begin(); it!=tids.end(); ++it)
1028  {
1029  HcalTrigTowerDetId tid = HcalTrigTowerDetId(it->rawId());
1030  uint32_t hash = _hashmap.getHash(tid);
1031  MEMap::iterator mit = _mes.find(hash);
1032  if (mit!=_mes.end())
1033  continue;
1034 
1035  _logger.debug(_hashmap.getName(tid));
1036  _mes.insert(
1037  std::make_pair(hash,
1038  ib.book1D(_hashmap.getName(tid),
1039  _hashmap.getName(tid),
1040  _qx->nbins(), _qx->min(), _qx->max())));
1041  // customize
1042  customize(_mes[hash]);
1043  }
1044  }
1045  }
virtual void customize(MonitorElement *)
virtual bool isTHash() const
Definition: HashMapper.h:63
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:50
quantity::Quantity * _qx
Definition: Container1D.h:332
MonitorElement * book1D(Args &&...args)
Definition: DQMStore.h:118
std::string _folder
Definition: Container.h:42
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:274
mapper::HashMapper _hashmap
Definition: Container1D.h:331
virtual double min()
Definition: Quantity.h:75
virtual bool isDHash() const
Definition: HashMapper.h:56
std::string _qname
Definition: Container.h:43
virtual bool isEHash() const
Definition: HashMapper.h:58
Readout chain identification for Hcal.
std::string getName(HcalDetId const &did) const override
Definition: HashMapper.h:42
void hcaldqm::Container1D::book ( DQMStore::IBooker ib,
HcalElectronicsMap const *  emap,
filter::HashFilter const &  filter,
std::string  subsystem = "Hcal",
std::string  aux = "" 
)
virtual

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

Definition at line 1048 of file Container1D.cc.

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

1051  {
1052  // full path to where all the plots are living
1053  // subsystem/taskname/QxvsQy_auxilary/HashType
1054  ib.setCurrentFolder(subsystem+"/"+_folder+"/"+_qname+
1055  (aux.empty()?aux:"_"+aux)+"/"+_hashmap.getHashTypeName());
1057 
1058  if (_hashmap.isDHash())
1059  {
1060  // for Detector Hashes
1061  std::vector<HcalGenericDetId> dids = emap->allPrecisionId();
1062  for (std::vector<HcalGenericDetId>::const_iterator it=
1063  dids.begin(); it!=dids.end(); ++it)
1064  {
1065  // skip trigger towers and calibration
1066  if (!it->isHcalDetId())
1067  continue;
1068 
1069  HcalDetId did = HcalDetId(it->rawId());
1070  uint32_t hash = _hashmap.getHash(did);
1071  MEMap::iterator mit = _mes.find(hash);
1072  if (mit!=_mes.end())
1073  continue;
1074  if (filter.filter(did))
1075  continue;
1076 
1077  _logger.debug(_hashmap.getName(did));
1078  _mes.insert(
1079  std::make_pair(hash, ib.book1D(_hashmap.getName(did),
1080  _hashmap.getName(did), _qx->nbins(), _qx->min(),
1081  _qx->max())));
1082 
1083  // customize
1084  customize(_mes[hash]);
1085  }
1086  }
1087 
1088  else if (_hashmap.isEHash())
1089  {
1090  // for Electronics Hashes
1091  std::vector<HcalElectronicsId> eids =
1092  emap->allElectronicsIdPrecision();
1093  for (std::vector<HcalElectronicsId>::const_iterator it=
1094  eids.begin(); it!=eids.end(); ++it)
1095  {
1096  HcalElectronicsId eid = HcalElectronicsId(it->rawId());
1097  uint32_t hash = _hashmap.getHash(eid);
1098  MEMap::iterator mit = _mes.find(hash);
1099  if (mit!=_mes.end())
1100  continue;
1101  if (filter.filter(eid))
1102  continue;
1103 
1104  _logger.debug(_hashmap.getName(eid));
1105  _mes.insert(
1106  std::make_pair(hash,
1107  ib.book1D(_hashmap.getName(eid),
1108  _hashmap.getName(eid),
1109  _qx->nbins(), _qx->min(), _qx->max())));
1110 
1111  // customize
1112  customize(_mes[hash]);
1113  }
1114  }
1115  else if (_hashmap.isTHash())
1116  {
1117  // for TrigTower Hashes
1118  std::vector<HcalTrigTowerDetId> tids =
1119  emap->allTriggerId();
1120  for (std::vector<HcalTrigTowerDetId>::const_iterator it=
1121  tids.begin(); it!=tids.end(); ++it)
1122  {
1123  HcalTrigTowerDetId tid = HcalTrigTowerDetId(it->rawId());
1124  uint32_t hash = _hashmap.getHash(tid);
1125  MEMap::iterator mit = _mes.find(hash);
1126  if (mit!=_mes.end())
1127  continue;
1128  if (filter.filter(tid))
1129  continue;
1130 
1131  _logger.debug(_hashmap.getName(tid));
1132  _mes.insert(
1133  std::make_pair(hash,
1134  ib.book1D(_hashmap.getName(tid),
1135  _hashmap.getName(tid),
1136  _qx->nbins(), _qx->min(), _qx->max())));
1137  // customize
1138  customize(_mes[hash]);
1139  }
1140  }
1141  }
virtual void customize(MonitorElement *)
virtual bool isTHash() const
Definition: HashMapper.h:63
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:50
quantity::Quantity * _qx
Definition: Container1D.h:332
MonitorElement * book1D(Args &&...args)
Definition: DQMStore.h:118
std::string _folder
Definition: Container.h:42
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:274
mapper::HashMapper _hashmap
Definition: Container1D.h:331
virtual double min()
Definition: Quantity.h:75
virtual bool isDHash() const
Definition: HashMapper.h:56
std::string _qname
Definition: Container.h:43
virtual bool isEHash() const
Definition: HashMapper.h:58
Readout chain identification for Hcal.
std::string getName(HcalDetId const &did) const override
Definition: HashMapper.h:42
void hcaldqm::Container1D::book ( DQMStore store,
HcalElectronicsMap const *  emap,
std::string  subsystem = "Hcal",
std::string  aux = "" 
)
virtual

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

Definition at line 1143 of file Container1D.cc.

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

1146  {
1147  // full path to where all the plots are living
1148  // subsystem/taskname/QxvsQy_auxilary/HashType
1149  store->setCurrentFolder(subsystem+"/"+_folder+"/"+_qname+
1150  (aux.empty()?aux:"_"+aux)+"/"+_hashmap.getHashTypeName());
1152  if (_hashmap.isDHash())
1153  {
1154  // for Detector Hashes
1155  std::vector<HcalGenericDetId> dids = emap->allPrecisionId();
1156  for (std::vector<HcalGenericDetId>::const_iterator it=
1157  dids.begin(); it!=dids.end(); ++it)
1158  {
1159  // skip trigger towers and calibration
1160  if (!it->isHcalDetId())
1161  continue;
1162 
1163  HcalDetId did = HcalDetId(it->rawId());
1164  uint32_t hash = _hashmap.getHash(did);
1165  MEMap::iterator mit = _mes.find(hash);
1166  if (mit!=_mes.end())
1167  continue;
1168 
1169  _logger.debug(_hashmap.getName(did));
1170  _mes.insert(
1171  std::make_pair(hash, store->book1D(_hashmap.getName(did),
1172  _hashmap.getName(did), _qx->nbins(), _qx->min(),
1173  _qx->max())));
1174 
1175  // customize
1176  customize(_mes[hash]);
1177  }
1178  }
1179 
1180  else if (_hashmap.isEHash())
1181  {
1182  // for Electronics Hashes
1183  std::vector<HcalElectronicsId> eids =
1184  emap->allElectronicsIdPrecision();
1185  for (std::vector<HcalElectronicsId>::const_iterator it=
1186  eids.begin(); it!=eids.end(); ++it)
1187  {
1188  HcalElectronicsId eid = HcalElectronicsId(it->rawId());
1189  uint32_t hash = _hashmap.getHash(eid);
1190  MEMap::iterator mit = _mes.find(hash);
1191  if (mit!=_mes.end())
1192  continue;
1193 
1194  _logger.debug(_hashmap.getName(eid));
1195  _mes.insert(
1196  std::make_pair(hash,
1197  store->book1D(_hashmap.getName(eid),
1198  _hashmap.getName(eid),
1199  _qx->nbins(), _qx->min(), _qx->max())));
1200 
1201  // customize
1202  customize(_mes[hash]);
1203  }
1204  }
1205  else if (_hashmap.isTHash())
1206  {
1207  // for TrigTower Hashes
1208  std::vector<HcalTrigTowerDetId> tids =
1209  emap->allTriggerId();
1210  for (std::vector<HcalTrigTowerDetId>::const_iterator it=
1211  tids.begin(); it!=tids.end(); ++it)
1212  {
1213  HcalTrigTowerDetId tid = HcalTrigTowerDetId(it->rawId());
1214  uint32_t hash = _hashmap.getHash(tid);
1215  MEMap::iterator mit = _mes.find(hash);
1216  if (mit!=_mes.end())
1217  continue;
1218 
1219  _logger.debug(_hashmap.getName(tid));
1220  _mes.insert(
1221  std::make_pair(hash,
1222  store->book1D(_hashmap.getName(tid),
1223  _hashmap.getName(tid),
1224  _qx->nbins(), _qx->min(), _qx->max())));
1225  // customize
1226  customize(_mes[hash]);
1227  }
1228  }
1229  }
virtual void customize(MonitorElement *)
MonitorElement * book1D(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1D histogram.
Definition: DQMStore.cc:837
virtual bool isTHash() const
Definition: HashMapper.h:63
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:50
quantity::Quantity * _qx
Definition: Container1D.h:332
std::string _folder
Definition: Container.h:42
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:331
virtual double min()
Definition: Quantity.h:75
virtual bool isDHash() const
Definition: HashMapper.h:56
std::string _qname
Definition: Container.h:43
virtual bool isEHash() const
Definition: HashMapper.h:58
Readout chain identification for Hcal.
std::string getName(HcalDetId const &did) const override
Definition: HashMapper.h:42
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:545
void hcaldqm::Container1D::book ( DQMStore store,
HcalElectronicsMap const *  emap,
filter::HashFilter const &  filter,
std::string  subsystem = "Hcal",
std::string  aux = "" 
)
virtual

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

Definition at line 1231 of file Container1D.cc.

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

1234  {
1235  // full path to where all the plots are living
1236  // subsystem/taskname/QxvsQy_auxilary/HashType
1237  store->setCurrentFolder(subsystem+"/"+_folder+"/"+_qname+
1238  (aux.empty()?aux:"_"+aux)+"/"+_hashmap.getHashTypeName());
1240  if (_hashmap.isDHash())
1241  {
1242  // for Detector Hashes
1243  std::vector<HcalGenericDetId> dids = emap->allPrecisionId();
1244  for (std::vector<HcalGenericDetId>::const_iterator it=
1245  dids.begin(); it!=dids.end(); ++it)
1246  {
1247  // skip trigger towers and calibration
1248  if (!it->isHcalDetId())
1249  continue;
1250 
1251  HcalDetId did = HcalDetId(it->rawId());
1252  uint32_t hash = _hashmap.getHash(did);
1253  MEMap::iterator mit = _mes.find(hash);
1254  if (mit!=_mes.end())
1255  continue;
1256  if (filter.filter(did))
1257  continue;
1258 
1259  _logger.debug(_hashmap.getName(did));
1260  _mes.insert(
1261  std::make_pair(hash, store->book1D(_hashmap.getName(did),
1262  _hashmap.getName(did), _qx->nbins(), _qx->min(),
1263  _qx->max())));
1264 
1265  // customize
1266  customize(_mes[hash]);
1267  }
1268  }
1269 
1270  else if (_hashmap.isEHash())
1271  {
1272  // for Electronics Hashes
1273  std::vector<HcalElectronicsId> eids =
1274  emap->allElectronicsIdPrecision();
1275  for (std::vector<HcalElectronicsId>::const_iterator it=
1276  eids.begin(); it!=eids.end(); ++it)
1277  {
1278  HcalElectronicsId eid = HcalElectronicsId(it->rawId());
1279  uint32_t hash = _hashmap.getHash(eid);
1280  MEMap::iterator mit = _mes.find(hash);
1281  if (mit!=_mes.end())
1282  continue;
1283  if (filter.filter(eid))
1284  continue;
1285 
1286  _logger.debug(_hashmap.getName(eid));
1287  _mes.insert(
1288  std::make_pair(hash,
1289  store->book1D(_hashmap.getName(eid),
1290  _hashmap.getName(eid),
1291  _qx->nbins(), _qx->min(), _qx->max())));
1292 
1293  // customize
1294  customize(_mes[hash]);
1295  }
1296  }
1297  else if (_hashmap.isTHash())
1298  {
1299  // for TrigTower Hashes
1300  std::vector<HcalTrigTowerDetId> tids =
1301  emap->allTriggerId();
1302  for (std::vector<HcalTrigTowerDetId>::const_iterator it=
1303  tids.begin(); it!=tids.end(); ++it)
1304  {
1305  HcalTrigTowerDetId tid = HcalTrigTowerDetId(it->rawId());
1306  uint32_t hash = _hashmap.getHash(tid);
1307  MEMap::iterator mit = _mes.find(hash);
1308  if (mit!=_mes.end())
1309  continue;
1310  if (filter.filter(tid))
1311  continue;
1312 
1313  _logger.debug(_hashmap.getName(tid));
1314  _mes.insert(
1315  std::make_pair(hash,
1316  store->book1D(_hashmap.getName(tid),
1317  _hashmap.getName(tid),
1318  _qx->nbins(), _qx->min(), _qx->max())));
1319  // customize
1320  customize(_mes[hash]);
1321  }
1322  }
1323  }
virtual void customize(MonitorElement *)
MonitorElement * book1D(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1D histogram.
Definition: DQMStore.cc:837
virtual bool isTHash() const
Definition: HashMapper.h:63
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:50
quantity::Quantity * _qx
Definition: Container1D.h:332
std::string _folder
Definition: Container.h:42
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:331
virtual double min()
Definition: Quantity.h:75
virtual bool isDHash() const
Definition: HashMapper.h:56
std::string _qname
Definition: Container.h:43
virtual bool isEHash() const
Definition: HashMapper.h:58
Readout chain identification for Hcal.
std::string getName(HcalDetId const &did) const override
Definition: HashMapper.h:42
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:545
void hcaldqm::Container1D::customize ( MonitorElement me)
protectedvirtual

Reimplemented in hcaldqm::Container2D.

Definition at line 1325 of file Container1D.cc.

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

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

1326  {
1327  // set labels
1328  me->setAxisTitle(_qx->name(), 1);
1329  me->setAxisTitle(_qy->name(), 2);
1330 
1331  // set bits
1332  TH1 *h = me->getTH1();
1333  _qx->setBits(h);
1334  _qy->setBits(h);
1335 
1336  // set labels
1337  std::vector<std::string> xlabels = _qx->getLabels();
1338  for (unsigned int i=0; i<xlabels.size(); i++) {
1339  me->setBinLabel(i+1, xlabels[i], 1);
1340  }
1341  }
virtual void setBits(TH1 *o)
Definition: Quantity.h:65
virtual std::string name()
Definition: Quantity.h:47
FWCore Framework interface EventSetupRecordImplementation h
Helper function to determine trigger accepts.
virtual std::vector< std::string > getLabels()
Definition: Quantity.h:78
TH1 * getTH1() const
void setBinLabel(int bin, const std::string &label, int axis=1)
set bin label for x, y or z axis (axis=1, 2, 3 respectively)
quantity::Quantity * _qx
Definition: Container1D.h:332
void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
quantity::Quantity * _qy
Definition: Container1D.h:333
void hcaldqm::Container1D::extendAxisRange ( int  l)
virtual

Definition at line 1343 of file Container1D.cc.

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

Referenced by setBinContent().

1344  {
1345  if (l<_qx->nbins())
1346  return;
1347 
1348  // inflate all the mes
1349  BOOST_FOREACH(MEMap::value_type &pair, _mes)
1350  {
1351  int x=_qx->nbins();
1352  while (l>=x)
1353  {
1354  pair.second->getTH1()->LabelsInflate();
1355  x*=2;
1356  _qx->setMax(x);
1357  }
1358  }
1359  }
virtual void setMax(double)
Definition: Quantity.h:81
quantity::Quantity * _qx
Definition: Container1D.h:332
void hcaldqm::Container1D::fill ( uint32_t  hash)
virtual
void hcaldqm::Container1D::fill ( uint32_t  hash,
int  x 
)
virtual

Definition at line 93 of file Container1D.cc.

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

94  {
95  if (_hashmap.isDHash())
96  this->fill(HcalDetId(hash), x);
97  else if (_hashmap.isEHash())
98  this->fill(HcalElectronicsId(hash), x);
99  else if (_hashmap.isTHash())
100  this->fill(HcalTrigTowerDetId(hash), x);
101  }
virtual bool isTHash() const
Definition: HashMapper.h:63
virtual void fill(uint32_t)
Definition: Container1D.cc:83
mapper::HashMapper _hashmap
Definition: Container1D.h:331
virtual bool isDHash() const
Definition: HashMapper.h:56
virtual bool isEHash() const
Definition: HashMapper.h:58
Readout chain identification for Hcal.
void hcaldqm::Container1D::fill ( uint32_t  hash,
double  x 
)
virtual

Definition at line 103 of file Container1D.cc.

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

104  {
105  if (_hashmap.isDHash())
106  this->fill(HcalDetId(hash), x);
107  else if (_hashmap.isEHash())
108  this->fill(HcalElectronicsId(hash), x);
109  else if (_hashmap.isTHash())
110  this->fill(HcalTrigTowerDetId(hash), x);
111  }
virtual bool isTHash() const
Definition: HashMapper.h:63
virtual void fill(uint32_t)
Definition: Container1D.cc:83
mapper::HashMapper _hashmap
Definition: Container1D.h:331
virtual bool isDHash() const
Definition: HashMapper.h:56
virtual bool isEHash() const
Definition: HashMapper.h:58
Readout chain identification for Hcal.
void hcaldqm::Container1D::fill ( uint32_t  hash,
int  x,
double  y 
)
virtual

Definition at line 113 of file Container1D.cc.

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

114  {
115  if (_hashmap.isDHash())
116  this->fill(HcalDetId(hash), x, y);
117  else if (_hashmap.isEHash())
118  this->fill(HcalElectronicsId(hash), x, y);
119  else if (_hashmap.isTHash())
120  this->fill(HcalTrigTowerDetId(hash), x, y);
121  }
virtual bool isTHash() const
Definition: HashMapper.h:63
virtual void fill(uint32_t)
Definition: Container1D.cc:83
mapper::HashMapper _hashmap
Definition: Container1D.h:331
virtual bool isDHash() const
Definition: HashMapper.h:56
virtual bool isEHash() const
Definition: HashMapper.h:58
Readout chain identification for Hcal.
void hcaldqm::Container1D::fill ( uint32_t  hash,
int  x,
int  y 
)
virtual

Definition at line 123 of file Container1D.cc.

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

124  {
125  if (_hashmap.isDHash())
126  this->fill(HcalDetId(hash), x, y);
127  else if (_hashmap.isEHash())
128  this->fill(HcalElectronicsId(hash), x, y);
129  else if (_hashmap.isTHash())
130  this->fill(HcalTrigTowerDetId(hash), x, y);
131  }
virtual bool isTHash() const
Definition: HashMapper.h:63
virtual void fill(uint32_t)
Definition: Container1D.cc:83
mapper::HashMapper _hashmap
Definition: Container1D.h:331
virtual bool isDHash() const
Definition: HashMapper.h:56
virtual bool isEHash() const
Definition: HashMapper.h:58
Readout chain identification for Hcal.
void hcaldqm::Container1D::fill ( uint32_t  hash,
double  x,
double  y 
)
virtual

Definition at line 133 of file Container1D.cc.

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

134  {
135  if (_hashmap.isDHash())
136  this->fill(HcalDetId(hash), x, y);
137  else if (_hashmap.isEHash())
138  this->fill(HcalElectronicsId(hash), x, y);
139  else if (_hashmap.isTHash())
140  this->fill(HcalTrigTowerDetId(hash), x, y);
141  }
virtual bool isTHash() const
Definition: HashMapper.h:63
virtual void fill(uint32_t)
Definition: Container1D.cc:83
mapper::HashMapper _hashmap
Definition: Container1D.h:331
virtual bool isDHash() const
Definition: HashMapper.h:56
virtual bool isEHash() const
Definition: HashMapper.h:58
Readout chain identification for Hcal.
void hcaldqm::Container1D::fill ( HcalDetId const &  did)
virtual

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

Definition at line 144 of file Container1D.cc.

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

145  {
146  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(did));
147  }
quantity::Quantity * _qx
Definition: Container1D.h:332
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:59
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:331
void hcaldqm::Container1D::fill ( HcalDetId const &  did,
int  x 
)
virtual

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

Definition at line 148 of file Container1D.cc.

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

149  {
150  QuantityType qtype = _qx->type();
151  if (qtype==fValueQuantity || qtype==fFlagQuantity)
152  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(x));
153  else
154  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(did),
155  _qy->getValue(x));
156  }
quantity::Quantity * _qx
Definition: Container1D.h:332
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:59
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:331
virtual QuantityType type()
Definition: Quantity.h:46
quantity::Quantity * _qy
Definition: Container1D.h:333
void hcaldqm::Container1D::fill ( HcalDetId const &  did,
double  x 
)
virtual

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

Definition at line 157 of file Container1D.cc.

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

158  {
159  QuantityType qtype = _qx->type();
160  if (qtype==fValueQuantity || qtype==fFlagQuantity)
161  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(x));
162  else
163  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(did),
164  _qy->getValue(x));
165  }
quantity::Quantity * _qx
Definition: Container1D.h:332
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:59
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:331
virtual QuantityType type()
Definition: Quantity.h:46
quantity::Quantity * _qy
Definition: Container1D.h:333
void hcaldqm::Container1D::fill ( HcalDetId const &  did,
int  x,
double  y 
)
virtual

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

Definition at line 166 of file Container1D.cc.

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

167  {
168  QuantityType qtype = _qx->type();
169  if (qtype==fValueQuantity || qtype==fFlagQuantity)
170  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(x),
171  _qy->getValue(y));
172  else
173  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(did),
174  _qy->getValue(x), y);
175  }
quantity::Quantity * _qx
Definition: Container1D.h:332
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:59
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:331
virtual QuantityType type()
Definition: Quantity.h:46
quantity::Quantity * _qy
Definition: Container1D.h:333
void hcaldqm::Container1D::fill ( HcalDetId const &  did,
int  x,
int  y 
)
virtual

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

Definition at line 176 of file Container1D.cc.

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

177  {
178  QuantityType qtype = _qx->type();
179  if (qtype==fValueQuantity || qtype==fFlagQuantity)
180  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(x),
181  _qy->getValue(y));
182  else
183  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(did),
184  _qy->getValue(x), y);
185  }
quantity::Quantity * _qx
Definition: Container1D.h:332
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:59
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:331
virtual QuantityType type()
Definition: Quantity.h:46
quantity::Quantity * _qy
Definition: Container1D.h:333
void hcaldqm::Container1D::fill ( HcalDetId const &  did,
double  x,
double  y 
)
virtual

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

Definition at line 186 of file Container1D.cc.

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

188  {
189  QuantityType qtype = _qx->type();
190  if (qtype==fValueQuantity || qtype==fFlagQuantity)
191  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(x),
192  _qy->getValue(y));
193  else
194  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(did),
195  _qy->getValue(x), y);
196  }
quantity::Quantity * _qx
Definition: Container1D.h:332
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:59
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:331
virtual QuantityType type()
Definition: Quantity.h:46
quantity::Quantity * _qy
Definition: Container1D.h:333
void hcaldqm::Container1D::fill ( HcalElectronicsId const &  did)
virtual

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

Definition at line 292 of file Container1D.cc.

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

293  {
294  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(did));
295  }
quantity::Quantity * _qx
Definition: Container1D.h:332
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:59
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:331
void hcaldqm::Container1D::fill ( HcalElectronicsId const &  did,
int  x 
)
virtual

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

Definition at line 296 of file Container1D.cc.

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

297  {
298  QuantityType qtype = _qx->type();
299  if (qtype==fValueQuantity || qtype==fFlagQuantity)
300  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(x));
301  else
302  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(did),
303  _qy->getValue(x));
304  }
quantity::Quantity * _qx
Definition: Container1D.h:332
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:59
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:331
virtual QuantityType type()
Definition: Quantity.h:46
quantity::Quantity * _qy
Definition: Container1D.h:333
void hcaldqm::Container1D::fill ( HcalElectronicsId const &  did,
double  x 
)
virtual

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

Definition at line 305 of file Container1D.cc.

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

306  {
307  QuantityType qtype = _qx->type();
308  if (qtype==fValueQuantity || qtype==fFlagQuantity)
309  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(x));
310  else
311  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(did),
312  _qy->getValue(x));
313  }
quantity::Quantity * _qx
Definition: Container1D.h:332
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:59
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:331
virtual QuantityType type()
Definition: Quantity.h:46
quantity::Quantity * _qy
Definition: Container1D.h:333
void hcaldqm::Container1D::fill ( HcalElectronicsId const &  did,
int  x,
double  y 
)
virtual

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

Definition at line 314 of file Container1D.cc.

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

316  {
317  QuantityType qtype = _qx->type();
318  if (qtype==fValueQuantity || qtype==fFlagQuantity)
319  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(x),
320  _qy->getValue(y));
321  else
322  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(did),
323  _qy->getValue(x), y);
324  }
quantity::Quantity * _qx
Definition: Container1D.h:332
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:59
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:331
virtual QuantityType type()
Definition: Quantity.h:46
quantity::Quantity * _qy
Definition: Container1D.h:333
void hcaldqm::Container1D::fill ( HcalElectronicsId const &  did,
int  x,
int  y 
)
virtual

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

Definition at line 325 of file Container1D.cc.

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

327  {
328  QuantityType qtype = _qx->type();
329  if (qtype==fValueQuantity || qtype==fFlagQuantity)
330  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(x),
331  _qy->getValue(y));
332  else
333  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(did),
334  _qy->getValue(x), y);
335  }
quantity::Quantity * _qx
Definition: Container1D.h:332
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:59
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:331
virtual QuantityType type()
Definition: Quantity.h:46
quantity::Quantity * _qy
Definition: Container1D.h:333
void hcaldqm::Container1D::fill ( HcalElectronicsId const &  did,
double  x,
double  y 
)
virtual

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

Definition at line 336 of file Container1D.cc.

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

338  {
339  QuantityType qtype = _qx->type();
340  if (qtype==fValueQuantity || qtype==fFlagQuantity)
341  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(x),
342  _qy->getValue(y));
343  else
344  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(did),
345  _qy->getValue(x), y);
346  }
quantity::Quantity * _qx
Definition: Container1D.h:332
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:59
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:331
virtual QuantityType type()
Definition: Quantity.h:46
quantity::Quantity * _qy
Definition: Container1D.h:333
void hcaldqm::Container1D::fill ( HcalTrigTowerDetId const &  did)
virtual

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

Definition at line 444 of file Container1D.cc.

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

445  {
446  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(did));
447  }
quantity::Quantity * _qx
Definition: Container1D.h:332
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:59
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:331
void hcaldqm::Container1D::fill ( HcalTrigTowerDetId const &  did,
int  x 
)
virtual

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

Definition at line 448 of file Container1D.cc.

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

449  {
450  QuantityType qtype = _qx->type();
451  if (qtype==fValueQuantity || qtype==fFlagQuantity)
452  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(x));
453  else
454  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(did),
455  _qy->getValue(x));
456  }
quantity::Quantity * _qx
Definition: Container1D.h:332
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:59
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:331
virtual QuantityType type()
Definition: Quantity.h:46
quantity::Quantity * _qy
Definition: Container1D.h:333
void hcaldqm::Container1D::fill ( HcalTrigTowerDetId const &  did,
double  x 
)
virtual

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

Definition at line 457 of file Container1D.cc.

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

459  {
460  QuantityType qtype = _qx->type();
461  if (qtype==fValueQuantity || qtype==fFlagQuantity)
462  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(x));
463  else
464  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(did),
465  _qy->getValue(x));
466  }
quantity::Quantity * _qx
Definition: Container1D.h:332
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:59
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:331
virtual QuantityType type()
Definition: Quantity.h:46
quantity::Quantity * _qy
Definition: Container1D.h:333
void hcaldqm::Container1D::fill ( HcalTrigTowerDetId const &  did,
int  x,
double  y 
)
virtual

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

Definition at line 467 of file Container1D.cc.

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

469  {
470  QuantityType qtype = _qx->type();
471  if (qtype==fValueQuantity || qtype==fFlagQuantity)
472  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(x),
473  _qy->getValue(y));
474  else
475  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(did),
476  _qy->getValue(x), y);
477  }
quantity::Quantity * _qx
Definition: Container1D.h:332
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:59
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:331
virtual QuantityType type()
Definition: Quantity.h:46
quantity::Quantity * _qy
Definition: Container1D.h:333
void hcaldqm::Container1D::fill ( HcalTrigTowerDetId const &  did,
int  x,
int  y 
)
virtual

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

Definition at line 478 of file Container1D.cc.

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

480  {
481  QuantityType qtype = _qx->type();
482  if (qtype==fValueQuantity || qtype==fFlagQuantity)
483  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(x),
484  _qy->getValue(y));
485  else
486  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(did),
487  _qy->getValue(x), y);
488  }
quantity::Quantity * _qx
Definition: Container1D.h:332
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:59
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:331
virtual QuantityType type()
Definition: Quantity.h:46
quantity::Quantity * _qy
Definition: Container1D.h:333
void hcaldqm::Container1D::fill ( HcalTrigTowerDetId const &  did,
double  x,
double  y 
)
virtual

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

Definition at line 489 of file Container1D.cc.

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

491  {
492  QuantityType qtype = _qx->type();
493  if (qtype==fValueQuantity || qtype==fFlagQuantity)
494  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(x),
495  _qy->getValue(y));
496  else
497  _mes[_hashmap.getHash(did)]->Fill(_qx->getValue(did),
498  _qy->getValue(x), y);
499  }
quantity::Quantity * _qx
Definition: Container1D.h:332
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:59
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:331
virtual QuantityType type()
Definition: Quantity.h:46
quantity::Quantity * _qy
Definition: Container1D.h:333
double hcaldqm::Container1D::getBinContent ( HcalDetId const &  tid)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 215 of file Container1D.cc.

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

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

217  {
218  return _mes[_hashmap.getHash(tid)]->getBinContent(_qx->getBin(tid));
219  }
quantity::Quantity * _qx
Definition: Container1D.h:332
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:331
double hcaldqm::Container1D::getBinContent ( HcalDetId const &  tid,
int  x 
)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 221 of file Container1D.cc.

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

223  {
224  return _mes[_hashmap.getHash(tid)]->getBinContent(_qx->getBin(x));
225  }
quantity::Quantity * _qx
Definition: Container1D.h:332
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:331
double hcaldqm::Container1D::getBinContent ( HcalDetId const &  tid,
double  x 
)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 227 of file Container1D.cc.

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

229  {
230  return _mes[_hashmap.getHash(tid)]->getBinContent(_qx->getBin(x));
231  }
quantity::Quantity * _qx
Definition: Container1D.h:332
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:331
virtual double hcaldqm::Container1D::getBinContent ( HcalDetId const &  did,
int  x,
int   
)
inlinevirtual

Reimplemented in hcaldqm::Container2D.

Definition at line 90 of file Container1D.h.

References getBinContent().

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

Reimplemented in hcaldqm::Container2D.

Definition at line 92 of file Container1D.h.

References getBinContent().

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

Reimplemented in hcaldqm::Container2D.

Definition at line 94 of file Container1D.h.

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

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

Reimplemented in hcaldqm::Container2D.

Definition at line 365 of file Container1D.cc.

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

367  {
368  return _mes[_hashmap.getHash(tid)]->getBinContent(_qx->getBin(tid));
369  }
quantity::Quantity * _qx
Definition: Container1D.h:332
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:331
double hcaldqm::Container1D::getBinContent ( HcalElectronicsId const &  tid,
int  x 
)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 371 of file Container1D.cc.

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

373  {
374  return _mes[_hashmap.getHash(tid)]->getBinContent(_qx->getBin(x));
375  }
quantity::Quantity * _qx
Definition: Container1D.h:332
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:331
double hcaldqm::Container1D::getBinContent ( HcalElectronicsId const &  tid,
double  x 
)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 377 of file Container1D.cc.

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

379  {
380  return _mes[_hashmap.getHash(tid)]->getBinContent(_qx->getBin(x));
381  }
quantity::Quantity * _qx
Definition: Container1D.h:332
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:331
virtual double hcaldqm::Container1D::getBinContent ( HcalElectronicsId const &  eid,
int  x,
int   
)
inlinevirtual

Reimplemented in hcaldqm::Container2D.

Definition at line 153 of file Container1D.h.

References getBinContent().

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

Reimplemented in hcaldqm::Container2D.

Definition at line 156 of file Container1D.h.

References getBinContent().

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

Reimplemented in hcaldqm::Container2D.

Definition at line 159 of file Container1D.h.

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

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

Reimplemented in hcaldqm::Container2D.

Definition at line 519 of file Container1D.cc.

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

521  {
522  return _mes[_hashmap.getHash(tid)]->getBinContent(_qx->getBin(tid));
523  }
quantity::Quantity * _qx
Definition: Container1D.h:332
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:331
double hcaldqm::Container1D::getBinContent ( HcalTrigTowerDetId const &  tid,
int  x 
)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 525 of file Container1D.cc.

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

527  {
528  return _mes[_hashmap.getHash(tid)]->getBinContent(_qx->getBin(x));
529  }
quantity::Quantity * _qx
Definition: Container1D.h:332
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:331
double hcaldqm::Container1D::getBinContent ( HcalTrigTowerDetId const &  tid,
double  x 
)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 531 of file Container1D.cc.

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

533  {
534  return _mes[_hashmap.getHash(tid)]->getBinContent(_qx->getBin(x));
535  }
quantity::Quantity * _qx
Definition: Container1D.h:332
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:331
virtual double hcaldqm::Container1D::getBinContent ( HcalTrigTowerDetId const &  tid,
int  x,
int   
)
inlinevirtual

Reimplemented in hcaldqm::Container2D.

Definition at line 220 of file Container1D.h.

References getBinContent().

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

Reimplemented in hcaldqm::Container2D.

Definition at line 223 of file Container1D.h.

References getBinContent().

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

Reimplemented in hcaldqm::Container2D.

Definition at line 226 of file Container1D.h.

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

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

Reimplemented in hcaldqm::Container2D.

Definition at line 198 of file Container1D.cc.

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

Referenced by getBinEntries(), and setBinContent().

199  {
200  return _mes[_hashmap.getHash(id)]->getBinEntries(_qx->getBin(id));
201  }
quantity::Quantity * _qx
Definition: Container1D.h:332
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:331
double hcaldqm::Container1D::getBinEntries ( HcalDetId const &  id,
int  x 
)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 203 of file Container1D.cc.

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

205  {
206  return _mes[_hashmap.getHash(id)]->getBinEntries(_qx->getBin(x));
207  }
quantity::Quantity * _qx
Definition: Container1D.h:332
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:331
double hcaldqm::Container1D::getBinEntries ( HcalDetId const &  id,
double  x 
)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 209 of file Container1D.cc.

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

211  {
212  return _mes[_hashmap.getHash(id)]->getBinEntries(_qx->getBin(x));
213  }
quantity::Quantity * _qx
Definition: Container1D.h:332
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:331
virtual double hcaldqm::Container1D::getBinEntries ( HcalDetId const &  did,
int  x,
int   
)
inlinevirtual

Reimplemented in hcaldqm::Container2D.

Definition at line 80 of file Container1D.h.

References getBinEntries().

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

Reimplemented in hcaldqm::Container2D.

Definition at line 82 of file Container1D.h.

References getBinEntries().

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

Reimplemented in hcaldqm::Container2D.

Definition at line 84 of file Container1D.h.

References getBinContent(), and getBinEntries().

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

Reimplemented in hcaldqm::Container2D.

Definition at line 348 of file Container1D.cc.

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

349  {
350  return _mes[_hashmap.getHash(id)]->getBinEntries(_qx->getBin(id));
351  }
quantity::Quantity * _qx
Definition: Container1D.h:332
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:331
double hcaldqm::Container1D::getBinEntries ( HcalElectronicsId const &  id,
int  x 
)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 353 of file Container1D.cc.

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

355  {
356  return _mes[_hashmap.getHash(id)]->getBinEntries(_qx->getBin(x));
357  }
quantity::Quantity * _qx
Definition: Container1D.h:332
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:331
double hcaldqm::Container1D::getBinEntries ( HcalElectronicsId const &  id,
double  x 
)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 359 of file Container1D.cc.

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

361  {
362  return _mes[_hashmap.getHash(id)]->getBinEntries(_qx->getBin(x));
363  }
quantity::Quantity * _qx
Definition: Container1D.h:332
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:331
virtual double hcaldqm::Container1D::getBinEntries ( HcalElectronicsId const &  eid,
int  x,
int   
)
inlinevirtual

Reimplemented in hcaldqm::Container2D.

Definition at line 140 of file Container1D.h.

References getBinEntries().

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

Reimplemented in hcaldqm::Container2D.

Definition at line 143 of file Container1D.h.

References getBinEntries().

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

Reimplemented in hcaldqm::Container2D.

Definition at line 146 of file Container1D.h.

References getBinContent(), and getBinEntries().

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

Reimplemented in hcaldqm::Container2D.

Definition at line 501 of file Container1D.cc.

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

503  {
504  return _mes[_hashmap.getHash(id)]->getBinEntries(_qx->getBin(id));
505  }
quantity::Quantity * _qx
Definition: Container1D.h:332
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:331
double hcaldqm::Container1D::getBinEntries ( HcalTrigTowerDetId const &  id,
int  x 
)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 507 of file Container1D.cc.

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

509  {
510  return _mes[_hashmap.getHash(id)]->getBinEntries(_qx->getBin(x));
511  }
quantity::Quantity * _qx
Definition: Container1D.h:332
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:331
double hcaldqm::Container1D::getBinEntries ( HcalTrigTowerDetId const &  id,
double  x 
)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 513 of file Container1D.cc.

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

515  {
516  return _mes[_hashmap.getHash(id)]->getBinEntries(_qx->getBin(x));
517  }
quantity::Quantity * _qx
Definition: Container1D.h:332
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:331
virtual double hcaldqm::Container1D::getBinEntries ( HcalTrigTowerDetId const &  tid,
int  x,
int   
)
inlinevirtual

Reimplemented in hcaldqm::Container2D.

Definition at line 207 of file Container1D.h.

References getBinEntries().

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

Reimplemented in hcaldqm::Container2D.

Definition at line 210 of file Container1D.h.

References getBinEntries().

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

Reimplemented in hcaldqm::Container2D.

Definition at line 213 of file Container1D.h.

References getBinContent(), and getBinEntries().

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

Definition at line 233 of file Container1D.cc.

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

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

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

Definition at line 383 of file Container1D.cc.

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

385  {
386  return _mes[_hashmap.getHash(tid)]->getMean(axis);
387  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:331
double hcaldqm::Container1D::getMean ( HcalTrigTowerDetId const &  tid,
int  axis = 1 
)
virtual

Definition at line 537 of file Container1D.cc.

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

539  {
540  return _mes[_hashmap.getHash(tid)]->getMean(axis);
541  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:331
double hcaldqm::Container1D::getRMS ( HcalDetId const &  id,
int  axix = 1 
)
virtual

Definition at line 238 of file Container1D.cc.

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

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

239  {
240  return _mes[_hashmap.getHash(id)]->getRMS(axis);
241  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:331
double hcaldqm::Container1D::getRMS ( HcalElectronicsId const &  id,
int  axis = 1 
)
virtual

Definition at line 389 of file Container1D.cc.

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

391  {
392  return _mes[_hashmap.getHash(id)]->getRMS(axis);
393  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:331
double hcaldqm::Container1D::getRMS ( HcalTrigTowerDetId const &  id,
int  axis = 1 
)
virtual

Definition at line 543 of file Container1D.cc.

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

545  {
546  return _mes[_hashmap.getHash(id)]->getRMS(axis);
547  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:331
void hcaldqm::Container1D::initialize ( std::string const &  folder,
hashfunctions::HashType  hashtype,
quantity::Quantity qx,
quantity::Quantity qy = new quantity::ValueQuantity(quantity::fN),
int  debug = 0 
)
virtual

Reimplemented in hcaldqm::ContainerProf1D.

Definition at line 41 of file Container1D.cc.

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

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

44  {
45  Container::initialize(folder, qy->name()+"vs"+qx->name(), debug);
46  _hashmap.initialize(hashtype);
47  _qx = qx;
48  _qy = qy;
51  }
virtual void initialize(std::string const &folder, std::string const &qname, int debug=0)
Definition: Container.h:33
virtual void setAxisType(AxisType at)
Definition: Quantity.h:49
virtual void initialize(hashfunctions::HashType htype)
Definition: HashMapper.h:29
quantity::Quantity * _qx
Definition: Container1D.h:332
#define debug
Definition: HDRShower.cc:19
mapper::HashMapper _hashmap
Definition: Container1D.h:331
quantity::Quantity * _qy
Definition: Container1D.h:333
void hcaldqm::Container1D::initialize ( std::string const &  folder,
std::string const &  qname,
hashfunctions::HashType  hashtype,
quantity::Quantity qx,
quantity::Quantity qy = new quantity::ValueQuantity(quantity::fN),
int  debug = 0 
)
virtual

Reimplemented in hcaldqm::ContainerProf1D.

Definition at line 53 of file Container1D.cc.

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

57  {
59  _hashmap.initialize(hashtype);
60  _qx = qx;
61  _qy = qy;
64  }
virtual void initialize(std::string const &folder, std::string const &qname, int debug=0)
Definition: Container.h:33
virtual void setAxisType(AxisType at)
Definition: Quantity.h:49
virtual void initialize(hashfunctions::HashType htype)
Definition: HashMapper.h:29
quantity::Quantity * _qx
Definition: Container1D.h:332
#define debug
Definition: HDRShower.cc:19
mapper::HashMapper _hashmap
Definition: Container1D.h:331
quantity::Quantity * _qy
Definition: Container1D.h:333
void hcaldqm::Container1D::load ( DQMStore store,
HcalElectronicsMap const *  emap,
std::string const &  subsystem = "Hcal",
std::string const &  aux = "",
std::string const &  prepend = "",
DQMStore::OpenRunDirs  mode = DQMStore::StripRunDirs 
)
virtual

Definition at line 597 of file Container1D.cc.

References hcaldqm::Container::_folder, _hashmap, hcaldqm::Container::_logger, _mes, hcaldqm::Container::_qname, HcalElectronicsMap::allElectronicsIdPrecision(), HcalElectronicsMap::allPrecisionId(), HcalElectronicsMap::allTriggerId(), printConversionInfo::aux, Logger::debug(), runTauDisplay::eid, DQMStore::get(), hcaldqm::mapper::HashMapper::getHash(), hcaldqm::mapper::HashMapper::getHashTypeName(), hcaldqm::mapper::HashMapper::getName(), cond::hash, hcaldqm::mapper::HashMapper::isDHash(), hcaldqm::mapper::HashMapper::isEHash(), hcaldqm::mapper::HashMapper::isTHash(), DQMStore::KeepRunDirs, callgraph::path, and AlCaHLTBitMon_QueryRunRegistry::string.

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

601  {
602  // full path to where all the plots are living
603  // prepend/subsystem/taskname/QxvsQy_auxilary/HashType
604  // if loaded and not stripped, then
605  // prepend/subsystem/Run summary/taskname/...
607  std::string path = (prepend.empty()?prepend:prepend+"/")+
608  subsystem+"/"+(mode==DQMStore::KeepRunDirs?"Run summary/":"")
609  +_folder+"/"+_qname+
610  (aux.empty()?aux:"_"+aux)+"/"+_hashmap.getHashTypeName();
611  _logger.debug("FULLPATH::"+path);
612 
613  if (_hashmap.isDHash())
614  {
615  // for Detector Hashes
616  std::vector<HcalGenericDetId> dids = emap->allPrecisionId();
617  for (std::vector<HcalGenericDetId>::const_iterator it=
618  dids.begin(); it!=dids.end(); ++it)
619  {
620  // skip trigger towers and calibration
621  if (!it->isHcalDetId())
622  continue;
623 
624  HcalDetId did = HcalDetId(it->rawId());
625  uint32_t hash = _hashmap.getHash(did);
626  MEMap::iterator mit = _mes.find(hash);
627  if (mit!=_mes.end())
628  continue;
629 
631  _mes.insert(
632  std::make_pair(hash,
633  store->get(path+"/"+_hashmap.getName(did))));
634  }
635  }
636 
637  else if (_hashmap.isEHash())
638  {
639  // for Electronics Hashes
640  std::vector<HcalElectronicsId> eids =
641  emap->allElectronicsIdPrecision();
642  for (std::vector<HcalElectronicsId>::const_iterator it=
643  eids.begin(); it!=eids.end(); ++it)
644  {
645  HcalElectronicsId eid = HcalElectronicsId(it->rawId());
646  uint32_t hash = _hashmap.getHash(eid);
647  MEMap::iterator mit = _mes.find(hash);
648  if (mit!=_mes.end())
649  continue;
650 
652  _mes.insert(
653  std::make_pair(hash,
654  store->get(path+"/"+_hashmap.getName(eid))));
655  }
656  }
657  else if (_hashmap.isTHash())
658  {
659  // for TrigTower Hashes
660  std::vector<HcalTrigTowerDetId> tids =
661  emap->allTriggerId();
662  for (std::vector<HcalTrigTowerDetId>::const_iterator it=
663  tids.begin(); it!=tids.end(); ++it)
664  {
665  HcalTrigTowerDetId tid = HcalTrigTowerDetId(it->rawId());
666  uint32_t hash = _hashmap.getHash(tid);
667  MEMap::iterator mit = _mes.find(hash);
668  if (mit!=_mes.end())
669  continue;
670 
672  _mes.insert(
673  std::make_pair(hash,
674  store->get(path+"/"+_hashmap.getName(tid))));
675  }
676  }
677  }
virtual bool isTHash() const
Definition: HashMapper.h:63
void debug(STDTYPE const &msg) const
Definition: Logger.h:31
virtual std::string getHashTypeName() const
Definition: HashMapper.h:50
MonitorElement * get(const std::string &path) const
get ME from full pathname (e.g. "my/long/dir/my_histo")
Definition: DQMStore.cc:1610
std::string _folder
Definition: Container.h:42
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:331
virtual bool isDHash() const
Definition: HashMapper.h:56
std::string _qname
Definition: Container.h:43
virtual bool isEHash() const
Definition: HashMapper.h:58
Readout chain identification for Hcal.
std::string getName(HcalDetId const &did) const override
Definition: HashMapper.h:42
void hcaldqm::Container1D::load ( DQMStore store,
HcalElectronicsMap const *  emap,
filter::HashFilter const &  filter,
std::string const &  subsystem = "Hcal",
std::string const &  aux = "",
std::string const &  prepend = "",
DQMStore::OpenRunDirs  mode = DQMStore::StripRunDirs 
)
virtual

Definition at line 679 of file Container1D.cc.

References hcaldqm::Container::_folder, _hashmap, hcaldqm::Container::_logger, _mes, hcaldqm::Container::_qname, HcalElectronicsMap::allElectronicsIdPrecision(), HcalElectronicsMap::allPrecisionId(), HcalElectronicsMap::allTriggerId(), printConversionInfo::aux, Logger::debug(), runTauDisplay::eid, hcaldqm::filter::HashFilter::filter(), DQMStore::get(), hcaldqm::mapper::HashMapper::getHash(), hcaldqm::mapper::HashMapper::getHashTypeName(), hcaldqm::mapper::HashMapper::getName(), cond::hash, hcaldqm::mapper::HashMapper::isDHash(), hcaldqm::mapper::HashMapper::isEHash(), hcaldqm::mapper::HashMapper::isTHash(), DQMStore::KeepRunDirs, callgraph::path, and AlCaHLTBitMon_QueryRunRegistry::string.

684  {
685  // full path to where all the plots are living
686  // prepend/subsystem/taskname/QxvsQy_auxilary/HashType
687  // if loaded and not stripped, then
688  // prepend/subsystem/Run summary/taskname/...
690  std::string path = (prepend.empty()?prepend:prepend+"/")+
691  subsystem+"/"+(mode==DQMStore::KeepRunDirs?"Run summary/":"")
692  +_folder+"/"+_qname+
693  (aux.empty()?aux:"_"+aux)+"/"+_hashmap.getHashTypeName();
694  _logger.debug("FULLPATH::"+path);
695 
696  if (_hashmap.isDHash())
697  {
698  // for Detector Hashes
699  std::vector<HcalGenericDetId> dids = emap->allPrecisionId();
700  for (std::vector<HcalGenericDetId>::const_iterator it=
701  dids.begin(); it!=dids.end(); ++it)
702  {
703  // skip trigger towers and calibration
704  if (!it->isHcalDetId())
705  continue;
706 
707  HcalDetId did = HcalDetId(it->rawId());
708  uint32_t hash = _hashmap.getHash(did);
709  MEMap::iterator mit = _mes.find(hash);
710 
711  // skip this guy, it's already present
712  if (mit!=_mes.end())
713  continue;
714  // filter out what's not needed
715  if (filter.filter(did))
716  continue;
717 
719  _mes.insert(
720  std::make_pair(hash,
721  store->get(path+"/"+_hashmap.getName(did))));
722  }
723  }
724 
725  else if (_hashmap.isEHash())
726  {
727  // for Electronics Hashes
728  std::vector<HcalElectronicsId> eids =
729  emap->allElectronicsIdPrecision();
730  for (std::vector<HcalElectronicsId>::const_iterator it=
731  eids.begin(); it!=eids.end(); ++it)
732  {
733  HcalElectronicsId eid = HcalElectronicsId(it->rawId());
734  uint32_t hash = _hashmap.getHash(eid);
735  MEMap::iterator mit = _mes.find(hash);
736 
737  // skip this guy, it's already present
738  if (mit!=_mes.end())
739  continue;
740  // filter out
741  if (filter.filter(eid))
742  continue;
743 
745  _mes.insert(
746  std::make_pair(hash,
747  store->get(path+"/"+_hashmap.getName(eid))));
748  }
749  }
750  else if (_hashmap.isTHash())
751  {
752  // for TrigTower Hashes
753  std::vector<HcalTrigTowerDetId> tids =
754  emap->allTriggerId();
755  for (std::vector<HcalTrigTowerDetId>::const_iterator it=
756  tids.begin(); it!=tids.end(); ++it)
757  {
758  HcalTrigTowerDetId tid = HcalTrigTowerDetId(it->rawId());
759  uint32_t hash = _hashmap.getHash(tid);
760  MEMap::iterator mit = _mes.find(hash);
761 
762  // skip if this guy already exists
763  if (mit!=_mes.end())
764  continue;
765  // filter out
766  if (filter.filter(tid))
767  continue;
768 
770  _mes.insert(
771  std::make_pair(hash,
772  store->get(path+"/"+_hashmap.getName(tid))));
773  }
774  }
775  }
virtual bool isTHash() const
Definition: HashMapper.h:63
void debug(STDTYPE const &msg) const
Definition: Logger.h:31
virtual std::string getHashTypeName() const
Definition: HashMapper.h:50
MonitorElement * get(const std::string &path) const
get ME from full pathname (e.g. "my/long/dir/my_histo")
Definition: DQMStore.cc:1610
std::string _folder
Definition: Container.h:42
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:331
virtual bool isDHash() const
Definition: HashMapper.h:56
std::string _qname
Definition: Container.h:43
virtual bool isEHash() const
Definition: HashMapper.h:58
Readout chain identification for Hcal.
std::string getName(HcalDetId const &did) const override
Definition: HashMapper.h:42
void hcaldqm::Container1D::load ( DQMStore::IGetter ig,
HcalElectronicsMap const *  emap,
std::string const &  subsystem = "Hcal",
std::string const &  aux = "" 
)
virtual

Definition at line 778 of file Container1D.cc.

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

781  {
782  // full path to where all the plots are living
783  // prepend/subsystem/taskname/QxvsQy_auxilary/HashType
785  std::string path =
786  subsystem+"/"+_folder+"/"+_qname+
787  (aux.empty()?aux:"_"+aux)+"/"+_hashmap.getHashTypeName();
788  _logger.debug("FULLPATH::"+path);
789 
790  if (_hashmap.isDHash())
791  {
792  // for Detector Hashes
793  std::vector<HcalGenericDetId> dids = emap->allPrecisionId();
794  for (std::vector<HcalGenericDetId>::const_iterator it=
795  dids.begin(); it!=dids.end(); ++it)
796  {
797  // skip trigger towers and calibration
798  if (!it->isHcalDetId())
799  continue;
800 
801  HcalDetId did = HcalDetId(it->rawId());
802  uint32_t hash = _hashmap.getHash(did);
803  MEMap::iterator mit = _mes.find(hash);
804 
805  // skip this guy, it's already present
806  if (mit!=_mes.end())
807  continue;
808 
810  _mes.insert(
811  std::make_pair(hash,
812  ig.get(path+"/"+_hashmap.getName(did))));
813  }
814  }
815 
816  else if (_hashmap.isEHash())
817  {
818  // for Electronics Hashes
819  std::vector<HcalElectronicsId> eids =
820  emap->allElectronicsIdPrecision();
821  for (std::vector<HcalElectronicsId>::const_iterator it=
822  eids.begin(); it!=eids.end(); ++it)
823  {
824  HcalElectronicsId eid = HcalElectronicsId(it->rawId());
825  uint32_t hash = _hashmap.getHash(eid);
826  MEMap::iterator mit = _mes.find(hash);
827 
828  // skip this guy, it's already present
829  if (mit!=_mes.end())
830  continue;
831 
833  _mes.insert(
834  std::make_pair(hash,
835  ig.get(path+"/"+_hashmap.getName(eid))));
836  }
837  }
838  else if (_hashmap.isTHash())
839  {
840  // for TrigTower Hashes
841  std::vector<HcalTrigTowerDetId> tids =
842  emap->allTriggerId();
843  for (std::vector<HcalTrigTowerDetId>::const_iterator it=
844  tids.begin(); it!=tids.end(); ++it)
845  {
846  HcalTrigTowerDetId tid = HcalTrigTowerDetId(it->rawId());
847  uint32_t hash = _hashmap.getHash(tid);
848  MEMap::iterator mit = _mes.find(hash);
849 
850  // skip if this guy already exists
851  if (mit!=_mes.end())
852  continue;
853 
855  _mes.insert(
856  std::make_pair(hash,
857  ig.get(path+"/"+_hashmap.getName(tid))));
858  }
859  }
860  }
virtual bool isTHash() const
Definition: HashMapper.h:63
void debug(STDTYPE const &msg) const
Definition: Logger.h:31
MonitorElement * get(const std::string &path)
Definition: DQMStore.cc:302
virtual std::string getHashTypeName() const
Definition: HashMapper.h:50
std::string _folder
Definition: Container.h:42
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:331
virtual bool isDHash() const
Definition: HashMapper.h:56
std::string _qname
Definition: Container.h:43
virtual bool isEHash() const
Definition: HashMapper.h:58
Readout chain identification for Hcal.
std::string getName(HcalDetId const &did) const override
Definition: HashMapper.h:42
void hcaldqm::Container1D::load ( DQMStore::IGetter ig,
HcalElectronicsMap const *  emap,
filter::HashFilter const &  filter,
std::string const &  subsystem = "Hcal",
std::string const &  aux = "" 
)
virtual

Definition at line 863 of file Container1D.cc.

References hcaldqm::Container::_folder, _hashmap, hcaldqm::Container::_logger, _mes, hcaldqm::Container::_qname, HcalElectronicsMap::allElectronicsIdPrecision(), HcalElectronicsMap::allPrecisionId(), HcalElectronicsMap::allTriggerId(), printConversionInfo::aux, Logger::debug(), runTauDisplay::eid, hcaldqm::filter::HashFilter::filter(), DQMStore::IGetter::get(), hcaldqm::mapper::HashMapper::getHash(), hcaldqm::mapper::HashMapper::getHashTypeName(), hcaldqm::mapper::HashMapper::getName(), cond::hash, hcaldqm::mapper::HashMapper::isDHash(), hcaldqm::mapper::HashMapper::isEHash(), hcaldqm::mapper::HashMapper::isTHash(), callgraph::path, and AlCaHLTBitMon_QueryRunRegistry::string.

867  {
868  // full path to where all the plots are living
869  // prepend/subsystem/taskname/QxvsQy_auxilary/HashType
871  std::string path =
872  subsystem+"/"+_folder+"/"+_qname+
873  (aux.empty()?aux:"_"+aux)+"/"+_hashmap.getHashTypeName();
874  _logger.debug("FULLPATH::"+path);
875 
876  if (_hashmap.isDHash())
877  {
878  // for Detector Hashes
879  std::vector<HcalGenericDetId> dids = emap->allPrecisionId();
880  for (std::vector<HcalGenericDetId>::const_iterator it=
881  dids.begin(); it!=dids.end(); ++it)
882  {
883  // skip trigger towers and calibration
884  if (!it->isHcalDetId())
885  continue;
886 
887  HcalDetId did = HcalDetId(it->rawId());
888  uint32_t hash = _hashmap.getHash(did);
889  MEMap::iterator mit = _mes.find(hash);
890 
891  // skip this guy, it's already present
892  if (mit!=_mes.end())
893  continue;
894  // filter out what's not needed
895  if (filter.filter(did))
896  continue;
897 
899  _mes.insert(
900  std::make_pair(hash,
901  ig.get(path+"/"+_hashmap.getName(did))));
902  }
903  }
904 
905  else if (_hashmap.isEHash())
906  {
907  // for Electronics Hashes
908  std::vector<HcalElectronicsId> eids =
909  emap->allElectronicsIdPrecision();
910  for (std::vector<HcalElectronicsId>::const_iterator it=
911  eids.begin(); it!=eids.end(); ++it)
912  {
913  HcalElectronicsId eid = HcalElectronicsId(it->rawId());
914  uint32_t hash = _hashmap.getHash(eid);
915  MEMap::iterator mit = _mes.find(hash);
916 
917  // skip this guy, it's already present
918  if (mit!=_mes.end())
919  continue;
920  // filter out
921  if (filter.filter(eid))
922  continue;
923 
925  _mes.insert(
926  std::make_pair(hash,
927  ig.get(path+"/"+_hashmap.getName(eid))));
928  }
929  }
930  else if (_hashmap.isTHash())
931  {
932  // for TrigTower Hashes
933  std::vector<HcalTrigTowerDetId> tids =
934  emap->allTriggerId();
935  for (std::vector<HcalTrigTowerDetId>::const_iterator it=
936  tids.begin(); it!=tids.end(); ++it)
937  {
938  HcalTrigTowerDetId tid = HcalTrigTowerDetId(it->rawId());
939  uint32_t hash = _hashmap.getHash(tid);
940  MEMap::iterator mit = _mes.find(hash);
941 
942  // skip if this guy already exists
943  if (mit!=_mes.end())
944  continue;
945  // filter out
946  if (filter.filter(tid))
947  continue;
948 
950  _mes.insert(
951  std::make_pair(hash,
952  ig.get(path+"/"+_hashmap.getName(tid))));
953  }
954  }
955  }
virtual bool isTHash() const
Definition: HashMapper.h:63
void debug(STDTYPE const &msg) const
Definition: Logger.h:31
MonitorElement * get(const std::string &path)
Definition: DQMStore.cc:302
virtual std::string getHashTypeName() const
Definition: HashMapper.h:50
std::string _folder
Definition: Container.h:42
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:331
virtual bool isDHash() const
Definition: HashMapper.h:56
std::string _qname
Definition: Container.h:43
virtual bool isEHash() const
Definition: HashMapper.h:58
Readout chain identification for Hcal.
std::string getName(HcalDetId const &did) const override
Definition: HashMapper.h:42
void hcaldqm::Container1D::print ( void  )
virtual

Definition at line 74 of file Container1D.cc.

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

Referenced by setBinContent().

75  {
76  std::cout << "Container by " << _hashmap.getHashTypeName() << std::endl;
77  BOOST_FOREACH(MEMap::value_type &pair, _mes)
78  {
79  std::cout << std::hex << pair.first << std::dec << std::endl;
80  }
81  }
virtual std::string getHashTypeName() const
Definition: HashMapper.h:50
mapper::HashMapper _hashmap
Definition: Container1D.h:331
void hcaldqm::Container1D::reset ( void  )
virtual

Definition at line 66 of file Container1D.cc.

References _mes.

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

67  {
68  BOOST_FOREACH(MEMap::value_type &pair, _mes)
69  {
70  pair.second->Reset();
71  }
72  }
void hcaldqm::Container1D::setBinContent ( HcalDetId const &  id,
int  x 
)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 244 of file Container1D.cc.

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

Referenced by getBinContent(), and setBinContent().

246  {
247  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(id), x);
248  }
quantity::Quantity * _qx
Definition: Container1D.h:332
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:331
void hcaldqm::Container1D::setBinContent ( HcalDetId const &  id,
double  x 
)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 249 of file Container1D.cc.

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

251  {
252  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(id), x);
253  }
quantity::Quantity * _qx
Definition: Container1D.h:332
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:331
void hcaldqm::Container1D::setBinContent ( HcalDetId const &  id,
int  x,
int  y 
)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 254 of file Container1D.cc.

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

256  {
257  QuantityType qtype = _qx->type();
258  if (qtype==fValueQuantity || qtype==fFlagQuantity)
259  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x), y);
260  else
261  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(id), x);
262  }
quantity::Quantity * _qx
Definition: Container1D.h:332
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:331
virtual QuantityType type()
Definition: Quantity.h:46
void hcaldqm::Container1D::setBinContent ( HcalDetId const &  id,
int  x,
double  y 
)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 263 of file Container1D.cc.

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

265  {
266  QuantityType qtype = _qx->type();
267  if (qtype==fValueQuantity || qtype==fFlagQuantity)
268  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x), y);
269  else
270  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(id), x);
271  }
quantity::Quantity * _qx
Definition: Container1D.h:332
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:331
virtual QuantityType type()
Definition: Quantity.h:46
void hcaldqm::Container1D::setBinContent ( HcalDetId const &  id,
double  x,
double  y 
)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 281 of file Container1D.cc.

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

283  {
284  QuantityType qtype = _qx->type();
285  if (qtype==fValueQuantity || qtype==fFlagQuantity)
286  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x), y);
287  else
288  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(id), x);
289  }
quantity::Quantity * _qx
Definition: Container1D.h:332
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:331
virtual QuantityType type()
Definition: Quantity.h:46
void hcaldqm::Container1D::setBinContent ( HcalDetId const &  id,
double  x,
int  y 
)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 272 of file Container1D.cc.

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

274  {
275  QuantityType qtype = _qx->type();
276  if (qtype==fValueQuantity || qtype==fFlagQuantity)
277  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x), y);
278  else
279  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(id), x);
280  }
quantity::Quantity * _qx
Definition: Container1D.h:332
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:331
virtual QuantityType type()
Definition: Quantity.h:46
virtual void hcaldqm::Container1D::setBinContent ( HcalDetId const &  id,
int  x,
int  y,
int   
)
inlinevirtual

Reimplemented in hcaldqm::Container2D.

Definition at line 105 of file Container1D.h.

References setBinContent().

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

Reimplemented in hcaldqm::Container2D.

Definition at line 107 of file Container1D.h.

References setBinContent().

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

Reimplemented in hcaldqm::Container2D.

Definition at line 110 of file Container1D.h.

References setBinContent().

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

Reimplemented in hcaldqm::Container2D.

Definition at line 113 of file Container1D.h.

References setBinContent().

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

Reimplemented in hcaldqm::Container2D.

Definition at line 116 of file Container1D.h.

References setBinContent().

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

Reimplemented in hcaldqm::Container2D.

Definition at line 119 of file Container1D.h.

References setBinContent().

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

Reimplemented in hcaldqm::Container2D.

Definition at line 122 of file Container1D.h.

References setBinContent().

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

Reimplemented in hcaldqm::Container2D.

Definition at line 125 of file Container1D.h.

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

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

Reimplemented in hcaldqm::Container2D.

Definition at line 396 of file Container1D.cc.

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

398  {
399  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(id), x);
400  }
quantity::Quantity * _qx
Definition: Container1D.h:332
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:331
void hcaldqm::Container1D::setBinContent ( HcalElectronicsId const &  id,
double  x 
)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 401 of file Container1D.cc.

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

403  {
404  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(id), x);
405  }
quantity::Quantity * _qx
Definition: Container1D.h:332
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:331
void hcaldqm::Container1D::setBinContent ( HcalElectronicsId const &  id,
int  x,
int  y 
)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 406 of file Container1D.cc.

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

408  {
409  QuantityType qtype = _qx->type();
410  if (qtype==fValueQuantity || qtype==fFlagQuantity)
411  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x), y);
412  else
413  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(id), x);
414  }
quantity::Quantity * _qx
Definition: Container1D.h:332
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:331
virtual QuantityType type()
Definition: Quantity.h:46
void hcaldqm::Container1D::setBinContent ( HcalElectronicsId const &  id,
int  x,
double  y 
)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 415 of file Container1D.cc.

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

417  {
418  QuantityType qtype = _qx->type();
419  if (qtype==fValueQuantity || qtype==fFlagQuantity)
420  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x), y);
421  else
422  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(id), x);
423  }
quantity::Quantity * _qx
Definition: Container1D.h:332
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:331
virtual QuantityType type()
Definition: Quantity.h:46
void hcaldqm::Container1D::setBinContent ( HcalElectronicsId const &  id,
double  x,
double  y 
)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 433 of file Container1D.cc.

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

435  {
436  QuantityType qtype = _qx->type();
437  if (qtype==fValueQuantity || qtype==fFlagQuantity)
438  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x), y);
439  else
440  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(id), x);
441  }
quantity::Quantity * _qx
Definition: Container1D.h:332
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:331
virtual QuantityType type()
Definition: Quantity.h:46
void hcaldqm::Container1D::setBinContent ( HcalElectronicsId const &  id,
double  x,
int  y 
)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 424 of file Container1D.cc.

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

426  {
427  QuantityType qtype = _qx->type();
428  if (qtype==fValueQuantity || qtype==fFlagQuantity)
429  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x), y);
430  else
431  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(id), x);
432  }
quantity::Quantity * _qx
Definition: Container1D.h:332
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:331
virtual QuantityType type()
Definition: Quantity.h:46
virtual void hcaldqm::Container1D::setBinContent ( HcalElectronicsId const &  id,
int  x,
int  y,
int   
)
inlinevirtual

Reimplemented in hcaldqm::Container2D.

Definition at line 171 of file Container1D.h.

References setBinContent().

173  {setBinContent(id, x, y);}
virtual void setBinContent(HcalDetId const &, int)
Definition: Container1D.cc:244
virtual void hcaldqm::Container1D::setBinContent ( HcalElectronicsId const &  id,
int  x,
double  y,
int   
)
inlinevirtual

Reimplemented in hcaldqm::Container2D.

Definition at line 174 of file Container1D.h.

References setBinContent().

176  {setBinContent(id, x, y);}
virtual void setBinContent(HcalDetId const &, int)
Definition: Container1D.cc:244
virtual void hcaldqm::Container1D::setBinContent ( HcalElectronicsId const &  id,
double  x,
int  y,
int   
)
inlinevirtual

Reimplemented in hcaldqm::Container2D.

Definition at line 177 of file Container1D.h.

References setBinContent().

179  {setBinContent(id, x, y);}
virtual void setBinContent(HcalDetId const &, int)
Definition: Container1D.cc:244
virtual void hcaldqm::Container1D::setBinContent ( HcalElectronicsId const &  id,
double  x,
double  y,
int   
)
inlinevirtual

Reimplemented in hcaldqm::Container2D.

Definition at line 180 of file Container1D.h.

References setBinContent().

182  {setBinContent(id, x, y);}
virtual void setBinContent(HcalDetId const &, int)
Definition: Container1D.cc:244
virtual void hcaldqm::Container1D::setBinContent ( HcalElectronicsId const &  id,
int  x,
int  y,
double   
)
inlinevirtual

Reimplemented in hcaldqm::Container2D.

Definition at line 183 of file Container1D.h.

References setBinContent().

185  {setBinContent(id, x, y);}
virtual void setBinContent(HcalDetId const &, int)
Definition: Container1D.cc:244
virtual void hcaldqm::Container1D::setBinContent ( HcalElectronicsId const &  id,
int  x,
double  y,
double   
)
inlinevirtual

Reimplemented in hcaldqm::Container2D.

Definition at line 186 of file Container1D.h.

References setBinContent().

188  {setBinContent(id, x, y);}
virtual void setBinContent(HcalDetId const &, int)
Definition: Container1D.cc:244
virtual void hcaldqm::Container1D::setBinContent ( HcalElectronicsId const &  id,
double  x,
int  y,
double   
)
inlinevirtual

Reimplemented in hcaldqm::Container2D.

Definition at line 189 of file Container1D.h.

References setBinContent().

191  {setBinContent(id, x, y);}
virtual void setBinContent(HcalDetId const &, int)
Definition: Container1D.cc:244
virtual void hcaldqm::Container1D::setBinContent ( HcalElectronicsId const &  id,
double  x,
double  y,
double   
)
inlinevirtual

Reimplemented in hcaldqm::Container2D.

Definition at line 192 of file Container1D.h.

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

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

Reimplemented in hcaldqm::Container2D.

Definition at line 550 of file Container1D.cc.

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

552  {
553  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(id), x);
554  }
quantity::Quantity * _qx
Definition: Container1D.h:332
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:331
void hcaldqm::Container1D::setBinContent ( HcalTrigTowerDetId const &  id,
double  x 
)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 555 of file Container1D.cc.

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

557  {
558  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(id), x);
559  }
quantity::Quantity * _qx
Definition: Container1D.h:332
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:331
void hcaldqm::Container1D::setBinContent ( HcalTrigTowerDetId const &  id,
int  x,
int  y 
)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 560 of file Container1D.cc.

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

562  {
563  QuantityType qtype = _qx->type();
564  if (qtype==fValueQuantity || qtype==fFlagQuantity)
565  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x), y);
566  else
567  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(id), x);
568  }
quantity::Quantity * _qx
Definition: Container1D.h:332
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:331
virtual QuantityType type()
Definition: Quantity.h:46
void hcaldqm::Container1D::setBinContent ( HcalTrigTowerDetId const &  id,
int  x,
double  y 
)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 569 of file Container1D.cc.

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

571  {
572  QuantityType qtype = _qx->type();
573  if (qtype==fValueQuantity || qtype==fFlagQuantity)
574  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x), y);
575  else
576  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(id), x);
577  }
quantity::Quantity * _qx
Definition: Container1D.h:332
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:331
virtual QuantityType type()
Definition: Quantity.h:46
void hcaldqm::Container1D::setBinContent ( HcalTrigTowerDetId const &  id,
double  x,
double  y 
)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 587 of file Container1D.cc.

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

589  {
590  QuantityType qtype = _qx->type();
591  if (qtype==fValueQuantity || qtype==fFlagQuantity)
592  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x), y);
593  else
594  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(id), x);
595  }
quantity::Quantity * _qx
Definition: Container1D.h:332
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:331
virtual QuantityType type()
Definition: Quantity.h:46
void hcaldqm::Container1D::setBinContent ( HcalTrigTowerDetId const &  id,
double  x,
int  y 
)
virtual

Reimplemented in hcaldqm::Container2D.

Definition at line 578 of file Container1D.cc.

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

580  {
581  QuantityType qtype = _qx->type();
582  if (qtype==fValueQuantity || qtype==fFlagQuantity)
583  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x), y);
584  else
585  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(id), x);
586  }
quantity::Quantity * _qx
Definition: Container1D.h:332
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:331
virtual QuantityType type()
Definition: Quantity.h:46
virtual void hcaldqm::Container1D::setBinContent ( HcalTrigTowerDetId const &  id,
int  x,
int  y,
int   
)
inlinevirtual

Reimplemented in hcaldqm::Container2D.

Definition at line 239 of file Container1D.h.

References setBinContent().

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

Reimplemented in hcaldqm::Container2D.

Definition at line 242 of file Container1D.h.

References setBinContent().

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

Reimplemented in hcaldqm::Container2D.

Definition at line 245 of file Container1D.h.

References setBinContent().

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

Reimplemented in hcaldqm::Container2D.

Definition at line 248 of file Container1D.h.

References setBinContent().

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

Reimplemented in hcaldqm::Container2D.

Definition at line 251 of file Container1D.h.

References setBinContent().

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

Reimplemented in hcaldqm::Container2D.

Definition at line 254 of file Container1D.h.

References setBinContent().

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

Reimplemented in hcaldqm::Container2D.

Definition at line 257 of file Container1D.h.

References setBinContent().

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

Definition at line 1361 of file Container1D.cc.

References _mes.

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

1362  {
1363  BOOST_FOREACH(MEMap::value_type &pair, _mes)
1364  {
1365  pair.second->setLumiFlag();
1366  }
1367  }
void hcaldqm::Container1D::showOverflowX ( bool  showOverflow)
virtual

Definition at line 1369 of file Container1D.cc.

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

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

1369  {
1370  _qx->showOverflow(showOverflow);
1371  }
quantity::Quantity * _qx
Definition: Container1D.h:332
virtual void showOverflow(bool showOverflow)
Definition: Quantity.h:85
void hcaldqm::Container1D::showOverflowY ( bool  showOverflow)
virtual

Definition at line 1373 of file Container1D.cc.

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

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

1373  {
1374  _qy->showOverflow(showOverflow);
1375  }
virtual void showOverflow(bool showOverflow)
Definition: Quantity.h:85
quantity::Quantity * _qy
Definition: Container1D.h:333

Member Data Documentation

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