CMS 3D CMS Logo

List of all members | Public Member Functions
ecaldqm::MESetDet1D Class Reference

#include <MESetDet1D.h>

Inheritance diagram for ecaldqm::MESetDet1D:
ecaldqm::MESetEcal ecaldqm::MESet

Public Member Functions

void book (DQMStore::IBooker &, EcalElectronicsMapping const *) override
 
MESetclone (std::string const &="") const override
 
void fill (EcalDQMSetupObjects const, DetId const &, double=1., double=1., double=0.) override
 
void fill (EcalDQMSetupObjects const, EcalElectronicsId const &, double=1., double=1., double=0.) override
 
void fill (EcalDQMSetupObjects const, int, double=1., double=1., double=0.) override
 
int findBin (EcalDQMSetupObjects const, DetId const &) const
 
int findBin (EcalDQMSetupObjects const, DetId const &, double, double=0.) const override
 
int findBin (EcalDQMSetupObjects const, EcalElectronicsId const &) const
 
int findBin (EcalDQMSetupObjects const, EcalElectronicsId const &, double, double=0.) const override
 
int findBin (EcalDQMSetupObjects const, int) const
 
int findBin (EcalDQMSetupObjects const, int, double, double=0.) const override
 
double getBinContent (EcalDQMSetupObjects const, DetId const &, int=0) const override
 
double getBinContent (EcalDQMSetupObjects const, EcalElectronicsId const &, int=0) const override
 
double getBinContent (EcalDQMSetupObjects const, int, int=0) const override
 
double getBinEntries (EcalDQMSetupObjects const, DetId const &, int=0) const override
 
double getBinEntries (EcalDQMSetupObjects const, EcalElectronicsId const &, int=0) const override
 
double getBinEntries (EcalDQMSetupObjects const, int, int=0) const override
 
double getBinError (EcalDQMSetupObjects const, DetId const &, int=0) const override
 
double getBinError (EcalDQMSetupObjects const, EcalElectronicsId const &, int=0) const override
 
double getBinError (EcalDQMSetupObjects const, int, int=0) const override
 
 MESetDet1D (MESetDet1D const &)
 
 MESetDet1D (std::string const &, binning::ObjectType, binning::BinningType, MonitorElement::Kind, binning::AxisSpecs const *=nullptr)
 
void reset (EcalElectronicsMapping const *, double=0., double=0., double=0.) override
 
void setBinContent (EcalDQMSetupObjects const, DetId const &, double) override
 
void setBinContent (EcalDQMSetupObjects const, DetId const &, int, double) override
 
void setBinContent (EcalDQMSetupObjects const, EcalElectronicsId const &, double) override
 
void setBinContent (EcalDQMSetupObjects const, EcalElectronicsId const &, int, double) override
 
void setBinContent (EcalDQMSetupObjects const, int, double) override
 
void setBinContent (EcalDQMSetupObjects const, int, int, double) override
 
void setBinEntries (EcalDQMSetupObjects const, DetId const &, double) override
 
void setBinEntries (EcalDQMSetupObjects const, DetId const &, int, double) override
 
void setBinEntries (EcalDQMSetupObjects const, EcalElectronicsId const &, double) override
 
void setBinEntries (EcalDQMSetupObjects const, EcalElectronicsId const &, int, double) override
 
void setBinEntries (EcalDQMSetupObjects const, int, double) override
 
void setBinEntries (EcalDQMSetupObjects const, int, int, double) override
 
void setBinError (EcalDQMSetupObjects const, DetId const &, double) override
 
void setBinError (EcalDQMSetupObjects const, DetId const &, int, double) override
 
void setBinError (EcalDQMSetupObjects const, EcalElectronicsId const &, double) override
 
void setBinError (EcalDQMSetupObjects const, EcalElectronicsId const &, int, double) override
 
void setBinError (EcalDQMSetupObjects const, int, double) override
 
void setBinError (EcalDQMSetupObjects const, int, int, double) override
 
 ~MESetDet1D () override
 
- Public Member Functions inherited from ecaldqm::MESetEcal
void book (DQMStore::IBooker &, EcalElectronicsMapping const *) override
 
MESetclone (std::string const &="") const override
 
void fill (EcalDQMSetupObjects const, DetId const &, double=1., double=1., double=1.) override
 
void fill (EcalDQMSetupObjects const, double, double=1., double=1.) override
 
void fill (EcalDQMSetupObjects const, EcalElectronicsId const &, double=1., double=1., double=1.) override
 
void fill (EcalDQMSetupObjects const, int, double=1., double=1., double=1.) override
 
std::vector< std::string > generatePaths (EcalElectronicsMapping const *) const
 
double getBinContent (EcalDQMSetupObjects const, DetId const &, int) const override
 
double getBinContent (EcalDQMSetupObjects const, EcalElectronicsId const &, int) const override
 
double getBinContent (EcalDQMSetupObjects const, int, int) const override
 
double getBinEntries (EcalDQMSetupObjects const, DetId const &, int) const override
 
double getBinEntries (EcalDQMSetupObjects const, EcalElectronicsId const &, int) const override
 
double getBinEntries (EcalDQMSetupObjects const, int, int) const override
 
double getBinError (EcalDQMSetupObjects const, DetId const &, int) const override
 
double getBinError (EcalDQMSetupObjects const, EcalElectronicsId const &, int) const override
 
double getBinError (EcalDQMSetupObjects const, int, int) const override
 
bool isVariableBinning () const override
 
 MESetEcal (MESetEcal const &)
 
 MESetEcal (std::string const &, binning::ObjectType, binning::BinningType, MonitorElement::Kind, unsigned, binning::AxisSpecs const *=nullptr, binning::AxisSpecs const *=nullptr, binning::AxisSpecs const *=nullptr)
 
MESetoperator= (MESet const &) override
 
bool retrieve (EcalElectronicsMapping const *, DQMStore::IGetter &, std::string *=nullptr) const override
 
void setBinContent (EcalDQMSetupObjects const, DetId const &, int, double) override
 
void setBinContent (EcalDQMSetupObjects const, EcalElectronicsId const &, int, double) override
 
void setBinContent (EcalDQMSetupObjects const, int, int, double) override
 
void setBinEntries (EcalDQMSetupObjects const, DetId const &, int, double) override
 
void setBinEntries (EcalDQMSetupObjects const, EcalElectronicsId const &, int, double) override
 
void setBinEntries (EcalDQMSetupObjects const, int, int, double) override
 
void setBinError (EcalDQMSetupObjects const, DetId const &, int, double) override
 
void setBinError (EcalDQMSetupObjects const, EcalElectronicsId const &, int, double) override
 
void setBinError (EcalDQMSetupObjects const, int, int, double) override
 
 ~MESetEcal () override
 
- Public Member Functions inherited from ecaldqm::MESet
virtual iterator begin (EcalElectronicsMapping const *electronicsMap)
 
virtual const_iterator begin (EcalElectronicsMapping const *electronicsMap) const
 
virtual iterator beginChannel (EcalElectronicsMapping const *electronicsMap)
 
virtual const_iterator beginChannel (EcalElectronicsMapping const *electronicsMap) const
 
virtual void clear () const
 
virtual iterator end (EcalElectronicsMapping const *electronicsMap)
 
virtual const_iterator end (EcalElectronicsMapping const *electronicsMap) const
 
std::string formPath (PathReplacements const &) const
 
bool getBatchMode () const
 
binning::BinningType getBinType () const
 
MonitorElement::Kind getKind () const
 
bool getLumiFlag () const
 
virtual MonitorElementgetME (unsigned _iME)
 
virtual const MonitorElementgetME (unsigned _iME) const
 
binning::ObjectType getObjType () const
 
virtual const std::string & getPath () const
 
bool isActive () const
 
