Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
* $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 EECLUSTERTASKEXTRAS_DQMOFFLINE
18
19
class
MonitorElement
;
20
class
DQMStore
;
21
22
class
EEClusterTaskExtras
:
public
edm::EDAnalyzer
{
23
24
public
:
25
27
EEClusterTaskExtras
(
const
edm::ParameterSet
& ps);
28
30
virtual
~EEClusterTaskExtras
();
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 EECLUSTERTASKEXTRAS_DQMOFFLINE
90
MonitorElement
* meSCSizCrystal_;
91
MonitorElement
* meSCSizBC_;
92
93
MonitorElement
* meSCSeedEne_;
94
MonitorElement
* meSCEne2_;
95
MonitorElement
* meSCEneLow_;
96
MonitorElement
* meSCEneHigh_;
97
MonitorElement
* meSCEneSingleCrystal_;
98
99
MonitorElement
* meSCSeedMapOccSC_[2];
100
MonitorElement
* meSCSeedMapOccHighEne_[2];
101
MonitorElement
* meSCSeedMapOccSingleCrystal_[2];
102
MonitorElement
* meSCSeedMapOccTrg_[2][5];
103
MonitorElement
* meSCSeedMapOccTrgExcl_[2][5];
104
MonitorElement
* meSCSeedTime_;
105
MonitorElement
* meSCSeedMapTimeSC_[2];
106
MonitorElement
* meSCSeedTimeVsAmp_;
107
MonitorElement
* meSCSeedTimeEEM_;
108
MonitorElement
* meSCSeedTimeEEP_;
109
MonitorElement
* meSCSeedTimePerFed_[18];
110
MonitorElement
* meSCSeedMapTimeSC_[2][5];
111
#endif
112
113
MonitorElement
*
meSCSizCrystalVsEne_
;
114
115
MonitorElement
*
meSCSeedMapOcc_
[2];
116
MonitorElement
*
meSCSeedMapOccHighEneSC_
[2];
117
MonitorElement
*
meSCSeedMapOccTrgSC_
[2][5];
118
MonitorElement
*
meSCSeedMapOccTrgExclSC_
[2][5];
119
120
MonitorElement
*
meSCSeedMapTimeTrgSC_
[2][5];
121
122
bool
init_
;
123
124
};
125
126
#endif
EEClusterTaskExtras::l1GMTReadoutRecTag_
edm::InputTag l1GMTReadoutRecTag_
Definition:
EEClusterTaskExtras.h:85
EEClusterTaskExtras::beginRun
void beginRun(const edm::Run &r, const edm::EventSetup &c)
BeginRun.
Definition:
EEClusterTaskExtras.cc:132
EEClusterTaskExtras::endJob
void endJob(void)
EndJob.
Definition:
EEClusterTaskExtras.cc:667
EEClusterTaskExtras::beginJob
void beginJob(void)
BeginJob.
Definition:
EEClusterTaskExtras.cc:121
EEClusterTaskExtras::endRun
void endRun(const edm::Run &r, const edm::EventSetup &c)
EndRun.
Definition:
EEClusterTaskExtras.cc:140
EEClusterTaskExtras::RPC_TRIGGER
Definition:
EEClusterTaskExtras.h:68
EEClusterTaskExtras::EcalRecHitCollection_
edm::InputTag EcalRecHitCollection_
Definition:
EEClusterTaskExtras.h:84
EEClusterTaskExtras::doMonitorElement
bool doMonitorElement(std::string meName)
EEClusterTaskExtras::prefixME_
std::string prefixME_
Definition:
EEClusterTaskExtras.h:77
EEClusterTaskExtras::meSCSeedMapOccTrgExclSC_
MonitorElement * meSCSeedMapOccTrgExclSC_[2][5]
Definition:
EEClusterTaskExtras.h:118
EEClusterTaskExtras::ievt_
int ievt_
Definition:
EEClusterTaskExtras.h:73
Event.h
EEClusterTaskExtras::enableCleanup_
bool enableCleanup_
Definition:
EEClusterTaskExtras.h:79
EEClusterTaskExtras::init_
bool init_
Definition:
EEClusterTaskExtras.h:122
EEClusterTaskExtras::reset
void reset(void)
Reset.
Definition:
EEClusterTaskExtras.cc:144
EEClusterTaskExtras::ECAL_TRIGGER
Definition:
EEClusterTaskExtras.h:66
ParameterSet.h
EEClusterTaskExtras::meSCSeedMapOcc_
MonitorElement * meSCSeedMapOcc_[2]
Definition:
EEClusterTaskExtras.h:115
DQMStore
Definition:
DQMStore.h:67
EEClusterTaskExtras::SuperClusterCollection_
edm::InputTag SuperClusterCollection_
Definition:
EEClusterTaskExtras.h:83
EEClusterTaskExtras::meList_
std::vector< std::string > meList_
Definition:
EEClusterTaskExtras.h:87
EEClusterTaskExtras::dqmStore_
DQMStore * dqmStore_
Definition:
EEClusterTaskExtras.h:75
EEClusterTaskExtras::determineTriggers
std::vector< bool > determineTriggers(const edm::Event &, const edm::EventSetup &eventSetup)
Definition:
EEClusterTaskExtras.cc:839
edm::EventSetup
Definition:
EventSetup.h:44
EEClusterTaskExtras::~EEClusterTaskExtras
virtual ~EEClusterTaskExtras()
Destructor.
Definition:
EEClusterTaskExtras.cc:117
EEClusterTaskExtras::setup
void setup(void)
Setup.
Definition:
EEClusterTaskExtras.cc:189
EEClusterTaskExtras::meSCSeedMapTimeTrgSC_
MonitorElement * meSCSeedMapTimeTrgSC_[2][5]
Definition:
EEClusterTaskExtras.h:120
edm::EDAnalyzer
Definition:
EDAnalyzer.h:14
EDAnalyzer.h
EEClusterTaskExtras::DT_TRIGGER
Definition:
EEClusterTaskExtras.h:65
MonitorElement
Definition:
MonitorElement.h:34
EEClusterTaskExtras::meSCSizCrystalVsEne_
MonitorElement * meSCSizCrystalVsEne_
Definition:
EEClusterTaskExtras.h:113
EEClusterTaskExtras::cleanup
void cleanup(void)
Cleanup.
Definition:
EEClusterTaskExtras.cc:582
EEClusterTaskExtras::analyze
void analyze(const edm::Event &e, const edm::EventSetup &c)
Analyze.
Definition:
EEClusterTaskExtras.cc:675
EEClusterTaskExtras::CSC_TRIGGER
Definition:
EEClusterTaskExtras.h:64
EEClusterTaskExtras::EEClusterTaskExtras
EEClusterTaskExtras(const edm::ParameterSet &ps)
Constructor.
Definition:
EEClusterTaskExtras.cc:55
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:22
EEClusterTaskExtras::mergeRuns_
bool mergeRuns_
Definition:
EEClusterTaskExtras.h:81
edm::InputTag
Definition:
InputTag.h:12
EEClusterTaskExtras::meSCSeedMapOccHighEneSC_
MonitorElement * meSCSeedMapOccHighEneSC_[2]
Definition:
EEClusterTaskExtras.h:116
EEClusterTaskExtras::HCAL_TRIGGER
Definition:
EEClusterTaskExtras.h:67
alignCSCRings.r
list r
Definition:
alignCSCRings.py:92
edm::ParameterSet
Definition:
ParameterSet.h:35
EEClusterTaskExtras::L1Triggers
L1Triggers
Definition:
EEClusterTaskExtras.h:63
edm::Event
Definition:
Event.h:50
edm::Run
Definition:
Run.h:33
EEClusterTaskExtras::meSCSeedMapOccTrgSC_
MonitorElement * meSCSeedMapOccTrgSC_[2][5]
Definition:
EEClusterTaskExtras.h:117
EEClusterTaskExtras::l1GTReadoutRecTag_
edm::InputTag l1GTReadoutRecTag_
Definition:
EEClusterTaskExtras.h:86
Generated for CMSSW Reference Manual by
1.8.5