CMS 3D CMS Logo

List of all members | Public Member Functions
hcaldqm::ContainerSingleProf1D Class Reference

#include <ContainerSingleProf1D.h>

Inheritance diagram for hcaldqm::ContainerSingleProf1D:
hcaldqm::ContainerSingle1D hcaldqm::Container

Public Member Functions

virtual void book (DQMStore::IBooker &, std::string subsystem="Hcal", std::string aux="")
 
virtual void book (DQMStore *, std::string subsystem="Hcal", std::string aux="")
 
 ContainerSingleProf1D ()
 
 ContainerSingleProf1D (std::string const &folder, Quantity *, Quantity *qy=new ValueQuantity(quantity::fN))
 
virtual void initialize (std::string const &folder, Quantity *, Quantity *qy=new ValueQuantity(quantity::fN), int debug=0)
 
virtual void initialize (std::string const &folder, std::string const &, Quantity *, Quantity *qy=new ValueQuantity(quantity::fN), int debug=0)
 
virtual ~ContainerSingleProf1D ()
 
- Public Member Functions inherited from hcaldqm::ContainerSingle1D
 ContainerSingle1D ()
 
 ContainerSingle1D (std::string const &folder, Quantity *, Quantity *qy=new ValueQuantity(quantity::fN))
 
 ContainerSingle1D (std::string const &folder, std::string const &, Quantity *, Quantity *qy=new ValueQuantity(quantity::fN))
 
 ContainerSingle1D (ContainerSingle1D const &)
 
virtual void extendAxisRange (int)
 
virtual void fill (int)
 
virtual void fill (double)
 
virtual void fill (int, int)
 
virtual void fill (int, double)
 
virtual void fill (double, int)
 
virtual void fill (double, double)
 
virtual void fill (HcalDetId const &)
 
virtual void fill (HcalDetId const &, double)
 
virtual void fill (HcalDetId const &, double, double)
 
virtual void fill (HcalElectronicsId const &)
 
virtual void fill (HcalElectronicsId const &, double)
 
virtual void fill (HcalElectronicsId const &, double, double)
 
virtual void fill (HcalTrigTowerDetId const &)
 
virtual void fill (HcalTrigTowerDetId const &, double)
 
virtual void fill (HcalTrigTowerDetId const &, double, double)
 
virtual double getBinContent (int)
 
virtual double getBinContent (double)
 
virtual double getBinContent (HcalDetId const &)
 
virtual double getBinContent (HcalElectronicsId const &)
 
virtual double getBinContent (HcalTrigTowerDetId const &)
 
virtual double getBinEntries (int)
 
virtual double getBinEntries (double)
 
virtual double getBinEntries (HcalDetId const &)
 
virtual double getBinEntries (HcalElectronicsId const &)
 
virtual double getBinEntries (HcalTrigTowerDetId const &)
 
virtual void print ()
 
virtual void reset ()
 
virtual void setBinContent (int, int)
 
virtual void setBinContent (int, double)
 
virtual void setBinContent (double, int)
 
virtual void setBinContent (double, double)
 
virtual void setBinContent (HcalDetId const &, int)
 
virtual void setBinContent (HcalDetId const &, double)
 
virtual void setBinContent (HcalElectronicsId const &, int)
 
virtual void setBinContent (HcalElectronicsId const &, double)
 
virtual void setBinContent (HcalTrigTowerDetId const &, int)
 
virtual void setBinContent (HcalTrigTowerDetId const &, double)
 
virtual ~ContainerSingle1D ()
 
- Public Member Functions inherited from hcaldqm::Container
 Container ()
 
 Container (std::string const &folder, std::string const &qname)
 
virtual void initialize (std::string const &folder, std::string const &qname, int debug=0)
 
virtual ~Container ()
 

Additional Inherited Members

- Protected Member Functions inherited from hcaldqm::ContainerSingle1D
virtual void customize ()
 
- Protected Attributes inherited from hcaldqm::ContainerSingle1D
MonitorElement_me
 
Quantity_qx
 
Quantity_qy
 
- Protected Attributes inherited from hcaldqm::Container
std::string _folder
 
Logger _logger
 
std::string _qname
 

Detailed Description

Definition at line 18 of file ContainerSingleProf1D.h.

Constructor & Destructor Documentation

