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 *qy=new ValueQuantity(quantity::fN))
 
virtual void extendAxisRange (int)
 
virtual void fill (uint32_t)
 
virtual void fill (uint32_t, int)
 
virtual void fill (uint32_t, double)
 
virtual void fill (uint32_t, int, double)
 
virtual void fill (uint32_t, int, int)
 
virtual void fill (uint32_t, double, double)
 
virtual 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 *qy=new ValueQuantity(quantity::fN), int debug=0)
 
virtual void initialize (std::string const &folder, std::string const &qname, hashfunctions::HashType, Quantity *, Quantity *qy=new ValueQuantity(quantity::fN), int debug=0)
 
virtual void load (DQMStore *, HcalElectronicsMap const *, std::string const &subsystem="Hcal", std::string const &aux="", std::string const &prepend="", DQMStore::OpenRunDirs mode=DQMStore::StripRunDirs)
 
virtual void load (DQMStore *, HcalElectronicsMap const *, filter::HashFilter const &, std::string const &subsystem="Hcal", std::string const &aux="", std::string const &prepend="", DQMStore::OpenRunDirs mode=DQMStore::StripRunDirs)
 
virtual void load (DQMStore::IGetter &, HcalElectronicsMap const *, std::string const &subsystem="Hcal", std::string const &aux="")
 
virtual void load (DQMStore::IGetter &, HcalElectronicsMap const *, filter::HashFilter const &, std::string const &subsystem="Hcal", std::string const &aux="")
 
virtual void print ()
 
virtual void reset ()
 
virtual void 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 ~Container1D ()
 
- 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_qx
 
Quantity_qy
 
- Protected Attributes inherited from hcaldqm::Container
std::string _folder
 
Logger _logger
 
std::string _qname
 

Detailed Description

Definition at line 32 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 9 of file Container1D.cc.

9  :
10  _qx(NULL), _qy(NULL)
11  {}
#define NULL
Definition: scimark2.h:8
hcaldqm::Container1D::Container1D ( std::string const &  folder,
hashfunctions::HashType  hashtype,
Quantity qx,
Quantity qy = new ValueQuantity(quantity::fN) 
)

Definition at line 13 of file Container1D.cc.

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

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

Definition at line 22 of file Container1D.cc.

References _qx, _qy, and NULL.

23  {
24  if (_qx!=NULL)
25  delete _qx;
26  if (_qy!=NULL)
27  delete _qy;
28  _qx = NULL;
29  _qy = NULL;
30  }
#define NULL
Definition: scimark2.h:8

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::ContainerProf1D, and hcaldqm::ContainerProf2D.

Definition at line 957 of file Container1D.cc.

References hcaldqm::Container::_folder, _hashmap, hcaldqm::Container::_logger, _mes, hcaldqm::Container::_qname, _qx, HcalElectronicsMap::allElectronicsIdPrecision(), HcalElectronicsMap::allPrecisionId(), HcalElectronicsMap::allTriggerId(), 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(), QIE11Task::bookHistograms(), TPTask::bookHistograms(), LaserTask::bookHistograms(), QIE10Task::bookHistograms(), LEDTask::bookHistograms(), RecHitTask::bookHistograms(), DigiPhase1Task::bookHistograms(), DigiTask::bookHistograms(), and hcaldqm::RecoRunSummary::endJob().

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

Definition at line 1047 of file Container1D.cc.

References hcaldqm::Container::_folder, _hashmap, hcaldqm::Container::_logger, _mes, hcaldqm::Container::_qname, _qx, HcalElectronicsMap::allElectronicsIdPrecision(), HcalElectronicsMap::allPrecisionId(), HcalElectronicsMap::allTriggerId(), 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().

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

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

Definition at line 1142 of file Container1D.cc.

References hcaldqm::Container::_folder, _hashmap, hcaldqm::Container::_logger, _mes, hcaldqm::Container::_qname, _qx, HcalElectronicsMap::allElectronicsIdPrecision(), HcalElectronicsMap::allPrecisionId(), HcalElectronicsMap::allTriggerId(), 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().

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

Definition at line 1230 of file Container1D.cc.

