CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 &) override
 
MESetclone (std::string const &="") const override
 
void fill (DetId const &, double=1., double=1., double=0.) override
 
void fill (EcalElectronicsId const &, double=1., double=1., double=0.) override
 
void fill (int, double=1., double=1., double=0.) override
 
int findBin (DetId const &) const
 
int findBin (EcalElectronicsId const &) const
 
int findBin (int) const
 
int findBin (DetId const &, double, double=0.) const override
 
int findBin (EcalElectronicsId const &, double, double=0.) const override
 
int findBin (int, double, double=0.) const override
 
double getBinContent (DetId const &, int=0) const override
 
double getBinContent (EcalElectronicsId const &, int=0) const override
 
double getBinContent (int, int=0) const override
 
double getBinEntries (DetId const &, int=0) const override
 
double getBinEntries (EcalElectronicsId const &, int=0) const override
 
double getBinEntries (int, int=0) const override
 
double getBinError (DetId const &, int=0) const override
 
double getBinError (EcalElectronicsId const &, int=0) const override
 
double getBinError (int, int=0) const override
 
 MESetDet1D (std::string const &, binning::ObjectType, binning::BinningType, MonitorElement::Kind, binning::AxisSpecs const *=0)
 
 MESetDet1D (MESetDet1D const &)
 
void reset (double=0., double=0., double=0.) override
 
void setBinContent (DetId const &, double) override
 
void setBinContent (EcalElectronicsId const &, double) override
 
void setBinContent (int, double) override
 
void setBinContent (DetId const &, int, double) override
 
void setBinContent (EcalElectronicsId const &, int, double) override
 
void setBinContent (int, int, double) override
 
void setBinEntries (DetId const &, double) override
 
void setBinEntries (EcalElectronicsId const &, double) override
 
void setBinEntries (int, double) override
 
void setBinEntries (DetId const &, int, double) override
 
void setBinEntries (EcalElectronicsId const &, int, double) override
 
void setBinEntries (int, int, double) override
 
void setBinError (DetId const &, double) override
 
void setBinError (EcalElectronicsId const &, double) override
 
void setBinError (int, double) override
 
void setBinError (DetId const &, int, double) override
 
void setBinError (EcalElectronicsId const &, int, double) override
 
void setBinError (int, int, double) override
 
 ~MESetDet1D ()
 
- Public Member Functions inherited from ecaldqm::MESetEcal
void book (DQMStore::IBooker &) override
 
MESetclone (std::string const &="") const override
 
void fill (DetId const &, double=1., double=1., double=1.) override
 
void fill (EcalElectronicsId const &, double=1., double=1., double=1.) override
 
void fill (int, double=1., double=1., double=1.) override
 
void fill (double, double=1., double=1.) override
 
std::vector< std::string > generatePaths () const
 
double getBinContent (DetId const &, int) const override
 
double getBinContent (EcalElectronicsId const &, int) const override
 
double getBinContent (int, int) const override
 
double getBinEntries (DetId const &, int) const override
 
double getBinEntries (EcalElectronicsId const &, int) const override
 
double getBinEntries (int, int) const override
 
double getBinError (DetId const &, int) const override
 
double getBinError (EcalElectronicsId const &, int) const override
 
double getBinError (int, int) const override
 
bool isVariableBinning () const override
 
 MESetEcal (std::string const &, binning::ObjectType, binning::BinningType, MonitorElement::Kind, unsigned, binning::AxisSpecs const *=0, binning::AxisSpecs const *=0, binning::AxisSpecs const *=0)
 
 MESetEcal (MESetEcal const &)
 
MESetoperator= (MESet const &) override
 
bool retrieve (DQMStore::IGetter &, std::string *=0) const override
 
void setBinContent (DetId const &, int, double) override
 
void setBinContent (EcalElectronicsId const &, int, double) override
 
void setBinContent (int, int, double) override
 
void setBinEntries (DetId const &, int, double) override
 
void setBinEntries (EcalElectronicsId const &, int, double) override
 
void setBinEntries (int, int, double) override
 
void setBinError (DetId const &, int, double) override
 
void setBinError (EcalElectronicsId const &, int, double) override
 
void setBinError (int, int, double) override
 
 ~MESetEcal ()
 
- Public Member Functions inherited from ecaldqm::MESet
virtual const_iterator begin () const
 
virtual iterator begin ()
 
virtual const_iterator beginChannel () const
 
virtual iterator beginChannel ()
 
virtual void clear () const
 
virtual const_iterator end () const
 
virtual iterator end ()
 
std::string formPath (PathReplacements const &) const
 
bool getBatchMode () const
 
binning::BinningType getBinType () const
 
MonitorElement::Kind getKind () const
 
bool getLumiFlag () const
 
virtual MonitorElement const * getME (unsigned _iME) const
 
virtual MonitorElementgetME (unsigned _iME)
 
binning::ObjectType getObjType () const
 
virtual std::string const & getPath () const
 
bool isActive () const
 
virtual bool maskMatches (DetId const &, uint32_t, StatusManager const *) const
 
 MESet ()
 
 MESet (std::string const &, binning::ObjectType, binning::BinningType, MonitorElement::Kind)
 
 MESet (MESet const &)
 
virtual void recoverStats ()
 
virtual void resetAll (double=0., double=0., double=0.)
 
virtual void setAxisTitle (std::string const &, int=1)
 
void setBatchMode ()
 
void setLumiFlag ()
 
virtual void softReset ()
 
virtual ~MESet ()
 

Additional Inherited Members

- Public Types inherited from ecaldqm::MESet
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, int, double)
 
virtual void fill_ (unsigned, int, double, double)
 
virtual void fill_ (unsigned, double, double, double)
 
void throw_ (std::string const &_message) const
 
- Protected Attributes inherited from ecaldqm::MESetEcal
unsigned logicalDimensions_
 
binning::AxisSpecs const * xaxis_
 
binning::AxisSpecs const * yaxis_
 
binning::AxisSpecs const * zaxis_
 
- 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 14 of file MESetDet1D.h.

Constructor & Destructor Documentation

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

Definition at line 8 of file MESetDet1D.cc.

References MonitorElement::DQM_KIND_TH1F, MonitorElement::DQM_KIND_TH2F, MonitorElement::DQM_KIND_TPROFILE, MonitorElement::DQM_KIND_TPROFILE2D, ecaldqm::MESet::kind_, and ecaldqm::MESet::throw_().

Referenced by clone().

8  :
9  MESetEcal(_fullPath, _otype, _btype, _kind, 1, 0, _yaxis, 0)
10  {
11  switch(kind_){
16  break;
17  default:
18  throw_("Unsupported MonitorElement kind");
19  }
20  }
MonitorElement::Kind kind_
Definition: MESet.h:134
void throw_(std::string const &_message) const
Definition: MESet.h:124
MESetEcal(std::string const &, binning::ObjectType, binning::BinningType, MonitorElement::Kind, unsigned, binning::AxisSpecs const *=0, binning::AxisSpecs const *=0, binning::AxisSpecs const *=0)
Definition: MESetEcal.cc:11
ecaldqm::MESetDet1D::MESetDet1D ( MESetDet1D const &  _orig)

Definition at line 22 of file MESetDet1D.cc.

22  :
23  MESetEcal(_orig)
24  {
25  }
MESetEcal(std::string const &, binning::ObjectType, binning::BinningType, MonitorElement::Kind, unsigned, binning::AxisSpecs const *=0, binning::AxisSpecs const *=0, binning::AxisSpecs const *=0)
Definition: MESetEcal.cc:11
ecaldqm::MESetDet1D::~MESetDet1D ( )

Definition at line 27 of file MESetDet1D.cc.

28  {
29  }

Member Function Documentation

void ecaldqm::MESetDet1D::book ( DQMStore::IBooker _ibooker)
overridevirtual

Reimplemented from ecaldqm::MESet.

Definition at line 42 of file MESetDet1D.cc.

References ecaldqm::MESetEcal::book(), ecaldqm::MESet::btype_, ecaldqm::binning::channelName(), MonitorElement::getNbinsX(), 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, ecaldqm::MESet::mes_, evf::evtn::offset(), ecaldqm::MESet::otype_, SurfaceOrientation::outer, ecaldqm::outerTCCs(), MonitorElement::setBinLabel(), and contentValuesCheck::ss.