virtual bool maskMatches (DetId const &, uint32_t, StatusManager const *, EcalTrigTowerConstituentsMap const *) const
 
 MESet ()
 
 MESet (MESet const &)
 
 MESet (std::string const &, binning::ObjectType, binning::BinningType, MonitorElement::Kind)
 
virtual void resetAll (double=0., double=0., double=0.)
 
virtual void setAxisTitle (std::string const &, int=1)
 
void setBatchMode ()
 
void setLumiFlag ()
 
virtual ~MESet ()
 

Additional Inherited Members

- Public Types inherited from ecaldqm::MESet
typedef dqm::legacy::DQMStore DQMStore
 
typedef dqm::legacy::MonitorElement MonitorElement
 
typedef std::map< std::string, std::string > PathReplacements
 
- Protected Member Functions inherited from ecaldqm::MESet
virtual void checkME_ (unsigned _iME) const
 
virtual void fill_ (unsigned, double, double, double)
 
virtual void fill_ (unsigned, int, double)
 
virtual void fill_ (unsigned, int, double, double)
 
void throw_ (std::string const &_message) const
 
- Protected Attributes inherited from ecaldqm::MESetEcal
unsigned logicalDimensions_
 
const binning::AxisSpecsxaxis_
 
const binning::AxisSpecsyaxis_
 
const binning::AxisSpecszaxis_
 
- Protected Attributes inherited from ecaldqm::MESet
bool active_
 
bool batchMode_
 
binning::BinningType btype_
 
MonitorElement::Kind kind_
 
bool lumiFlag_
 
std::vector< MonitorElement * > mes_
 
binning::ObjectType otype_
 
std::string path_
 

Detailed Description

Definition at line 13 of file MESetDet1D.h.

Constructor & Destructor Documentation

◆ MESetDet1D() [1/2]

ecaldqm::MESetDet1D::MESetDet1D ( std::string const &  _fullPath,
binning::ObjectType  _otype,
binning::BinningType  _btype,
MonitorElement::Kind  _kind,
binning::AxisSpecs const *  _yaxis = nullptr 
)

Definition at line 7 of file MESetDet1D.cc.

12  : MESetEcal(_fullPath, _otype, _btype, _kind, 1, nullptr, _yaxis, nullptr) {
13  switch (kind_) {
18  break;
19  default:
20  throw_("Unsupported MonitorElement kind");
21  }
22  }

References ecaldqm::MESet::kind_, MonitorElementData::TH1F, MonitorElementData::TH2F, ecaldqm::MESet::throw_(), MonitorElementData::TPROFILE, and MonitorElementData::TPROFILE2D.

Referenced by clone().

◆ MESetDet1D() [2/2]

ecaldqm::MESetDet1D::MESetDet1D ( MESetDet1D const &  _orig)

Definition at line 24 of file MESetDet1D.cc.

24 : MESetEcal(_orig) {}

◆ ~MESetDet1D()

ecaldqm::MESetDet1D::~MESetDet1D ( )
override

Definition at line 26 of file MESetDet1D.cc.

26 {}

Member Function Documentation

◆ book()

void ecaldqm::MESetDet1D::book ( DQMStore::IBooker _ibooker,
EcalElectronicsMapping const *  electronicsMap 
)
overridevirtual

Reimplemented from ecaldqm::MESet.

Definition at line 37 of file MESetDet1D.cc.

37  {
38  MESetEcal::book(_ibooker, electronicsMap);
39 
40  if (btype_ == binning::kDCC) {
41  for (unsigned iME(0); iME < mes_.size(); iME++) {
42  MonitorElement *me(mes_[iME]);
43 
44  binning::ObjectType actualObject(binning::getObject(otype_, iME));
45  if (actualObject == binning::kEB) {
46  for (int iBin(1); iBin <= me->getNbinsX(); iBin++)
47  me->setBinLabel(iBin, binning::channelName(electronicsMap, iBin + kEBmLow));
48  } else if (actualObject == binning::kEE) {
49  for (int iBin(1); iBin <= me->getNbinsX() / 2; iBin++) {
50  me->setBinLabel(iBin, binning::channelName(electronicsMap, iBin));
51  me->setBinLabel(iBin + me->getNbinsX() / 2, binning::channelName(electronicsMap, iBin + 45));
52  }
53  } else if (actualObject == binning::kEEm) {
54  for (int iBin(1); iBin <= me->getNbinsX(); iBin++)
55  me->setBinLabel(iBin, binning::channelName(electronicsMap, iBin));
56  } else if (actualObject == binning::kEEp) {
57  for (int iBin(1); iBin <= me->getNbinsX(); iBin++)
58  me->setBinLabel(iBin, binning::channelName(electronicsMap, iBin + 45));
59  }
60  }
61  } else if (btype_ == binning::kTriggerTower) {
62  for (unsigned iME(0); iME < mes_.size(); iME++) {
63  MonitorElement *me(mes_[iME]);
64 
65  binning::ObjectType actualObject(binning::getObject(otype_, iME));
66  unsigned dccid(0);
67  if (actualObject == binning::kSM && (iME <= kEEmHigh || iME >= kEEpLow))
68  dccid = iME + 1;
69  else if (actualObject == binning::kEESM)
70  dccid = iME <= kEEmHigh ? iME + 1 : iME + 37;
71 
72  if (dccid > 0) {
73  std::stringstream ss;
74  std::pair<unsigned, unsigned> inner(innerTCCs(iME + 1));
75  std::pair<unsigned, unsigned> outer(outerTCCs(iME + 1));
76  ss << "TCC" << inner.first << " TT1";
77  me->setBinLabel(1, ss.str());
78  ss.str("");
79  ss << "TCC" << inner.second << " TT1";
80  me->setBinLabel(1 + nTTInner, ss.str());
81  ss.str("");
82  ss << "TCC" << outer.first << " TT1";
83  me->setBinLabel(1 + 2 * nTTInner, ss.str());
84  ss.str("");
85  ss << "TCC" << outer.second << " TT1";
86  me->setBinLabel(1 + 2 * nTTInner + nTTOuter, ss.str());
87  // Bins are numbered:
88  // inner1:(1)-->(nTTInner)
89  // inner2:(1+nTTInner)-->(1+nTTInner + nTTInner-1 = 2*nTTInner)
90  // outer1:(1+2*nTTInner)-->(1+2*nTTInner+nTTOuter-1=2*nTTInner+nTTOuter)
91  // outer2:(1+2*nTTInner+nTTOuter)-->(1+2*nTTInner+nTTOuter + nTTOuter-1
92  // = 2*nTTInner+2*nTTOuter)
93  int offset(0);
94  for (int iBin(4); iBin <= (2 * nTTOuter + 2 * nTTInner); iBin += 4) {
95  if (iBin == 4 + nTTInner)
96  offset = nTTInner;
97  else if (iBin == 4 + 2 * nTTInner)
98  offset = 2 * nTTInner;
99  else if (iBin == 4 + 2 * nTTInner + nTTOuter)
100  offset = 2 * nTTInner + nTTOuter;
101  ss.str("");
102  ss << iBin - offset;
103  me->setBinLabel(iBin, ss.str());
104  }
105  }
106  }
107  }
108  }

References ecaldqm::MESetEcal::book(), ecaldqm::MESet::btype_, ecaldqm::binning::channelName(), ecaldqm::binning::getObject(), SurfaceOrientation::inner, ecaldqm::innerTCCs(), ecaldqm::binning::kDCC, ecaldqm::binning::kEB, ecaldqm::kEBmLow, ecaldqm::binning::kEE, ecaldqm::binning::kEEm, ecaldqm::kEEmHigh, ecaldqm::binning::kEEp, ecaldqm::kEEpLow, ecaldqm::binning::kEESM, ecaldqm::binning::kSM, ecaldqm::binning::kTriggerTower, hlt_dqm_clientPB-live_cfg::me, ecaldqm::MESet::mes_, ecaldqm::nTTInner, ecaldqm::nTTOuter, hltrates_dqm_sourceclient-live_cfg::offset, ecaldqm::MESet::otype_, SurfaceOrientation::outer, ecaldqm::outerTCCs(), and contentValuesCheck::ss.

