test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ESDaqInfoTask.h
Go to the documentation of this file.
1 #ifndef ESDaqInfoTask_h
2 #define ESDaqInfoTask_h
3 
7 
8 //class ESElectronicsMapper;
10 
11  public:
12 
15 
17  virtual ~ESDaqInfoTask();
18 
19  protected:
20 
22  void analyze(const edm::Event& e, const edm::EventSetup& c);
23 
25  void beginJob(void);
26 
28  void endJob(void);
29 
31  void beginLuminosityBlock(const edm::LuminosityBlock& lumiBlock, const edm::EventSetup& iSetup);
32 
34  void endLuminosityBlock(const edm::LuminosityBlock& lumiBlock, const edm::EventSetup& iSetup);
35 
37  void reset(void);
38 
40  void cleanup(void);
41 
42  private:
43 
45 
47 
49 
50  bool mergeRuns_;
51 
55 
57 
60 
62 
63  bool ESOnFed_[56];
64 
65  int getFEDNumber(const int x, const int y) {
66  int iz = (x < 40) ? 1 : 2;
67  int ip = (y >= 40) ? 1 : 2;
68  int ix = (x < 40) ? x : x - 40;
69  int iy = (y < 40) ? y :y - 40;
70  return (*es_mapping_).getFED( iz, ip, ix + 1, iy + 1);
71  }
72 
73 };
74 
75 #endif
76 
bool ESOnFed_[56]
Definition: ESDaqInfoTask.h:63
int getFEDNumber(const int x, const int y)
Definition: ESDaqInfoTask.h:65
std::string prefixME_
Definition: ESDaqInfoTask.h:46
void beginJob(void)
BeginJob.
void cleanup(void)
Cleanup.
MonitorElement * meESDaqActiveMap_
Definition: ESDaqInfoTask.h:54
void analyze(const edm::Event &e, const edm::EventSetup &c)
Analyze.
void reset(void)
Reset.
MonitorElement * meESDaqError_
Definition: ESDaqInfoTask.h:56
DQMStore * dqmStore_
Definition: ESDaqInfoTask.h:44
MonitorElement * meESDaqActive_[56]
Definition: ESDaqInfoTask.h:53
MonitorElement * meESDaqFraction_
Definition: ESDaqInfoTask.h:52
void endJob(void)
EndJob.
ESElectronicsMapper * es_mapping_
Definition: ESDaqInfoTask.h:61
void beginLuminosityBlock(const edm::LuminosityBlock &lumiBlock, const edm::EventSetup &iSetup)
BeginLuminosityBlock.
ESDaqInfoTask(const edm::ParameterSet &ps)
Constructor.
void endLuminosityBlock(const edm::LuminosityBlock &lumiBlock, const edm::EventSetup &iSetup)
EndLuminosityBlock.
virtual ~ESDaqInfoTask()
Destructor.