43  {
44  MESetEcal::book(_ibooker);
45 
46  if(btype_ == binning::kDCC){
47  for(unsigned iME(0); iME < mes_.size(); iME++){
48  MonitorElement* me(mes_[iME]);
49 
50  binning::ObjectType actualObject(binning::getObject(otype_, iME));
51  if(actualObject == binning::kEB){
52  for(int iBin(1); iBin <= me->getNbinsX(); iBin++)
53  me->setBinLabel(iBin, binning::channelName(iBin + kEBmLow));
54  }
55  else if(actualObject == binning::kEE){
56  for(int iBin(1); iBin <= me->getNbinsX() / 2; iBin++){
57  me->setBinLabel(iBin, binning::channelName(iBin));
58  me->setBinLabel(iBin + me->getNbinsX() / 2, binning::channelName(iBin + 45));
59  }
60  }
61  else if(actualObject == binning::kEEm){
62  for(int iBin(1); iBin <= me->getNbinsX(); iBin++)
63  me->setBinLabel(iBin, binning::channelName(iBin));
64  }
65  else if(actualObject == binning::kEEp){
66  for(int iBin(1); iBin <= me->getNbinsX(); iBin++)
67  me->setBinLabel(iBin, binning::channelName(iBin + 45));
68  }
69  }
70  }
71  else if(btype_ == binning::kTriggerTower){
72  for(unsigned iME(0); iME < mes_.size(); iME++){
73  MonitorElement* me(mes_[iME]);
74 
75  binning::ObjectType actualObject(binning::getObject(otype_, iME));
76  unsigned dccid(0);
77  if(actualObject == binning::kSM && (iME <= kEEmHigh || iME >= kEEpLow)) dccid = iME + 1;
78  else if(actualObject == binning::kEESM) dccid = iME <= kEEmHigh ? iME + 1 : iME + 37;
79 
80  if(dccid > 0){
81  std::stringstream ss;
82  std::pair<unsigned, unsigned> inner(innerTCCs(iME + 1));
83  std::pair<unsigned, unsigned> outer(outerTCCs(iME + 1));
84  ss << "TCC" << inner.first << " TT1";
85  me->setBinLabel(1, ss.str());
86  ss.str("");
87  ss << "TCC" << inner.second << " TT1";
88  me->setBinLabel(25, ss.str());
89  ss.str("");
90  ss << "TCC" << outer.first << " TT1";
91  me->setBinLabel(49, ss.str());
92  ss.str("");
93  ss << "TCC" << outer.second << " TT1";
94  me->setBinLabel(65, ss.str());
95  int offset(0);
96  for(int iBin(4); iBin <= 80; iBin += 4){
97  if(iBin == 28) offset = 24;
98  else if(iBin == 52) offset = 48;
99  else if(iBin == 68) offset = 64;
100  ss.str("");
101  ss << iBin - offset;
102  me->setBinLabel(iBin, ss.str());
103  }
104  }
105  }
106  }
107  }
std::pair< unsigned, unsigned > outerTCCs(unsigned)
ObjectType getObject(ObjectType, unsigned)
std::vector< MonitorElement * > mes_
Definition: MESet.h:129
unsigned int offset(bool)
std::string channelName(uint32_t, BinningType _btype=kDCC)
std::pair< unsigned, unsigned > innerTCCs(unsigned)
binning::ObjectType otype_
Definition: MESet.h:132
binning::BinningType btype_
Definition: MESet.h:133
void book(DQMStore::IBooker &) override
Definition: MESetEcal.cc:69
MESet * ecaldqm::MESetDet1D::clone ( std::string const &  _path = "") const
overridevirtual

Reimplemented from ecaldqm::MESet.

Definition at line 32 of file MESetDet1D.cc.

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

33  {
35  if(_path != "") path_ = _path;
36  MESet* copy(new MESetDet1D(*this));
37  path_ = path;
38  return copy;
39  }
tuple path
else: Piece not in the list, fine.
MESetDet1D(std::string const &, binning::ObjectType, binning::BinningType, MonitorElement::Kind, binning::AxisSpecs const *=0)
Definition: MESetDet1D.cc:8
std::string path_
Definition: MESet.h:131
void ecaldqm::MESetDet1D::fill ( DetId const &  _id,
double  _wy = 1.,
double  _w = 1.,
double  = 0. 
)
overridevirtual

Reimplemented from ecaldqm::MESet.

Definition at line 110 of file MESetDet1D.cc.

References ecaldqm::MESet::active_, ecaldqm::MESet::btype_, ecaldqm::MESet::checkME_(), MonitorElement::DQM_KIND_TH2F, MonitorElement::DQM_KIND_TPROFILE2D, ecaldqm::MESet::fill_(), ecaldqm::binning::findBin1D(), ecaldqm::binning::findPlotIndex(), ecaldqm::binning::getObject(), ecaldqm::MESet::kind_, getGTfromDQMFile::obj, and ecaldqm::MESet::otype_.

111  {
112  if(!active_) return;
113 
114  unsigned iME(binning::findPlotIndex(otype_, _id));
115  checkME_(iME);
116 
118  int xbin(binning::findBin1D(obj, btype_, _id));
119 
121  fill_(iME, xbin, _wy, _w);
122  else
123  fill_(iME, xbin, _wy);
124  }
MonitorElement::Kind kind_
Definition: MESet.h:134
virtual void checkME_(unsigned _iME) const
Definition: MESet.h:115
ObjectType getObject(ObjectType, unsigned)
int findBin1D(ObjectType, BinningType, DetId const &)
virtual void fill_(unsigned, int, double)
Definition: MESet.cc:278
unsigned findPlotIndex(ObjectType, DetId const &)
bool active_
Definition: MESet.h:138
binning::ObjectType otype_
Definition: MESet.h:132
binning::BinningType btype_
Definition: MESet.h:133
void ecaldqm::MESetDet1D::fill ( EcalElectronicsId const &  _id,
double  _wy = 1.,
double  _w = 1.,
double  = 0. 
)
overridevirtual

Reimplemented from ecaldqm::MESet.

Definition at line 127 of file MESetDet1D.cc.

References ecaldqm::MESet::active_, ecaldqm::MESet::btype_, ecaldqm::MESet::checkME_(), MonitorElement::DQM_KIND_TH2F, MonitorElement::DQM_KIND_TPROFILE2D, ecaldqm::MESet::fill_(), ecaldqm::binning::findBin1D(), ecaldqm::binning::findPlotIndex(), ecaldqm::binning::getObject(), ecaldqm::MESet::kind_, getGTfromDQMFile::obj, and ecaldqm::MESet::otype_.

128  {
129  if(!active_) return;
130 
131  unsigned iME(binning::findPlotIndex(otype_, _id));
132  checkME_(iME);
133 
135  int xbin(binning::findBin1D(obj, btype_, _id));
136 
138  fill_(iME, xbin, _wy, _w);
139  else
140  fill_(iME, xbin, _wy);
141  }
MonitorElement::Kind kind_
Definition: MESet.h:134
virtual void checkME_(unsigned _iME) const
Definition: MESet.h:115
ObjectType getObject(ObjectType, unsigned)
int findBin1D(ObjectType, BinningType, DetId const &)
virtual void fill_(unsigned, int, double)
Definition: MESet.cc:278
unsigned findPlotIndex(ObjectType, DetId const &)
bool active_
Definition: MESet.h:138
binning::ObjectType otype_
Definition: MESet.h:132
binning::BinningType btype_
Definition: MESet.h:133
void ecaldqm::MESetDet1D::fill ( int  _dcctccid,
double  _wy = 1.,
double  _w = 1.,
double  = 0. 
)
overridevirtual

Reimplemented from ecaldqm::MESet.

Definition at line 144 of file MESetDet1D.cc.

References ecaldqm::MESet::active_, ecaldqm::MESet::btype_, ecaldqm::MESet::checkME_(), MonitorElement::DQM_KIND_TH2F, MonitorElement::DQM_KIND_TPROFILE2D, ecaldqm::MESet::fill_(), ecaldqm::binning::findBin1D(), ecaldqm::binning::findPlotIndex(), ecaldqm::binning::getObject(), ecaldqm::MESet::kind_, getGTfromDQMFile::obj, and ecaldqm::MESet::otype_.

145  {
146  if(!active_) return;
147 
148  unsigned iME(binning::findPlotIndex(otype_, _dcctccid, btype_));
149  checkME_(iME);
150 
152  int xbin(binning::findBin1D(obj, btype_, _dcctccid));
153 
155  fill_(iME, xbin, _wy, _w);
156  else
157  fill_(iME, xbin, _wy);
158  }
MonitorElement::Kind kind_
Definition: MESet.h:134
virtual void checkME_(unsigned _iME) const
Definition: MESet.h:115
ObjectType getObject(ObjectType, unsigned)
int findBin1D(ObjectType, BinningType, DetId const &)
virtual void fill_(unsigned, int, double)
Definition: MESet.cc:278
unsigned findPlotIndex(ObjectType, DetId const &)
bool active_
Definition: MESet.h:138
binning::ObjectType otype_
Definition: MESet.h:132
binning::BinningType btype_
Definition: MESet.h:133
int ecaldqm::MESetDet1D::findBin ( DetId const &  _id) const

Definition at line 668 of file MESetDet1D.cc.

References ecaldqm::MESet::active_, ecaldqm::MESet::btype_, ecaldqm::MESet::checkME_(), MonitorElement::DQM_KIND_TPROFILE, MonitorElement::DQM_KIND_TPROFILE2D, ecaldqm::binning::findBin1D(), ecaldqm::binning::findPlotIndex(), ecaldqm::binning::getObject(), ecaldqm::MESet::kind_, getGTfromDQMFile::obj, and ecaldqm::MESet::otype_.

669  {
670  if(!active_) return -1;
672 
673  unsigned iME(binning::findPlotIndex(otype_, _id));
674  checkME_(iME);
675 
677  return binning::findBin1D(obj, btype_, _id);
678  }
MonitorElement::Kind kind_
Definition: MESet.h:134
virtual void checkME_(unsigned _iME) const
Definition: MESet.h:115
ObjectType getObject(ObjectType, unsigned)
int findBin1D(ObjectType, BinningType, DetId const &)
unsigned findPlotIndex(ObjectType, DetId const &)
bool active_
Definition: MESet.h:138
binning::ObjectType otype_
Definition: MESet.h:132
binning::BinningType btype_
Definition: MESet.h:133
int ecaldqm::MESetDet1D::findBin ( EcalElectronicsId const &  _id) const

Definition at line 681 of file MESetDet1D.cc.

