Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
DQMOffline
Ecal
interface
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
11
#include "
FWCore/Framework/interface/EDAnalyzer.h
"
12
#include "
FWCore/Framework/interface/Event.h
"
13
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
14
15
#include "
DataFormats/EcalRecHit/interface/EcalRecHitCollections.h
"
16
#include "
DataFormats/EgammaReco/interface/SuperClusterFwd.h
"
17
#include "
DataFormats/L1GlobalMuonTrigger/interface/L1MuGMTReadoutCollection.h
"
18
#include "
DataFormats/L1GlobalTrigger/interface/L1GlobalTriggerReadoutRecord.h
"
19
20
#define EBCLUSTERTASKEXTRAS_DQMOFFLINE
21
22
class
MonitorElement
;
23
class
DQMStore
;
24
25
class
EBClusterTaskExtras
:
public
edm::EDAnalyzer
{
26
27
public
:
28
30
EBClusterTaskExtras
(
const
edm::ParameterSet
& ps);
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
{
67
CSC_TRIGGER
= 0,
68
DT_TRIGGER
= 1,
69
ECAL_TRIGGER
= 2,
70
HCAL_TRIGGER
= 3,
71
RPC_TRIGGER
= 4
72
};
73
74
private
:
75
76
int
ievt_
;
77
78
DQMStore
*
dqmStore_
;
79
80
std::string
prefixME_
;
81
82
bool
enableCleanup_
;
83
84
bool
mergeRuns_
;
85
86
edm::EDGetTokenT<reco::SuperClusterCollection>
SuperClusterCollection_
;
87
edm::EDGetTokenT<EcalRecHitCollection>
EcalRecHitCollection_
;
88
edm::EDGetTokenT<L1MuGMTReadoutCollection>
l1GMTReadoutRecToken_
;
89
edm::EDGetTokenT<L1GlobalTriggerReadoutRecord>
l1GTReadoutRecToken_
;
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
125
MonitorElement
*
meSCSizCrystalVsEne_
;
126
127
MonitorElement
*
meSCSeedMapOcc_
;
128
MonitorElement
*
meSCSeedMapOccHighEneTT_
;
129
130
MonitorElement
*
meSCSeedMapOccTrgTT_
[5];
131
MonitorElement
*
meSCSeedMapOccTrgExclTT_
[5];
132
133
MonitorElement
*
meSCSeedMapTimeTrgTT_
[5];
134
MonitorElement
*
meSCSeedTimeTrg_
[5];
135
136
MonitorElement
*
meTrg_
;
137
MonitorElement
*
meTrgExcl_
;
138
139
bool
init_
;
140
141
};
142
143
#endif
EBClusterTaskExtras::cleanup
void cleanup(void)
Cleanup.
Definition:
EBClusterTaskExtras.cc:530
EBClusterTaskExtras::isExclusiveTrigger
bool isExclusiveTrigger(int l1Trigger, std::vector< bool > &l1Triggers)
EBClusterTaskExtras::meSCSeedMapOccTrgTT_
MonitorElement * meSCSeedMapOccTrgTT_[5]
Definition:
EBClusterTaskExtras.h:130
EBClusterTaskExtras::~EBClusterTaskExtras
virtual ~EBClusterTaskExtras()
Destructor.
Definition:
EBClusterTaskExtras.cc:122
EBClusterTaskExtras::init_
bool init_
Definition:
EBClusterTaskExtras.h:139
EBClusterTaskExtras::DT_TRIGGER
Definition:
EBClusterTaskExtras.h:68
L1MuGMTReadoutCollection.h
Event.h
EBClusterTaskExtras::meSCSeedMapOcc_
MonitorElement * meSCSeedMapOcc_
Definition:
EBClusterTaskExtras.h:127
EBClusterTaskExtras::analyze
void analyze(const edm::Event &e, const edm::EventSetup &c)
Analyze.
Definition:
EBClusterTaskExtras.cc:655
EcalRecHitCollections.h
EBClusterTaskExtras::meSCSeedMapTimeTrgTT_
MonitorElement * meSCSeedMapTimeTrgTT_[5]
Definition:
EBClusterTaskExtras.h:133
EBClusterTaskExtras::beginRun
void beginRun(const edm::Run &r, const edm::EventSetup &c)
BeginRun.
Definition:
EBClusterTaskExtras.cc:137
EBClusterTaskExtras::meTrgExcl_
MonitorElement * meTrgExcl_
Definition:
EBClusterTaskExtras.h:137
EBClusterTaskExtras::meTrg_
MonitorElement * meTrg_
Definition:
EBClusterTaskExtras.h:136
edm::EDGetTokenT< reco::SuperClusterCollection >
EBClusterTaskExtras::setup
void setup(void)
Setup.
Definition:
EBClusterTaskExtras.cc:205
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
EBClusterTaskExtras::reset
void reset(void)
Reset.
Definition:
EBClusterTaskExtras.cc:149
ParameterSet.h
SuperClusterFwd.h
DQMStore
Definition:
DQMStore.h:70
EBClusterTaskExtras
Definition:
EBClusterTaskExtras.h:25
EBClusterTaskExtras::ievt_
int ievt_
Definition:
EBClusterTaskExtras.h:76
EBClusterTaskExtras::prefixME_
std::string prefixME_
Definition:
EBClusterTaskExtras.h:80
L1GlobalTriggerReadoutRecord.h
EBClusterTaskExtras::SuperClusterCollection_
edm::EDGetTokenT< reco::SuperClusterCollection > SuperClusterCollection_
Definition:
EBClusterTaskExtras.h:86
EBClusterTaskExtras::EcalRecHitCollection_
edm::EDGetTokenT< EcalRecHitCollection > EcalRecHitCollection_
Definition:
EBClusterTaskExtras.h:87
EBClusterTaskExtras::meSCSeedMapOccHighEneTT_
MonitorElement * meSCSeedMapOccHighEneTT_
Definition:
EBClusterTaskExtras.h:128
edm::EventSetup
Definition:
EventSetup.h:44
EBClusterTaskExtras::RPC_TRIGGER
Definition:
EBClusterTaskExtras.h:71
edm::EDAnalyzer
Definition:
EDAnalyzer.h:22
EDAnalyzer.h
MonitorElement
Definition:
MonitorElement.h:34
EBClusterTaskExtras::meSCSeedTimeTrg_
MonitorElement * meSCSeedTimeTrg_[5]
Definition:
EBClusterTaskExtras.h:134
EBClusterTaskExtras::endJob
void endJob(void)
EndJob.
Definition:
EBClusterTaskExtras.cc:647
EBClusterTaskExtras::meSCSeedMapOccTrgExclTT_
MonitorElement * meSCSeedMapOccTrgExclTT_[5]
Definition:
EBClusterTaskExtras.h:131
EBClusterTaskExtras::l1GMTReadoutRecToken_
edm::EDGetTokenT< L1MuGMTReadoutCollection > l1GMTReadoutRecToken_
Definition:
EBClusterTaskExtras.h:88
EBClusterTaskExtras::endRun
void endRun(const edm::Run &r, const edm::EventSetup &c)
EndRun.
Definition:
EBClusterTaskExtras.cc:145
EBClusterTaskExtras::HCAL_TRIGGER
Definition:
EBClusterTaskExtras.h:70
EBClusterTaskExtras::dqmStore_
DQMStore * dqmStore_
Definition:
EBClusterTaskExtras.h:78
EBClusterTaskExtras::meSCSizCrystalVsEne_
MonitorElement * meSCSizCrystalVsEne_
Definition:
EBClusterTaskExtras.h:125
trackerHits.c
tuple c
Definition:
trackerHits.py:26
EBClusterTaskExtras::l1GTReadoutRecToken_
edm::EDGetTokenT< L1GlobalTriggerReadoutRecord > l1GTReadoutRecToken_
Definition:
EBClusterTaskExtras.h:89
alignCSCRings.e
list e
Definition:
alignCSCRings.py:90
EBClusterTaskExtras::mergeRuns_
bool mergeRuns_
Definition:
EBClusterTaskExtras.h:84
EBClusterTaskExtras::enableCleanup_
bool enableCleanup_
Definition:
EBClusterTaskExtras.h:82
EBClusterTaskExtras::doMonitorElement
bool doMonitorElement(std::string meName)
EBClusterTaskExtras::EBClusterTaskExtras
EBClusterTaskExtras(const edm::ParameterSet &ps)
Constructor.
Definition:
EBClusterTaskExtras.cc:51
alignCSCRings.r
list r
Definition:
alignCSCRings.py:92
edm::ParameterSet
Definition:
ParameterSet.h:35
EBClusterTaskExtras::beginJob
void beginJob(void)
BeginJob.
Definition:
EBClusterTaskExtras.cc:126
edm::Event
Definition:
Event.h:62
EBClusterTaskExtras::CSC_TRIGGER
Definition:
EBClusterTaskExtras.h:67
EBClusterTaskExtras::L1Triggers
L1Triggers
Definition:
EBClusterTaskExtras.h:66
EBClusterTaskExtras::determineTriggers
std::vector< bool > determineTriggers(const edm::Event &, const edm::EventSetup &eventSetup)
Definition:
EBClusterTaskExtras.cc:821
EBClusterTaskExtras::meList_
std::vector< std::string > meList_
Definition:
EBClusterTaskExtras.h:90
edm::Run
Definition:
Run.h:41
EBClusterTaskExtras::ECAL_TRIGGER
Definition:
EBClusterTaskExtras.h:69
Generated for CMSSW Reference Manual by
1.8.5