32 outFilename_(iConfig.getUntrackedParameter<
string>(
"outFile",
"gctAnalyzer.txt")),
33 doHW_(iConfig.getUntrackedParameter<
bool>(
"doHardware",
true)),
34 doEmu_(iConfig.getUntrackedParameter<
bool>(
"doEmulated",
true)),
35 doRctEM_(iConfig.getUntrackedParameter<
bool>(
"doRctEm",
true)),
36 doEM_(iConfig.getUntrackedParameter<
bool>(
"doEm",
true)),
37 doRegions_(iConfig.getUntrackedParameter<
bool>(
"doRegions",
false)),
38 doJets_(iConfig.getUntrackedParameter<
bool>(
"doJets",
false)),
39 doInternEM_(iConfig.getUntrackedParameter<
bool>(
"doInternEm",
true)),
40 doFibres_(iConfig.getUntrackedParameter<
bool>(
"doFibres",
false)),
41 doEnergySums_(iConfig.getUntrackedParameter<
bool>(
"doEnergySums",
false)),
42 rctEmMinRank_(iConfig.getUntrackedParameter<unsigned>(
"rctEmMinRank", 0)) {
116 L1GctEmCandCollection::const_iterator ie;
117 L1GctEmCandCollection::const_iterator
ne;
120 iEvent.getByLabel(
label.label(),
"nonIsoEm", nonIsoEm);
123 for (ie = isoEm->begin(); ie != isoEm->end(); ie++) {
124 outFile_ << (*ie) <<
" ieta(detID)=" << ie->regionId().ieta() <<
" iphi(detID)=" << ie->regionId().iphi() << endl;
129 for (
ne = nonIsoEm->begin();
ne != nonIsoEm->end();
ne++) {
130 outFile_ << (*ne) <<
" ieta(detID)=" <<
ne->regionId().ieta() <<
" iphi(detID)=" <<
ne->regionId().iphi() << endl;
140 L1CaloEmCollection::const_iterator
e;
145 for (
e = em->begin();
e != em->end();
e++) {
147 outFile_ << (*e) <<
" ieta(detID)=" <<
e->regionId().ieta() <<
" iphi(detID)=" <<
e->regionId().iphi() << endl;
158 L1CaloRegionCollection::const_iterator
r;
163 for (
r = rgns->begin();
r != rgns->end();
r++) {
176 L1GctJetCandCollection::const_iterator cj;
177 L1GctJetCandCollection::const_iterator fj;
178 L1GctJetCandCollection::const_iterator tj;
182 iEvent.getByLabel(labelStr,
"cenJets", cenJets);
183 iEvent.getByLabel(labelStr,
"forJets", forJets);
184 iEvent.getByLabel(labelStr,
"tauJets", tauJets);
186 outFile_ <<
"Central jets from : " << labelStr << endl;
187 for (cj = cenJets->begin(); cj != cenJets->end(); cj++) {
192 outFile_ <<
"Forward jets from : " << labelStr << endl;
193 for (fj = forJets->begin(); fj != forJets->end(); fj++) {
198 outFile_ <<
"Tau jets from : " << labelStr << endl;
199 for (tj = tauJets->begin(); tj != tauJets->end(); tj++) {
209 L1GctInternEmCandCollection::const_iterator
e;
214 for (
e = em->begin();
e != em->end();
e++) {
215 outFile_ << (*e) <<
" ieta(detID)=" <<
e->regionId().ieta() <<
" iphi(detID)=" <<
e->regionId().iphi() << endl;
225 L1GctFibreCollection::const_iterator
f;
230 for (
f = fibres->begin();
f != fibres->end();
f++) {
251 L1GctEtTotalCollection::const_iterator
et;
252 for (
et = etTotal->begin();
et != etTotal->end();
et++) {
256 L1GctEtHadCollection::const_iterator ht;
257 for (ht = etHad->begin(); ht != etHad->end(); ht++) {
261 L1GctEtMissCollection::const_iterator
met;
262 for (
met = etMiss->begin();
met != etMiss->end();
met++) {
266 L1GctHtMissCollection::const_iterator mht;
267 for (mht = htMiss->begin(); mht != htMiss->end(); mht++) {
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)
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)