CMS 3D CMS Logo

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

#include <Container1D.h>

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

Public Member Functions

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

Protected Types

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

Protected Member Functions

virtual void customize (MonitorElement *)
 

Protected Attributes

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

Detailed Description

Definition at line 27 of file Container1D.h.

Member Typedef Documentation

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

Definition at line 308 of file Container1D.h.

Constructor & Destructor Documentation

hcaldqm::Container1D::Container1D ( )

Definition at line 9 of file Container1D.cc.

9  :
10  _qx(nullptr), _qy(nullptr)
11  {}
quantity::Quantity * _qx
Definition: Container1D.h:311
quantity::Quantity * _qy
Definition: Container1D.h:312
hcaldqm::Container1D::Container1D ( std::string const &  folder,
hashfunctions::HashType  hashtype,
quantity::Quantity qx,
quantity::Quantity qy = new quantity::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
quantity::Quantity * _qx
Definition: Container1D.h:311
mapper::HashMapper _hashmap
Definition: Container1D.h:310
quantity::Quantity * _qy
Definition: Container1D.h:312
hcaldqm::Container1D::~Container1D ( )
override

Definition at line 22 of file Container1D.cc.

References _qx, and _qy.

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

Member Function Documentation

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

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

Definition at line 777 of file Container1D.cc.

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

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

780  {
781  // full path to where all the plots are living
782  // subsystem/taskname/QxvsQy_auxilary/HashType
783  ib.setCurrentFolder(subsystem+"/"+_folder+"/"+_qname+
784  (aux.empty()?aux:"_"+aux)+"/"+_hashmap.getHashTypeName());
786  if (_hashmap.isDHash())
787  {
788  // for Detector Hashes
789  std::vector<HcalGenericDetId> dids = emap->allPrecisionId();
790  for (std::vector<HcalGenericDetId>::const_iterator it=
791  dids.begin(); it!=dids.end(); ++it)
792  {
793  // skip trigger towers and calibration
794  if (!it->isHcalDetId())
795  continue;
796 
797  HcalDetId did = HcalDetId(it->rawId());
798  uint32_t hash = _hashmap.getHash(did);
799  MEMap::iterator mit = _mes.find(hash);
800  if (mit!=_mes.end())
801  continue;
802 
804  _mes.insert(
805  std::make_pair(hash, ib.book1D(_hashmap.getName(did),
806  _hashmap.getName(did), _qx->nbins(), _qx->min(),
807  _qx->max())));
808 
809  // customize
810  customize(_mes[hash]);
811  }
812  }
813 
814  else if (_hashmap.isEHash())
815  {
816  // for Electronics Hashes
817  std::vector<HcalElectronicsId> eids =
818  emap->allElectronicsIdPrecision();
819  for (std::vector<HcalElectronicsId>::const_iterator it=
820  eids.begin(); it!=eids.end(); ++it)
821  {
822 
823  HcalElectronicsId eid = HcalElectronicsId(it->rawId());
824  uint32_t hash = _hashmap.getHash(eid);
825  MEMap::iterator mit = _mes.find(hash);
826  if (mit!=_mes.end())
827  continue;
828 
830  _mes.insert(
831  std::make_pair(hash,
832  ib.book1D(_hashmap.getName(eid),
833  _hashmap.getName(eid),
834  _qx->nbins(), _qx->min(), _qx->max())));
835 
836  // customize
837  customize(_mes[hash]);
838  }
839  }
840  else if (_hashmap.isTHash())
841  {
842  // for TrigTower Hashes
843  std::vector<HcalTrigTowerDetId> tids =
844  emap->allTriggerId();
845  for (std::vector<HcalTrigTowerDetId>::const_iterator it=
846  tids.begin(); it!=tids.end(); ++it)
847  {
848  HcalTrigTowerDetId tid = HcalTrigTowerDetId(it->rawId());
849  uint32_t hash = _hashmap.getHash(tid);
850  MEMap::iterator mit = _mes.find(hash);
851  if (mit!=_mes.end())
852  continue;
853 
855  _mes.insert(
856  std::make_pair(hash,
857  ib.book1D(_hashmap.getName(tid),
858  _hashmap.getName(tid),
859  _qx->nbins(), _qx->min(), _qx->max())));
860  // customize
861  customize(_mes[hash]);
862  }
863  }
864  }
virtual void customize(MonitorElement *)
Definition: Container1D.cc:962
virtual bool isTHash() const
Definition: HashMapper.h:63
virtual double max()
Definition: Quantity.h:76
void debug(STDTYPE const &msg) const
Definition: Logger.h:31
virtual std::string getHashTypeName() const
Definition: HashMapper.h:50
quantity::Quantity * _qx
Definition: Container1D.h:311
void setCurrentFolder(std::string const &fullpath)
Definition: DQMStore.cc:268
MonitorElement * book1D(Args &&...args)
Definition: DQMStore.h:106
std::string _folder
Definition: Container.h:42
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:310
virtual double min()
Definition: Quantity.h:75
virtual bool isDHash() const
Definition: HashMapper.h:56
std::string _qname
Definition: Container.h:43
virtual bool isEHash() const
Definition: HashMapper.h:58
Readout chain identification for Hcal.
std::string getName(HcalDetId const &did) const override
Definition: HashMapper.h:42
void hcaldqm::Container1D::book ( DQMStore::IBooker ib,
HcalElectronicsMap const *  emap,
filter::HashFilter const &  filter,
std::string  subsystem = "Hcal",
std::string  aux = "" 
)
virtual

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

Definition at line 867 of file Container1D.cc.

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

870  {
871  // full path to where all the plots are living
872  // subsystem/taskname/QxvsQy_auxilary/HashType
873  ib.setCurrentFolder(subsystem+"/"+_folder+"/"+_qname+
874  (aux.empty()?aux:"_"+aux)+"/"+_hashmap.getHashTypeName());
876 
877  if (_hashmap.isDHash())
878  {
879  // for Detector Hashes
880  std::vector<HcalGenericDetId> dids = emap->allPrecisionId();
881  for (std::vector<HcalGenericDetId>::const_iterator it=
882  dids.begin(); it!=dids.end(); ++it)
883  {
884  // skip trigger towers and calibration
885  if (!it->isHcalDetId())
886  continue;
887 
888  HcalDetId did = HcalDetId(it->rawId());
889  uint32_t hash = _hashmap.getHash(did);
890  MEMap::iterator mit = _mes.find(hash);
891  if (mit!=_mes.end())
892  continue;
893  if (filter.filter(did))
894  continue;
895 
897  _mes.insert(
898  std::make_pair(hash, ib.book1D(_hashmap.getName(did),
899  _hashmap.getName(did), _qx->nbins(), _qx->min(),
900  _qx->max())));
901 
902  // customize
903  customize(_mes[hash]);
904  }
905  }
906 
907  else if (_hashmap.isEHash())
908  {
909  // for Electronics Hashes
910  std::vector<HcalElectronicsId> eids =
911  emap->allElectronicsIdPrecision();
912  for (std::vector<HcalElectronicsId>::const_iterator it=
913  eids.begin(); it!=eids.end(); ++it)
914  {
915  HcalElectronicsId eid = HcalElectronicsId(it->rawId());
916  uint32_t hash = _hashmap.getHash(eid);
917  MEMap::iterator mit = _mes.find(hash);
918  if (mit!=_mes.end())
919  continue;
920  if (filter.filter(eid))
921  continue;
922 
924  _mes.insert(
925  std::make_pair(hash,
926  ib.book1D(_hashmap.getName(eid),
927  _hashmap.getName(eid),
928  _qx->nbins(), _qx->min(), _qx->max())));
929 
930  // customize
931  customize(_mes[hash]);
932  }
933  }
934  else if (_hashmap.isTHash())
935  {
936  // for TrigTower Hashes
937  std::vector<HcalTrigTowerDetId> tids =
938  emap->allTriggerId();
939  for (std::vector<HcalTrigTowerDetId>::const_iterator it=
940  tids.begin(); it!=tids.end(); ++it)
941  {
942  HcalTrigTowerDetId tid = HcalTrigTowerDetId(it->rawId());
943  uint32_t hash = _hashmap.getHash(tid);
944  MEMap::iterator mit = _mes.find(hash);
945  if (mit!=_mes.end())
946  continue;
947  if (filter.filter(tid))
948  continue;
949 
951  _mes.insert(
952  std::make_pair(hash,
953  ib.book1D(_hashmap.getName(tid),
954  _hashmap.getName(tid),
955  _qx->nbins(), _qx->min(), _qx->max())));
956  // customize
957  customize(_mes[hash]);
958  }
959  }
960  }
virtual void customize(MonitorElement *)
Definition: Container1D.cc:962
virtual bool isTHash() const
Definition: HashMapper.h:63
virtual double max()
Definition: Quantity.h:76
void debug(STDTYPE const &msg) const
Definition: Logger.h:31
virtual std::string getHashTypeName() const
Definition: HashMapper.h:50
quantity::Quantity * _qx
Definition: Container1D.h:311
void setCurrentFolder(std::string const &fullpath)
Definition: DQMStore.cc:268
MonitorElement * book1D(Args &&...args)
Definition: DQMStore.h:106
std::string _folder
Definition: Container.h:42
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:310
virtual double min()
Definition: Quantity.h:75
virtual bool isDHash() const
Definition: HashMapper.h:56
std::string _qname
Definition: Container.h:43
virtual bool isEHash() const
Definition: HashMapper.h:58
Readout chain identification for Hcal.
std::string getName(HcalDetId const &did) const override
Definition: HashMapper.h:42
void hcaldqm::Container1D::customize ( MonitorElement me)
protectedvirtual

Reimplemented in hcaldqm::Container2D.

Definition at line 962 of file Container1D.cc.

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

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

963  {
964  // set labels
965  me->setAxisTitle(_qx->name(), 1);
966  me->setAxisTitle(_qy->name(), 2);
967 
968  // set bits
969  TH1 *h = me->getTH1();
970  _qx->setBits(h);
971  _qy->setBits(h);
972 
973  // set labels
974  std::vector<std::string> xlabels = _qx->getLabels();
975  for (unsigned int i=0; i<xlabels.size(); i++) {
976  me->setBinLabel(i+1, xlabels[i], 1);
977  }
978  }
virtual void setBits(TH1 *o)
Definition: Quantity.h:65
virtual std::string name()
Definition: Quantity.h:47
FWCore Framework interface EventSetupRecordImplementation h
Helper function to determine trigger accepts.
virtual std::vector< std::string > getLabels()
Definition: Quantity.h:78
TH1 * getTH1() const
void setBinLabel(int bin, const std::string &label, int axis=1)
set bin label for x, y or z axis (axis=1, 2, 3 respectively)
quantity::Quantity * _qx
Definition: Container1D.h:311
void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
quantity::Quantity * _qy
Definition: Container1D.h:312
void hcaldqm::Container1D::extendAxisRange ( int  l)
virtual

Definition at line 980 of file Container1D.cc.

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

Referenced by setBinContent().

981  {
982  if (l<_qx->nbins())
983  return;
984 
985  // inflate all the mes
986  BOOST_FOREACH(MEMap::value_type &pair, _mes)
987  {
988  int x=_qx->nbins();
989  while (l>=x)
990  {
991  pair.second->getTH1()->LabelsInflate();
992  x*=2;
993  _qx->setMax(x);
994  }
995  }
996  }
virtual void setMax(double)
Definition: Quantity.h:81
quantity::Quantity * _qx
Definition: Container1D.h:311
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:63
virtual void fill(uint32_t)
Definition: Container1D.cc:82
mapper::HashMapper _hashmap
Definition: Container1D.h:310
virtual bool isDHash() const
Definition: HashMapper.h:56
virtual bool isEHash() const
Definition: HashMapper.h:58
Readout chain identification for Hcal.
void hcaldqm::Container1D::fill ( uint32_t  hash,
double  x 
)
virtual

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

Definition at line 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:63
virtual void fill(uint32_t)
Definition: Container1D.cc:82
mapper::HashMapper _hashmap
Definition: Container1D.h:310
virtual bool isDHash() const
Definition: HashMapper.h:56
virtual bool isEHash() const
Definition: HashMapper.h:58
Readout chain identification for Hcal.
void hcaldqm::Container1D::fill ( uint32_t  hash,
int  x,
int  y 
)
virtual

Definition at line 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:63
virtual void fill(uint32_t)
Definition: Container1D.cc:82
mapper::HashMapper _hashmap
Definition: Container1D.h:310
virtual bool isDHash() const
Definition: HashMapper.h:56
virtual bool isEHash() const
Definition: HashMapper.h:58
Readout chain identification for Hcal.
void hcaldqm::Container1D::fill ( uint32_t  hash,
double  x,
double  y 
)
virtual

Definition at line 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:63
virtual void fill(uint32_t)
Definition: Container1D.cc:82
mapper::HashMapper _hashmap
Definition: Container1D.h:310
virtual bool isDHash() const
Definition: HashMapper.h:56
virtual bool isEHash() const
Definition: HashMapper.h:58
Readout chain identification for Hcal.
void hcaldqm::Container1D::fill ( HcalDetId const &  did)
virtual

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

Definition at line 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  }
quantity::Quantity * _qx
Definition: Container1D.h:311
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:59
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:310
void hcaldqm::Container1D::fill ( HcalDetId const &  did,
int  x 
)
virtual

