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  * \author G. Della Ricca
8  *
9  */
10 
14 
19 
20 #define EBCLUSTERTASKEXTRAS_DQMOFFLINE
21 
22 class MonitorElement;
23 class DQMStore;
24 
26 
27  public:
28 
31 
33 virtual ~EBClusterTaskExtras();
34 
35 protected:
36 
38 void analyze(const edm::Event& e, const edm::EventSetup& c);
39 
41 void beginJob(void);
42 
44 void endJob(void);
45 
47 void beginRun(const edm::Run & r, const edm::EventSetup & c);
48 
50 void endRun(const edm::Run & r, const edm::EventSetup & c);
51 
53 void reset(void);
54 
56 void setup(void);
57 
59 void cleanup(void);
60 
61 // Determine Trigger
62 std::vector<bool> determineTriggers(const edm::Event&, const edm::EventSetup& eventSetup);
63 bool isExclusiveTrigger(int l1Trigger, std::vector<bool>& l1Triggers);
64 bool doMonitorElement(std::string meName);
65 
66 enum L1Triggers {
72 };
73 
74 private:
75 
76 int ievt_;
77 
79 
81 
83 
85 
90 std::vector<std::string> meList_;
91 
92 #ifndef EBCLUSTERTASKEXTRAS_DQMOFFLINE
93 MonitorElement* meSCSizCrystal_;
94 MonitorElement* meSCSizBC_;
95 MonitorElement* meSCSizPhi_;
96 
97 MonitorElement* meSCSeedEne_;
98 MonitorElement* meSCEne2_;
99 MonitorElement* meSCEneLow_;
100 MonitorElement* meSCEneHigh_;
101 MonitorElement* meSCEneSingleCrystal_;
102 
103 MonitorElement* meSCSeedMapOccTT_;
104 MonitorElement* meSCSeedMapOccHighEne_;
105 MonitorElement* meSCSeedMapOccSingleCrystal_;
106 
107 MonitorElement* meSCSeedTime_;
108 MonitorElement* meSCSeedMapTimeTT_;
109 MonitorElement* meSCSeedMapTimeMod_;
110 MonitorElement* meSCSeedTimeVsPhi_;
111 MonitorElement* meSCSeedTimeVsAmp_;
112 MonitorElement* meSCSeedTimeEBM_;
113 MonitorElement* meSCSeedTimeEBP_;
114 MonitorElement* meSCSeedTimeEBMTop_;
115 MonitorElement* meSCSeedTimeEBPTop_;
116 MonitorElement* meSCSeedTimeEBMBot_;
117 MonitorElement* meSCSeedTimeEBPBot_;
118 MonitorElement* meSCSeedTimePerFed_[36];
119 
120 MonitorElement* meSCSeedMapOccTrg_[5];
121 MonitorElement* meSCSeedMapOccTrgExcl_[5];
122 MonitorElement* meSCSeedMapTimeTrgMod_[5];
123 #endif
124 
126 
129 
132 
135 
138 
139 bool init_;
140 
141 };
142 
143 #endif
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::EDGetTokenT< reco::SuperClusterCollection > SuperClusterCollection_
edm::EDGetTokenT< EcalRecHitCollection > EcalRecHitCollection_
MonitorElement * meSCSeedMapOccHighEneTT_
MonitorElement * meSCSeedTimeTrg_[5]
void endJob(void)
EndJob.
MonitorElement * meSCSeedMapOccTrgExclTT_[5]
edm::EDGetTokenT< L1MuGMTReadoutCollection > l1GMTReadoutRecToken_
void endRun(const edm::Run &r, const edm::EventSetup &c)
EndRun.
MonitorElement * meSCSizCrystalVsEne_
edm::EDGetTokenT< L1GlobalTriggerReadoutRecord > l1GTReadoutRecToken_
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:41