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
* $Date: 2009/12/14 21:14:06 $
8
* $Revision: 1.5 $
9
* \author G. Della Ricca
10
*
11
*/
12
13
#include "
FWCore/Framework/interface/EDAnalyzer.h
"
14
#include "
FWCore/Framework/interface/Event.h
"
15
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
16
17
#define EBCLUSTERTASKEXTRAS_DQMOFFLINE
18
19
class
MonitorElement
;
20
class
DQMStore
;
21
22
class
EBClusterTaskExtras
:
public
edm::EDAnalyzer
{
23
24
public
:
25
27
EBClusterTaskExtras
(
const
edm::ParameterSet
& ps);
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
{
64
CSC_TRIGGER
= 0,
65
DT_TRIGGER
= 1,
66
ECAL_TRIGGER
= 2,
67
HCAL_TRIGGER
= 3,
68
RPC_TRIGGER
= 4
69
};
70
71
private
:
72
73
int
ievt_
;
74
75
DQMStore
*
dqmStore_
;
76
77
std::string
prefixME_
;
78
79
bool
enableCleanup_
;
80
81
bool
mergeRuns_
;
82
83
edm::InputTag
SuperClusterCollection_
;
84
edm::InputTag
EcalRecHitCollection_
;
85
edm::InputTag
l1GMTReadoutRecTag_
;
86
edm::InputTag
l1GTReadoutRecTag_
;
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
122
MonitorElement
*
meSCSizCrystalVsEne_
;
123
124
MonitorElement
*
meSCSeedMapOcc_
;
125
MonitorElement
*
meSCSeedMapOccHighEneTT_
;
126
127
MonitorElement
*
meSCSeedMapOccTrgTT_
[5];
128
MonitorElement
*
meSCSeedMapOccTrgExclTT_
[5];
129
130
MonitorElement
*
meSCSeedMapTimeTrgTT_
[5];
131
MonitorElement
*
meSCSeedTimeTrg_
[5];
132
133
MonitorElement
*
meTrg_
;
134
MonitorElement
*
meTrgExcl_
;
135
136
bool
init_
;
137
138
};
139
140
#endif
EBClusterTaskExtras::EcalRecHitCollection_
edm::InputTag EcalRecHitCollection_
Definition:
EBClusterTaskExtras.h:84
EBClusterTaskExtras::cleanup
void cleanup(void)
Cleanup.
Definition:
EBClusterTaskExtras.cc:535
EBClusterTaskExtras::isExclusiveTrigger
bool isExclusiveTrigger(int l1Trigger, std::vector< bool > &l1Triggers)
EBClusterTaskExtras::meSCSeedMapOccTrgTT_
MonitorElement * meSCSeedMapOccTrgTT_[5]
Definition:
EBClusterTaskExtras.h:127
EBClusterTaskExtras::~EBClusterTaskExtras
virtual ~EBClusterTaskExtras()
Destructor.
Definition:
EBClusterTaskExtras.cc:127
EBClusterTaskExtras::init_
bool init_
Definition:
EBClusterTaskExtras.h:136
EBClusterTaskExtras::DT_TRIGGER
Definition:
EBClusterTaskExtras.h:65
Event.h
EBClusterTaskExtras::meSCSeedMapOcc_
MonitorElement * meSCSeedMapOcc_
Definition:
EBClusterTaskExtras.h:124
EBClusterTaskExtras::analyze
void analyze(const edm::Event &e, const edm::EventSetup &c)
Analyze.
Definition:
EBClusterTaskExtras.cc:660
EBClusterTaskExtras::meSCSeedMapTimeTrgTT_
MonitorElement * meSCSeedMapTimeTrgTT_[5]
Definition:
EBClusterTaskExtras.h:130
EBClusterTaskExtras::beginRun
void beginRun(const edm::Run &r, const edm::EventSetup &c)
BeginRun.
Definition:
EBClusterTaskExtras.cc:142
EBClusterTaskExtras::meTrgExcl_
MonitorElement * meTrgExcl_
Definition:
EBClusterTaskExtras.h:134
EBClusterTaskExtras::meTrg_
MonitorElement * meTrg_
Definition:
EBClusterTaskExtras.h:133
EBClusterTaskExtras::setup
void setup(void)
Setup.
Definition:
EBClusterTaskExtras.cc:210
EBClusterTaskExtras::reset
void reset(void)
Reset.
Definition:
EBClusterTaskExtras.cc:154
EBClusterTaskExtras::l1GMTReadoutRecTag_
edm::InputTag l1GMTReadoutRecTag_
Definition:
EBClusterTaskExtras.h:85
EBClusterTaskExtras::SuperClusterCollection_
edm::InputTag SuperClusterCollection_
Definition:
EBClusterTaskExtras.h:83
ParameterSet.h
DQMStore
Definition:
DQMStore.h:67
EBClusterTaskExtras
Definition:
EBClusterTaskExtras.h:22
EBClusterTaskExtras::ievt_
int ievt_
Definition:
EBClusterTaskExtras.h:73
EBClusterTaskExtras::prefixME_
std::string prefixME_
Definition:
EBClusterTaskExtras.h:77
EBClusterTaskExtras::l1GTReadoutRecTag_
edm::InputTag l1GTReadoutRecTag_
Definition:
EBClusterTaskExtras.h:86
EBClusterTaskExtras::meSCSeedMapOccHighEneTT_
MonitorElement * meSCSeedMapOccHighEneTT_
Definition:
EBClusterTaskExtras.h:125
edm::EventSetup
Definition:
EventSetup.h:44
EBClusterTaskExtras::RPC_TRIGGER
Definition:
EBClusterTaskExtras.h:68
edm::EDAnalyzer
Definition:
EDAnalyzer.h:14
EDAnalyzer.h
MonitorElement
Definition:
MonitorElement.h:34
EBClusterTaskExtras::meSCSeedTimeTrg_
MonitorElement * meSCSeedTimeTrg_[5]
Definition:
EBClusterTaskExtras.h:131
EBClusterTaskExtras::endJob
void endJob(void)
EndJob.
Definition:
EBClusterTaskExtras.cc:652
EBClusterTaskExtras::meSCSeedMapOccTrgExclTT_
MonitorElement * meSCSeedMapOccTrgExclTT_[5]
Definition:
EBClusterTaskExtras.h:128
EBClusterTaskExtras::endRun
void endRun(const edm::Run &r, const edm::EventSetup &c)
EndRun.
Definition:
EBClusterTaskExtras.cc:150
EBClusterTaskExtras::HCAL_TRIGGER
Definition:
EBClusterTaskExtras.h:67
EBClusterTaskExtras::dqmStore_
DQMStore * dqmStore_
Definition:
EBClusterTaskExtras.h:75
EBClusterTaskExtras::meSCSizCrystalVsEne_
MonitorElement * meSCSizCrystalVsEne_
Definition:
EBClusterTaskExtras.h:122
trackerHits.c
tuple c
Definition:
trackerHits.py:26
alignCSCRings.e
list e
Definition:
alignCSCRings.py:90
EBClusterTaskExtras::mergeRuns_
bool mergeRuns_
Definition:
EBClusterTaskExtras.h:81
EBClusterTaskExtras::enableCleanup_
bool enableCleanup_
Definition:
EBClusterTaskExtras.h:79
EBClusterTaskExtras::doMonitorElement
bool doMonitorElement(std::string meName)
edm::InputTag
Definition:
InputTag.h:12
EBClusterTaskExtras::EBClusterTaskExtras
EBClusterTaskExtras(const edm::ParameterSet &ps)
Constructor.
Definition:
EBClusterTaskExtras.cc:56
alignCSCRings.r
list r
Definition:
alignCSCRings.py:92
edm::ParameterSet
Definition:
ParameterSet.h:35
EBClusterTaskExtras::beginJob
void beginJob(void)
BeginJob.
Definition:
EBClusterTaskExtras.cc:131
edm::Event
Definition:
Event.h:50
EBClusterTaskExtras::CSC_TRIGGER
Definition:
EBClusterTaskExtras.h:64
EBClusterTaskExtras::L1Triggers
L1Triggers
Definition:
EBClusterTaskExtras.h:63
EBClusterTaskExtras::determineTriggers
std::vector< bool > determineTriggers(const edm::Event &, const edm::EventSetup &eventSetup)
Definition:
EBClusterTaskExtras.cc:826
EBClusterTaskExtras::meList_
std::vector< std::string > meList_
Definition:
EBClusterTaskExtras.h:87
edm::Run
Definition:
Run.h:33
EBClusterTaskExtras::ECAL_TRIGGER
Definition:
EBClusterTaskExtras.h:66
Generated for CMSSW Reference Manual by
1.8.5