◆ clone()

MESet * ecaldqm::MESetDet1D::clone ( std::string const &  _path = "") const
overridevirtual

Reimplemented from ecaldqm::MESet.

Definition at line 28 of file MESetDet1D.cc.

28  {
30  if (!_path.empty())
31  path_ = _path;
32  MESet *copy(new MESetDet1D(*this));
33  path_ = path;
34  return copy;
35  }

References filterCSVwithJSON::copy, MESetDet1D(), castor_dqm_sourceclient_file_cfg::path, ecaldqm::MESet::path_, and AlCaHLTBitMon_QueryRunRegistry::string.

◆ fill() [1/3]

void ecaldqm::MESetDet1D::fill ( EcalDQMSetupObjects const  edso,
DetId const &  _id,
double  _wy = 1.,
double  _w = 1.,
double  = 0. 
)
overridevirtual

◆ fill() [2/3]

void ecaldqm::MESetDet1D::fill ( EcalDQMSetupObjects const  edso,
EcalElectronicsId const &  _id,
double  _wy = 1.,
double  _w = 1.,
double  = 0. 
)
overridevirtual

◆ fill() [3/3]

void ecaldqm::MESetDet1D::fill ( EcalDQMSetupObjects const  edso,
int  _dcctccid,
double  _wy = 1.,
double  _w = 1.,
double  = 0. 
)
overridevirtual

◆ findBin() [1/6]

int ecaldqm::MESetDet1D::findBin ( EcalDQMSetupObjects const  edso,
DetId const &  _id 
) const

◆ findBin() [2/6]

int ecaldqm::MESetDet1D::findBin ( EcalDQMSetupObjects const  edso,
DetId const &  _id,
double  _y,
double  = 0. 
) const
overridevirtual

Reimplemented from ecaldqm::MESetEcal.

Definition at line 698 of file MESetDet1D.cc.

698  {
699  if (!active_)
700  return -1;
702  return -1;
703 
704  unsigned iME(binning::findPlotIndex(edso.electronicsMap, otype_, _id));
705  checkME_(iME);
706 
707  MonitorElement *me(mes_[iME]);
708 
710  int xbin(binning::findBin1D(edso.electronicsMap, obj, btype_, _id));
711  int nbinsX(me->getTH1()->GetNbinsX());
712  return xbin + (nbinsX + 2) * me->getTH1()->GetYaxis()->FindBin(_y);
713  }

References ecaldqm::MESet::active_, ecaldqm::MESet::btype_, ecaldqm::MESet::checkME_(), ecaldqm::EcalDQMSetupObjects::electronicsMap, ecaldqm::binning::findBin1D(), ecaldqm::binning::findPlotIndex(), ecaldqm::binning::getObject(), ecaldqm::MESet::kind_, hlt_dqm_clientPB-live_cfg::me, ecaldqm::MESet::mes_, hlt_dqm_clientPB-live_cfg::nbinsX, getGTfromDQMFile::obj, ecaldqm::MESet::otype_, MonitorElementData::TPROFILE, and MonitorElementData::TPROFILE2D.

◆ findBin() [3/6]

int ecaldqm::MESetDet1D::findBin ( EcalDQMSetupObjects const  edso,
EcalElectronicsId const &  _id 
) const

◆ findBin() [4/6]

int ecaldqm::MESetDet1D::findBin ( EcalDQMSetupObjects const  edso,
EcalElectronicsId const &  _id,
double  _y,
double  = 0. 
) const
overridevirtual

Reimplemented from ecaldqm::MESetEcal.

Definition at line 715 of file MESetDet1D.cc.

715  {
716  if (!active_)
717  return -1;
719  return -1;
720 
721  unsigned iME(binning::findPlotIndex(edso.electronicsMap, otype_, _id));
722  checkME_(iME);
723 
724  MonitorElement *me(mes_[iME]);
725 
727  int xbin(binning::findBin1D(edso.electronicsMap, obj, btype_, _id));
728  int nbinsX(me->getTH1()->GetNbinsX());
729  return xbin + (nbinsX + 2) * me->getTH1()->GetYaxis()->FindBin(_y);
730  }

References ecaldqm::MESet::active_, ecaldqm::MESet::btype_, ecaldqm::MESet::checkME_(), ecaldqm::EcalDQMSetupObjects::electronicsMap, ecaldqm::binning::findBin1D(), ecaldqm::binning::findPlotIndex(), ecaldqm::binning::getObject(), ecaldqm::MESet::kind_, hlt_dqm_clientPB-live_cfg::me, ecaldqm::MESet::mes_, hlt_dqm_clientPB-live_cfg::nbinsX, getGTfromDQMFile::obj, ecaldqm::MESet::otype_, MonitorElementData::TPROFILE, and MonitorElementData::TPROFILE2D.

◆ findBin() [5/6]

int ecaldqm::MESetDet1D::findBin ( EcalDQMSetupObjects const  edso,
int  _dcctccid 
) const

◆ findBin() [6/6]

int ecaldqm::MESetDet1D::findBin ( EcalDQMSetupObjects const  edso,
int  _dcctccid,
double  _y,
double  = 0. 
) const
overridevirtual

Reimplemented from ecaldqm::MESetEcal.

Definition at line 732 of file MESetDet1D.cc.

732  {
733  if (!active_)
734  return -1;
736  return -1;
737 
738  unsigned iME(binning::findPlotIndex(edso.electronicsMap, otype_, _dcctccid));
739  checkME_(iME);
740 
741  MonitorElement *me(mes_[iME]);
742 
744  int xbin(binning::findBin1D(edso.electronicsMap, obj, btype_, _dcctccid));
745  int nbinsX(me->getTH1()->GetNbinsX());
746  return xbin + (nbinsX + 2) * me->getTH1()->GetYaxis()->FindBin(_y);
747  }

References ecaldqm::MESet::active_, ecaldqm::MESet::btype_, ecaldqm::MESet::checkME_(), ecaldqm::EcalDQMSetupObjects::electronicsMap, ecaldqm::binning::findBin1D(), ecaldqm::binning::findPlotIndex(), ecaldqm::binning::getObject(), ecaldqm::MESet::kind_, hlt_dqm_clientPB-live_cfg::me, ecaldqm::MESet::mes_, hlt_dqm_clientPB-live_cfg::nbinsX, getGTfromDQMFile::obj, ecaldqm::MESet::otype_, MonitorElementData::TPROFILE, and MonitorElementData::TPROFILE2D.

◆ getBinContent() [1/3]

double ecaldqm::MESetDet1D::getBinContent ( EcalDQMSetupObjects const  edso,
DetId const &  _id,
int  _ybin = 0 
) const
overridevirtual

Reimplemented from ecaldqm::MESet.

Definition at line 503 of file MESetDet1D.cc.

503  {
504  if (!active_)
505  return 0.;
506 
507  unsigned iME(binning::findPlotIndex(edso.electronicsMap, otype_, _id));
508  checkME_(iME);
509 
510  MonitorElement *me(mes_[iME]);
511 
513  int xbin(binning::findBin1D(edso.electronicsMap, obj, btype_, _id));
514  int nbinsX(me->getTH1()->GetNbinsX());
515 
516  return me->getBinContent((nbinsX + 2) * _ybin + xbin);
517  }

References ecaldqm::MESet::active_, ecaldqm::MESet::btype_, ecaldqm::MESet::checkME_(), ecaldqm::EcalDQMSetupObjects::electronicsMap, ecaldqm::binning::findBin1D(), ecaldqm::binning::findPlotIndex(), ecaldqm::binning::getObject(), hlt_dqm_clientPB-live_cfg::me, ecaldqm::MESet::mes_, hlt_dqm_clientPB-live_cfg::nbinsX, getGTfromDQMFile::obj, and ecaldqm::MESet::otype_.

