CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ContainerSingle2D.h
Go to the documentation of this file.
1 #ifndef ContainerSingle2D_h
2 #define ContainerSingle2D_h
3 
4 /*
5  * file: ContainerSignle2D.h
6  * Author: Viktor Khristenko
7  *
8  * Description:
9  * Container to hold a single ME - for convenience of initialization
10  */
11 
15 
16 #include <string>
17 
18 namespace hcaldqm
19 {
20  using namespace axis;
22  {
23  public:
25  ContainerSingle2D(std::string const& folder,
26  std::string const& nametitle,
27  axis::Axis *xaxis,
29  axis::Axis *zaxis = new ValueAxis(fZaxis, fEntries));
30  virtual ~ContainerSingle2D();
31 
32  virtual void initialize(std::string const& folder,
33  std::string const& nametitle,
34  axis::Axis *xaxis,
36  axis::Axis *zaxis = new ValueAxis(fZaxis, fEntries),
37  int debug=0);
38 
39  // booking
40  virtual void book(DQMStore::IBooker&,
42 
43  // filling
44  virtual void fill(int, int);
45  virtual void fill(int, double);
46  virtual void fill(int, double, double);
47  virtual void fill(int, int, int);
48  virtual void fill(int, int, double);
49  virtual void fill(double, int);
50  virtual void fill(double, double);
51  virtual void fill(double, double, double);
52 
53  // any of the following 3 funcs must only be used with FEDs as
54  // X-axis and whatever coordinate as Yaxis
55  // there are no checks done on the axis!
56  virtual void fill(int, HcalElectronicsId const&);
57  virtual void fill(int, HcalElectronicsId const&, int);
58  virtual void fill(int, HcalElectronicsId const&, double);
59 
60  virtual void fill(HcalDetId const&);
61  virtual void fill(HcalDetId const&, double);
62  virtual void fill(HcalDetId const&, double, double);
63 
64  virtual void fill(HcalElectronicsId const&);
65  virtual void fill(HcalElectronicsId const&, double);
66  virtual void fill(HcalElectronicsId const&, double, double);
67 
68  virtual void fill(HcalDetId const&, HcalElectronicsId const&);
69  virtual void fill(HcalDetId const&, HcalElectronicsId const&, double);
70 
71  virtual void fill(HcalTrigTowerDetId const&);
72  virtual void fill(HcalTrigTowerDetId const&, int);
73  virtual void fill(HcalTrigTowerDetId const&, double);
74  virtual void fill(HcalTrigTowerDetId const&, int, int);
75  virtual void fill(HcalTrigTowerDetId const&, int, double);
76  virtual void fill(HcalTrigTowerDetId const&, double, double);
77 
78  virtual void setBinContent(int, int, double);
79  virtual void setBinContent(int, double, double);
80  virtual void setBinContent(unsigned int, int, double);
81  virtual void setBinContent(double, int, double);
82  virtual void setBinContent(double, double, double);
83 
84  virtual void loadLabels(std::vector<std::string> const&);
85  virtual void reset();
86 
87  protected:
92  };
93 }
94 
95 #endif
static AlgebraicMatrix initialize()
string fill
Definition: lumiContext.py:319
#define debug
Definition: HDRShower.cc:19
void reset(double vett[256])
Definition: TPedValues.cc:11
Readout chain identification for Hcal.