CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EBHltTask.h
Go to the documentation of this file.
1 #ifndef EBHltTask_H
2 #define EBHltTask_H
3 
4 /*
5  * \file EBHltTask.h
6  *
7  * \author G. Della Ricca
8  *
9 */
10 
15 
21 
23 
24 class MonitorElement;
25 class DQMStore;
26 
27 class EBHltTask: public edm::EDAnalyzer{
28 
29 public:
30 
32 EBHltTask(const edm::ParameterSet& ps);
33 
35 virtual ~EBHltTask();
36 
37 protected:
38 
40 void analyze(const edm::Event& e, const edm::EventSetup& c);
41 
43 void beginJob(void);
44 
46 void endJob(void);
47 
49 void beginRun(const edm::Run & r, const edm::EventSetup & c);
50 
52 void endRun(const edm::Run & r, const edm::EventSetup & c);
53 
55 void reset(void);
56 
58 void setup(void);
59 
61 void cleanup(void);
62 
63 void initGeometry( const edm::EventSetup& setup );
64 
65 EcalSubdetector subDet( const EBDetId& id ) { return( id.subdet() ); }
66 
67 EcalSubdetector subDet( const EcalElectronicsId& id ) { return( id.subdet() ); }
68 
69 int iSM( const EBDetId& id );
70 
71 int iSM( const EcalElectronicsId& id );
72 
73 private:
74 
75 int ievt_;
76 
78 
81 
83 
85 
98 
102 
103 bool init_;
105 
107 
108 };
109 
110 #endif
void beginJob(void)
BeginJob.
Definition: EBHltTask.cc:69
edm::EDGetTokenT< EcalElectronicsIdCollection > EcalElectronicsIdCollection3_
Definition: EBHltTask.h:93
virtual ~EBHltTask()
Destructor.
Definition: EBHltTask.cc:65
Ecal readout channel identification [32:20] Unused (so far) [19:13] DCC id [12:6] tower [5:3] strip [...
bool init_
Definition: EBHltTask.h:103
edm::EDGetTokenT< EBDetIdCollection > EBDetIdCollection4_
Definition: EBHltTask.h:90
edm::EDGetTokenT< EcalElectronicsIdCollection > EcalElectronicsIdCollection1_
Definition: EBHltTask.h:91
void endRun(const edm::Run &r, const edm::EventSetup &c)
EndRun.
Definition: EBHltTask.cc:88
bool initGeometry_
Definition: EBHltTask.h:104
EBHltTask(const edm::ParameterSet &ps)
Constructor.
Definition: EBHltTask.cc:29
std::string prefixME_
Definition: EBHltTask.h:79
edm::EDGetTokenT< EcalElectronicsIdCollection > EcalElectronicsIdCollection5_
Definition: EBHltTask.h:95
EcalSubdetector subDet(const EBDetId &id)
Definition: EBHltTask.h:65
void endJob(void)
EndJob.
Definition: EBHltTask.cc:144
void reset(void)
Reset.
Definition: EBHltTask.cc:92
DQMStore * dqmStore_
Definition: EBHltTask.h:77
bool enableCleanup_
Definition: EBHltTask.h:82
edm::EDGetTokenT< EcalElectronicsIdCollection > EcalElectronicsIdCollection4_
Definition: EBHltTask.h:94
std::string folderName_
Definition: EBHltTask.h:80
MonitorElement * meEBFedsOccupancy_
Definition: EBHltTask.h:99
bool mergeRuns_
Definition: EBHltTask.h:84
EcalSubdetector subDet(const EcalElectronicsId &id)
Definition: EBHltTask.h:67
edm::EDGetTokenT< EBDetIdCollection > EBDetIdCollection2_
Definition: EBHltTask.h:88
int ievt_
Definition: EBHltTask.h:75
edm::EDGetTokenT< FEDRawDataCollection > FEDRawDataCollection_
Definition: EBHltTask.h:97
edm::EDGetTokenT< EBDetIdCollection > EBDetIdCollection3_
Definition: EBHltTask.h:89
void cleanup(void)
Cleanup.
Definition: EBHltTask.cc:122
void beginRun(const edm::Run &r, const edm::EventSetup &c)
BeginRun.
Definition: EBHltTask.cc:80
edm::EDGetTokenT< EcalElectronicsIdCollection > EcalElectronicsIdCollection6_
Definition: EBHltTask.h:96
void analyze(const edm::Event &e, const edm::EventSetup &c)
Analyze.
Definition: EBHltTask.cc:152
void initGeometry(const edm::EventSetup &setup)
Definition: EBHltTask.cc:399
MonitorElement * meEBFedsSizeErrors_
Definition: EBHltTask.h:100
MonitorElement * meEBFedsIntegrityErrors_
Definition: EBHltTask.h:101
edm::EDGetTokenT< EBDetIdCollection > EBDetIdCollection1_
Definition: EBHltTask.h:87
edm::EDGetTokenT< EBDetIdCollection > EBDetIdCollection0_
Definition: EBHltTask.h:86
edm::EDGetTokenT< EcalElectronicsIdCollection > EcalElectronicsIdCollection2_
Definition: EBHltTask.h:92
const EcalElectronicsMapping * map
Definition: EBHltTask.h:106
EcalSubdetector
int iSM(const EBDetId &id)
Definition: EBHltTask.cc:413
void setup(void)
Setup.
Definition: EBHltTask.cc:100
Definition: Run.h:41