Skip to content

Commit dc5f6b8

Browse files
committed
remove commented code
1 parent 0f5d08d commit dc5f6b8

File tree

2 files changed

+1
-24
lines changed

2 files changed

+1
-24
lines changed

L1Trigger/L1CaloTrigger/plugins/Phase2L1CaloJetEmulator.cc

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,6 @@ void Phase2L1CaloJetEmulator::produce(edm::Event& iEvent, const edm::EventSetup&
353353
float hfEta[nHfEta][nHfPhi];
354354
float hfPhi[nHfEta][nHfPhi];
355355
for (int iphi = 0; iphi < nHfPhi; iphi++) {
356-
//std::cout<<iphi<<"\t"<<l1t::CaloTools::towerPhi(30, iphi)<<std::endl;
357356
for (int ieta = 0; ieta < nHfEta; ieta++) {
358357
hfTowers[2 * ieta][iphi] = 0;
359358
hfTowers[2 * ieta + 1][iphi] = 0;
@@ -364,7 +363,6 @@ void Phase2L1CaloJetEmulator::produce(edm::Event& iEvent, const edm::EventSetup&
364363
temp = ieta - nHfEta / 2 + l1t::CaloTools::kHFBegin + 1;
365364
hfEta[ieta][iphi] = l1t::CaloTools::towerEta(temp);
366365
hfPhi[ieta][iphi] = l1t::CaloTools::towerPhi(temp, iphi + 1);
367-
//if(iphi==0) std::cout<<l1t::CaloTools::towerPhi(temp, iphi)<<std::endl;
368366
}
369367
}
370368

@@ -381,7 +379,6 @@ void Phase2L1CaloJetEmulator::produce(edm::Event& iEvent, const edm::EventSetup&
381379
ieta = nHfEta / 2 + (hit.id().ieta() - (l1t::CaloTools::kHFBegin + 1));
382380
}
383381
int iphi = hit.id().iphi() - 1; // HF phi runs between 1-72
384-
//std::cout<<hit.id().ieta()<<"\t"<<ieta<<"\t"<<iphi<<std::endl;
385382
if (abs(hit.id().ieta()) <= 33 && abs(hit.id().ieta()) >= 29)
386383
et = et - all_nvtx_to_PU_sub_funcs["hf"]["er29to33"].Eval(EstimatedNvtx);
387384
if (abs(hit.id().ieta()) <= 37 && abs(hit.id().ieta()) >= 34)
@@ -390,9 +387,7 @@ void Phase2L1CaloJetEmulator::produce(edm::Event& iEvent, const edm::EventSetup&
390387
et = et - all_nvtx_to_PU_sub_funcs["hf"]["er38to41"].Eval(EstimatedNvtx);
391388
if (et < 0)
392389
et = 0;
393-
//if (et > 1.)
394-
// hfTowers[ieta][iphi] = et; // suppress <= 1 GeV towers
395-
// split tower energy
390+
// split tower energy
396391
hfTowers[2 * ieta][iphi] = et / 2;
397392
hfTowers[2 * ieta + 1][iphi] = et / 2;
398393
if ((ieta < 2 || ieta >= nHfEta - 2) && iphi % 4 == 2) {

L1Trigger/L1CaloTrigger/plugins/Phase2L1CaloPFClusterEmulator.cc

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,6 @@ void Phase2L1CaloPFClusterEmulator::produce(edm::Event& iEvent, const edm::Event
221221
ieta = nHfEta / 2 + (hit.id().ieta() - (l1t::CaloTools::kHFBegin + 1));
222222
}
223223
int iphi = hit.id().iphi() - 1; // HF phi runs between 1-72
224-
//std::cout<<ieta<<"\t"<<l1t::CaloTools::towerEta(hit.id().ieta())<<"\t"<<iphi<<"\t"<<l1t::CaloTools::towerPhi(ieta, iphi)<<std::endl;
225224
// split tower energy
226225
hfTowers[2 * ieta][iphi] = et / 2;
227226
hfTowers[2 * ieta + 1][iphi] = et / 2;
@@ -242,13 +241,6 @@ void Phase2L1CaloPFClusterEmulator::produce(edm::Event& iEvent, const edm::Event
242241
}
243242
}
244243

245-
// for (int iphi = 0; iphi < nHfPhi; iphi++) {
246-
// for (int ieta = 0; ieta < 2*nHfEta; ieta++) {
247-
// std::cout<<hfTowers[ieta][iphi]<<" ";
248-
// }
249-
// std::cout<<"\n";
250-
// }
251-
252244
for (int ieta = 0; ieta < 2 * nHfEta; ieta++) {
253245
for (int iphi = 0; iphi < nHfPhi / 6; iphi++) {
254246
if (ieta < nHfEta) {
@@ -269,16 +261,6 @@ void Phase2L1CaloPFClusterEmulator::produce(edm::Event& iEvent, const edm::Event
269261
}
270262
}
271263

272-
// for (int k = 0; k < 12; k++) {
273-
// std::cout<<"------------"<<std::endl;
274-
// for (int iphi = 0; iphi < 12; iphi++) {
275-
// for (int ieta = 0; ieta < 24; ieta++) {
276-
// std::cout<<regionsHF[k][ieta][iphi]<<" ";
277-
// }
278-
// std::cout<<"\n";
279-
// }
280-
// }
281-
282264
float temporaryHF[nHfEta][nHfPhi / 6];
283265
int etaoffsetHF = 0;
284266
int phioffsetHF = -2;

0 commit comments

Comments
 (0)