References ecaldqm::MESet::active_, ecaldqm::MESet::btype_, ecaldqm::MESet::checkME_(), MonitorElement::DQM_KIND_TPROFILE, MonitorElement::DQM_KIND_TPROFILE2D, ecaldqm::binning::findBin1D(), ecaldqm::binning::findPlotIndex(), ecaldqm::binning::getObject(), ecaldqm::MESet::kind_, getGTfromDQMFile::obj, and ecaldqm::MESet::otype_.

682  {
683  if(!active_) return -1;
685 
686  unsigned iME(binning::findPlotIndex(otype_, _id));
687  checkME_(iME);
688 
690  return binning::findBin1D(obj, btype_, _id);
691  }
MonitorElement::Kind kind_
Definition: MESet.h:134
virtual void checkME_(unsigned _iME) const
Definition: MESet.h:115
ObjectType getObject(ObjectType, unsigned)
int findBin1D(ObjectType, BinningType, DetId const &)
unsigned findPlotIndex(ObjectType, DetId const &)
bool active_
Definition: MESet.h:138
binning::ObjectType otype_
Definition: MESet.h:132
binning::BinningType btype_
Definition: MESet.h:133
int ecaldqm::MESetDet1D::findBin ( int  _dcctccid) const

Definition at line 694 of file MESetDet1D.cc.

References ecaldqm::MESet::active_, ecaldqm::MESet::btype_, ecaldqm::MESet::checkME_(), MonitorElement::DQM_KIND_TPROFILE, MonitorElement::DQM_KIND_TPROFILE2D, ecaldqm::binning::findBin1D(), ecaldqm::binning::findPlotIndex(), ecaldqm::binning::getObject(), ecaldqm::MESet::kind_, getGTfromDQMFile::obj, and ecaldqm::MESet::otype_.

695  {
696  if(!active_) return -1;
698 
699  unsigned iME(binning::findPlotIndex(otype_, _dcctccid));
700  checkME_(iME);
701 
703  return binning::findBin1D(obj, btype_, _dcctccid);
704  }
MonitorElement::Kind kind_
Definition: MESet.h:134
virtual void checkME_(unsigned _iME) const
Definition: MESet.h:115
ObjectType getObject(ObjectType, unsigned)
int findBin1D(ObjectType, BinningType, DetId const &)
unsigned findPlotIndex(ObjectType, DetId const &)
bool active_
Definition: MESet.h:138
binning::ObjectType otype_
Definition: MESet.h:132
binning::BinningType btype_
Definition: MESet.h:133
int ecaldqm::MESetDet1D::findBin ( DetId const &  _id,
double  _y,
double  = 0. 
) const
overridevirtual

Reimplemented from ecaldqm::MESetEcal.

Definition at line 707 of file MESetDet1D.cc.

References ecaldqm::MESet::active_, ecaldqm::MESet::btype_, ecaldqm::MESet::checkME_(), MonitorElement::DQM_KIND_TPROFILE, MonitorElement::DQM_KIND_TPROFILE2D, ecaldqm::binning::findBin1D(), ecaldqm::binning::findPlotIndex(), ecaldqm::binning::getObject(), MonitorElement::getTH1(), ecaldqm::MESet::kind_, ecaldqm::MESet::mes_, getGTfromDQMFile::obj, and ecaldqm::MESet::otype_.

708  {
709  if(!active_) return -1;
711 
712  unsigned iME(binning::findPlotIndex(otype_, _id));
713  checkME_(iME);
714 
715  MonitorElement* me(mes_[iME]);
716 
718  int xbin(binning::findBin1D(obj, btype_, _id));
719  int nbinsX(me->getTH1()->GetNbinsX());
720  return xbin + (nbinsX + 2) * me->getTH1()->GetYaxis()->FindBin(_y);
721  }
MonitorElement::Kind kind_
Definition: MESet.h:134
virtual void checkME_(unsigned _iME) const
Definition: MESet.h:115
ObjectType getObject(ObjectType, unsigned)
std::vector< MonitorElement * > mes_
Definition: MESet.h:129
int findBin1D(ObjectType, BinningType, DetId const &)
unsigned findPlotIndex(ObjectType, DetId const &)
bool active_
Definition: MESet.h:138
binning::ObjectType otype_
Definition: MESet.h:132
binning::BinningType btype_
Definition: MESet.h:133
int ecaldqm::MESetDet1D::findBin ( EcalElectronicsId const &  _id,
double  _y,
double  = 0. 
) const
overridevirtual

Reimplemented from ecaldqm::MESetEcal.

Definition at line 724 of file MESetDet1D.cc.

References ecaldqm::MESet::active_, ecaldqm::MESet::btype_, ecaldqm::MESet::checkME_(), MonitorElement::DQM_KIND_TPROFILE, MonitorElement::DQM_KIND_TPROFILE2D, ecaldqm::binning::findBin1D(), ecaldqm::binning::findPlotIndex(), ecaldqm::binning::getObject(), MonitorElement::getTH1(), ecaldqm::MESet::kind_, ecaldqm::MESet::mes_, getGTfromDQMFile::obj, and ecaldqm::MESet::otype_.

725  {
726  if(!active_) return -1;
728 
729  unsigned iME(binning::findPlotIndex(otype_, _id));
730  checkME_(iME);
731 
732  MonitorElement* me(mes_[iME]);
733 
735  int xbin(binning::findBin1D(obj, btype_, _id));
736  int nbinsX(me->getTH1()->GetNbinsX());
737  return xbin + (nbinsX + 2) * me->getTH1()->GetYaxis()->FindBin(_y);
738  }
MonitorElement::Kind kind_
Definition: MESet.h:134
virtual void checkME_(unsigned _iME) const
Definition: MESet.h:115
ObjectType getObject(ObjectType, unsigned)
std::vector< MonitorElement * > mes_
Definition: MESet.h:129
int findBin1D(ObjectType, BinningType, DetId const &)
unsigned findPlotIndex(ObjectType, DetId const &)
bool active_
Definition: MESet.h:138
binning::ObjectType otype_
Definition: MESet.h:132
binning::BinningType btype_
Definition: MESet.h:133
int ecaldqm::MESetDet1D::findBin ( int  _dcctccid,
double  _y,
double  = 0. 
) const
overridevirtual

Reimplemented from ecaldqm::MESetEcal.

Definition at line 741 of file MESetDet1D.cc.

References ecaldqm::MESet::active_, ecaldqm::MESet::btype_, ecaldqm::MESet::checkME_(), MonitorElement::DQM_KIND_TPROFILE, MonitorElement::DQM_KIND_TPROFILE2D, ecaldqm::binning::findBin1D(), ecaldqm::binning::findPlotIndex(), ecaldqm::binning::getObject(), MonitorElement::getTH1(), ecaldqm::MESet::kind_, ecaldqm::MESet::mes_, getGTfromDQMFile::obj, and ecaldqm::MESet::otype_.

742  {
743  if(!active_) return -1;
745 
746  unsigned iME(binning::findPlotIndex(otype_, _dcctccid));
747  checkME_(iME);
748 
749  MonitorElement* me(mes_[iME]);
750 
752  int xbin(binning::findBin1D(obj, btype_, _dcctccid));
753  int nbinsX(me->getTH1()->GetNbinsX());
754  return xbin + (nbinsX + 2) * me->getTH1()->GetYaxis()->FindBin(_y);
755  }
MonitorElement::Kind kind_
Definition: MESet.h:134
virtual void checkME_(unsigned _iME) const
Definition: MESet.h:115
ObjectType getObject(ObjectType, unsigned)
std::vector< MonitorElement * > mes_
Definition: MESet.h:129
int findBin1D(ObjectType, BinningType, DetId const &)
unsigned findPlotIndex(ObjectType, DetId const &)
bool active_
Definition: MESet.h:138
binning::ObjectType otype_
Definition: MESet.h:132
binning::BinningType btype_
Definition: MESet.h:133
double ecaldqm::MESetDet1D::getBinContent ( DetId const &  _id,
int  _ybin = 0 
) const
overridevirtual

Reimplemented from ecaldqm::MESet.

Definition at line 512 of file MESetDet1D.cc.

References ecaldqm::MESet::active_, ecaldqm::MESet::btype_, ecaldqm::MESet::checkME_(), ecaldqm::binning::findBin1D(), ecaldqm::binning::findPlotIndex(), MonitorElement::getBinContent(), ecaldqm::binning::getObject(), MonitorElement::getTH1(), ecaldqm::MESet::mes_, getGTfromDQMFile::obj, and ecaldqm::MESet::otype_.

513  {
514  if(!active_) return 0.;
515 
516  unsigned iME(binning::findPlotIndex(otype_, _id));
517  checkME_(iME);
518 
519  MonitorElement* me(mes_[iME]);
520 
522  int xbin(binning::findBin1D(obj, btype_, _id));
523  int nbinsX(me->getTH1()->GetNbinsX());
524 
525  return me->getBinContent((nbinsX + 2) * _ybin + xbin);
526  }
virtual void checkME_(unsigned _iME) const
Definition: MESet.h:115
ObjectType getObject(ObjectType, unsigned)
std::vector< MonitorElement * > mes_
Definition: MESet.h:129
int findBin1D(ObjectType, BinningType, DetId const &)
unsigned findPlotIndex(ObjectType, DetId const &)
bool active_
Definition: MESet.h:138
binning::ObjectType otype_
Definition: MESet.h:132
binning::BinningType btype_
Definition: MESet.h:133
double ecaldqm::MESetDet1D::getBinContent ( EcalElectronicsId const &  _id,
int  _ybin = 0 
) const
overridevirtual

