30 rawLabel_( iConfig.getUntrackedParameter<edm::InputTag>(
"rawInput", edm::InputTag(
"L1GctRawDigis") ) ),
31 emuRctLabel_( iConfig.getUntrackedParameter<edm::InputTag>(
"emuRctInput", edm::InputTag(
"L1RctEmuDigis") ) ),
32 emuGctLabel_( iConfig.getUntrackedParameter<edm::InputTag>(
"emuGctInput", edm::InputTag(
"L1GctEmuDigis") ) ),
33 outFilename_( iConfig.getUntrackedParameter<
string>(
"outFile",
"gctAnalyzer.txt") ),
34 doHW_( iConfig.getUntrackedParameter<bool>(
"doHardware",
true) ),
35 doEmu_( iConfig.getUntrackedParameter<bool>(
"doEmulated",
true) ),
36 doRctEM_( iConfig.getUntrackedParameter<bool>(
"doRctEm",
true) ),
37 doEM_( iConfig.getUntrackedParameter<bool>(
"doEm",
true) ),
38 doRegions_( iConfig.getUntrackedParameter<bool>(
"doRegions",
false) ),
39 doJets_( iConfig.getUntrackedParameter<bool>(
"doJets",
false) ),
40 doInternEM_( iConfig.getUntrackedParameter<bool>(
"doInternEm",
true) ),
41 doFibres_( iConfig.getUntrackedParameter<bool>(
"doFibres",
false) ),
42 doEnergySums_( iConfig.getUntrackedParameter<bool>(
"doEnergySums",
false) ),
43 rctEmMinRank_( iConfig.getUntrackedParameter<unsigned>(
"rctEmMinRank", 0) )
104 L1GctEmCandCollection::const_iterator ie;
105 L1GctEmCandCollection::const_iterator
ne;
111 for (ie=isoEm->begin(); ie!=isoEm->end(); ie++) {
113 <<
" ieta(detID)=" << ie->regionId().ieta()
114 <<
" iphi(detID)=" << ie->regionId().iphi()
120 for (
ne=nonIsoEm->begin();
ne!=nonIsoEm->end();
ne++) {
122 <<
" ieta(detID)=" <<
ne->regionId().ieta()
123 <<
" iphi(detID)=" <<
ne->regionId().iphi()
136 L1CaloEmCollection::const_iterator
e;
141 for (
e=em->begin();
e!=em->end();
e++) {
144 <<
" ieta(detID)=" <<
e->regionId().ieta()
145 <<
" iphi(detID)=" <<
e->regionId().iphi()
160 L1CaloRegionCollection::const_iterator
r;
165 for (
r=rgns->begin();
r!=rgns->end();
r++) {
181 L1GctJetCandCollection::const_iterator cj;
182 L1GctJetCandCollection::const_iterator fj;
183 L1GctJetCandCollection::const_iterator tj;
187 iEvent.
getByLabel(labelStr,
"cenJets",cenJets);
188 iEvent.
getByLabel(labelStr,
"forJets",forJets);
189 iEvent.
getByLabel(labelStr,
"tauJets",tauJets);
191 outFile_ <<
"Central jets from : " << labelStr << endl;
192 for (cj=cenJets->begin(); cj!=cenJets->end(); cj++) {
197 outFile_ <<
"Forward jets from : " << labelStr << endl;
198 for (fj=forJets->begin(); fj!=forJets->end(); fj++) {
203 outFile_ <<
"Tau jets from : " << labelStr << endl;
204 for (tj=tauJets->begin(); tj!=tauJets->end(); tj++) {
216 L1GctInternEmCandCollection::const_iterator
e;
221 for (
e=em->begin();
e!=em->end();
e++) {
223 <<
" ieta(detID)=" <<
e->regionId().ieta()
224 <<
" iphi(detID)=" <<
e->regionId().iphi()
238 L1GctFibreCollection::const_iterator
f;
243 for (
f=fibres->begin();
f!=fibres->end();
f++) {
266 L1GctEtTotalCollection::const_iterator et;
267 for (et=etTotal->begin(); et!=etTotal->end(); et++){
271 L1GctEtHadCollection::const_iterator ht;
272 for (ht=etHad->begin(); ht!=etHad->end(); ht++){
276 L1GctEtMissCollection::const_iterator
met;
277 for (
met=etMiss->begin();
met!=etMiss->end();
met++){
281 L1GctHtMissCollection::const_iterator mht;
282 for (mht=htMiss->begin(); mht!=htMiss->end(); mht++){
EventNumber_t event() const
edm::InputTag emuRctLabel_
DumpGctDigis(const edm::ParameterSet &)
void doRegions(const edm::Event &, const edm::InputTag &label)
void doJets(const edm::Event &, const edm::InputTag &label)
void doEnergySums(const edm::Event &, const edm::InputTag &label)
void doFibres(const edm::Event &, const edm::InputTag &label)
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
virtual void analyze(const edm::Event &, const edm::EventSetup &)
void doInternEM(const edm::Event &, const edm::InputTag &label)
edm::InputTag emuGctLabel_
void doEM(const edm::Event &, const edm::InputTag &label)
void doRctEM(const edm::Event &, const edm::InputTag &label)