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

void book (DQMStore::IBooker &, std::string subsystem="Hcal", std::string aux="") override
 
 ContainerSingleProf1D ()
 
 ContainerSingleProf1D (std::string const &folder, quantity::Quantity *, quantity::Quantity *qy=new quantity::ValueQuantity(quantity::fN))
 
void initialize (std::string const &folder, quantity::Quantity *, quantity::Quantity *qy=new quantity::ValueQuantity(quantity::fN), int debug=0) override
 
void initialize (std::string const &folder, std::string const &, quantity::Quantity *, quantity::Quantity *qy=new quantity::ValueQuantity(quantity::fN), int debug=0) override
 
 ~ContainerSingleProf1D () override
 
- Public Member Functions inherited from hcaldqm::ContainerSingle1D
 ContainerSingle1D ()
 
 ContainerSingle1D (std::string const &folder, quantity::Quantity *, quantity::Quantity *qy=new quantity::ValueQuantity(quantity::fN))
 
 ContainerSingle1D (std::string const &folder, std::string const &, quantity::Quantity *, quantity::Quantity *qy=new quantity::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 void showOverflowX (bool showOverflow)
 
virtual void showOverflowY (bool showOverflow)
 
 ~ContainerSingle1D () override
 
- Public Member Functions inherited from hcaldqm::Container
 Container ()
 
 Container (std::string const &folder, std::string const &qname)
 
virtual void initialize (std::string const &folder, std::string const &qname, int debug=0)
 
virtual ~Container ()
 

Additional Inherited Members

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

Detailed Description

Definition at line 18 of file ContainerSingleProf1D.h.

Constructor & Destructor Documentation

hcaldqm::ContainerSingleProf1D::ContainerSingleProf1D ( )

Definition at line 6 of file ContainerSingleProf1D.cc.

6  {
7  _qx = nullptr;
8  _qy = nullptr;
9  }
quantity::Quantity * _qx
quantity::Quantity * _qy
hcaldqm::ContainerSingleProf1D::ContainerSingleProf1D ( std::string const &  folder,
quantity::Quantity qx,
quantity::Quantity qy = new quantity::ValueQuantity(quantity::fN) 
)
hcaldqm::ContainerSingleProf1D::~ContainerSingleProf1D ( )
inlineoverride

Member Function Documentation

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

Reimplemented from hcaldqm::ContainerSingle1D.

Definition at line 33 of file ContainerSingleProf1D.cc.

References hcaldqm::Container::_folder, hcaldqm::ContainerSingle1D::_me, hcaldqm::Container::_qname, hcaldqm::ContainerSingle1D::_qx, hcaldqm::ContainerSingle1D::_qy, printConversionInfo::aux, 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(), LaserTask::bookHistograms(), and ~ContainerSingleProf1D().

33  {
34  ib.setCurrentFolder(subsystem + "/" + _folder + "/" + _qname);
35  _me = ib.bookProfile(_qname + (aux.empty() ? aux : "_" + aux),
36  _qname + (aux.empty() ? aux : " " + aux),
37  _qx->nbins(),
38  _qx->min(),
39  _qx->max(),
40  _qy->min(),
41  _qy->max());
42  customize();
43  }
quantity::Quantity * _qx
MonitorElement * bookProfile(Args &&...args)
Definition: DQMStore.h:113
virtual double max()
Definition: Quantity.h:60
quantity::Quantity * _qy
void setCurrentFolder(std::string const &fullpath)
Definition: DQMStore.cc:268
std::string _folder
Definition: Container.h:34
virtual double min()
Definition: Quantity.h:59
std::string _qname
Definition: Container.h:35
void hcaldqm::ContainerSingleProf1D::initialize ( std::string const &  folder,
quantity::Quantity qx,
quantity::Quantity qy = new quantity::ValueQuantity(quantity::fN),
int  debug = 0 
)
overridevirtual
void hcaldqm::ContainerSingleProf1D::initialize ( std::string const &  folder,
std::string const &  qname,
quantity::Quantity qx,
quantity::Quantity qy = new quantity::ValueQuantity(quantity::fN),
int  debug = 0 
)
overridevirtual

Reimplemented from hcaldqm::ContainerSingle1D.

Definition at line 26 of file ContainerSingleProf1D.cc.

References hcaldqm::ContainerSingle1D::_qx, hcaldqm::ContainerSingle1D::_qy, hcaldqm::quantity::fXAxis, hcaldqm::quantity::fYAxis, hcaldqm::ContainerSingle1D::initialize(), and hcaldqm::quantity::Quantity::setAxisType().

27  {
31  }
virtual void setAxisType(AxisType at)
Definition: Quantity.h:36
quantity::Quantity * _qx
quantity::Quantity * _qy
virtual void initialize(std::string const &folder, quantity::Quantity *, quantity::Quantity *qy=new quantity::ValueQuantity(quantity::fN), int debug=0)
#define debug
Definition: HDRShower.cc:19