◆ getBinContent() [2/3]

double ecaldqm::MESetDet1D::getBinContent ( EcalDQMSetupObjects const  edso,
EcalElectronicsId const &  _id,
int  _ybin = 0 
) const
overridevirtual

Reimplemented from ecaldqm::MESet.

Definition at line 519 of file MESetDet1D.cc.

521  {
522  if (!active_)
523  return 0.;
524 
525  unsigned iME(binning::findPlotIndex(edso.electronicsMap, otype_, _id));
526  checkME_(iME);
527 
528  MonitorElement *me(mes_[iME]);
529 
531  int xbin(binning::findBin1D(edso.electronicsMap, obj, btype_, _id));
532  int nbinsX(me->getTH1()->GetNbinsX());
533 
534  return me->getBinContent((nbinsX + 2) * _ybin + xbin);
535  }

References ecaldqm::MESet::active_, ecaldqm::MESet::btype_, ecaldqm::MESet::checkME_(), ecaldqm::EcalDQMSetupObjects::electronicsMap, ecaldqm::binning::findBin1D(), ecaldqm::binning::findPlotIndex(), ecaldqm::binning::getObject(), hlt_dqm_clientPB-live_cfg::me, ecaldqm::MESet::mes_, hlt_dqm_clientPB-live_cfg::nbinsX, getGTfromDQMFile::obj, and ecaldqm::MESet::otype_.

◆ getBinContent() [3/3]

double ecaldqm::MESetDet1D::getBinContent ( EcalDQMSetupObjects const  edso,
int  _dcctccid,
int  _ybin = 0 
) const
overridevirtual

Reimplemented from ecaldqm::MESet.

Definition at line 537 of file MESetDet1D.cc.

537  {
538  if (!active_)
539  return 0.;
540 
541  unsigned iME(binning::findPlotIndex(edso.electronicsMap, otype_, _dcctccid, btype_));
542  checkME_(iME);
543 
544  MonitorElement *me(mes_[iME]);
545 
547  int xbin(binning::findBin1D(edso.electronicsMap, obj, btype_, _dcctccid));
548  int nbinsX(me->getTH1()->GetNbinsX());
549 
550  return me->getBinContent((nbinsX + 2) * _ybin + xbin);
551  }

References ecaldqm::MESet::active_, ecaldqm::MESet::btype_, ecaldqm::MESet::checkME_(), ecaldqm::EcalDQMSetupObjects::electronicsMap, ecaldqm::binning::findBin1D(), ecaldqm::binning::findPlotIndex(), ecaldqm::binning::getObject(), hlt_dqm_clientPB-live_cfg::me, ecaldqm::MESet::mes_, hlt_dqm_clientPB-live_cfg::nbinsX, getGTfromDQMFile::obj, and ecaldqm::MESet::otype_.

◆ getBinEntries() [1/3]

double ecaldqm::MESetDet1D::getBinEntries ( EcalDQMSetupObjects const  edso,
DetId const &  _id,
int  _ybin = 0 
) const
overridevirtual

Reimplemented from ecaldqm::MESet.

Definition at line 603 of file MESetDet1D.cc.

603  {
604  if (!active_)
605  return 0.;
607  return 0.;
608 
609  unsigned iME(binning::findPlotIndex(edso.electronicsMap, otype_, _id));
610  checkME_(iME);
611 
612  MonitorElement *me(mes_[iME]);
613 
615  int xbin(binning::findBin1D(edso.electronicsMap, obj, btype_, _id));
616  int nbinsX(me->getTH1()->GetNbinsX());
617 
618  return me->getBinEntries((nbinsX + 2) * _ybin + xbin);
619  }

References ecaldqm::MESet::active_, ecaldqm::MESet::btype_, ecaldqm::MESet::checkME_(), ecaldqm::EcalDQMSetupObjects::electronicsMap, ecaldqm::binning::findBin1D(), ecaldqm::binning::findPlotIndex(), ecaldqm::binning::getObject(), ecaldqm::MESet::kind_, hlt_dqm_clientPB-live_cfg::me, ecaldqm::MESet::mes_, hlt_dqm_clientPB-live_cfg::nbinsX, getGTfromDQMFile::obj, ecaldqm::MESet::otype_, MonitorElementData::TPROFILE, and MonitorElementData::TPROFILE2D.

◆ getBinEntries() [2/3]

double ecaldqm::MESetDet1D::getBinEntries ( EcalDQMSetupObjects const  edso,
EcalElectronicsId const &  _id,
int  _ybin = 0 
) const
overridevirtual

Reimplemented from ecaldqm::MESet.

Definition at line 621 of file MESetDet1D.cc.

623  {
624  if (!active_)
625  return 0.;
627  return 0.;
628 
629  unsigned iME(binning::findPlotIndex(edso.electronicsMap, otype_, _id));
630  checkME_(iME);
631 
632  MonitorElement *me(mes_[iME]);
633 
635  int xbin(binning::findBin1D(edso.electronicsMap, obj, btype_, _id));
636  int nbinsX(me->getTH1()->GetNbinsX());
637 
638  return me->getBinEntries((nbinsX + 2) * _ybin + xbin);
639  }

References ecaldqm::MESet::active_, ecaldqm::MESet::btype_, ecaldqm::MESet::checkME_(), ecaldqm::EcalDQMSetupObjects::electronicsMap, ecaldqm::binning::findBin1D(), ecaldqm::binning::findPlotIndex(), ecaldqm::binning::getObject(), ecaldqm::MESet::kind_, hlt_dqm_clientPB-live_cfg::me, ecaldqm::MESet::mes_, hlt_dqm_clientPB-live_cfg::nbinsX, getGTfromDQMFile::obj, ecaldqm::MESet::otype_, MonitorElementData::TPROFILE, and MonitorElementData::TPROFILE2D.

◆ getBinEntries() [3/3]

double ecaldqm::MESetDet1D::getBinEntries ( EcalDQMSetupObjects const  edso,
int  _dcctccid,
int  _ybin = 0 
) const
overridevirtual

Reimplemented from ecaldqm::MESet.

Definition at line 641 of file MESetDet1D.cc.

641  {
642  if (!active_)
643  return 0.;
645  return 0.;
646 
647  unsigned iME(binning::findPlotIndex(edso.electronicsMap, otype_, _dcctccid, btype_));
648  checkME_(iME);
649 
650  MonitorElement *me(mes_[iME]);
651 
653  int xbin(binning::findBin1D(edso.electronicsMap, obj, btype_, _dcctccid));
654  int nbinsX(me->getTH1()->GetNbinsX());
655 
656  return me->getBinEntries((nbinsX + 2) * _ybin + xbin);
657  }

References ecaldqm::MESet::active_, ecaldqm::MESet::btype_, ecaldqm::MESet::checkME_(), ecaldqm::EcalDQMSetupObjects::electronicsMap, ecaldqm::binning::findBin1D(), ecaldqm::binning::findPlotIndex(), ecaldqm::binning::getObject(), ecaldqm::MESet::kind_, hlt_dqm_clientPB-live_cfg::me, ecaldqm::MESet::mes_, hlt_dqm_clientPB-live_cfg::nbinsX, getGTfromDQMFile::obj, ecaldqm::MESet::otype_, MonitorElementData::TPROFILE, and MonitorElementData::TPROFILE2D.

◆ getBinError() [1/3]

double ecaldqm::MESetDet1D::getBinError ( EcalDQMSetupObjects const  edso,
DetId const &  _id,
int  _ybin = 0 
) const
overridevirtual

Reimplemented from ecaldqm::MESet.

Definition at line 553 of file MESetDet1D.cc.