References hcaldqm::Container::_folder, _hashmap, hcaldqm::Container::_logger, _mes, hcaldqm::Container::_qname, _qx, HcalElectronicsMap::allElectronicsIdPrecision(), HcalElectronicsMap::allPrecisionId(), HcalElectronicsMap::allTriggerId(), 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().

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

Reimplemented in hcaldqm::Container2D.

Definition at line 1324 of file Container1D.cc.

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

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

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

Definition at line 1342 of file Container1D.cc.

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

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

Definition at line 92 of file Container1D.cc.

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

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

Definition at line 102 of file Container1D.cc.

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

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

Definition at line 112 of file Container1D.cc.

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

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

Definition at line 122 of file Container1D.cc.

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

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

Definition at line 132 of file Container1D.cc.

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

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

Reimplemented in hcaldqm::Container2D.

Definition at line 143 of file Container1D.cc.

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

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

Reimplemented in hcaldqm::Container2D.

Definition at line 147 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().

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

Reimplemented in hcaldqm::Container2D.

Definition at line 156 of file Container1D.cc.

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

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

Reimplemented in hcaldqm::Container2D.

Definition at line 165 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().

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

Reimplemented in hcaldqm::Container2D.

Definition at line 175 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().

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

Reimplemented in hcaldqm::Container2D.

Definition at line 185 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().

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

Reimplemented in hcaldqm::Container2D.

Definition at line 291 of file Container1D.cc.

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

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

Reimplemented in hcaldqm::Container2D.

Definition at line 295 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().

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

Reimplemented in hcaldqm::Container2D.

Definition at line 304 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().

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

Reimplemented in hcaldqm::Container2D.

Definition at line 313 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().

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

Reimplemented in hcaldqm::Container2D.

Definition at line 324 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().

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

Reimplemented in hcaldqm::Container2D.

Definition at line 335 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().

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

Reimplemented in hcaldqm::Container2D.

Definition at line 443 of file Container1D.cc.

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

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

Reimplemented in hcaldqm::Container2D.

Definition at line 447 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().

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

Reimplemented in hcaldqm::Container2D.

Definition at line 456 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().

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

Reimplemented in hcaldqm::Container2D.

Definition at line 466 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().

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

Reimplemented in hcaldqm::Container2D.

Definition at line 477 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().

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

Reimplemented in hcaldqm::Container2D.

Definition at line 488 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().

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

Reimplemented in hcaldqm::Container2D.

Definition at line 214 of file Container1D.cc.

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

Referenced by hcaldqm::ContainerXXX< STDTYPE >::load().

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

Reimplemented in hcaldqm::Container2D.

Definition at line 220 of file Container1D.cc.

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

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

Reimplemented in hcaldqm::Container2D.

Definition at line 226 of file Container1D.cc.

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

228  {
229  return _mes[_hashmap.getHash(tid)]->getBinContent(_qx->getBin(x));
230  }
virtual uint32_t getHash(HcalDetId const &did) const
Definition: HashMapper.h:34
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
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 93 of file Container1D.h.

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

Reimplemented in hcaldqm::Container2D.

Definition at line 95 of file Container1D.h.

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

Reimplemented in hcaldqm::Container2D.

Definition at line 97 of file Container1D.h.

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

Reimplemented in hcaldqm::Container2D.

Definition at line 364 of file Container1D.cc.

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

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

Reimplemented in hcaldqm::Container2D.

Definition at line 370 of file Container1D.cc.

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

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

Reimplemented in hcaldqm::Container2D.

Definition at line 376 of file Container1D.cc.

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

378  {
379  return _mes[_hashmap.getHash(tid)]->getBinContent(_qx->getBin(x));
380  }
virtual uint32_t getHash(HcalDetId const &did) const
Definition: HashMapper.h:34
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
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 156 of file Container1D.h.

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

Reimplemented in hcaldqm::Container2D.

Definition at line 159 of file Container1D.h.

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

Reimplemented in hcaldqm::Container2D.

Definition at line 162 of file Container1D.h.

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

Reimplemented in hcaldqm::Container2D.

Definition at line 518 of file Container1D.cc.

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

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

Reimplemented in hcaldqm::Container2D.

Definition at line 524 of file Container1D.cc.

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

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