Reimplemented in hcaldqm::ContainerProf2D, and 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  }
quantity::Quantity * _qx
Definition: Container1D.h:311
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:59
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:310
virtual QuantityType type()
Definition: Quantity.h:46
quantity::Quantity * _qy
Definition: Container1D.h:312
void hcaldqm::Container1D::fill ( HcalDetId const &  did,
double  x 
)
virtual

Reimplemented in hcaldqm::ContainerProf2D, and 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  }
quantity::Quantity * _qx
Definition: Container1D.h:311
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:59
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:310
virtual QuantityType type()
Definition: Quantity.h:46
quantity::Quantity * _qy
Definition: Container1D.h:312
void hcaldqm::Container1D::fill ( HcalDetId const &  did,
int  x,
double  y 
)
virtual

Reimplemented in hcaldqm::ContainerProf2D, and 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  }
quantity::Quantity * _qx
Definition: Container1D.h:311
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:59
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:310
virtual QuantityType type()
Definition: Quantity.h:46
quantity::Quantity * _qy
Definition: Container1D.h:312
void hcaldqm::Container1D::fill ( HcalDetId const &  did,
int  x,
int  y 
)
virtual

Reimplemented in hcaldqm::ContainerProf2D, and 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  }
quantity::Quantity * _qx
Definition: Container1D.h:311
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:59
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:310
virtual QuantityType type()
Definition: Quantity.h:46
quantity::Quantity * _qy
Definition: Container1D.h:312
void hcaldqm::Container1D::fill ( HcalDetId const &  did,
double  x,
double  y 
)
virtual

