Skip to content

Commit

Permalink
apply code format
Browse files Browse the repository at this point in the history
  • Loading branch information
smuzaffar committed Nov 30, 2022
1 parent df67bca commit 691625b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion L1Trigger/L1TCalorimeter/src/PUSubtractionMethods.cc
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ namespace l1t {
for (std::vector<CaloRegion>::const_iterator notCorrectedRegion = regions.begin();
notCorrectedRegion != regions.end();
notCorrectedRegion++) {
const CaloRegion& newSubRegion = *notCorrectedRegion;
const CaloRegion &newSubRegion = *notCorrectedRegion;
subRegions->push_back(newSubRegion);
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ void EcalTrigPrimAnalyzer::analyze(const edm::Event &iEvent, const edm::EventSet
// Get input
const auto &tp = iEvent.get(tpToken_);
for (unsigned int i = 0; i < tp.size(); i++) {
const EcalTriggerPrimitiveDigi& d = tp[i];
const EcalTriggerPrimitiveDigi &d = tp[i];
int subdet = d.id().subDet() - 1;
if (subdet == 0) {
ecal_et_[subdet]->Fill(d.compressedEt());
Expand Down Expand Up @@ -168,7 +168,7 @@ void EcalTrigPrimAnalyzer::analyze(const edm::Event &iEvent, const edm::EventSet

EcalTPGScale ecalScale(tokens_, iSetup);
for (unsigned int i = 0; i < tp.size(); i++) {
const EcalTriggerPrimitiveDigi& d = tp[i];
const EcalTriggerPrimitiveDigi &d = tp[i];
const EcalTrigTowerDetId TPtowid = d.id();
std::map<EcalTrigTowerDetId, float>::iterator it = mapTow_Et.find(TPtowid);
float Et = ecalScale.getTPGInGeV(d.compressedEt(), TPtowid);
Expand Down

0 comments on commit 691625b

Please sign in to comment.