CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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="")
 
 ContainerSingleProf1D ()
 
 ContainerSingleProf1D (std::string const &folder, std::string const &nametitle, axis::Axis *xaxis, axis::Axis *yaxis=new ValueAxis(fYaxis, axis::fEntries))
 
virtual void initialize (std::string const &folder, std::string const &nametitle, axis::Axis *xaxis, axis::Axis *yaxis=new ValueAxis(fYaxis, axis::fEntries), int debug=0)
 
virtual ~ContainerSingleProf1D ()
 
- Public Member Functions inherited from hcaldqm::ContainerSingle1D
 ContainerSingle1D ()
 
 ContainerSingle1D (std::string const &folder, std::string const &nametitle, axis::Axis *xaxis, axis::Axis *yaxis=new ValueAxis(fYaxis, axis::fEntries))
 
 ContainerSingle1D (ContainerSingle1D const &)
 
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 ~ContainerSingle1D ()
 
- Public Member Functions inherited from hcaldqm::Container
 Container ()
 
 Container (std::string const &folder, std::string const &name)
 
virtual void initialize (std::string const &folder, std::string const &name, int debug=0)
 
virtual ~Container ()
 

Additional Inherited Members

- Protected Attributes inherited from hcaldqm::ContainerSingle1D
MonitorElement_me
 
Axis_xaxis
 
Axis_yaxis
 
- Protected Attributes inherited from hcaldqm::Container
std::string _folder
 
Logger _logger
 
std::string _name
 

Detailed Description

Definition at line 19 of file ContainerSingleProf1D.h.

Constructor & Destructor Documentation

hcaldqm::ContainerSingleProf1D::ContainerSingleProf1D ( )

Definition at line 7 of file ContainerSingleProf1D.cc.

References NULL.

8  {
9  _xaxis = NULL;
10  _yaxis = NULL;
11  }
#define NULL
Definition: scimark2.h:8
hcaldqm::ContainerSingleProf1D::ContainerSingleProf1D ( std::string const &  folder,
std::string const &  nametitle,
axis::Axis xaxis,
axis::Axis yaxis = new ValueAxis(fYaxis, axis::fEntries) 
)

Definition at line 13 of file ContainerSingleProf1D.cc.

15  :
16  ContainerSingle1D(folder, nametitle, xaxis, yaxis)
17  {}
virtual hcaldqm::ContainerSingleProf1D::~ContainerSingleProf1D ( )
inlinevirtual

Definition at line 27 of file ContainerSingleProf1D.h.

27 {}

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 27 of file ContainerSingleProf1D.cc.

References hcaldqm::Container::_folder, hcaldqm::axis::Axis::_labels, hcaldqm::axis::Axis::_max, hcaldqm::ContainerSingle1D::_me, hcaldqm::axis::Axis::_min, hcaldqm::Container::_name, hcaldqm::axis::Axis::_nbins, hcaldqm::axis::Axis::_title, hcaldqm::ContainerSingle1D::_xaxis, hcaldqm::ContainerSingle1D::_yaxis, DQMStore::IBooker::bookProfile(), MonitorElement::getRootObject(), i, connectstrParser::o, MonitorElement::setAxisTitle(), MonitorElement::setBinLabel(), hcaldqm::axis::Axis::setBitAxisLS(), DQMStore::IBooker::setCurrentFolder(), and hcaldqm::axis::Axis::setLog().

Referenced by DigiTask::bookHistograms().

29  {
31  _me = ib.bookProfile(_name, _name,
33  _yaxis->_min, _yaxis->_max);
34  TObject *o = _me->getRootObject();
35  _xaxis->setLog(o);
36  _yaxis->setLog(o);
37  _xaxis->setBitAxisLS(o);
38  _yaxis->setBitAxisLS(o);
39  _xaxis->setBitAxisLS(o);
40  _yaxis->setBitAxisLS(o);
43  for (unsigned int i=0; i<_xaxis->_labels.size(); i++)
44  _me->setBinLabel(i+1, _xaxis->_labels[i], 1);
45  }
int i
Definition: DBlmapReader.cc:9
MonitorElement * bookProfile(Args &&...args)
Definition: DQMStore.h:157
void setBinLabel(int bin, const std::string &label, int axis=1)
set bin label for x, y or z axis (axis=1, 2, 3 respectively)
std::string _title
Definition: Axis.h:108
std::vector< std::string > _labels
Definition: Axis.h:109
std::string _folder
Definition: Container.h:42
TObject * getRootObject(void) const
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:273
void setLog(TObject *o)
Definition: Axis.h:89
virtual void setBitAxisLS(TObject *o)
Definition: Axis.h:94
void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
std::string _name
Definition: Container.h:43
void hcaldqm::ContainerSingleProf1D::initialize ( std::string const &  folder,
std::string const &  nametitle,
axis::Axis xaxis,
axis::Axis yaxis = new ValueAxis(fYaxis, axis::fEntries),
int  debug = 0 
)
virtual

Reimplemented from hcaldqm::ContainerSingle1D.

Definition at line 19 of file ContainerSingleProf1D.cc.

References hcaldqm::ContainerSingle1D::initialize().

Referenced by DigiTask::DigiTask().

23  {
24  ContainerSingle1D::initialize(folder, nametitle, xaxis, yaxis, debug);
25  }
virtual void initialize(std::string const &folder, std::string const &nametitle, axis::Axis *xaxis, axis::Axis *yaxis=new ValueAxis(fYaxis, axis::fEntries), int debug=0)
#define debug
Definition: HDRShower.cc:19