Reimplemented in hcaldqm::ContainerProf2D, and 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  }
quantity::Quantity * _qx
Definition: Container1D.h:311
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:59
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:310
virtual QuantityType type()
Definition: Quantity.h:46
quantity::Quantity * _qy
Definition: Container1D.h:312
void hcaldqm::Container1D::fill ( HcalElectronicsId const &  did)
virtual

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

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  }
quantity::Quantity * _qx
Definition: Container1D.h:311
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:59
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:310
void hcaldqm::Container1D::fill ( HcalElectronicsId const &  did,
int  x 
)
virtual

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

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

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

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

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

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

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

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

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

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

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

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  }
quantity::Quantity * _qx
Definition: Container1D.h:311
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:59
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:310
void hcaldqm::Container1D::fill ( HcalTrigTowerDetId const &  did,
int  x 
)
virtual

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

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

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

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

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

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

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

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

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

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  }
quantity::Quantity * _qx
Definition: Container1D.h:311
virtual int getValue(HcalDetId const &)
Definition: Quantity.h:59
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:310
virtual QuantityType type()
Definition: Quantity.h:46
quantity::Quantity * _qy
Definition: Container1D.h:312
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 DigiTask::endLuminosityBlock(), getBinContent(), getBinEntries(), and hcaldqm::ContainerXXX< STDTYPE >::load().