Reimplemented in hcaldqm::Container2D.

Definition at line 530 of file Container1D.cc.

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

532  {
533  return _mes[_hashmap.getHash(tid)]->getBinContent(_qx->getBin(x));
534  }
virtual uint32_t getHash(HcalDetId const &did) const
Definition: HashMapper.h:34
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
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 223 of file Container1D.h.

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

Reimplemented in hcaldqm::Container2D.

Definition at line 226 of file Container1D.h.

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

Reimplemented in hcaldqm::Container2D.

Definition at line 229 of file Container1D.h.

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

Reimplemented in hcaldqm::Container2D.

Definition at line 197 of file Container1D.cc.

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

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

Reimplemented in hcaldqm::Container2D.

Definition at line 202 of file Container1D.cc.

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

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

Reimplemented in hcaldqm::Container2D.

Definition at line 208 of file Container1D.cc.

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

210  {
211  return _mes[_hashmap.getHash(id)]->getBinEntries(_qx->getBin(x));
212  }
virtual uint32_t getHash(HcalDetId const &did) const
Definition: HashMapper.h:34
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
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 83 of file Container1D.h.

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

Reimplemented in hcaldqm::Container2D.

Definition at line 85 of file Container1D.h.

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

Reimplemented in hcaldqm::Container2D.

Definition at line 87 of file Container1D.h.

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

Reimplemented in hcaldqm::Container2D.

Definition at line 347 of file Container1D.cc.

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

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

Reimplemented in hcaldqm::Container2D.

Definition at line 352 of file Container1D.cc.

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

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

Reimplemented in hcaldqm::Container2D.

Definition at line 358 of file Container1D.cc.

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

360  {
361  return _mes[_hashmap.getHash(id)]->getBinEntries(_qx->getBin(x));
362  }
virtual uint32_t getHash(HcalDetId const &did) const
Definition: HashMapper.h:34
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
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 143 of file Container1D.h.

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

Reimplemented in hcaldqm::Container2D.

Definition at line 146 of file Container1D.h.

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

Reimplemented in hcaldqm::Container2D.

Definition at line 149 of file Container1D.h.

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

Reimplemented in hcaldqm::Container2D.

Definition at line 500 of file Container1D.cc.

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

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

Reimplemented in hcaldqm::Container2D.

Definition at line 506 of file Container1D.cc.

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

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

Reimplemented in hcaldqm::Container2D.

Definition at line 512 of file Container1D.cc.

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

514  {
515  return _mes[_hashmap.getHash(id)]->getBinEntries(_qx->getBin(x));
516  }
virtual uint32_t getHash(HcalDetId const &did) const
Definition: HashMapper.h:34
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
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 210 of file Container1D.h.

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

Reimplemented in hcaldqm::Container2D.

Definition at line 213 of file Container1D.h.

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

Reimplemented in hcaldqm::Container2D.

Definition at line 216 of file Container1D.h.

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

Definition at line 232 of file Container1D.cc.

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

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

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

Definition at line 382 of file Container1D.cc.

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

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

Definition at line 536 of file Container1D.cc.

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

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

Definition at line 237 of file Container1D.cc.

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

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

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

Definition at line 388 of file Container1D.cc.

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

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

Definition at line 542 of file Container1D.cc.

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

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

Reimplemented in hcaldqm::ContainerProf1D.

Definition at line 40 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(), LaserTask::bookHistograms(), LEDTask::bookHistograms(), QIE10Task::bookHistograms(), PedestalTask::bookHistograms(), QIE11Task::bookHistograms(), TPTask::bookHistograms(), RecHitTask::bookHistograms(), DigiTask::bookHistograms(), DigiPhase1Task::bookHistograms(), hcaldqm::RecoRunSummary::endJob(), hcaldqm::Container2D::initialize(), and hcaldqm::ContainerProf1D::initialize().

43  {
44  Container::initialize(folder, qy->name()+"vs"+qx->name(), debug);
45  _hashmap.initialize(hashtype);
46  _qx = qx;
47  _qy = qy;
50  }
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(HashType htype)
Definition: HashMapper.h:30
#define debug
Definition: HDRShower.cc:19
mapper::HashMapper _hashmap
Definition: Container1D.h:331
void hcaldqm::Container1D::initialize ( std::string const &  folder,
std::string const &  qname,
hashfunctions::HashType  hashtype,
Quantity qx,
Quantity qy = new ValueQuantity(quantity::fN),
int  debug = 0 
)
virtual

