Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
DQMOffline
Ecal
interface
EEClusterTaskExtras.h
Go to the documentation of this file.
1
#ifndef EEClusterTaskExtras_H
2
#define EEClusterTaskExtras_H
3
4
/*
5
* \file EEClusterTaskExtras.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/L1GlobalMuonTrigger/interface/L1MuGMTReadoutCollection.h
"
16
#include "
DataFormats/EgammaReco/interface/SuperClusterFwd.h
"
17
#include "
DataFormats/L1GlobalTrigger/interface/L1GlobalTriggerReadoutRecord.h
"
18
#include "
DataFormats/EcalRecHit/interface/EcalRecHitCollections.h
"
19
20
#define EECLUSTERTASKEXTRAS_DQMOFFLINE
21
22
class
MonitorElement
;
23
class
DQMStore
;
24
25
class
EEClusterTaskExtras
:
public
edm::EDAnalyzer
{
26
27
public
:
28
30
EEClusterTaskExtras
(
const
edm::ParameterSet
& ps);
31
33
virtual
~EEClusterTaskExtras
();
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 EECLUSTERTASKEXTRAS_DQMOFFLINE
93
MonitorElement
* meSCSizCrystal_;
94
MonitorElement
* meSCSizBC_;
95
96
MonitorElement
* meSCSeedEne_;
97
MonitorElement
* meSCEne2_;
98
MonitorElement
* meSCEneLow_;
99
MonitorElement
* meSCEneHigh_;
100
MonitorElement
* meSCEneSingleCrystal_;
101
102
MonitorElement
* meSCSeedMapOccSC_[2];
103
MonitorElement
* meSCSeedMapOccHighEne_[2];
104
MonitorElement
* meSCSeedMapOccSingleCrystal_[2];
105
MonitorElement
* meSCSeedMapOccTrg_[2][5];
106
MonitorElement
* meSCSeedMapOccTrgExcl_[2][5];
107
MonitorElement
* meSCSeedTime_;
108
MonitorElement
* meSCSeedMapTimeSC_[2];
109
MonitorElement
* meSCSeedTimeVsAmp_;
110
MonitorElement
* meSCSeedTimeEEM_;
111
MonitorElement
* meSCSeedTimeEEP_;
112
MonitorElement
* meSCSeedTimePerFed_[18];
113
MonitorElement
* meSCSeedMapTimeSC_[2][5];
114
#endif
115
116
MonitorElement
*
meSCSizCrystalVsEne_
;
117
118
MonitorElement
*
meSCSeedMapOcc_
[2];
119
MonitorElement
*
meSCSeedMapOccHighEneSC_
[2];
120
MonitorElement
*
meSCSeedMapOccTrgSC_
[2][5];
121
MonitorElement
*
meSCSeedMapOccTrgExclSC_
[2][5];
122
123
MonitorElement
*
meSCSeedMapTimeTrgSC_
[2][5];
124
125
bool
init_
;
126
127
};
128
129
#endif
EEClusterTaskExtras::beginRun
void beginRun(const edm::Run &r, const edm::EventSetup &c)
BeginRun.
Definition:
EEClusterTaskExtras.cc:127
EEClusterTaskExtras::endJob
void endJob(void)
EndJob.
Definition:
EEClusterTaskExtras.cc:662
EEClusterTaskExtras::beginJob
void beginJob(void)
BeginJob.
Definition:
EEClusterTaskExtras.cc:116
EEClusterTaskExtras::endRun
void endRun(const edm::Run &r, const edm::EventSetup &c)
EndRun.
Definition:
EEClusterTaskExtras.cc:135
EEClusterTaskExtras::RPC_TRIGGER
Definition:
EEClusterTaskExtras.h:71
EEClusterTaskExtras::doMonitorElement
bool doMonitorElement(std::string meName)
EEClusterTaskExtras::prefixME_
std::string prefixME_
Definition:
EEClusterTaskExtras.h:80
EEClusterTaskExtras::meSCSeedMapOccTrgExclSC_
MonitorElement * meSCSeedMapOccTrgExclSC_[2][5]
Definition:
EEClusterTaskExtras.h:121
EEClusterTaskExtras::ievt_
int ievt_
Definition:
EEClusterTaskExtras.h:76
L1MuGMTReadoutCollection.h
Event.h
EEClusterTaskExtras::enableCleanup_
bool enableCleanup_
Definition:
EEClusterTaskExtras.h:82
EEClusterTaskExtras::init_
bool init_
Definition:
EEClusterTaskExtras.h:125
EEClusterTaskExtras::reset
void reset(void)
Reset.
Definition:
EEClusterTaskExtras.cc:139
EEClusterTaskExtras::ECAL_TRIGGER
Definition:
EEClusterTaskExtras.h:69
EEClusterTaskExtras::l1GTReadoutRecToken_
edm::EDGetTokenT< L1GlobalTriggerReadoutRecord > l1GTReadoutRecToken_
Definition:
EEClusterTaskExtras.h:89
EcalRecHitCollections.h
edm::EDGetTokenT< reco::SuperClusterCollection >
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
ParameterSet.h
SuperClusterFwd.h
EEClusterTaskExtras::meSCSeedMapOcc_
MonitorElement * meSCSeedMapOcc_[2]
Definition:
EEClusterTaskExtras.h:118
DQMStore
Definition:
DQMStore.h:70
EEClusterTaskExtras::EcalRecHitCollection_
edm::EDGetTokenT< EcalRecHitCollection > EcalRecHitCollection_
Definition:
EEClusterTaskExtras.h:87
EEClusterTaskExtras::meList_
std::vector< std::string > meList_
Definition:
EEClusterTaskExtras.h:90
L1GlobalTriggerReadoutRecord.h
EEClusterTaskExtras::dqmStore_
DQMStore * dqmStore_
Definition:
EEClusterTaskExtras.h:78
EEClusterTaskExtras::determineTriggers
std::vector< bool > determineTriggers(const edm::Event &, const edm::EventSetup &eventSetup)
Definition:
EEClusterTaskExtras.cc:834
edm::EventSetup
Definition:
EventSetup.h:44
EEClusterTaskExtras::~EEClusterTaskExtras
virtual ~EEClusterTaskExtras()
Destructor.
Definition:
EEClusterTaskExtras.cc:112
EEClusterTaskExtras::setup
void setup(void)
Setup.
Definition:
EEClusterTaskExtras.cc:184
EEClusterTaskExtras::meSCSeedMapTimeTrgSC_
MonitorElement * meSCSeedMapTimeTrgSC_[2][5]
Definition:
EEClusterTaskExtras.h:123
edm::EDAnalyzer
Definition:
EDAnalyzer.h:22
EDAnalyzer.h
EEClusterTaskExtras::DT_TRIGGER
Definition:
EEClusterTaskExtras.h:68
MonitorElement
Definition:
MonitorElement.h:34
EEClusterTaskExtras::meSCSizCrystalVsEne_
MonitorElement * meSCSizCrystalVsEne_
Definition:
EEClusterTaskExtras.h:116
EEClusterTaskExtras::cleanup
void cleanup(void)
Cleanup.
Definition:
EEClusterTaskExtras.cc:577
EEClusterTaskExtras::analyze
void analyze(const edm::Event &e, const edm::EventSetup &c)
Analyze.
Definition:
EEClusterTaskExtras.cc:670
EEClusterTaskExtras::CSC_TRIGGER
Definition:
EEClusterTaskExtras.h:67
EEClusterTaskExtras::EEClusterTaskExtras
EEClusterTaskExtras(const edm::ParameterSet &ps)
Constructor.
Definition:
EEClusterTaskExtras.cc:50
EEClusterTaskExtras::isExclusiveTrigger
bool isExclusiveTrigger(int l1Trigger, std::vector< bool > &l1Triggers)
trackerHits.c
tuple c
Definition:
trackerHits.py:26
alignCSCRings.e
list e
Definition:
alignCSCRings.py:90
EEClusterTaskExtras
Definition:
EEClusterTaskExtras.h:25
EEClusterTaskExtras::mergeRuns_
bool mergeRuns_
Definition:
EEClusterTaskExtras.h:84
EEClusterTaskExtras::meSCSeedMapOccHighEneSC_
MonitorElement * meSCSeedMapOccHighEneSC_[2]
Definition:
EEClusterTaskExtras.h:119
EEClusterTaskExtras::l1GMTReadoutRecToken_
edm::EDGetTokenT< L1MuGMTReadoutCollection > l1GMTReadoutRecToken_
Definition:
EEClusterTaskExtras.h:88
EEClusterTaskExtras::HCAL_TRIGGER
Definition:
EEClusterTaskExtras.h:70
alignCSCRings.r
list r
Definition:
alignCSCRings.py:92
edm::ParameterSet
Definition:
ParameterSet.h:35
EEClusterTaskExtras::L1Triggers
L1Triggers
Definition:
EEClusterTaskExtras.h:66
edm::Event
Definition:
Event.h:62
EEClusterTaskExtras::SuperClusterCollection_
edm::EDGetTokenT< reco::SuperClusterCollection > SuperClusterCollection_
Definition:
EEClusterTaskExtras.h:86
edm::Run
Definition:
Run.h:41
EEClusterTaskExtras::meSCSeedMapOccTrgSC_
MonitorElement * meSCSeedMapOccTrgSC_[2][5]
Definition:
EEClusterTaskExtras.h:120
Generated for CMSSW Reference Manual by
1.8.5