553  {
554  if (!active_)
555  return 0.;
556 
557  unsigned iME(binning::findPlotIndex(edso.electronicsMap, otype_, _id));
558  checkME_(iME);
559 
560  MonitorElement *me(mes_[iME]);
561 
563  int xbin(binning::findBin1D(edso.electronicsMap, obj, btype_, _id));
564  int nbinsX(me->getTH1()->GetNbinsX());
565 
566  return me->getBinError((nbinsX + 2) * _ybin + xbin);
567  }

References ecaldqm::MESet::active_, ecaldqm::MESet::btype_, ecaldqm::MESet::checkME_(), ecaldqm::EcalDQMSetupObjects::electronicsMap, ecaldqm::binning::findBin1D(), ecaldqm::binning::findPlotIndex(), ecaldqm::binning::getObject(), hlt_dqm_clientPB-live_cfg::me, ecaldqm::MESet::mes_, hlt_dqm_clientPB-live_cfg::nbinsX, getGTfromDQMFile::obj, and ecaldqm::MESet::otype_.

◆ getBinError() [2/3]

double ecaldqm::MESetDet1D::getBinError ( EcalDQMSetupObjects const  edso,
EcalElectronicsId const &  _id,
int  _ybin = 0 
) const
overridevirtual

Reimplemented from ecaldqm::MESet.

Definition at line 569 of file MESetDet1D.cc.

571  {
572  if (!active_)
573  return 0.;
574 
575  unsigned iME(binning::findPlotIndex(edso.electronicsMap, otype_, _id));
576  checkME_(iME);
577 
578  MonitorElement *me(mes_[iME]);
579 
581  int xbin(binning::findBin1D(edso.electronicsMap, obj, btype_, _id));
582  int nbinsX(me->getTH1()->GetNbinsX());
583 
584  return me->getBinError((nbinsX + 2) * _ybin + xbin);
585  }

References ecaldqm::MESet::active_, ecaldqm::MESet::btype_, ecaldqm::MESet::checkME_(), ecaldqm::EcalDQMSetupObjects::electronicsMap, ecaldqm::binning::findBin1D(), ecaldqm::binning::findPlotIndex(), ecaldqm::binning::getObject(), hlt_dqm_clientPB-live_cfg::me, ecaldqm::MESet::mes_, hlt_dqm_clientPB-live_cfg::nbinsX, getGTfromDQMFile::obj, and ecaldqm::MESet::otype_.

◆ getBinError() [3/3]

double ecaldqm::MESetDet1D::getBinError ( EcalDQMSetupObjects const  edso,
int  _dcctccid,
int  _ybin = 0 
) const
overridevirtual

Reimplemented from ecaldqm::MESet.

Definition at line 587 of file MESetDet1D.cc.

587  {
588  if (!active_)
589  return 0.;
590 
591  unsigned iME(binning::findPlotIndex(edso.electronicsMap, otype_, _dcctccid, btype_));
592  checkME_(iME);
593 
594  MonitorElement *me(mes_[iME]);
595 
597  int xbin(binning::findBin1D(edso.electronicsMap, obj, btype_, _dcctccid));
598  int nbinsX(me->getTH1()->GetNbinsX());
599 
600  return me->getBinError((nbinsX + 2) * _ybin + xbin);
601  }

References ecaldqm::MESet::active_, ecaldqm::MESet::btype_, ecaldqm::MESet::checkME_(), ecaldqm::EcalDQMSetupObjects::electronicsMap, ecaldqm::binning::findBin1D(), ecaldqm::binning::findPlotIndex(), ecaldqm::binning::getObject(), hlt_dqm_clientPB-live_cfg::me, ecaldqm::MESet::mes_, hlt_dqm_clientPB-live_cfg::nbinsX, getGTfromDQMFile::obj, and ecaldqm::MESet::otype_.

◆ reset()

void ecaldqm::MESetDet1D::reset ( EcalElectronicsMapping const *  ,
double  _content = 0.,
double  _err = 0.,
double  _entries = 0. 
)
overridevirtual

Reimplemented from ecaldqm::MESet.

Definition at line 749 of file MESetDet1D.cc.

752  {
753  unsigned nME(binning::getNObjects(otype_));
754 
757 
758  for (unsigned iME(0); iME < nME; iME++) {
759  MonitorElement *me(mes_[iME]);
760 
761  int nbinsX(me->getTH1()->GetNbinsX());
762  int nbinsY(me->getTH1()->GetNbinsY());
763  for (int ix(1); ix <= nbinsX; ix++) {
764  for (int iy(1); iy <= nbinsY; iy++) {
765  int bin(is2D ? (nbinsX + 2) * iy + ix : ix);
766  me->setBinContent(bin, _content);
767  me->setBinError(bin, _err);
768  if (isProfile)
769  me->setBinEntries(bin, _entries);
770  }
771  }
772  }
773  }

References btvTracks_cfi::_content, newFWLiteAna::bin, ecaldqm::binning::getNObjects(), fastTrackerRecHitType::is2D(), ecaldqm::MESet::kind_, hlt_dqm_clientPB-live_cfg::me, ecaldqm::MESet::mes_, hlt_dqm_clientPB-live_cfg::nbinsX, hlt_dqm_clientPB-live_cfg::nbinsY, ecaldqm::MESet::otype_, MonitorElementData::TH2F, MonitorElementData::TPROFILE, and MonitorElementData::TPROFILE2D.

◆ setBinContent() [1/6]

void ecaldqm::MESetDet1D::setBinContent ( EcalDQMSetupObjects const  edso,
DetId const &  _id,
double  _content 
)
overridevirtual

Reimplemented from ecaldqm::MESet.

Definition at line 161 of file MESetDet1D.cc.

161  {
162  if (!active_)
163  return;
164 
165  unsigned iME(binning::findPlotIndex(edso.electronicsMap, otype_, _id));
166  checkME_(iME);
167 
168  MonitorElement *me(mes_[iME]);
169 
171  int xbin(binning::findBin1D(edso.electronicsMap, obj, btype_, _id));
172 
174  int nbinsY(me->getTH1()->GetNbinsY());
175  for (int iY(1); iY <= nbinsY; iY++)
176  me->setBinContent(xbin, iY, _content);
177  } else
178  me->setBinContent(xbin, _content);
179  }

References btvTracks_cfi::_content, ecaldqm::MESet::active_, ecaldqm::MESet::btype_, ecaldqm::MESet::checkME_(), ecaldqm::EcalDQMSetupObjects::electronicsMap, ecaldqm::binning::findBin1D(), ecaldqm::binning::findPlotIndex(), ecaldqm::binning::getObject(), ecaldqm::MESet::kind_, hlt_dqm_clientPB-live_cfg::me, ecaldqm::MESet::mes_, hlt_dqm_clientPB-live_cfg::nbinsY, getGTfromDQMFile::obj, ecaldqm::MESet::otype_, MonitorElementData::TH2F, and MonitorElementData::TPROFILE2D.

◆ setBinContent() [2/6]

void ecaldqm::MESetDet1D::setBinContent ( EcalDQMSetupObjects const  edso,
DetId const &  _id,
int  _ybin,
double  _content 
)
overridevirtual

◆ setBinContent() [3/6]

void ecaldqm::MESetDet1D::setBinContent ( EcalDQMSetupObjects const  edso,
EcalElectronicsId const &  _id,
double  _content 
)
overridevirtual

Reimplemented from ecaldqm::MESet.

Definition at line 181 of file MESetDet1D.cc.

181  {
182  if (!active_)
183  return;
184 
185  unsigned iME(binning::findPlotIndex(edso.electronicsMap, otype_, _id));
186  checkME_(iME);
187 
188  MonitorElement *me(mes_[iME]);
189 
191  int xbin(binning::findBin1D(edso.electronicsMap, obj, btype_, _id));
192 
194  int nbinsY(me->getTH1()->GetNbinsY());
195  for (int iY(1); iY <= nbinsY; iY++)
196  me->setBinContent(xbin, iY, _content);
197  } else
198  me->setBinContent(xbin, _content);
199  }

