Skip to content

Commit 343d774

Browse files
committed
code format
1 parent cb4759e commit 343d774

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

PhysicsTools/PatUtils/plugins/L1PrefiringWeightProducer.cc

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -219,8 +219,8 @@ void L1PrefiringWeightProducer::produce(edm::Event& iEvent, const edm::EventSetu
219219

220220
//Probability for the event NOT to prefire, computed with the prefiring maps per object.
221221
//Up and down values correspond to the resulting value when shifting up/down all prefiring rates in prefiring maps.
222-
double nonPrefiringProba[3] = {1., 1., 1.}; //0: central, 1: up, 2: down
223-
double nonPrefiringProbaECAL[3] = {1., 1., 1.}; //0: central, 1: up, 2: down
222+
double nonPrefiringProba[3] = {1., 1., 1.}; //0: central, 1: up, 2: down
223+
double nonPrefiringProbaECAL[3] = {1., 1., 1.}; //0: central, 1: up, 2: down
224224
double nonPrefiringProbaMuon[7] = {
225225
1., 1., 1., 1., 1., 1., 1.}; //0: central, 1: up, 2: down, 3: up stat, 4: down stat, 5: up syst, 6: down syst
226226

@@ -307,8 +307,7 @@ void L1PrefiringWeightProducer::produce(edm::Event& iEvent, const edm::EventSetu
307307
}
308308
// Calculate combined weight as product of the weight for individual objects
309309
for (const auto fluct : {fluctuations::central, fluctuations::up, fluctuations::down}) {
310-
nonPrefiringProba[fluct] =
311-
nonPrefiringProbaECAL[fluct] * nonPrefiringProbaMuon[fluct];
310+
nonPrefiringProba[fluct] = nonPrefiringProbaECAL[fluct] * nonPrefiringProbaMuon[fluct];
312311
}
313312
// Calculate statistical and systematic uncertainty separately in the muon case
314313
for (const auto fluct :

0 commit comments

Comments
 (0)