hcaldqm::ContainerSingleProf1D::ContainerSingleProf1D ( )

Definition at line 5 of file ContainerSingleProf1D.cc.

References hcaldqm::ContainerSingle1D::_qx, hcaldqm::ContainerSingle1D::_qy, and NULL.

6  {
7  _qx = NULL;
8  _qy = NULL;
9  }
#define NULL
Definition: scimark2.h:8
hcaldqm::ContainerSingleProf1D::ContainerSingleProf1D ( std::string const &  folder,
Quantity qx,
Quantity qy = new ValueQuantity(quantity::fN) 
)
virtual hcaldqm::ContainerSingleProf1D::~ContainerSingleProf1D ( )
inlinevirtual

Member Function Documentation

void hcaldqm::ContainerSingleProf1D::book ( DQMStore::IBooker ib,
std::string  subsystem = "Hcal",
std::string  aux = "" 
)
virtual

Reimplemented from hcaldqm::ContainerSingle1D.

Definition at line 38 of file ContainerSingleProf1D.cc.

References hcaldqm::Container::_folder, hcaldqm::ContainerSingle1D::_me, hcaldqm::Container::_qname, hcaldqm::ContainerSingle1D::_qx, hcaldqm::ContainerSingle1D::_qy, DQMStore::IBooker::bookProfile(), hcaldqm::ContainerSingle1D::customize(), hcaldqm::quantity::Quantity::max(), hcaldqm::quantity::Quantity::min(), hcaldqm::quantity::Quantity::nbins(), and DQMStore::IBooker::setCurrentFolder().

Referenced by QIE10Task::bookHistograms(), QIE11Task::bookHistograms(), RawTask::bookHistograms(), and ~ContainerSingleProf1D().

40  {
41  ib.setCurrentFolder(subsystem+"/"+_folder+"/"+_qname);
42  _me = ib.bookProfile(_qname+(aux==""?aux:"_"+aux),
43  _qname+(aux==""?aux:" "+aux),
44  _qx->nbins(), _qx->min(), _qx->max(),
45  _qy->min(), _qy->max());
46  customize();
47  }
MonitorElement * bookProfile(Args &&...args)
Definition: DQMStore.h:157
virtual double max()
Definition: Quantity.h:76
std::string _folder
Definition: Container.h:42
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:277
virtual double min()
Definition: Quantity.h:75
std::string _qname
Definition: Container.h:43
void hcaldqm::ContainerSingleProf1D::book ( DQMStore store,
std::string  subsystem = "Hcal",
std::string  aux = "" 
)
virtual

Reimplemented from hcaldqm::ContainerSingle1D.

Definition at line 49 of file ContainerSingleProf1D.cc.

References hcaldqm::Container::_folder, hcaldqm::ContainerSingle1D::_me, hcaldqm::Container::_qname, hcaldqm::ContainerSingle1D::_qx, hcaldqm::ContainerSingle1D::_qy, DQMStore::bookProfile(), hcaldqm::ContainerSingle1D::customize(), hcaldqm::quantity::Quantity::max(), hcaldqm::quantity::Quantity::min(), hcaldqm::quantity::Quantity::nbins(), and DQMStore::setCurrentFolder().

51  {
52  store->setCurrentFolder(subsystem+"/"+_folder+"/"+_qname);
53  _me = store->bookProfile(_qname+(aux==""?aux:"_"+aux),
54  _qname+(aux==""?aux:" "+aux),
55  _qx->nbins(), _qx->min(), _qx->max(),
56  _qy->min(), _qy->max());
57  customize();
58  }
virtual double max()
Definition: Quantity.h:76
MonitorElement * bookProfile(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, const char *option="s")
Definition: DQMStore.cc:1348
std::string _folder
Definition: Container.h:42
virtual double min()
Definition: Quantity.h:75
std::string _qname
Definition: Container.h:43
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:740
void hcaldqm::ContainerSingleProf1D::initialize ( std::string const &  folder,
Quantity qx,
Quantity qy = new ValueQuantity(quantity::fN),
int  debug = 0 
)
virtual
void hcaldqm::ContainerSingleProf1D::initialize ( std::string const &  folder,
std::string const &  qname,
Quantity qx,
Quantity qy = new ValueQuantity(quantity::fN),
int  debug = 0 
)
virtual