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)) {
117 L1GctEmCandCollection::const_iterator ie;
118 L1GctEmCandCollection::const_iterator
ne;
124 for (ie = isoEm->begin(); ie != isoEm->end(); ie++) {
125 outFile_ << (*ie) <<
" ieta(detID)=" << ie->regionId().ieta() <<
" iphi(detID)=" << ie->regionId().iphi() << endl;
130 for (
ne = nonIsoEm->begin();
ne != nonIsoEm->end();
ne++) {
131 outFile_ << (*ne) <<
" ieta(detID)=" <<
ne->regionId().ieta() <<
" iphi(detID)=" <<
ne->regionId().iphi() << endl;
141 L1CaloEmCollection::const_iterator
e;
146 for (
e = em->begin();
e != em->end();
e++) {
148 outFile_ << (*e) <<
" ieta(detID)=" <<
e->regionId().ieta() <<
" iphi(detID)=" <<
e->regionId().iphi() << endl;
159 L1CaloRegionCollection::const_iterator
r;
164 for (
r = rgns->begin();
r != rgns->end();
r++) {
177 L1GctJetCandCollection::const_iterator cj;
178 L1GctJetCandCollection::const_iterator fj;
179 L1GctJetCandCollection::const_iterator tj;
183 iEvent.
getByLabel(labelStr,
"cenJets", cenJets);
184 iEvent.
getByLabel(labelStr,
"forJets", forJets);
185 iEvent.
getByLabel(labelStr,
"tauJets", tauJets);
187 outFile_ <<
"Central jets from : " << labelStr << endl;
188 for (cj = cenJets->begin(); cj != cenJets->end(); cj++) {
193 outFile_ <<
"Forward jets from : " << labelStr << endl;
194 for (fj = forJets->begin(); fj != forJets->end(); fj++) {
199 outFile_ <<
"Tau jets from : " << labelStr << endl;
200 for (tj = tauJets->begin(); tj != tauJets->end(); tj++) {
210 L1GctInternEmCandCollection::const_iterator
e;
215 for (
e = em->begin();
e != em->end();
e++) {
216 outFile_ << (*e) <<
" ieta(detID)=" <<
e->regionId().ieta() <<
" iphi(detID)=" <<
e->regionId().iphi() << endl;
226 L1GctFibreCollection::const_iterator
f;
231 for (
f = fibres->begin();
f != fibres->end();
f++) {
252 L1GctEtTotalCollection::const_iterator et;
253 for (et = etTotal->begin(); et != etTotal->end(); et++) {
257 L1GctEtHadCollection::const_iterator ht;
258 for (ht = etHad->begin(); ht != etHad->end(); ht++) {
262 L1GctEtMissCollection::const_iterator
met;
263 for (
met = etMiss->begin();
met != etMiss->end();
met++) {
267 L1GctHtMissCollection::const_iterator mht;
268 for (mht = htMiss->begin(); mht != htMiss->end(); mht++) {
EventNumber_t event() const
edm::InputTag emuRctLabel_
void analyze(const edm::Event &, const edm::EventSetup &) override
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
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)