Reimplemented from ecaldqm::MESet.

Definition at line 529 of file MESetDet1D.cc.

References ecaldqm::MESet::active_, ecaldqm::MESet::btype_, ecaldqm::MESet::checkME_(), ecaldqm::binning::findBin1D(), ecaldqm::binning::findPlotIndex(), MonitorElement::getBinContent(), ecaldqm::binning::getObject(), MonitorElement::getTH1(), ecaldqm::MESet::mes_, getGTfromDQMFile::obj, and ecaldqm::MESet::otype_.

530  {
531  if(!active_) return 0.;
532 
533  unsigned iME(binning::findPlotIndex(otype_, _id));
534  checkME_(iME);
535 
536  MonitorElement* me(mes_[iME]);
537 
539  int xbin(binning::findBin1D(obj, btype_, _id));
540  int nbinsX(me->getTH1()->GetNbinsX());
541 
542  return me->getBinContent((nbinsX + 2) * _ybin + xbin);
543  }
virtual void checkME_(unsigned _iME) const
Definition: MESet.h:115
ObjectType getObject(ObjectType, unsigned)
std::vector< MonitorElement * > mes_
Definition: MESet.h:129
int findBin1D(ObjectType, BinningType, DetId const &)
unsigned findPlotIndex(ObjectType, DetId const &)
bool active_
Definition: MESet.h:138
binning::ObjectType otype_
Definition: MESet.h:132
binning::BinningType btype_
Definition: MESet.h:133
double ecaldqm::MESetDet1D::getBinContent ( int  _dcctccid,
int  _ybin = 0 
) const
overridevirtual

Reimplemented from ecaldqm::MESet.

Definition at line 546 of file MESetDet1D.cc.

References ecaldqm::MESet::active_, ecaldqm::MESet::btype_, ecaldqm::MESet::checkME_(), ecaldqm::binning::findBin1D(), ecaldqm::binning::findPlotIndex(), MonitorElement::getBinContent(), ecaldqm::binning::getObject(), MonitorElement::getTH1(), ecaldqm::MESet::mes_, getGTfromDQMFile::obj, and ecaldqm::MESet::otype_.

547  {
548  if(!active_) return 0.;
549 
550  unsigned iME(binning::findPlotIndex(otype_, _dcctccid, btype_));
551  checkME_(iME);
552 
553  MonitorElement* me(mes_[iME]);
554 
556  int xbin(binning::findBin1D(obj, btype_, _dcctccid));
557  int nbinsX(me->getTH1()->GetNbinsX());
558 
559  return me->getBinContent((nbinsX + 2) * _ybin + xbin);
560  }
virtual void checkME_(unsigned _iME) const
Definition: MESet.h:115
ObjectType getObject(ObjectType, unsigned)
std::vector< MonitorElement * > mes_
Definition: MESet.h:129
int findBin1D(ObjectType, BinningType, DetId const &)
unsigned findPlotIndex(ObjectType, DetId const &)
bool active_
Definition: MESet.h:138
binning::ObjectType otype_
Definition: MESet.h:132
binning::BinningType btype_
Definition: MESet.h:133
double ecaldqm::MESetDet1D::getBinEntries ( DetId const &  _id,
int  _ybin = 0 
) const
overridevirtual

Reimplemented from ecaldqm::MESet.

Definition at line 614 of file MESetDet1D.cc.

References ecaldqm::MESet::active_, ecaldqm::MESet::btype_, ecaldqm::MESet::checkME_(), MonitorElement::DQM_KIND_TPROFILE, MonitorElement::DQM_KIND_TPROFILE2D, ecaldqm::binning::findBin1D(), ecaldqm::binning::findPlotIndex(), MonitorElement::getBinEntries(), ecaldqm::binning::getObject(), MonitorElement::getTH1(), ecaldqm::MESet::kind_, ecaldqm::MESet::mes_, getGTfromDQMFile::obj, and ecaldqm::MESet::otype_.

615  {
616  if(!active_) return 0.;
618 
619  unsigned iME(binning::findPlotIndex(otype_, _id));
620  checkME_(iME);
621 
622  MonitorElement* me(mes_[iME]);
623 
625  int xbin(binning::findBin1D(obj, btype_, _id));
626  int nbinsX(me->getTH1()->GetNbinsX());
627 
628  return me->getBinEntries((nbinsX + 2) * _ybin + xbin);
629  }
MonitorElement::Kind kind_
Definition: MESet.h:134
virtual void checkME_(unsigned _iME) const
Definition: MESet.h:115
ObjectType getObject(ObjectType, unsigned)
std::vector< MonitorElement * > mes_
Definition: MESet.h:129
int findBin1D(ObjectType, BinningType, DetId const &)
unsigned findPlotIndex(ObjectType, DetId const &)
bool active_
Definition: MESet.h:138
binning::ObjectType otype_
Definition: MESet.h:132
binning::BinningType btype_
Definition: MESet.h:133
double ecaldqm::MESetDet1D::getBinEntries ( EcalElectronicsId const &  _id,
int  _ybin = 0 
) const
overridevirtual

Reimplemented from ecaldqm::MESet.

Definition at line 632 of file MESetDet1D.cc.

References ecaldqm::MESet::active_, ecaldqm::MESet::btype_, ecaldqm::MESet::checkME_(), MonitorElement::DQM_KIND_TPROFILE, MonitorElement::DQM_KIND_TPROFILE2D, ecaldqm::binning::findBin1D(), ecaldqm::binning::findPlotIndex(), MonitorElement::getBinEntries(), ecaldqm::binning::getObject(), MonitorElement::getTH1(), ecaldqm::MESet::kind_, ecaldqm::MESet::mes_, getGTfromDQMFile::obj, and ecaldqm::MESet::otype_.

633  {
634  if(!active_) return 0.;
636 
637  unsigned iME(binning::findPlotIndex(otype_, _id));
638  checkME_(iME);
639 
640  MonitorElement* me(mes_[iME]);
641 
643  int xbin(binning::findBin1D(obj, btype_, _id));
644  int nbinsX(me->getTH1()->GetNbinsX());
645 
646  return me->getBinEntries((nbinsX + 2) * _ybin + xbin);
647  }
MonitorElement::Kind kind_
Definition: MESet.h:134
virtual void checkME_(unsigned _iME) const
Definition: MESet.h:115
ObjectType getObject(ObjectType, unsigned)
std::vector< MonitorElement * > mes_
Definition: MESet.h:129
int findBin1D(ObjectType, BinningType, DetId const &)
unsigned findPlotIndex(ObjectType, DetId const &)
bool active_
Definition: MESet.h:138
binning::ObjectType otype_
Definition: MESet.h:132
binning::BinningType btype_
Definition: MESet.h:133
double ecaldqm::MESetDet1D::getBinEntries ( int  _dcctccid,
int  _ybin = 0 
) const
overridevirtual

Reimplemented from ecaldqm::MESet.

Definition at line 650 of file MESetDet1D.cc.

References ecaldqm::MESet::active_, ecaldqm::MESet::btype_, ecaldqm::MESet::checkME_(), MonitorElement::DQM_KIND_TPROFILE, MonitorElement::DQM_KIND_TPROFILE2D, ecaldqm::binning::findBin1D(), ecaldqm::binning::findPlotIndex(), MonitorElement::getBinEntries(), ecaldqm::binning::getObject(), MonitorElement::getTH1(), ecaldqm::MESet::kind_, ecaldqm::MESet::mes_, getGTfromDQMFile::obj, and ecaldqm::MESet::otype_.

651  {
652  if(!active_) return 0.;
654 
655  unsigned iME(binning::findPlotIndex(otype_, _dcctccid, btype_));
656  checkME_(iME);
657 
658  MonitorElement* me(mes_[iME]);
659 
661  int xbin(binning::findBin1D(obj, btype_, _dcctccid));
662  int nbinsX(me->getTH1()->GetNbinsX());
663 
664  return me->getBinEntries((nbinsX + 2) * _ybin + xbin);
665  }
MonitorElement::Kind kind_
Definition: MESet.h:134
virtual void checkME_(unsigned _iME) const
Definition: MESet.h:115
ObjectType getObject(ObjectType, unsigned)
std::vector< MonitorElement * > mes_
Definition: MESet.h:129
int findBin1D(ObjectType, BinningType, DetId const &)
unsigned findPlotIndex(ObjectType, DetId const &)
bool active_
Definition: MESet.h:138
binning::ObjectType otype_
Definition: MESet.h:132
binning::BinningType btype_
Definition: MESet.h:133
double ecaldqm::MESetDet1D::getBinError ( DetId const &  _id,
int  _ybin = 0 
) const
overridevirtual

Reimplemented from ecaldqm::MESet.

Definition at line 563 of file MESetDet1D.cc.

References ecaldqm::MESet::active_, ecaldqm::MESet::btype_, ecaldqm::MESet::checkME_(), ecaldqm::binning::findBin1D(), ecaldqm::binning::findPlotIndex(), MonitorElement::getBinError(), ecaldqm::binning::getObject(), MonitorElement::getTH1(), ecaldqm::MESet::mes_, getGTfromDQMFile::obj, and ecaldqm::MESet::otype_.