216  {
217  return _mes[_hashmap.getHash(tid)]->getBinContent(_qx->getBin(tid));
218  }
quantity::Quantity * _qx
Definition: Container1D.h:311
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:310
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  }
quantity::Quantity * _qx
Definition: Container1D.h:311
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:310
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  }
quantity::Quantity * _qx
Definition: Container1D.h:311
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:310
virtual double hcaldqm::Container1D::getBinContent ( HcalDetId const &  did,
int  x,
int   
)
inlinevirtual

Reimplemented in hcaldqm::Container2D.

Definition at line 88 of file Container1D.h.

References getBinContent().

89  {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 90 of file Container1D.h.

References getBinContent().

91  {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 92 of file Container1D.h.

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

93  {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  }
quantity::Quantity * _qx
Definition: Container1D.h:311
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:310
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  }
quantity::Quantity * _qx
Definition: Container1D.h:311
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:310
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  }
quantity::Quantity * _qx
Definition: Container1D.h:311
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:310
virtual double hcaldqm::Container1D::getBinContent ( HcalElectronicsId const &  eid,
int  x,
int   
)
inlinevirtual

Reimplemented in hcaldqm::Container2D.

Definition at line 151 of file Container1D.h.

References getBinContent().

153  {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 154 of file Container1D.h.

References getBinContent().

156  {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 157 of file Container1D.h.

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

159  {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  }
quantity::Quantity * _qx
Definition: Container1D.h:311
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:310
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  }
quantity::Quantity * _qx
Definition: Container1D.h:311
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:310
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  }
quantity::Quantity * _qx
Definition: Container1D.h:311
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:310
virtual double hcaldqm::Container1D::getBinContent ( HcalTrigTowerDetId const &  tid,
int  x,
int   
)
inlinevirtual