Reimplemented in hcaldqm::ContainerProf1D.

Definition at line 52 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().

56  {
58  _hashmap.initialize(hashtype);
59  _qx = qx;
60  _qy = qy;
63  }
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(HashType htype)
Definition: HashMapper.h:30
#define debug
Definition: HDRShower.cc:19
mapper::HashMapper _hashmap
Definition: Container1D.h:331
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 596 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::DigiRunSummary::endJob(), hcaldqm::RecoRunSummary::endJob(), hcaldqm::RawRunSummary::endLuminosityBlock(), and hcaldqm::DigiRunSummary::endLuminosityBlock().

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

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

Definition at line 777 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.

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

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

Definition at line 73 of file Container1D.cc.

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

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

Definition at line 65 of file Container1D.cc.

References _mes.

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

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

Reimplemented in hcaldqm::Container2D.

Definition at line 243 of file Container1D.cc.

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

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

Reimplemented in hcaldqm::Container2D.

Definition at line 248 of file Container1D.cc.

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

250  {
251  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(id), x);
252  }
virtual uint32_t getHash(HcalDetId const &did) const
Definition: HashMapper.h:34
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
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 253 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().

255  {
256  QuantityType qtype = _qx->type();
257  if (qtype==fValueQuantity || qtype==fFlagQuantity)
258  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x), y);
259  else
260  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(id), x);
261  }
virtual uint32_t getHash(HcalDetId const &did) const
Definition: HashMapper.h:34
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
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 262 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().

264  {
265  QuantityType qtype = _qx->type();
266  if (qtype==fValueQuantity || qtype==fFlagQuantity)
267  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x), y);
268  else
269  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(id), x);
270  }
virtual uint32_t getHash(HcalDetId const &did) const
Definition: HashMapper.h:34
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
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 280 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().

282  {
283  QuantityType qtype = _qx->type();
284  if (qtype==fValueQuantity || qtype==fFlagQuantity)
285  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x), y);
286  else
287  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(id), x);
288  }
virtual uint32_t getHash(HcalDetId const &did) const
Definition: HashMapper.h:34
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
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 271 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().

273  {
274  QuantityType qtype = _qx->type();
275  if (qtype==fValueQuantity || qtype==fFlagQuantity)
276  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x), y);
277  else
278  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(id), x);
279  }
virtual uint32_t getHash(HcalDetId const &did) const
Definition: HashMapper.h:34
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
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 108 of file Container1D.h.

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

Reimplemented in hcaldqm::Container2D.

Definition at line 110 of file Container1D.h.

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

Reimplemented in hcaldqm::Container2D.

Definition at line 113 of file Container1D.h.

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

Reimplemented in hcaldqm::Container2D.

Definition at line 116 of file Container1D.h.

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

Reimplemented in hcaldqm::Container2D.

Definition at line 119 of file Container1D.h.

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

Reimplemented in hcaldqm::Container2D.

Definition at line 122 of file Container1D.h.

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

Reimplemented in hcaldqm::Container2D.

Definition at line 125 of file Container1D.h.

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

Reimplemented in hcaldqm::Container2D.

Definition at line 128 of file Container1D.h.

References lumiContext::fill.

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

Reimplemented in hcaldqm::Container2D.

Definition at line 395 of file Container1D.cc.

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

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

Reimplemented in hcaldqm::Container2D.

Definition at line 400 of file Container1D.cc.

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

402  {
403  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(id), x);
404  }
virtual uint32_t getHash(HcalDetId const &did) const
Definition: HashMapper.h:34
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
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 405 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().

407  {
408  QuantityType qtype = _qx->type();
409  if (qtype==fValueQuantity || qtype==fFlagQuantity)
410  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x), y);
411  else
412  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(id), x);
413  }
virtual uint32_t getHash(HcalDetId const &did) const
Definition: HashMapper.h:34
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
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 414 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().