564  {
565  if(!active_) return 0.;
566 
567  unsigned iME(binning::findPlotIndex(otype_, _id));
568  checkME_(iME);
569 
570  MonitorElement* me(mes_[iME]);
571 
573  int xbin(binning::findBin1D(obj, btype_, _id));
574  int nbinsX(me->getTH1()->GetNbinsX());
575 
576  return me->getBinError((nbinsX + 2) * _ybin + xbin);
577  }
virtual void checkME_(unsigned _iME) const
Definition: MESet.h:115
ObjectType getObject(ObjectType, unsigned)
std::vector< MonitorElement * > mes_
Definition: MESet.h:129
int findBin1D(ObjectType, BinningType, DetId const &)
unsigned findPlotIndex(ObjectType, DetId const &)
bool active_
Definition: MESet.h:138
binning::ObjectType otype_
Definition: MESet.h:132
binning::BinningType btype_
Definition: MESet.h:133
double ecaldqm::MESetDet1D::getBinError ( EcalElectronicsId const &  _id,
int  _ybin = 0 
) const
overridevirtual

Reimplemented from ecaldqm::MESet.

Definition at line 580 of file MESetDet1D.cc.

References ecaldqm::MESet::active_, ecaldqm::MESet::btype_, ecaldqm::MESet::checkME_(), ecaldqm::binning::findBin1D(), ecaldqm::binning::findPlotIndex(), MonitorElement::getBinError(), ecaldqm::binning::getObject(), MonitorElement::getTH1(), ecaldqm::MESet::mes_, getGTfromDQMFile::obj, and ecaldqm::MESet::otype_.

581  {
582  if(!active_) return 0.;
583 
584  unsigned iME(binning::findPlotIndex(otype_, _id));
585  checkME_(iME);
586 
587  MonitorElement* me(mes_[iME]);
588 
590  int xbin(binning::findBin1D(obj, btype_, _id));
591  int nbinsX(me->getTH1()->GetNbinsX());
592 
593  return me->getBinError((nbinsX + 2) * _ybin + xbin);
594  }
virtual void checkME_(unsigned _iME) const
Definition: MESet.h:115
ObjectType getObject(ObjectType, unsigned)
std::vector< MonitorElement * > mes_
Definition: MESet.h:129
int findBin1D(ObjectType, BinningType, DetId const &)
unsigned findPlotIndex(ObjectType, DetId const &)
bool active_
Definition: MESet.h:138
binning::ObjectType otype_
Definition: MESet.h:132
binning::BinningType btype_
Definition: MESet.h:133
double ecaldqm::MESetDet1D::getBinError ( int  _dcctccid,
int  _ybin = 0 
) const
overridevirtual

Reimplemented from ecaldqm::MESet.

Definition at line 597 of file MESetDet1D.cc.

References ecaldqm::MESet::active_, ecaldqm::MESet::btype_, ecaldqm::MESet::checkME_(), ecaldqm::binning::findBin1D(), ecaldqm::binning::findPlotIndex(), MonitorElement::getBinError(), ecaldqm::binning::getObject(), MonitorElement::getTH1(), ecaldqm::MESet::mes_, getGTfromDQMFile::obj, and ecaldqm::MESet::otype_.

598  {
599  if(!active_) return 0.;
600 
601  unsigned iME(binning::findPlotIndex(otype_, _dcctccid, btype_));
602  checkME_(iME);
603 
604  MonitorElement* me(mes_[iME]);
605 
607  int xbin(binning::findBin1D(obj, btype_, _dcctccid));
608  int nbinsX(me->getTH1()->GetNbinsX());
609 
610  return me->getBinError((nbinsX + 2) * _ybin + xbin);
611  }
virtual void checkME_(unsigned _iME) const
Definition: MESet.h:115
ObjectType getObject(ObjectType, unsigned)
std::vector< MonitorElement * > mes_
Definition: MESet.h:129
int findBin1D(ObjectType, BinningType, DetId const &)
unsigned findPlotIndex(ObjectType, DetId const &)
bool active_
Definition: MESet.h:138
binning::ObjectType otype_
Definition: MESet.h:132
binning::BinningType btype_
Definition: MESet.h:133
void ecaldqm::MESetDet1D::reset ( double  _content = 0.,
double  _err = 0.,
double  _entries = 0. 
)
overridevirtual

Reimplemented from ecaldqm::MESet.

Definition at line 758 of file MESetDet1D.cc.

References newFWLiteAna::bin, MonitorElement::DQM_KIND_TH2F, MonitorElement::DQM_KIND_TPROFILE, MonitorElement::DQM_KIND_TPROFILE2D, ecaldqm::binning::getNObjects(), MonitorElement::getTH1(), ecaldqm::MESet::kind_, ecaldqm::MESet::mes_, ecaldqm::MESet::otype_, MonitorElement::setBinContent(), MonitorElement::setBinEntries(), and MonitorElement::setBinError().

759  {
760  unsigned nME(binning::getNObjects(otype_));
761 
764 
765  for(unsigned iME(0); iME < nME; iME++) {
766  MonitorElement* me(mes_[iME]);
767 
768  int nbinsX(me->getTH1()->GetNbinsX());
769  int nbinsY(me->getTH1()->GetNbinsY());
770  for(int ix(1); ix <= nbinsX; ix++){
771  for(int iy(1); iy <= nbinsY; iy++){
772  int bin(is2D ? (nbinsX + 2) * iy + ix : ix);
773  me->setBinContent(bin, _content);
774  me->setBinError(bin, _err);
775  if(isProfile) me->setBinEntries(bin, _entries);
776  }
777  }
778  }
779  }
MonitorElement::Kind kind_
Definition: MESet.h:134
unsigned getNObjects(ObjectType)
std::vector< MonitorElement * > mes_
Definition: MESet.h:129
binning::ObjectType otype_
Definition: MESet.h:132
void ecaldqm::MESetDet1D::setBinContent ( DetId const &  _id,
double  _content 
)
overridevirtual

Reimplemented from ecaldqm::MESet.

Definition at line 161 of file MESetDet1D.cc.

References ecaldqm::MESet::active_, ecaldqm::MESet::btype_, ecaldqm::MESet::checkME_(), MonitorElement::DQM_KIND_TH2F, MonitorElement::DQM_KIND_TPROFILE2D, ecaldqm::binning::findBin1D(), ecaldqm::binning::findPlotIndex(), ecaldqm::binning::getObject(), MonitorElement::getTH1(), ecaldqm::MESet::kind_, ecaldqm::MESet::mes_, getGTfromDQMFile::obj, ecaldqm::MESet::otype_, and MonitorElement::setBinContent().

162  {
163  if(!active_) return;
164 
165  unsigned iME(binning::findPlotIndex(otype_, _id));
166  checkME_(iME);
167 
168  MonitorElement* me(mes_[iME]);
169 
171  int xbin(binning::findBin1D(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  }
178  else
179  me->setBinContent(xbin, _content);
180  }
MonitorElement::Kind kind_
Definition: MESet.h:134
virtual void checkME_(unsigned _iME) const
Definition: MESet.h:115
ObjectType getObject(ObjectType, unsigned)
std::vector< MonitorElement * > mes_
Definition: MESet.h:129
int findBin1D(ObjectType, BinningType, DetId const &)
unsigned findPlotIndex(ObjectType, DetId const &)
bool active_
Definition: MESet.h:138
binning::ObjectType otype_
Definition: MESet.h:132
binning::BinningType btype_
Definition: MESet.h:133
void ecaldqm::MESetDet1D::setBinContent ( EcalElectronicsId const &  _id,
double  _content 
)
overridevirtual

Reimplemented from ecaldqm::MESet.

Definition at line 183 of file MESetDet1D.cc.

References ecaldqm::MESet::active_, ecaldqm::MESet::btype_, ecaldqm::MESet::checkME_(), MonitorElement::DQM_KIND_TH2F, MonitorElement::DQM_KIND_TPROFILE2D, ecaldqm::binning::findBin1D(), ecaldqm::binning::findPlotIndex(), ecaldqm::binning::getObject(), MonitorElement::getTH1(), ecaldqm::MESet::kind_, ecaldqm::MESet::mes_, getGTfromDQMFile::obj, ecaldqm::MESet::otype_, and MonitorElement::setBinContent().

184  {
185  if(!active_) return;
186 
187  unsigned iME(binning::findPlotIndex(otype_, _id));
188  checkME_(iME);
189 
190  MonitorElement* me(mes_[iME]);
191 
193  int xbin(binning::findBin1D(obj, btype_, _id));
194 
196  int nbinsY(me->getTH1()->GetNbinsY());
197  for(int iY(1); iY <= nbinsY; iY++)
198  me->setBinContent(xbin, iY, _content);
199  }
200  else
201  me->setBinContent(xbin, _content);
202  }
MonitorElement::Kind kind_
Definition: MESet.h:134
virtual void checkME_(unsigned _iME) const
Definition: MESet.h:115
ObjectType getObject(ObjectType, unsigned)
std::vector< MonitorElement * > mes_
Definition: MESet.h:129
int findBin1D(ObjectType, BinningType, DetId const &)
unsigned findPlotIndex(ObjectType, DetId const &)
bool active_
Definition: MESet.h:138
binning::ObjectType otype_
Definition: MESet.h:132
binning::BinningType btype_
Definition: MESet.h:133
void ecaldqm::MESetDet1D::setBinContent ( int  _dcctccid,
double  _content 
)
overridevirtual

Reimplemented from ecaldqm::MESet.

Definition at line 205 of file MESetDet1D.cc.