References btvTracks_cfi::_content, ecaldqm::MESet::active_, ecaldqm::MESet::btype_, ecaldqm::MESet::checkME_(), ecaldqm::EcalDQMSetupObjects::electronicsMap, ecaldqm::binning::findBin1D(), ecaldqm::binning::findPlotIndex(), ecaldqm::binning::getObject(), ecaldqm::MESet::kind_, hlt_dqm_clientPB-live_cfg::me, ecaldqm::MESet::mes_, hlt_dqm_clientPB-live_cfg::nbinsY, getGTfromDQMFile::obj, ecaldqm::MESet::otype_, MonitorElementData::TH2F, and MonitorElementData::TPROFILE2D.

◆ setBinContent() [4/6]

void ecaldqm::MESetDet1D::setBinContent ( EcalDQMSetupObjects const  edso,
EcalElectronicsId const &  _id,
int  _ybin,
double  _content 
)
overridevirtual

◆ setBinContent() [5/6]

void ecaldqm::MESetDet1D::setBinContent ( EcalDQMSetupObjects const  edso,
int  _dcctccid,
double  _content 
)
overridevirtual

Reimplemented from ecaldqm::MESet.

Definition at line 201 of file MESetDet1D.cc.

201  {
202  if (!active_)
203  return;
204 
205  unsigned iME(binning::findPlotIndex(edso.electronicsMap, otype_, _dcctccid, btype_));
206  checkME_(iME);
207 
208  MonitorElement *me(mes_[iME]);
209 
211  int xbin(binning::findBin1D(edso.electronicsMap, obj, btype_, _dcctccid));
212 
214  int nbinsY(me->getTH1()->GetNbinsY());
215  for (int iY(1); iY <= nbinsY; iY++)
216  me->setBinContent(xbin, iY, _content);
217  } else
218  me->setBinContent(xbin, _content);
219  }

References btvTracks_cfi::_content, ecaldqm::MESet::active_, ecaldqm::MESet::btype_, ecaldqm::MESet::checkME_(), ecaldqm::EcalDQMSetupObjects::electronicsMap, ecaldqm::binning::findBin1D(), ecaldqm::binning::findPlotIndex(), ecaldqm::binning::getObject(), ecaldqm::MESet::kind_, hlt_dqm_clientPB-live_cfg::me, ecaldqm::MESet::mes_, hlt_dqm_clientPB-live_cfg::nbinsY, getGTfromDQMFile::obj, ecaldqm::MESet::otype_, MonitorElementData::TH2F, and MonitorElementData::TPROFILE2D.

◆ setBinContent() [6/6]

void ecaldqm::MESetDet1D::setBinContent ( EcalDQMSetupObjects const  edso,
int  _dcctccid,
int  _ybin,
double  _content 
)
overridevirtual

◆ setBinEntries() [1/6]

void ecaldqm::MESetDet1D::setBinEntries ( EcalDQMSetupObjects const  edso,
DetId const &  _id,
double  _entries 
)
overridevirtual

Reimplemented from ecaldqm::MESet.

Definition at line 380 of file MESetDet1D.cc.

380  {
381  if (!active_)
382  return;
384  return;
385 
386  unsigned iME(binning::findPlotIndex(edso.electronicsMap, otype_, _id));
387  checkME_(iME);
388 
389  MonitorElement *me(mes_[iME]);
390 
392  int xbin(binning::findBin1D(edso.electronicsMap, obj, btype_, _id));
393 
395  int nbinsX(me->getTH1()->GetNbinsX());
396  int nbinsY(me->getTH1()->GetNbinsY());
397  for (int iY(1); iY <= nbinsY; iY++)
398  me->setBinEntries((nbinsX + 2) * iY + xbin, _entries);
399  } else
400  me->setBinEntries(xbin, _entries);
401  }

References ecaldqm::MESet::active_, ecaldqm::MESet::btype_, ecaldqm::MESet::checkME_(), ecaldqm::EcalDQMSetupObjects::electronicsMap, ecaldqm::binning::findBin1D(), ecaldqm::binning::findPlotIndex(), ecaldqm::binning::getObject(), ecaldqm::MESet::kind_, hlt_dqm_clientPB-live_cfg::me, ecaldqm::MESet::mes_, hlt_dqm_clientPB-live_cfg::nbinsX, hlt_dqm_clientPB-live_cfg::nbinsY, getGTfromDQMFile::obj, ecaldqm::MESet::otype_, MonitorElementData::TPROFILE, and MonitorElementData::TPROFILE2D.

◆ setBinEntries() [2/6]

void ecaldqm::MESetDet1D::setBinEntries ( EcalDQMSetupObjects const  edso,
DetId const &  _id,
int  _ybin,
double  _entries 
)
overridevirtual

Reimplemented from ecaldqm::MESet.

Definition at line 449 of file MESetDet1D.cc.

449  {
450  if (!active_)
451  return;
453  return;
454 
455  unsigned iME(binning::findPlotIndex(edso.electronicsMap, otype_, _id));
456  checkME_(iME);
457 
458  MonitorElement *me(mes_[iME]);
459 
461  int xbin(binning::findBin1D(edso.electronicsMap, obj, btype_, _id));
462  int nbinsX(me->getTH1()->GetNbinsX());
463  me->setBinEntries((nbinsX + 2) * _ybin + xbin, _entries);
464  }

References ecaldqm::MESet::active_, ecaldqm::MESet::btype_, ecaldqm::MESet::checkME_(), ecaldqm::EcalDQMSetupObjects::electronicsMap, ecaldqm::binning::findBin1D(), ecaldqm::binning::findPlotIndex(), ecaldqm::binning::getObject(), ecaldqm::MESet::kind_, hlt_dqm_clientPB-live_cfg::me, ecaldqm::MESet::mes_, hlt_dqm_clientPB-live_cfg::nbinsX, getGTfromDQMFile::obj, ecaldqm::MESet::otype_, and MonitorElementData::TPROFILE2D.

◆ setBinEntries() [3/6]

void ecaldqm::MESetDet1D::setBinEntries ( EcalDQMSetupObjects const  edso,
EcalElectronicsId const &  _id,
double  _entries 
)
overridevirtual

Reimplemented from ecaldqm::MESet.

Definition at line 403 of file MESetDet1D.cc.

403  {
404  if (!active_)
405  return;
407  return;
408 
409  unsigned iME(binning::findPlotIndex(edso.electronicsMap, otype_, _id));
410  checkME_(iME);
411 
412  MonitorElement *me(mes_[iME]);
413 
415  int xbin(binning::findBin1D(edso.electronicsMap, obj, btype_, _id));
416 
418  int nbinsX(me->getTH1()->GetNbinsX());
419  int nbinsY(me->getTH1()->GetNbinsY());
420  for (int iY(1); iY <= nbinsY; iY++)
421  me->setBinEntries((nbinsX + 2) * iY + xbin, _entries);
422  } else
423  me->setBinEntries(xbin, _entries);
424  }

References ecaldqm::MESet::active_, ecaldqm::MESet::btype_, ecaldqm::MESet::checkME_(), ecaldqm::EcalDQMSetupObjects::electronicsMap, ecaldqm::binning::findBin1D(), ecaldqm::binning::findPlotIndex(), ecaldqm::binning::getObject(), ecaldqm::MESet::kind_, hlt_dqm_clientPB-live_cfg::me, ecaldqm::MESet::mes_, hlt_dqm_clientPB-live_cfg::nbinsX, hlt_dqm_clientPB-live_cfg::nbinsY, getGTfromDQMFile::obj, ecaldqm::MESet::otype_, MonitorElementData::TPROFILE, and MonitorElementData::TPROFILE2D.