Reimplemented in hcaldqm::Container2D.

Definition at line 218 of file Container1D.h.

References getBinContent().

220  {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 221 of file Container1D.h.

References getBinContent().

223  {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 224 of file Container1D.h.

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

226  {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().

Referenced by getBinEntries(), and setBinContent().

198  {
199  return _mes[_hashmap.getHash(id)]->getBinEntries(_qx->getBin(id));
200  }
quantity::Quantity * _qx
Definition: Container1D.h:311
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:310
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  }
quantity::Quantity * _qx
Definition: Container1D.h:311
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:310
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  }
quantity::Quantity * _qx
Definition: Container1D.h:311
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:310
virtual double hcaldqm::Container1D::getBinEntries ( HcalDetId const &  did,
int  x,
int   
)
inlinevirtual

Reimplemented in hcaldqm::Container2D.

Definition at line 78 of file Container1D.h.

References getBinEntries().

79  {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 80 of file Container1D.h.

References getBinEntries().

81  {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 82 of file Container1D.h.

References getBinContent(), and getBinEntries().

83  {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  }
quantity::Quantity * _qx
Definition: Container1D.h:311
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:310
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  }
quantity::Quantity * _qx
Definition: Container1D.h:311
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:310
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  }
quantity::Quantity * _qx
Definition: Container1D.h:311
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:310
virtual double hcaldqm::Container1D::getBinEntries ( HcalElectronicsId const &  eid,
int  x,
int   
)
inlinevirtual

Reimplemented in hcaldqm::Container2D.

Definition at line 138 of file Container1D.h.

References getBinEntries().

140  {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 141 of file Container1D.h.

References getBinEntries().

143  {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 144 of file Container1D.h.

References getBinContent(), and getBinEntries().

146  {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  }
quantity::Quantity * _qx
Definition: Container1D.h:311
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:310
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  }
quantity::Quantity * _qx
Definition: Container1D.h:311
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:310
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  }
quantity::Quantity * _qx
Definition: Container1D.h:311
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:310
virtual double hcaldqm::Container1D::getBinEntries ( HcalTrigTowerDetId const &  tid,
int  x,
int   
)
inlinevirtual

Reimplemented in hcaldqm::Container2D.

Definition at line 205 of file Container1D.h.

References getBinEntries().

207  {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 208 of file Container1D.h.

References getBinEntries().

210  {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 211 of file Container1D.h.

References getBinContent(), and getBinEntries().

213  {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(), hcaldqm::DigiRunSummary::endLuminosityBlock(), and getBinContent().

233  {
234  return _mes[_hashmap.getHash(tid)]->getMean(axis);
235  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:310
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  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:310
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  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:310
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(), and getBinContent().

238  {
239  return _mes[_hashmap.getHash(id)]->getRMS(axis);
240  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:310
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  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:310
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  }
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:310
void hcaldqm::Container1D::initialize ( std::string const &  folder,
hashfunctions::HashType  hashtype,
quantity::Quantity qx,
quantity::Quantity qy = new quantity::ValueQuantity(quantity::fN),
int  debug = 0 
)
virtual

Reimplemented in hcaldqm::ContainerProf1D.

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

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(hashfunctions::HashType htype)
Definition: HashMapper.h:29
quantity::Quantity * _qx
Definition: Container1D.h:311
#define debug
Definition: HDRShower.cc:19
mapper::HashMapper _hashmap
Definition: Container1D.h:310
quantity::Quantity * _qy
Definition: Container1D.h:312
void hcaldqm::Container1D::initialize ( std::string const &  folder,
std::string const &  qname,
hashfunctions::HashType  hashtype,
quantity::Quantity qx,
quantity::Quantity qy = new quantity::ValueQuantity(quantity::fN),
int  debug = 0 
)
virtual

Reimplemented in hcaldqm::ContainerProf1D.

Definition at line 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(hashfunctions::HashType htype)
Definition: HashMapper.h:29
quantity::Quantity * _qx
Definition: Container1D.h:311
#define debug
Definition: HDRShower.cc:19
mapper::HashMapper _hashmap
Definition: Container1D.h:310
quantity::Quantity * _qy
Definition: Container1D.h:312
void hcaldqm::Container1D::load ( DQMStore::IGetter ig,
HcalElectronicsMap const *  emap,
std::string const &  subsystem = "Hcal",
std::string const &  aux = "" 
)
virtual

Definition at line 597 of file Container1D.cc.

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

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

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

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

686  {
687  // full path to where all the plots are living
688  // prepend/subsystem/taskname/QxvsQy_auxilary/HashType
690  std::string path =
691  subsystem+"/"+_folder+"/"+_qname+
692  (aux.empty()?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  ig.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  ig.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  ig.get(path+"/"+_hashmap.getName(tid))));
772  }
773  }
774  }
virtual bool isTHash() const
Definition: HashMapper.h:63
void debug(STDTYPE const &msg) const
Definition: Logger.h:31
virtual std::string getHashTypeName() const
Definition: HashMapper.h:50
MonitorElement * get(std::string const &path)
Definition: DQMStore.cc:303
std::string _folder
Definition: Container.h:42
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:310
virtual bool isDHash() const
Definition: HashMapper.h:56
std::string _qname
Definition: Container.h:43
virtual bool isEHash() const
Definition: HashMapper.h:58
Readout chain identification for Hcal.
std::string getName(HcalDetId const &did) const override
Definition: HashMapper.h:42
void hcaldqm::Container1D::print ( void  )
virtual

Definition at line 73 of file Container1D.cc.

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

Referenced by setBinContent().

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:50
mapper::HashMapper _hashmap
Definition: Container1D.h:310
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(), DigiTask::_resetMonitors(), and setBinContent().

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().

Referenced by getBinContent(), and setBinContent().

245  {
246  _mes[_hashmap.getHash(id)]->setBinContent(_qx->getBin(id), x);
247  }
quantity::Quantity * _qx
Definition: Container1D.h:311
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:310
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  }
quantity::Quantity * _qx
Definition: Container1D.h:311
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:310
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  }
quantity::Quantity * _qx
Definition: Container1D.h:311
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:310
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  }
quantity::Quantity * _qx
Definition: Container1D.h:311
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:310
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  }
quantity::Quantity * _qx
Definition: Container1D.h:311
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:310
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  }
quantity::Quantity * _qx
Definition: Container1D.h:311
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:310
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 103 of file Container1D.h.