References ecaldqm::MESet::active_, ecaldqm::MESet::btype_, ecaldqm::MESet::checkME_(), MonitorElement::DQM_KIND_TH2F, MonitorElement::DQM_KIND_TPROFILE2D, ecaldqm::binning::findBin1D(), ecaldqm::binning::findPlotIndex(), ecaldqm::binning::getObject(), MonitorElement::getTH1(), ecaldqm::MESet::kind_, ecaldqm::MESet::mes_, getGTfromDQMFile::obj, ecaldqm::MESet::otype_, and MonitorElement::setBinContent().

206  {
207  if(!active_) return;
208 
209  unsigned iME(binning::findPlotIndex(otype_, _dcctccid, btype_));
210  checkME_(iME);
211 
212  MonitorElement* me(mes_[iME]);
213 
215  int xbin(binning::findBin1D(obj, btype_, _dcctccid));
216 
218  int nbinsY(me->getTH1()->GetNbinsY());
219  for(int iY(1); iY <= nbinsY; iY++)
220  me->setBinContent(xbin, iY, _content);
221  }
222  else
223  me->setBinContent(xbin, _content);
224  }
MonitorElement::Kind kind_
Definition: MESet.h:134
virtual void checkME_(unsigned _iME) const
Definition: MESet.h:115
ObjectType getObject(ObjectType, unsigned)
std::vector< MonitorElement * > mes_
Definition: MESet.h:129
int findBin1D(ObjectType, BinningType, DetId const &)
unsigned findPlotIndex(ObjectType, DetId const &)
bool active_
Definition: MESet.h:138
binning::ObjectType otype_
Definition: MESet.h:132
binning::BinningType btype_
Definition: MESet.h:133
void ecaldqm::MESetDet1D::setBinContent ( DetId const &  _id,
int  _ybin,
double  _content 
)
overridevirtual

Reimplemented from ecaldqm::MESet.

Definition at line 227 of file MESetDet1D.cc.

References ecaldqm::MESet::active_, ecaldqm::MESet::btype_, ecaldqm::MESet::checkME_(), MonitorElement::DQM_KIND_TH2F, MonitorElement::DQM_KIND_TPROFILE2D, ecaldqm::binning::findBin1D(), ecaldqm::binning::findPlotIndex(), ecaldqm::binning::getObject(), ecaldqm::MESet::kind_, ecaldqm::MESet::mes_, getGTfromDQMFile::obj, ecaldqm::MESet::otype_, and MonitorElement::setBinContent().

228  {
229  if(!active_) return;
231 
232  unsigned iME(binning::findPlotIndex(otype_, _id));
233  checkME_(iME);
234 
235  MonitorElement* me(mes_[iME]);
236 
238  int xbin(binning::findBin1D(obj, btype_, _id));
239  me->setBinContent(xbin, _ybin, _content);
240  }
MonitorElement::Kind kind_
Definition: MESet.h:134
virtual void checkME_(unsigned _iME) const
Definition: MESet.h:115
ObjectType getObject(ObjectType, unsigned)
std::vector< MonitorElement * > mes_
Definition: MESet.h:129
int findBin1D(ObjectType, BinningType, DetId const &)
unsigned findPlotIndex(ObjectType, DetId const &)
bool active_
Definition: MESet.h:138
binning::ObjectType otype_
Definition: MESet.h:132
binning::BinningType btype_
Definition: MESet.h:133
void ecaldqm::MESetDet1D::setBinContent ( EcalElectronicsId const &  _id,
int  _ybin,
double  _content 
)
overridevirtual

Reimplemented from ecaldqm::MESet.

Definition at line 243 of file MESetDet1D.cc.

References ecaldqm::MESet::active_, ecaldqm::MESet::btype_, ecaldqm::MESet::checkME_(), MonitorElement::DQM_KIND_TH2F, MonitorElement::DQM_KIND_TPROFILE2D, ecaldqm::binning::findBin1D(), ecaldqm::binning::findPlotIndex(), ecaldqm::binning::getObject(), ecaldqm::MESet::kind_, ecaldqm::MESet::mes_, getGTfromDQMFile::obj, ecaldqm::MESet::otype_, and MonitorElement::setBinContent().

244  {
245  if(!active_) return;
247 
248  unsigned iME(binning::findPlotIndex(otype_, _id));
249  checkME_(iME);
250 
251  MonitorElement* me(mes_[iME]);
252 
254  int xbin(binning::findBin1D(obj, btype_, _id));
255  me->setBinContent(xbin, _ybin, _content);
256  }
MonitorElement::Kind kind_
Definition: MESet.h:134
virtual void checkME_(unsigned _iME) const
Definition: MESet.h:115
ObjectType getObject(ObjectType, unsigned)
std::vector< MonitorElement * > mes_
Definition: MESet.h:129
int findBin1D(ObjectType, BinningType, DetId const &)
unsigned findPlotIndex(ObjectType, DetId const &)
bool active_
Definition: MESet.h:138
binning::ObjectType otype_
Definition: MESet.h:132
binning::BinningType btype_
Definition: MESet.h:133
void ecaldqm::MESetDet1D::setBinContent ( int  _dcctccid,
int  _ybin,
double  _content 
)
overridevirtual

Reimplemented from ecaldqm::MESet.

Definition at line 259 of file MESetDet1D.cc.

References ecaldqm::MESet::active_, ecaldqm::MESet::btype_, ecaldqm::MESet::checkME_(), MonitorElement::DQM_KIND_TH2F, MonitorElement::DQM_KIND_TPROFILE2D, ecaldqm::binning::findBin1D(), ecaldqm::binning::findPlotIndex(), ecaldqm::binning::getObject(), ecaldqm::MESet::kind_, ecaldqm::MESet::mes_, getGTfromDQMFile::obj, ecaldqm::MESet::otype_, and MonitorElement::setBinContent().

260  {
261  if(!active_) return;
263 
264  unsigned iME(binning::findPlotIndex(otype_, _dcctccid));
265  checkME_(iME);
266 
267  MonitorElement* me(mes_[iME]);
268 
270  int xbin(binning::findBin1D(obj, btype_, _dcctccid));
271  me->setBinContent(xbin, _ybin, _content);
272  }
MonitorElement::Kind kind_
Definition: MESet.h:134
virtual void checkME_(unsigned _iME) const
Definition: MESet.h:115
ObjectType getObject(ObjectType, unsigned)
std::vector< MonitorElement * > mes_
Definition: MESet.h:129
int findBin1D(ObjectType, BinningType, DetId const &)
unsigned findPlotIndex(ObjectType, DetId const &)
bool active_
Definition: MESet.h:138
binning::ObjectType otype_
Definition: MESet.h:132
binning::BinningType btype_
Definition: MESet.h:133
void ecaldqm::MESetDet1D::setBinEntries ( DetId const &  _id,
double  _entries 
)
overridevirtual

Reimplemented from ecaldqm::MESet.

Definition at line 389 of file MESetDet1D.cc.

References ecaldqm::MESet::active_, ecaldqm::MESet::btype_, ecaldqm::MESet::checkME_(), MonitorElement::DQM_KIND_TPROFILE, MonitorElement::DQM_KIND_TPROFILE2D, ecaldqm::binning::findBin1D(), ecaldqm::binning::findPlotIndex(), ecaldqm::binning::getObject(), MonitorElement::getTH1(), ecaldqm::MESet::kind_, ecaldqm::MESet::mes_, getGTfromDQMFile::obj, ecaldqm::MESet::otype_, and MonitorElement::setBinEntries().

390  {
391  if(!active_) return;
393 
394  unsigned iME(binning::findPlotIndex(otype_, _id));
395  checkME_(iME);
396 
397  MonitorElement* me(mes_[iME]);
398 
400  int xbin(binning::findBin1D(obj, btype_, _id));
401 
403  int nbinsX(me->getTH1()->GetNbinsX());
404  int nbinsY(me->getTH1()->GetNbinsY());
405  for(int iY(1); iY <= nbinsY; iY++)
406  me->setBinEntries((nbinsX + 2) * iY + xbin, _entries);
407  }
408  else
409  me->setBinEntries(xbin, _entries);
410  }
MonitorElement::Kind kind_
Definition: MESet.h:134
virtual void checkME_(unsigned _iME) const
Definition: MESet.h:115
ObjectType getObject(ObjectType, unsigned)
std::vector< MonitorElement * > mes_
Definition: MESet.h:129
int findBin1D(ObjectType, BinningType, DetId const &)
unsigned findPlotIndex(ObjectType, DetId const &)
bool active_
Definition: MESet.h:138
binning::ObjectType otype_
Definition: MESet.h:132
binning::BinningType btype_
Definition: MESet.h:133
void ecaldqm::MESetDet1D::setBinEntries ( EcalElectronicsId const &  _id,
double  _entries 
)
overridevirtual

Reimplemented from ecaldqm::MESet.

Definition at line 413 of file MESetDet1D.cc.

References ecaldqm::MESet::active_, ecaldqm::MESet::btype_, ecaldqm::MESet::checkME_(), MonitorElement::DQM_KIND_TPROFILE, MonitorElement::DQM_KIND_TPROFILE2D, ecaldqm::binning::findBin1D(), ecaldqm::binning::findPlotIndex(), ecaldqm::binning::getObject(), MonitorElement::getTH1(), ecaldqm::MESet::kind_, ecaldqm::MESet::mes_, getGTfromDQMFile::obj, ecaldqm::MESet::otype_, and MonitorElement::setBinEntries().