◆ setBinEntries() [4/6]

void ecaldqm::MESetDet1D::setBinEntries ( EcalDQMSetupObjects const  edso,
EcalElectronicsId const &  _id,
int  _ybin,
double  _entries 
)
overridevirtual

Reimplemented from ecaldqm::MESet.

Definition at line 466 of file MESetDet1D.cc.

469  {
470  if (!active_)
471  return;
473  return;
474 
475  unsigned iME(binning::findPlotIndex(edso.electronicsMap, otype_, _id));
476  checkME_(iME);
477 
478  MonitorElement *me(mes_[iME]);
479 
481  int xbin(binning::findBin1D(edso.electronicsMap, obj, btype_, _id));
482  int nbinsX(me->getTH1()->GetNbinsX());
483  me->setBinEntries((nbinsX + 2) * _ybin + xbin, _entries);
484  }

References ecaldqm::MESet::active_, ecaldqm::MESet::btype_, ecaldqm::MESet::checkME_(), ecaldqm::EcalDQMSetupObjects::electronicsMap, ecaldqm::binning::findBin1D(), ecaldqm::binning::findPlotIndex(), ecaldqm::binning::getObject(), ecaldqm::MESet::kind_, hlt_dqm_clientPB-live_cfg::me, ecaldqm::MESet::mes_, hlt_dqm_clientPB-live_cfg::nbinsX, getGTfromDQMFile::obj, ecaldqm::MESet::otype_, and MonitorElementData::TPROFILE2D.

◆ setBinEntries() [5/6]

void ecaldqm::MESetDet1D::setBinEntries ( EcalDQMSetupObjects const  edso,
int  _dcctccid,
double  _entries 
)
overridevirtual

Reimplemented from ecaldqm::MESet.

Definition at line 426 of file MESetDet1D.cc.

426  {
427  if (!active_)
428  return;
430  return;
431 
432  unsigned iME(binning::findPlotIndex(edso.electronicsMap, otype_, _dcctccid, btype_));
433  checkME_(iME);
434 
435  MonitorElement *me(mes_[iME]);
436 
438  int xbin(binning::findBin1D(edso.electronicsMap, obj, btype_, _dcctccid));
439 
441  int nbinsX(me->getTH1()->GetNbinsX());
442  int nbinsY(me->getTH1()->GetNbinsY());
443  for (int iY(1); iY <= nbinsY; iY++)
444  me->setBinEntries((nbinsX + 2) * iY + xbin, _entries);
445  } else
446  me->setBinEntries(xbin, _entries);
447  }

References ecaldqm::MESet::active_, ecaldqm::MESet::btype_, ecaldqm::MESet::checkME_(), ecaldqm::EcalDQMSetupObjects::electronicsMap, ecaldqm::binning::findBin1D(), ecaldqm::binning::findPlotIndex(), ecaldqm::binning::getObject(), ecaldqm::MESet::kind_, hlt_dqm_clientPB-live_cfg::me, ecaldqm::MESet::mes_, hlt_dqm_clientPB-live_cfg::nbinsX, hlt_dqm_clientPB-live_cfg::nbinsY, getGTfromDQMFile::obj, ecaldqm::MESet::otype_, MonitorElementData::TPROFILE, and MonitorElementData::TPROFILE2D.

◆ setBinEntries() [6/6]

void ecaldqm::MESetDet1D::setBinEntries ( EcalDQMSetupObjects const  edso,
int  _dcctccid,
int  _ybin,
double  _entries 
)
overridevirtual

Reimplemented from ecaldqm::MESet.

Definition at line 486 of file MESetDet1D.cc.

486  {
487  if (!active_)
488  return;
490  return;
491 
492  unsigned iME(binning::findPlotIndex(edso.electronicsMap, otype_, _dcctccid));
493  checkME_(iME);
494 
495  MonitorElement *me(mes_[iME]);
496 
498  int xbin(binning::findBin1D(edso.electronicsMap, obj, btype_, _dcctccid));
499  int nbinsX(me->getTH1()->GetNbinsX());
500  me->setBinEntries((nbinsX + 2) * _ybin + xbin, _entries);
501  }

References ecaldqm::MESet::active_, ecaldqm::MESet::btype_, ecaldqm::MESet::checkME_(), ecaldqm::EcalDQMSetupObjects::electronicsMap, ecaldqm::binning::findBin1D(), ecaldqm::binning::findPlotIndex(), ecaldqm::binning::getObject(), ecaldqm::MESet::kind_, hlt_dqm_clientPB-live_cfg::me, ecaldqm::MESet::mes_, hlt_dqm_clientPB-live_cfg::nbinsX, getGTfromDQMFile::obj, ecaldqm::MESet::otype_, and MonitorElementData::TPROFILE2D.

◆ setBinError() [1/6]

void ecaldqm::MESetDet1D::setBinError ( EcalDQMSetupObjects const  edso,
DetId const &  _id,
double  _error 
)
overridevirtual

Reimplemented from ecaldqm::MESet.

Definition at line 272 of file MESetDet1D.cc.

272  {
273  if (!active_)
274  return;
275 
276  unsigned iME(binning::findPlotIndex(edso.electronicsMap, otype_, _id));
277  checkME_(iME);
278 
279  MonitorElement *me(mes_[iME]);
280 
282  int xbin(binning::findBin1D(edso.electronicsMap, obj, btype_, _id));
283 
285  int nbinsY(me->getTH1()->GetNbinsY());
286  for (int iY(1); iY <= nbinsY; iY++)
287  me->setBinError(xbin, iY, _error);
288  } else
289  me->setBinError(xbin, _error);
290  }

References ecaldqm::MESet::active_, ecaldqm::MESet::btype_, ecaldqm::MESet::checkME_(), ecaldqm::EcalDQMSetupObjects::electronicsMap, ecaldqm::binning::findBin1D(), ecaldqm::binning::findPlotIndex(), ecaldqm::binning::getObject(), ecaldqm::MESet::kind_, hlt_dqm_clientPB-live_cfg::me, ecaldqm::MESet::mes_, hlt_dqm_clientPB-live_cfg::nbinsY, getGTfromDQMFile::obj, ecaldqm::MESet::otype_, MonitorElementData::TH2F, and MonitorElementData::TPROFILE2D.

◆ setBinError() [2/6]

void ecaldqm::MESetDet1D::setBinError ( EcalDQMSetupObjects const  edso,
DetId const &  _id,
int  _ybin,
double  _error 
)
overridevirtual

◆ setBinError() [3/6]

void ecaldqm::MESetDet1D::setBinError ( EcalDQMSetupObjects const  edso,
EcalElectronicsId const &  _id,
double  _error 
)
overridevirtual

Reimplemented from ecaldqm::MESet.

Definition at line 292 of file MESetDet1D.cc.

292  {
293  if (!active_)
294  return;
295 
296  unsigned iME(binning::findPlotIndex(edso.electronicsMap, otype_, _id));
297  checkME_(iME);
298 
299  MonitorElement *me(mes_[iME]);
300 
302  int xbin(binning::findBin1D(edso.electronicsMap, obj, btype_, _id));
303 
305  int nbinsY(me->getTH1()->GetNbinsY());
306  for (int iY(1); iY <= nbinsY; iY++)
307  me->setBinError(xbin, iY, _error);
308  } else
309  me->setBinError(xbin, _error);
310  }

References ecaldqm::MESet::active_, ecaldqm::MESet::btype_, ecaldqm::MESet::checkME_(), ecaldqm::EcalDQMSetupObjects::electronicsMap, ecaldqm::binning::findBin1D(), ecaldqm::binning::findPlotIndex(), ecaldqm::binning::getObject(), ecaldqm::MESet::kind_, hlt_dqm_clientPB-live_cfg::me, ecaldqm::MESet::mes_, hlt_dqm_clientPB-live_cfg::nbinsY, getGTfromDQMFile::obj, ecaldqm::MESet::otype_, MonitorElementData::TH2F, and MonitorElementData::TPROFILE2D.