416  {
417  QuantityType qtype = _qx->type();
418  if (qtype==fValueQuantity || qtype==fFlagQuantity)
419  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x), y);
420  else
421  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(id), x);
422  }
virtual uint32_t getHash(HcalDetId const &did) const
Definition: HashMapper.h:34
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
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 432 of file Container1D.cc.

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

434  {
435  QuantityType qtype = _qx->type();
436  if (qtype==fValueQuantity || qtype==fFlagQuantity)
437  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x), y);
438  else
439  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(id), x);
440  }
virtual uint32_t getHash(HcalDetId const &did) const
Definition: HashMapper.h:34
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
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 423 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().

425  {
426  QuantityType qtype = _qx->type();
427  if (qtype==fValueQuantity || qtype==fFlagQuantity)
428  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x), y);
429  else
430  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(id), x);
431  }
virtual uint32_t getHash(HcalDetId const &did) const
Definition: HashMapper.h:34
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
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 174 of file Container1D.h.

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

Reimplemented in hcaldqm::Container2D.

Definition at line 177 of file Container1D.h.

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

Reimplemented in hcaldqm::Container2D.

Definition at line 180 of file Container1D.h.

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

Reimplemented in hcaldqm::Container2D.

Definition at line 183 of file Container1D.h.

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

Reimplemented in hcaldqm::Container2D.

Definition at line 186 of file Container1D.h.

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

Reimplemented in hcaldqm::Container2D.

Definition at line 189 of file Container1D.h.

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

Reimplemented in hcaldqm::Container2D.

Definition at line 192 of file Container1D.h.

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

Reimplemented in hcaldqm::Container2D.

Definition at line 195 of file Container1D.h.

References lumiContext::fill.

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

Reimplemented in hcaldqm::Container2D.

Definition at line 549 of file Container1D.cc.

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

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

Reimplemented in hcaldqm::Container2D.

Definition at line 554 of file Container1D.cc.

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

556  {
557  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(id), x);
558  }
virtual uint32_t getHash(HcalDetId const &did) const
Definition: HashMapper.h:34
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
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 559 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().

561  {
562  QuantityType qtype = _qx->type();
563  if (qtype==fValueQuantity || qtype==fFlagQuantity)
564  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x), y);
565  else
566  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(id), x);
567  }
virtual uint32_t getHash(HcalDetId const &did) const
Definition: HashMapper.h:34
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
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 568 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().

570  {
571  QuantityType qtype = _qx->type();
572  if (qtype==fValueQuantity || qtype==fFlagQuantity)
573  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x), y);
574  else
575  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(id), x);
576  }
virtual uint32_t getHash(HcalDetId const &did) const
Definition: HashMapper.h:34
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
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 586 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().

588  {
589  QuantityType qtype = _qx->type();
590  if (qtype==fValueQuantity || qtype==fFlagQuantity)
591  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x), y);
592  else
593  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(id), x);
594  }
virtual uint32_t getHash(HcalDetId const &did) const
Definition: HashMapper.h:34
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
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 577 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().

579  {
580  QuantityType qtype = _qx->type();
581  if (qtype==fValueQuantity || qtype==fFlagQuantity)
582  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(x), y);
583  else
584  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(id), x);
585  }
virtual uint32_t getHash(HcalDetId const &did) const
Definition: HashMapper.h:34
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
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 242 of file Container1D.h.

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

Reimplemented in hcaldqm::Container2D.

Definition at line 245 of file Container1D.h.

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

Reimplemented in hcaldqm::Container2D.

Definition at line 248 of file Container1D.h.

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

Reimplemented in hcaldqm::Container2D.

Definition at line 251 of file Container1D.h.

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

Reimplemented in hcaldqm::Container2D.

Definition at line 254 of file Container1D.h.

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

Reimplemented in hcaldqm::Container2D.

Definition at line 257 of file Container1D.h.

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

Reimplemented in hcaldqm::Container2D.

Definition at line 260 of file Container1D.h.

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

Definition at line 1360 of file Container1D.cc.

References _mes.

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

1361  {
1362  BOOST_FOREACH(MEMap::value_type &pair, _mes)
1363  {
1364  pair.second->setLumiFlag();
1365  }
1366  }

Member Data Documentation

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