414  {
415  if(!active_) return;
417 
418  unsigned iME(binning::findPlotIndex(otype_, _id));
419  checkME_(iME);
420 
421  MonitorElement* me(mes_[iME]);
422 
424  int xbin(binning::findBin1D(obj, btype_, _id));
425 
427  int nbinsX(me->getTH1()->GetNbinsX());
428  int nbinsY(me->getTH1()->GetNbinsY());
429  for(int iY(1); iY <= nbinsY; iY++)
430  me->setBinEntries((nbinsX + 2) * iY + xbin, _entries);
431  }
432  else
433  me->setBinEntries(xbin, _entries);
434  }
MonitorElement::Kind kind_
Definition: MESet.h:134
virtual void checkME_(unsigned _iME) const
Definition: MESet.h:115
ObjectType getObject(ObjectType, unsigned)
std::vector< MonitorElement * > mes_
Definition: MESet.h:129
int findBin1D(ObjectType, BinningType, DetId const &)
unsigned findPlotIndex(ObjectType, DetId const &)
bool active_
Definition: MESet.h:138
binning::ObjectType otype_
Definition: MESet.h:132
binning::BinningType btype_
Definition: MESet.h:133
void ecaldqm::MESetDet1D::setBinEntries ( int  _dcctccid,
double  _entries 
)
overridevirtual

Reimplemented from ecaldqm::MESet.

Definition at line 437 of file MESetDet1D.cc.

References ecaldqm::MESet::active_, ecaldqm::MESet::btype_, ecaldqm::MESet::checkME_(), MonitorElement::DQM_KIND_TPROFILE, MonitorElement::DQM_KIND_TPROFILE2D, ecaldqm::binning::findBin1D(), ecaldqm::binning::findPlotIndex(), ecaldqm::binning::getObject(), MonitorElement::getTH1(), ecaldqm::MESet::kind_, ecaldqm::MESet::mes_, getGTfromDQMFile::obj, ecaldqm::MESet::otype_, and MonitorElement::setBinEntries().

438  {
439  if(!active_) return;
441 
442  unsigned iME(binning::findPlotIndex(otype_, _dcctccid, btype_));
443  checkME_(iME);
444 
445  MonitorElement* me(mes_[iME]);
446 
448  int xbin(binning::findBin1D(obj, btype_, _dcctccid));
449 
451  int nbinsX(me->getTH1()->GetNbinsX());
452  int nbinsY(me->getTH1()->GetNbinsY());
453  for(int iY(1); iY <= nbinsY; iY++)
454  me->setBinEntries((nbinsX + 2) * iY + xbin, _entries);
455  }
456  else
457  me->setBinEntries(xbin, _entries);
458  }
MonitorElement::Kind kind_
Definition: MESet.h:134
virtual void checkME_(unsigned _iME) const
Definition: MESet.h:115
ObjectType getObject(ObjectType, unsigned)
std::vector< MonitorElement * > mes_
Definition: MESet.h:129
int findBin1D(ObjectType, BinningType, DetId const &)
unsigned findPlotIndex(ObjectType, DetId const &)
bool active_
Definition: MESet.h:138
binning::ObjectType otype_
Definition: MESet.h:132
binning::BinningType btype_
Definition: MESet.h:133
void ecaldqm::MESetDet1D::setBinEntries ( DetId const &  _id,
int  _ybin,
double  _entries 
)
overridevirtual

Reimplemented from ecaldqm::MESet.

Definition at line 461 of file MESetDet1D.cc.

References ecaldqm::MESet::active_, ecaldqm::MESet::btype_, ecaldqm::MESet::checkME_(), MonitorElement::DQM_KIND_TPROFILE2D, ecaldqm::binning::findBin1D(), ecaldqm::binning::findPlotIndex(), ecaldqm::binning::getObject(), MonitorElement::getTH1(), ecaldqm::MESet::kind_, ecaldqm::MESet::mes_, getGTfromDQMFile::obj, ecaldqm::MESet::otype_, and MonitorElement::setBinEntries().

462  {
463  if(!active_) return;
465 
466  unsigned iME(binning::findPlotIndex(otype_, _id));
467  checkME_(iME);
468 
469  MonitorElement* me(mes_[iME]);
470 
472  int xbin(binning::findBin1D(obj, btype_, _id));
473  int nbinsX(me->getTH1()->GetNbinsX());
474  me->setBinEntries((nbinsX + 2) * _ybin + xbin, _entries);
475  }
MonitorElement::Kind kind_
Definition: MESet.h:134
virtual void checkME_(unsigned _iME) const
Definition: MESet.h:115
ObjectType getObject(ObjectType, unsigned)
std::vector< MonitorElement * > mes_
Definition: MESet.h:129
int findBin1D(ObjectType, BinningType, DetId const &)
unsigned findPlotIndex(ObjectType, DetId const &)
bool active_
Definition: MESet.h:138
binning::ObjectType otype_
Definition: MESet.h:132
binning::BinningType btype_
Definition: MESet.h:133
void ecaldqm::MESetDet1D::setBinEntries ( EcalElectronicsId const &  _id,
int  _ybin,
double  _entries 
)
overridevirtual

Reimplemented from ecaldqm::MESet.

Definition at line 478 of file MESetDet1D.cc.

References ecaldqm::MESet::active_, ecaldqm::MESet::btype_, ecaldqm::MESet::checkME_(), MonitorElement::DQM_KIND_TPROFILE2D, ecaldqm::binning::findBin1D(), ecaldqm::binning::findPlotIndex(), ecaldqm::binning::getObject(), MonitorElement::getTH1(), ecaldqm::MESet::kind_, ecaldqm::MESet::mes_, getGTfromDQMFile::obj, ecaldqm::MESet::otype_, and MonitorElement::setBinEntries().

479  {
480  if(!active_) return;
482 
483  unsigned iME(binning::findPlotIndex(otype_, _id));
484  checkME_(iME);
485 
486  MonitorElement* me(mes_[iME]);
487 
489  int xbin(binning::findBin1D(obj, btype_, _id));
490  int nbinsX(me->getTH1()->GetNbinsX());
491  me->setBinEntries((nbinsX + 2) * _ybin + xbin, _entries);
492  }
MonitorElement::Kind kind_
Definition: MESet.h:134
virtual void checkME_(unsigned _iME) const
Definition: MESet.h:115
ObjectType getObject(ObjectType, unsigned)
std::vector< MonitorElement * > mes_
Definition: MESet.h:129
int findBin1D(ObjectType, BinningType, DetId const &)
unsigned findPlotIndex(ObjectType, DetId const &)
bool active_
Definition: MESet.h:138
binning::ObjectType otype_
Definition: MESet.h:132
binning::BinningType btype_
Definition: MESet.h:133
void ecaldqm::MESetDet1D::setBinEntries ( int  _dcctccid,
int  _ybin,
double  _entries 
)
overridevirtual

Reimplemented from ecaldqm::MESet.

Definition at line 495 of file MESetDet1D.cc.

References ecaldqm::MESet::active_, ecaldqm::MESet::btype_, ecaldqm::MESet::checkME_(), MonitorElement::DQM_KIND_TPROFILE2D, ecaldqm::binning::findBin1D(), ecaldqm::binning::findPlotIndex(), ecaldqm::binning::getObject(), MonitorElement::getTH1(), ecaldqm::MESet::kind_, ecaldqm::MESet::mes_, getGTfromDQMFile::obj, ecaldqm::MESet::otype_, and MonitorElement::setBinEntries().

496  {
497  if(!active_) return;
499 
500  unsigned iME(binning::findPlotIndex(otype_, _dcctccid));
501  checkME_(iME);
502 
503  MonitorElement* me(mes_[iME]);
504 
506  int xbin(binning::findBin1D(obj, btype_, _dcctccid));
507  int nbinsX(me->getTH1()->GetNbinsX());
508  me->setBinEntries((nbinsX + 2) * _ybin + xbin, _entries);
509  }
MonitorElement::Kind kind_
Definition: MESet.h:134
virtual void checkME_(unsigned _iME) const
Definition: MESet.h:115
ObjectType getObject(ObjectType, unsigned)
std::vector< MonitorElement * > mes_
Definition: MESet.h:129
int findBin1D(ObjectType, BinningType, DetId const &)
unsigned findPlotIndex(ObjectType, DetId const &)
bool active_
Definition: MESet.h:138
binning::ObjectType otype_
Definition: MESet.h:132
binning::BinningType btype_
Definition: MESet.h:133
void ecaldqm::MESetDet1D::setBinError ( DetId const &  _id,
double  _error 
)
overridevirtual

Reimplemented from ecaldqm::MESet.

Definition at line 275 of file MESetDet1D.cc.

References ecaldqm::MESet::active_, ecaldqm::MESet::btype_, ecaldqm::MESet::checkME_(), MonitorElement::DQM_KIND_TH2F, MonitorElement::DQM_KIND_TPROFILE2D, ecaldqm::binning::findBin1D(), ecaldqm::binning::findPlotIndex(), ecaldqm::binning::getObject(), MonitorElement::getTH1(), ecaldqm::MESet::kind_, ecaldqm::MESet::mes_, getGTfromDQMFile::obj, ecaldqm::MESet::otype_, and MonitorElement::setBinError().