◆ setBinError() [4/6]

void ecaldqm::MESetDet1D::setBinError ( EcalDQMSetupObjects const  edso,
EcalElectronicsId const &  _id,
int  _ybin,
double  _error 
)
overridevirtual

◆ setBinError() [5/6]

void ecaldqm::MESetDet1D::setBinError ( EcalDQMSetupObjects const  edso,
int  _dcctccid,
double  _error 
)
overridevirtual

Reimplemented from ecaldqm::MESet.

Definition at line 312 of file MESetDet1D.cc.

312  {
313  if (!active_)
314  return;
315 
316  unsigned iME(binning::findPlotIndex(edso.electronicsMap, otype_, _dcctccid, btype_));
317  checkME_(iME);
318 
319  MonitorElement *me(mes_[iME]);
320 
322  int xbin(binning::findBin1D(edso.electronicsMap, obj, btype_, _dcctccid));
323 
325  int nbinsY(me->getTH1()->GetNbinsY());
326  for (int iY(1); iY <= nbinsY; iY++)
327  me->setBinError(xbin, iY, _error);
328  } else
329  me->setBinError(xbin, _error);
330  }

References ecaldqm::MESet::active_, ecaldqm::MESet::btype_, ecaldqm::MESet::checkME_(), ecaldqm::EcalDQMSetupObjects::electronicsMap, ecaldqm::binning::findBin1D(), ecaldqm::binning::findPlotIndex(), ecaldqm::binning::getObject(), ecaldqm::MESet::kind_, hlt_dqm_clientPB-live_cfg::me, ecaldqm::MESet::mes_, hlt_dqm_clientPB-live_cfg::nbinsY, getGTfromDQMFile::obj, ecaldqm::MESet::otype_, MonitorElementData::TH2F, and MonitorElementData::TPROFILE2D.

◆ setBinError() [6/6]

void ecaldqm::MESetDet1D::setBinError ( EcalDQMSetupObjects const  edso,
int  _dcctccid,
int  _ybin,
double  _error 
)
overridevirtual
ecaldqm::binning::channelName
std::string channelName(EcalElectronicsMapping const *, uint32_t, BinningType _btype=kDCC)
Definition: MESetBinningUtils.cc:615
ecaldqm::MESet::throw_
void throw_(std::string const &_message) const
Definition: MESet.h:149
ecaldqm::MESet::fill_
virtual void fill_(unsigned, int, double)
Definition: MESet.cc:252
filterCSVwithJSON.copy
copy
Definition: filterCSVwithJSON.py:36
ecaldqm::outerTCCs
std::pair< unsigned, unsigned > outerTCCs(unsigned)
Definition: EcalDQMCommonUtils.cc:153
MonitorElementData::Kind::TH1F
ecaldqm::binning::kEEp
Definition: MESetBinningUtils.h:22
ecaldqm::binning::kEB
Definition: MESetBinningUtils.h:19
hlt_dqm_clientPB-live_cfg.nbinsX
nbinsX
Definition: hlt_dqm_clientPB-live_cfg.py:65
dqm::legacy::MonitorElement
Definition: MonitorElement.h:462
ecaldqm::binning::kEE
Definition: MESetBinningUtils.h:20
ecaldqm::MESetDet1D::MESetDet1D
MESetDet1D(std::string const &, binning::ObjectType, binning::BinningType, MonitorElement::Kind, binning::AxisSpecs const *=nullptr)
Definition: MESetDet1D.cc:7
MonitorElementData::Kind::TH2F
contentValuesCheck.ss
ss
Definition: contentValuesCheck.py:33
ecaldqm::binning::getNObjects
unsigned getNObjects(ObjectType)
Definition: MESetBinningUtils.cc:535
SurfaceOrientation::inner
Definition: Surface.h:19
ecaldqm::binning::getObject
ObjectType getObject(ObjectType, unsigned)
Definition: MESetBinningUtils.cc:490
ecaldqm::MESet::otype_
binning::ObjectType otype_
Definition: MESet.h:154
ecaldqm::kEEmHigh
Definition: EcalDQMCommonUtils.h:81
ecaldqm::MESet::active_
bool active_
Definition: MESet.h:161
getGTfromDQMFile.obj
obj
Definition: getGTfromDQMFile.py:32
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
hlt_dqm_clientPB-live_cfg.nbinsY
nbinsY
Definition: hlt_dqm_clientPB-live_cfg.py:69
ecaldqm::binning::ObjectType
ObjectType
Definition: MESetBinningUtils.h:18
ecaldqm::MESet::btype_
binning::BinningType btype_
Definition: MESet.h:155
ecaldqm::binning::kEESM
Definition: MESetBinningUtils.h:25
ecaldqm::MESet::path_
std::string path_
Definition: MESet.h:153
ecaldqm::nTTOuter
Definition: EcalDQMCommonUtils.h:97
ecaldqm::kEBmLow
Definition: EcalDQMCommonUtils.h:84
ecaldqm::nTTInner
Definition: EcalDQMCommonUtils.h:98
ecaldqm::MESetEcal::book
void book(DQMStore::IBooker &, EcalElectronicsMapping const *) override
Definition: MESetEcal.cc:70
ecaldqm::MESet::mes_
std::vector< MonitorElement * > mes_
Definition: MESet.h:151
newFWLiteAna.bin
bin
Definition: newFWLiteAna.py:161
MonitorElementData::Kind::TPROFILE2D
ecaldqm::MESet::checkME_
virtual void checkME_(unsigned _iME) const
Definition: MESet.h:141
ecaldqm::kEEpLow
Definition: EcalDQMCommonUtils.h:82
ecaldqm::binning::kDCC
Definition: MESetBinningUtils.h:47
fastTrackerRecHitType::is2D
bool is2D(HitType hitType)
Definition: FastTrackerRecHit.h:36
ecaldqm::MESet::MESet
MESet()
Definition: MESet.cc:14
ecaldqm::binning::findPlotIndex
unsigned findPlotIndex(EcalElectronicsMapping const *, ObjectType, DetId const &)
Definition: MESetBinningUtils.cc:316
ecaldqm::binning::findBin1D
int findBin1D(EcalElectronicsMapping const *, ObjectType, BinningType, DetId const &)
Definition: MESetBinningUtils.cc:63
castor_dqm_sourceclient_file_cfg.path
path
Definition: castor_dqm_sourceclient_file_cfg.py:37
SurfaceOrientation::outer
Definition: Surface.h:19
hlt_dqm_clientPB-live_cfg.me
me
Definition: hlt_dqm_clientPB-live_cfg.py:61
ecaldqm::innerTCCs
std::pair< unsigned, unsigned > innerTCCs(unsigned)
Definition: EcalDQMCommonUtils.cc:133
ecaldqm::MESet::kind_
MonitorElement::Kind kind_
Definition: MESet.h:156
hltrates_dqm_sourceclient-live_cfg.offset
offset
Definition: hltrates_dqm_sourceclient-live_cfg.py:82
ecaldqm::binning::kSM
Definition: MESetBinningUtils.h:23
ecaldqm::binning::kTriggerTower
Definition: MESetBinningUtils.h:43
btvTracks_cfi._content
_content
Definition: btvTracks_cfi.py:5
ecaldqm::binning::kEEm
Definition: MESetBinningUtils.h:21
MonitorElementData::Kind::TPROFILE
ecaldqm::MESetEcal::MESetEcal
MESetEcal(std::string const &, binning::ObjectType, binning::BinningType, MonitorElement::Kind, unsigned, binning::AxisSpecs const *=nullptr, binning::AxisSpecs const *=nullptr, binning::AxisSpecs const *=nullptr)
Definition: MESetEcal.cc:10