CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EBClusterTaskExtras.h
Go to the documentation of this file.
1 #ifndef EBClusterTaskExtras_H
2 #define EBClusterTaskExtras_H
3 
4 /*
5  * \file EBClusterTaskExtras.h
6  *
7  * $Date: 2009/12/14 21:14:06 $
8  * $Revision: 1.5 $
9  * \author G. Della Ricca
10  *
11  */
12 
16 
17 #define EBCLUSTERTASKEXTRAS_DQMOFFLINE
18 
19 class MonitorElement;
20 class DQMStore;
21 
23 
24  public:
25 
28 
30 virtual ~EBClusterTaskExtras();
31 
32 protected:
33 
35 void analyze(const edm::Event& e, const edm::EventSetup& c);
36 
38 void beginJob(void);
39 
41 void endJob(void);
42 
44 void beginRun(const edm::Run & r, const edm::EventSetup & c);
45 
47 void endRun(const edm::Run & r, const edm::EventSetup & c);
48 
50 void reset(void);
51 
53 void setup(void);
54 
56 void cleanup(void);
57 
58 // Determine Trigger
59 std::vector<bool> determineTriggers(const edm::Event&, const edm::EventSetup& eventSetup);
60 bool isExclusiveTrigger(int l1Trigger, std::vector<bool>& l1Triggers);
61 bool doMonitorElement(std::string meName);
62 
63 enum L1Triggers {
69 };
70 
71 private:
72 
73 int ievt_;
74 
76 
77 std::string prefixME_;
78 
80 
82 
87 std::vector<std::string> meList_;
88 
89 #ifndef EBCLUSTERTASKEXTRAS_DQMOFFLINE
90 MonitorElement* meSCSizCrystal_;
91 MonitorElement* meSCSizBC_;
92 MonitorElement* meSCSizPhi_;
93 
94 MonitorElement* meSCSeedEne_;
95 MonitorElement* meSCEne2_;
96 MonitorElement* meSCEneLow_;
97 MonitorElement* meSCEneHigh_;
98 MonitorElement* meSCEneSingleCrystal_;
99 
100 MonitorElement* meSCSeedMapOccTT_;
101 MonitorElement* meSCSeedMapOccHighEne_;
102 MonitorElement* meSCSeedMapOccSingleCrystal_;
103 
104 MonitorElement* meSCSeedTime_;
105 MonitorElement* meSCSeedMapTimeTT_;
106 MonitorElement* meSCSeedMapTimeMod_;
107 MonitorElement* meSCSeedTimeVsPhi_;
108 MonitorElement* meSCSeedTimeVsAmp_;
109 MonitorElement* meSCSeedTimeEBM_;
110 MonitorElement* meSCSeedTimeEBP_;
111 MonitorElement* meSCSeedTimeEBMTop_;
112 MonitorElement* meSCSeedTimeEBPTop_;
113 MonitorElement* meSCSeedTimeEBMBot_;
114 MonitorElement* meSCSeedTimeEBPBot_;
115 MonitorElement* meSCSeedTimePerFed_[36];
116 
117 MonitorElement* meSCSeedMapOccTrg_[5];
118 MonitorElement* meSCSeedMapOccTrgExcl_[5];
119 MonitorElement* meSCSeedMapTimeTrgMod_[5];
120 #endif
121 
123 
126 
129 
132 
135 
136 bool init_;
137 
138 };
139 
140 #endif
edm::InputTag EcalRecHitCollection_
void cleanup(void)
Cleanup.
bool isExclusiveTrigger(int l1Trigger, std::vector< bool > &l1Triggers)
MonitorElement * meSCSeedMapOccTrgTT_[5]
virtual ~EBClusterTaskExtras()
Destructor.
MonitorElement * meSCSeedMapOcc_
void analyze(const edm::Event &e, const edm::EventSetup &c)
Analyze.
MonitorElement * meSCSeedMapTimeTrgTT_[5]
void beginRun(const edm::Run &r, const edm::EventSetup &c)
BeginRun.
MonitorElement * meTrgExcl_
MonitorElement * meTrg_
void setup(void)
Setup.
void reset(void)
Reset.
edm::InputTag l1GMTReadoutRecTag_
edm::InputTag SuperClusterCollection_
edm::InputTag l1GTReadoutRecTag_
MonitorElement * meSCSeedMapOccHighEneTT_
MonitorElement * meSCSeedTimeTrg_[5]
void endJob(void)
EndJob.
MonitorElement * meSCSeedMapOccTrgExclTT_[5]
void endRun(const edm::Run &r, const edm::EventSetup &c)
EndRun.
MonitorElement * meSCSizCrystalVsEne_
bool doMonitorElement(std::string meName)
EBClusterTaskExtras(const edm::ParameterSet &ps)
Constructor.
void beginJob(void)
BeginJob.
std::vector< bool > determineTriggers(const edm::Event &, const edm::EventSetup &eventSetup)
std::vector< std::string > meList_
Definition: Run.h:33