References setBinContent().

104  {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 105 of file Container1D.h.

References setBinContent().

107  {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 108 of file Container1D.h.

References setBinContent().

110  {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 111 of file Container1D.h.

References setBinContent().

113  {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 114 of file Container1D.h.

References setBinContent().

116  {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 117 of file Container1D.h.

References setBinContent().

119  {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 120 of file Container1D.h.

References setBinContent().

122  {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 123 of file Container1D.h.

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

125  {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  }
quantity::Quantity * _qx
Definition: Container1D.h:311
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:310
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  }
quantity::Quantity * _qx
Definition: Container1D.h:311
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:310
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  }
quantity::Quantity * _qx
Definition: Container1D.h:311
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:310
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  }
quantity::Quantity * _qx
Definition: Container1D.h:311
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:310
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  }
quantity::Quantity * _qx
Definition: Container1D.h:311
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:310
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  }
quantity::Quantity * _qx
Definition: Container1D.h:311
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:310
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 169 of file Container1D.h.

References setBinContent().

171  {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 172 of file Container1D.h.

References setBinContent().

174  {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 175 of file Container1D.h.

References setBinContent().

177  {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 178 of file Container1D.h.

References setBinContent().

180  {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 181 of file Container1D.h.

References setBinContent().

183  {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 184 of file Container1D.h.

References setBinContent().

186  {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 187 of file Container1D.h.

References setBinContent().

189  {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 190 of file Container1D.h.

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

192  {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  }
quantity::Quantity * _qx
Definition: Container1D.h:311
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:310
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  }
quantity::Quantity * _qx
Definition: Container1D.h:311
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:310
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  }
quantity::Quantity * _qx
Definition: Container1D.h:311
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:310
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  }
quantity::Quantity * _qx
Definition: Container1D.h:311
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:310
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  }
quantity::Quantity * _qx
Definition: Container1D.h:311
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:310
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  }
quantity::Quantity * _qx
Definition: Container1D.h:311
virtual uint32_t getBin(HcalDetId const &)
Definition: Quantity.h:53
uint32_t getHash(HcalDetId const &did) const override
Definition: HashMapper.h:33
mapper::HashMapper _hashmap
Definition: Container1D.h:310
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 237 of file Container1D.h.

References setBinContent().

239  {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 240 of file Container1D.h.

References setBinContent().

242  {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 243 of file Container1D.h.

References setBinContent().

245  {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 246 of file Container1D.h.

References setBinContent().

248  {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 249 of file Container1D.h.

References setBinContent().

251  {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 252 of file Container1D.h.

References setBinContent().

254  {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 255 of file Container1D.h.

References setBinContent().

257  {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 998 of file Container1D.cc.

References _mes.

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

999  {
1000  BOOST_FOREACH(MEMap::value_type &pair, _mes)
1001  {
1002  pair.second->setLumiFlag();
1003  }
1004  }
void hcaldqm::Container1D::showOverflowX ( bool  showOverflow)
virtual

Definition at line 1006 of file Container1D.cc.

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

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

1006  {
1007  _qx->showOverflow(showOverflow);
1008  }
quantity::Quantity * _qx
Definition: Container1D.h:311
virtual void showOverflow(bool showOverflow)
Definition: Quantity.h:85
void hcaldqm::Container1D::showOverflowY ( bool  showOverflow)
virtual

Definition at line 1010 of file Container1D.cc.

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

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

1010  {
1011  _qy->showOverflow(showOverflow);
1012  }
virtual void showOverflow(bool showOverflow)
Definition: Quantity.h:85
quantity::Quantity * _qy
Definition: Container1D.h:312

Member Data Documentation

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