276  {
277  if(!active_) return;
278 
279  unsigned iME(binning::findPlotIndex(otype_, _id));
280  checkME_(iME);
281 
282  MonitorElement* me(mes_[iME]);
283 
285  int xbin(binning::findBin1D(obj, btype_, _id));
286 
288  int nbinsY(me->getTH1()->GetNbinsY());
289  for(int iY(1); iY <= nbinsY; iY++)
290  me->setBinError(xbin, iY, _error);
291  }
292  else
293  me->setBinError(xbin, _error);
294  }
MonitorElement::Kind kind_
Definition: MESet.h:134
virtual void checkME_(unsigned _iME) const
Definition: MESet.h:115
ObjectType getObject(ObjectType, unsigned)
std::vector< MonitorElement * > mes_
Definition: MESet.h:129
int findBin1D(ObjectType, BinningType, DetId const &)
unsigned findPlotIndex(ObjectType, DetId const &)
bool active_
Definition: MESet.h:138
binning::ObjectType otype_
Definition: MESet.h:132
binning::BinningType btype_
Definition: MESet.h:133
void ecaldqm::MESetDet1D::setBinError ( EcalElectronicsId const &  _id,
double  _error 
)
overridevirtual

Reimplemented from ecaldqm::MESet.

Definition at line 297 of file MESetDet1D.cc.

References ecaldqm::MESet::active_, ecaldqm::MESet::btype_, ecaldqm::MESet::checkME_(), MonitorElement::DQM_KIND_TH2F, MonitorElement::DQM_KIND_TPROFILE2D, ecaldqm::binning::findBin1D(), ecaldqm::binning::findPlotIndex(), ecaldqm::binning::getObject(), MonitorElement::getTH1(), ecaldqm::MESet::kind_, ecaldqm::MESet::mes_, getGTfromDQMFile::obj, ecaldqm::MESet::otype_, and MonitorElement::setBinError().

298  {
299  if(!active_) return;
300 
301  unsigned iME(binning::findPlotIndex(otype_, _id));
302  checkME_(iME);
303 
304  MonitorElement* me(mes_[iME]);
305 
307  int xbin(binning::findBin1D(obj, btype_, _id));
308 
310  int nbinsY(me->getTH1()->GetNbinsY());
311  for(int iY(1); iY <= nbinsY; iY++)
312  me->setBinError(xbin, iY, _error);
313  }
314  else
315  me->setBinError(xbin, _error);
316  }
MonitorElement::Kind kind_
Definition: MESet.h:134
virtual void checkME_(unsigned _iME) const
Definition: MESet.h:115
ObjectType getObject(ObjectType, unsigned)
std::vector< MonitorElement * > mes_
Definition: MESet.h:129
int findBin1D(ObjectType, BinningType, DetId const &)
unsigned findPlotIndex(ObjectType, DetId const &)
bool active_
Definition: MESet.h:138
binning::ObjectType otype_
Definition: MESet.h:132
binning::BinningType btype_
Definition: MESet.h:133
void ecaldqm::MESetDet1D::setBinError ( int  _dcctccid,
double  _error 
)
overridevirtual

Reimplemented from ecaldqm::MESet.

Definition at line 319 of file MESetDet1D.cc.

References ecaldqm::MESet::active_, ecaldqm::MESet::btype_, ecaldqm::MESet::checkME_(), MonitorElement::DQM_KIND_TH2F, MonitorElement::DQM_KIND_TPROFILE2D, ecaldqm::binning::findBin1D(), ecaldqm::binning::findPlotIndex(), ecaldqm::binning::getObject(), MonitorElement::getTH1(), ecaldqm::MESet::kind_, ecaldqm::MESet::mes_, getGTfromDQMFile::obj, ecaldqm::MESet::otype_, and MonitorElement::setBinError().

320  {
321  if(!active_) return;
322 
323  unsigned iME(binning::findPlotIndex(otype_, _dcctccid, btype_));
324  checkME_(iME);
325 
326  MonitorElement* me(mes_[iME]);
327 
329  int xbin(binning::findBin1D(obj, btype_, _dcctccid));
330 
332  int nbinsY(me->getTH1()->GetNbinsY());
333  for(int iY(1); iY <= nbinsY; iY++)
334  me->setBinError(xbin, iY, _error);
335  }
336  else
337  me->setBinError(xbin, _error);
338  }
MonitorElement::Kind kind_
Definition: MESet.h:134
virtual void checkME_(unsigned _iME) const
Definition: MESet.h:115
ObjectType getObject(ObjectType, unsigned)
std::vector< MonitorElement * > mes_
Definition: MESet.h:129
int findBin1D(ObjectType, BinningType, DetId const &)
unsigned findPlotIndex(ObjectType, DetId const &)
bool active_
Definition: MESet.h:138
binning::ObjectType otype_
Definition: MESet.h:132
binning::BinningType btype_
Definition: MESet.h:133
void ecaldqm::MESetDet1D::setBinError ( DetId const &  _id,
int  _ybin,
double  _error 
)
overridevirtual

Reimplemented from ecaldqm::MESet.

Definition at line 341 of file MESetDet1D.cc.

References ecaldqm::MESet::active_, ecaldqm::MESet::btype_, ecaldqm::MESet::checkME_(), MonitorElement::DQM_KIND_TH2F, MonitorElement::DQM_KIND_TPROFILE2D, ecaldqm::binning::findBin1D(), ecaldqm::binning::findPlotIndex(), ecaldqm::binning::getObject(), ecaldqm::MESet::kind_, ecaldqm::MESet::mes_, getGTfromDQMFile::obj, ecaldqm::MESet::otype_, and MonitorElement::setBinError().

342  {
343  if(!active_) return;
345 
346  unsigned iME(binning::findPlotIndex(otype_, _id));
347  checkME_(iME);
348 
349  MonitorElement* me(mes_[iME]);
350 
352  int xbin(binning::findBin1D(obj, btype_, _id));
353  me->setBinError(xbin, _ybin, _error);
354  }
MonitorElement::Kind kind_
Definition: MESet.h:134
virtual void checkME_(unsigned _iME) const
Definition: MESet.h:115
ObjectType getObject(ObjectType, unsigned)
std::vector< MonitorElement * > mes_
Definition: MESet.h:129
int findBin1D(ObjectType, BinningType, DetId const &)
unsigned findPlotIndex(ObjectType, DetId const &)
bool active_
Definition: MESet.h:138
binning::ObjectType otype_
Definition: MESet.h:132
binning::BinningType btype_
Definition: MESet.h:133
void ecaldqm::MESetDet1D::setBinError ( EcalElectronicsId const &  _id,
int  _ybin,
double  _error 
)
overridevirtual

Reimplemented from ecaldqm::MESet.

Definition at line 357 of file MESetDet1D.cc.

References ecaldqm::MESet::active_, ecaldqm::MESet::btype_, ecaldqm::MESet::checkME_(), MonitorElement::DQM_KIND_TH2F, MonitorElement::DQM_KIND_TPROFILE2D, ecaldqm::binning::findBin1D(), ecaldqm::binning::findPlotIndex(), ecaldqm::binning::getObject(), ecaldqm::MESet::kind_, ecaldqm::MESet::mes_, getGTfromDQMFile::obj, ecaldqm::MESet::otype_, and MonitorElement::setBinError().

358  {
359  if(!active_) return;
361 
362  unsigned iME(binning::findPlotIndex(otype_, _id));
363  checkME_(iME);
364 
365  MonitorElement* me(mes_[iME]);
366 
368  int xbin(binning::findBin1D(obj, btype_, _id));
369  me->setBinError(xbin, _ybin, _error);
370  }
MonitorElement::Kind kind_
Definition: MESet.h:134
virtual void checkME_(unsigned _iME) const
Definition: MESet.h:115
ObjectType getObject(ObjectType, unsigned)
std::vector< MonitorElement * > mes_
Definition: MESet.h:129
int findBin1D(ObjectType, BinningType, DetId const &)
unsigned findPlotIndex(ObjectType, DetId const &)
bool active_
Definition: MESet.h:138
binning::ObjectType otype_
Definition: MESet.h:132
binning::BinningType btype_
Definition: MESet.h:133
void ecaldqm::MESetDet1D::setBinError ( int  _dcctccid,
int  _ybin,
double  _error 
)
overridevirtual

Reimplemented from ecaldqm::MESet.

Definition at line 373 of file MESetDet1D.cc.

References ecaldqm::MESet::active_, ecaldqm::MESet::btype_, ecaldqm::MESet::checkME_(), MonitorElement::DQM_KIND_TH2F, MonitorElement::DQM_KIND_TPROFILE2D, ecaldqm::binning::findBin1D(), ecaldqm::binning::findPlotIndex(), ecaldqm::binning::getObject(), ecaldqm::MESet::kind_, ecaldqm::MESet::mes_, getGTfromDQMFile::obj, ecaldqm::MESet::otype_, and MonitorElement::setBinError().

374  {
375  if(!active_) return;
377 
378  unsigned iME(binning::findPlotIndex(otype_, _dcctccid));
379  checkME_(iME);
380 
381  MonitorElement* me(mes_[iME]);
382 
384  int xbin(binning::findBin1D(obj, btype_, _dcctccid));
385  me->setBinError(xbin, _ybin, _error);
386  }
MonitorElement::Kind kind_
Definition: MESet.h:134
virtual void checkME_(unsigned _iME) const
Definition: MESet.h:115
ObjectType getObject(ObjectType, unsigned)
std::vector< MonitorElement * > mes_
Definition: MESet.h:129
int findBin1D(ObjectType, BinningType, DetId const &)
unsigned findPlotIndex(ObjectType, DetId const &)
bool active_
Definition: MESet.h:138
binning::ObjectType otype_
Definition: MESet.h:132
binning::BinningType btype_
Definition: MESet.h:133