CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DTTimeEvolutionHisto.h
Go to the documentation of this file.
1 #ifndef DTTimeEvolutionHisto_H
2 #define DTTimeEvolutionHisto_H
3 
12 #include <string>
13 
14 
15 class DQMStore;
16 class MonitorElement;
17 
19 public:
33  DTTimeEvolutionHisto(DQMStore *dbe, const std::string& name,
34  const std::string& title,
35  int nbins,
36  int lsPrescale,
37  bool sliding,
38  int mode = 0);
39 
40 
41  DTTimeEvolutionHisto(DQMStore *dbe, const std::string& name,
42  const std::string& title,
43  int nbins,
44  int firstLS,
45  int lsPrescale,
46  bool sliding,
47  int mode = 0);
48 
49 
50 
52  DTTimeEvolutionHisto(DQMStore *dbe, const std::string& name);
53 
55  virtual ~DTTimeEvolutionHisto();
56 
57  // Operations
58 
59  void setTimeSlotValue(float value, int timeSlot);
60 
61  void accumulateValueTimeSlot(float value);
62 
63  void updateTimeSlot(int ls, int nEventsInLS);
64 
65  void normalizeTo(const MonitorElement *histForNorm);
66 
67 protected:
68 
69 private:
74  bool doSlide;
78  int theMode;
80 
81 };
82 #endif
83 
void accumulateValueTimeSlot(float value)
DTTimeEvolutionHisto(DQMStore *dbe, const std::string &name, const std::string &title, int nbins, int lsPrescale, bool sliding, int mode=0)
void setTimeSlotValue(float value, int timeSlot)
virtual ~DTTimeEvolutionHisto()
Destructor.
int mode
Definition: AMPTWrapper.h:139
void normalizeTo(const MonitorElement *histForNorm)
void updateTimeSlot(int ls, int nEventsInLS)