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::MESetDet2D Class Reference

#include <MESetDet2D.h>

Inheritance diagram for ecaldqm::MESetDet2D:
ecaldqm::MESetEcal ecaldqm::MESet

Public Member Functions

void fill (DetId const &, double _w=1., double _unused1=0., double _unused2=0.)
 
 MESetDet2D (std::string const &, MEData const &, bool _readOnly=false)
 
 ~MESetDet2D ()
 
- Public Member Functions inherited from ecaldqm::MESetEcal
void book ()
 
void fill (DetId const &, double _wx=1., double _wy=1., double _w=1.)
 
void fill (unsigned, double _wx=1., double _wy=1., double _w=1.)
 
void fill (double, double _wy=1., double _w=1.)
 
std::vector< std::string > generateNames () const
 
double getBinContent (DetId const &, int _bin=0) const
 
double getBinContent (unsigned, int _bin=0) const
 
double getBinEntries (DetId const &, int _bin=0) const
 
double getBinEntries (unsigned, int _bin=0) const
 
double getBinError (DetId const &, int _bin=0) const
 
double getBinError (unsigned, int _bin=0) const
 
 MESetEcal (std::string const &, MEData const &, int logicalDimensions_, bool _readOnly=false)
 
void reset (double _content=0., double _err=0., double _entries=0.)
 
bool retrieve () const
 
void setBinContent (DetId const &, double, double _err=0.)
 
void setBinContent (unsigned, double, double _err=0.)
 
void setBinEntries (DetId const &, double)
 
void setBinEntries (unsigned, double)
 
 ~MESetEcal ()
 
- Public Member Functions inherited from ecaldqm::MESet
virtual void clear () const
 
virtual void fill (EcalElectronicsId const &, double _wx=1., double _wy=1., double _w=1.)
 
virtual double getBinContent (EcalElectronicsId const &, int _bin=0) const
 
virtual double getBinEntries (EcalElectronicsId const &, int _bin=0) const
 
virtual double getBinError (EcalElectronicsId const &, int _bin=0) const
 
BinService::BinningType getBinType () const
 
std::string const & getDir () const
 
virtual MonitorElement const * getME (unsigned _offset) const
 
std::string const & getName () const
 
BinService::ObjectType getObjType () const
 
bool isActive () const
 
 MESet (std::string const &, MEData const &, bool _readOnly=false)
 
void name (std::map< std::string, std::string > const &) const
 
virtual void resetAll (double _content=0., double _err=0., double _entries=0.)
 
virtual void setAxisTitle (std::string const &, int _axis=1)
 
virtual void setBinContent (EcalElectronicsId const &, double, double _err=0.)
 
virtual void setBinEntries (EcalElectronicsId const &, double)
 
virtual void setBinLabel (unsigned, int, std::string const &, int _axis=1)
 
void setDir (std::string const &_dir)
 
void setName (std::string const &_name)
 
virtual ~MESet ()
 

Additional Inherited Members

- Protected Member Functions inherited from ecaldqm::MESetEcal
virtual void fill_ (double)
 
virtual void find_ (uint32_t) const
 
- Protected Member Functions inherited from ecaldqm::MESet
virtual void fill_ (unsigned, int, double)
 
virtual void fill_ (unsigned, double, double, double)
 
virtual double getBinContent_ (unsigned, int) const
 
virtual double getBinEntries_ (unsigned, int) const
 
virtual double getBinError_ (unsigned, int) const
 
virtual void setBinContent_ (unsigned, int, double, double)
 
virtual void setBinEntries_ (unsigned, int, double)
 
- Protected Attributes inherited from ecaldqm::MESetEcal
std::pair< unsigned,
std::vector< int > > 
cache_
 
uint32_t cacheId_
 
const unsigned logicalDimensions_
 
- Protected Attributes inherited from ecaldqm::MESet
bool active_
 
MEData const * data_
 
std::string dir_
 
std::vector< MonitorElement * > mes_
 
std::string name_
 
bool readOnly_
 
- Static Protected Attributes inherited from ecaldqm::MESet
static BinService const * binService_
 
static DQMStoredqmStore_
 

Detailed Description

Definition at line 8 of file MESetDet2D.h.

Constructor & Destructor Documentation

ecaldqm::MESetDet2D::MESetDet2D ( std::string const &  _fullpath,
MEData const &  _data,
bool  _readOnly = false 
)

Definition at line 6 of file MESetDet2D.cc.

6  :
7  MESetEcal(_fullpath, _data, 2, _readOnly)
8  {
9  }
MESetEcal(std::string const &, MEData const &, int logicalDimensions_, bool _readOnly=false)
Definition: MESetEcal.cc:12
ecaldqm::MESetDet2D::~MESetDet2D ( )

Definition at line 11 of file MESetDet2D.cc.

12  {
13  }

Member Function Documentation

void ecaldqm::MESetDet2D::fill ( DetId const &  _id,
double  _w = 1.,
double  _unused1 = 0.,
double  _unused2 = 0. 
)
virtual

Reimplemented from ecaldqm::MESet.

Definition at line 16 of file MESetDet2D.cc.

References ecaldqm::MESet::data_, MonitorElement::DQM_KIND_TPROFILE2D, ecaldqm::MESetEcal::fill_(), ecaldqm::MESetEcal::find_(), ecaldqm::MESetEcal::getBinEntries(), ecaldqm::MEData::kind, ecaldqm::MESetEcal::setBinContent(), and ecaldqm::MESetEcal::setBinEntries().

17  {
18  find_(_id);
19 
21  if(getBinEntries(_id) < 0.){
22  setBinEntries(_id, 0.);
23  setBinContent(_id, 0., 0.);
24  }
25  }
26 
27  fill_(_w);
28  }
double getBinEntries(DetId const &, int _bin=0) const
Definition: MESetEcal.cc:331
MonitorElement::Kind kind
Definition: MESet.h:24
virtual void fill_(double)
Definition: MESetEcal.cc:491
void setBinContent(DetId const &, double, double _err=0.)
Definition: MESetEcal.cc:251
MEData const * data_
Definition: MESet.h:133
void setBinEntries(DetId const &, double)
Definition: MESetEcal.cc:271
virtual void find_(uint32_t) const
Definition: MESetEcal.cc:470