@@ -138,9 +138,11 @@ struct JetTriggerQA {
138138 HistogramConfigSpec hJetRMaxPtEtaPhiNoFiducial ({HistType::kTHnF , {rAxis, jetPtAxis, etaAxis, phiAxis}});
139139
140140 registry.add (" jetRPtEtaPhi" , " JetRPtEtaPhi" , hJetRPtEtaPhi);
141- if (!b_doLightOutput) registry.add (" jetRMaxPtEtaPhi" , " JetRMaxPtEtaPhi" , hJetRMaxPtEtaPhi);
141+ if (!b_doLightOutput)
142+ registry.add (" jetRMaxPtEtaPhi" , " JetRMaxPtEtaPhi" , hJetRMaxPtEtaPhi);
142143 registry.add (" jetRPtEtaPhiNoFiducial" , " JetRPtEtaPhiNoFiducial" , hJetRPtEtaPhiNoFiducial);
143- if (!b_doLightOutput) registry.add (" jetRMaxPtEtaPhiNoFiducial" , " JetRMaxPtEtaPhiNoFiducial" , hJetRMaxPtEtaPhiNoFiducial);
144+ if (!b_doLightOutput)
145+ registry.add (" jetRMaxPtEtaPhiNoFiducial" , " JetRMaxPtEtaPhiNoFiducial" , hJetRMaxPtEtaPhiNoFiducial);
144146
145147 registry.add (" hProcessedEvents" , " Processed events" , HistType::kTH1D , {{15 , -0.5 , 14.5 , " Trigger type" }});
146148 auto histProcessed = registry.get <TH1>(HIST (" hProcessedEvents" ));
@@ -171,7 +173,7 @@ struct JetTriggerQA {
171173 // Histograms for events where the EMCAL is live
172174 registry.add (" hJetRPtEta" , " Jets #it{p}_{T} and #eta" , HistType::kTH3F , {rAxis, jetPtAxis, etaAxis});
173175 registry.add (" hJetRPtPhi" , " Jets #it{p}_{T} and #phi" , HistType::kTH3F , {rAxis, jetPtAxis, phiAxis});
174- if (!b_doLightOutput){
176+ if (!b_doLightOutput) {
175177 registry.add (" hJetRMaxPtEta" , " Leading jets #it{p}_{T} and #eta" , HistType::kTH3F , {rAxis, jetPtAxis, etaAxis});
176178 registry.add (" hJetRMaxPtPhi" , " Leading jets #it{p}_{T} and #phi" , HistType::kTH3F , {rAxis, jetPtAxis, phiAxis});
177179 registry.add (" hJetRMaxPtEtaMinBias" , " Leading jets #it{p}_{T} and #eta (min. bias)" , HistType::kTH3F , {rAxis, jetPtAxis, etaAxis});
@@ -182,8 +184,8 @@ struct JetTriggerQA {
182184 registry.add (" hClusterPtEtaPhi" , Form (" Cluster %s, #eta and #phi" , observableName.data ()), HistType::kTH3F , {observableAxisCluster, etaAxis, phiAxis});
183185 registry.add (" hClusterPtEtaPhiMinBias" , Form (" Cluster %s (Min. bias trigger), #eta and #phi" , observableName.data ()), HistType::kTH3F , {observableAxisCluster, etaAxis, phiAxis});
184186 registry.add (" hClusterPtEtaPhiLevel0" , Form (" Cluster %s (Level-0 trigger), #eta and #phi" , observableName.data ()), HistType::kTH3F , {observableAxisCluster, etaAxis, phiAxis});
185-
186- if (!b_doLightOutput) {
187+
188+ if (!b_doLightOutput) {
187189 registry.add (" hClusterEMCALMaxPtEtaPhi" , Form (" Leading cluster %s, #eta and #phi (EMCAL)" , observableName.data ()), HistType::kTH3F , {observableAxisCluster, etaAxis, phiAxis});
188190 registry.add (" hClusterEMCALMaxPtEtaPhiMinBias" , Form (" Leading cluster %s, #eta and #phi (EMCAL, min. bias trigger)" , observableName.data ()), HistType::kTH3F , {observableAxisCluster, etaAxis, phiAxis});
189191 registry.add (" hClusterEMCALMaxPtEtaPhiLevel0" , Form (" Leading cluster %s, #eta and #phi (EMCAL, Level-0 trigger)" , observableName.data ()), HistType::kTH3F , {observableAxisCluster, etaAxis, phiAxis});
@@ -208,25 +210,25 @@ struct JetTriggerQA {
208210 registry.add (" hJetRPtZTheta" , " Jets" , HistType::kTH3F , {rAxis, jetPtAxis, {nPtBins / 2 , 0 ., 1 ., " z#theta" }});
209211 registry.add (" hJetRPtZSqTheta" , " Jets" , HistType::kTH3F , {rAxis, jetPtAxis, {nPtBins / 2 , 0 ., 1 ., " z^{2} #theta" }});
210212 registry.add (" hJetRPtZThetaSq" , " Jets" , HistType::kTH3F , {rAxis, jetPtAxis, {nPtBins / 2 , 0 ., 1 ., " z #theta^{2}" }});
211-
213+
212214 registry.add (" hJetRMaxPtClusterMaxPt" , " Leading jets and clusters" , HistType::kTH3F , {rAxis, jetPtAxis, observableAxisCluster});
213215 }
214216
215217 // Histograms for triggered events
216218 registry.add (" hSelectedClusterPtEtaPhi" , Form (" Selected cluster %s, #eta and #phi" , observableName.data ()), HistType::kTH3F , {observableAxisCluster, etaAxis, phiAxis});
217-
218- if (!b_doLightOutput){
219+
220+ if (!b_doLightOutput) {
219221 registry.add (" hSelectedClusterMaxPtEtaPhi" , Form (" Leading Selected cluster %s, #eta and #phi" , observableName.data ()), HistType::kTH3F , {observableAxisCluster, etaAxis, phiAxis});
220222 }
221223
222224 // Jet high trigger
223- if (!b_doLightOutput){
225+ if (!b_doLightOutput) {
224226 registry.add (" hSelectedJetRMaxPtEta" , " Leading selected jets #it{p}_{T} and #eta" , HistType::kTH3F , {rAxis, jetPtAxis, etaAxis});
225227 registry.add (" hSelectedJetRMaxPtPhi" , " Leading selected jets #it{p}_{T} and #phi" , HistType::kTH3F , {rAxis, jetPtAxis, phiAxis});
226228 }
227229 registry.add (" hSelectedJetRPtEta" , " Selected jets #it{p}_{T} and #eta" , HistType::kTH3F , {rAxis, jetPtAxis, etaAxis});
228230 registry.add (" hSelectedJetRPtPhi" , " Selected jets #it{p}_{T} and #phi" , HistType::kTH3F , {rAxis, jetPtAxis, phiAxis});
229- if (!b_doLightOutput){
231+ if (!b_doLightOutput) {
230232 registry.add (" hSelectedJetRPtTrackPt" , " Selected jets" , HistType::kTH3F , {rAxis, jetPtAxis, ptAxisTrackInJet});
231233 registry.add (" hSelectedJetRPtClusterPt" , " Selected jets" , HistType::kTH3F , {rAxis, jetPtAxis, ptAxisClusterInJet});
232234 registry.add (" hSelectedJetRPtPtd" , " Selected jets" , HistType::kTH3F , {rAxis, jetPtAxis, {nPtBins / 2 , 0 ., 1 ., " p_{t,D}" }});
@@ -238,14 +240,14 @@ struct JetTriggerQA {
238240 }
239241
240242 // Jet low trigger
241- if (!b_doLightOutput){
243+ if (!b_doLightOutput) {
242244 registry.add (" hSelectedJetLowRMaxPtEta" , " Leading selected jets (low threshold) #it{p}_{T} and #eta" , HistType::kTH3F , {rAxis, jetPtAxis, etaAxis});
243245 registry.add (" hSelectedJetLowRMaxPtPhi" , " Leading selected jets (low threshold) #it{p}_{T} and #phi" , HistType::kTH3F , {rAxis, jetPtAxis, phiAxis});
244246 }
245247 registry.add (" hSelectedJetLowRPtEta" , " Selected jets (low threshold) #it{p}_{T} and #eta" , HistType::kTH3F , {rAxis, jetPtAxis, etaAxis});
246248 registry.add (" hSelectedJetLowRPtPhi" , " Selected jets (low threshold) #it{p}_{T} and #phi" , HistType::kTH3F , {rAxis, jetPtAxis, phiAxis});
247249
248- if (!b_doLightOutput){
250+ if (!b_doLightOutput) {
249251 registry.add (" hSelectedJetLowRPtTrackPt" , " Selected jets (low threshold)" , HistType::kTH3F , {rAxis, jetPtAxis, ptAxisTrackInJet});
250252 registry.add (" hSelectedJetLowRPtClusterPt" , " Selected jets (low threshold)" , HistType::kTH3F , {rAxis, jetPtAxis, ptAxisClusterInJet});
251253 registry.add (" hSelectedJetLowRPtPtd" , " Selected jets (low threshold)" , HistType::kTH3F , {rAxis, jetPtAxis, {nPtBins / 2 , 0 ., 1 ., " p_{t,D}" }});
@@ -258,37 +260,45 @@ struct JetTriggerQA {
258260
259261 // EMCAL gamma very-high trigger
260262 registry.add (" hSelectedGammaEMCALPtEtaPhiVeryHigh" , Form (" Selected Gamma %s, #eta and #phi (EMCAL, very high threshold)" , observableName.data ()), HistType::kTH3F , {observableAxisCluster, etaAxis, phiAxis});
261- if (!b_doLightOutput) registry.add (" hSelectedGammaEMCALMaxPtEtaPhiVeryHigh" , Form (" Leading selected gamma %s, #eta and #phi (EMCAL, very high treshold)" , observableName.data ()), HistType::kTH3F , {observableAxisCluster, etaAxis, phiAxis});
263+ if (!b_doLightOutput)
264+ registry.add (" hSelectedGammaEMCALMaxPtEtaPhiVeryHigh" , Form (" Leading selected gamma %s, #eta and #phi (EMCAL, very high treshold)" , observableName.data ()), HistType::kTH3F , {observableAxisCluster, etaAxis, phiAxis});
262265
263266 // DCAL gamma very-high trigger
264267 registry.add (" hSelectedGammaDCALPtEtaPhiVeryHigh" , Form (" Selected gamma %s, #eta and #phi (DCAL, very high treshold)" , observableName.data ()), HistType::kTH3F , {observableAxisCluster, etaAxis, phiAxis});
265- if (!b_doLightOutput) registry.add (" hSelectedGammaDCALMaxPtEtaPhiVeryHigh" , Form (" Leading selected gamma %s, #eta and #phi (DCAL, very high treshold)" , observableName.data ()), HistType::kTH3F , {observableAxisCluster, etaAxis, phiAxis});
268+ if (!b_doLightOutput)
269+ registry.add (" hSelectedGammaDCALMaxPtEtaPhiVeryHigh" , Form (" Leading selected gamma %s, #eta and #phi (DCAL, very high treshold)" , observableName.data ()), HistType::kTH3F , {observableAxisCluster, etaAxis, phiAxis});
266270
267271 // EG1 trigger
268272 registry.add (" hSelectedGammaEMCALPtEtaPhi" , Form (" Selected Gamma %s, #eta and #phi (EMCAL, high threshold)" , observableName.data ()), HistType::kTH3F , {observableAxisCluster, etaAxis, phiAxis});
269- if (!b_doLightOutput) registry.add (" hSelectedGammaEMCALMaxPtEtaPhi" , Form (" Leading selected gamma %s, #eta and #phi (EMCAL, high treshold)" , observableName.data ()), HistType::kTH3F , {observableAxisCluster, etaAxis, phiAxis});
273+ if (!b_doLightOutput)
274+ registry.add (" hSelectedGammaEMCALMaxPtEtaPhi" , Form (" Leading selected gamma %s, #eta and #phi (EMCAL, high treshold)" , observableName.data ()), HistType::kTH3F , {observableAxisCluster, etaAxis, phiAxis});
270275
271276 // DG1 trigger
272277 registry.add (" hSelectedGammaDCALPtEtaPhi" , Form (" Selected gamma %s, #eta and #phi (DCAL, high treshold)" , observableName.data ()), HistType::kTH3F , {observableAxisCluster, etaAxis, phiAxis});
273- if (!b_doLightOutput) registry.add (" hSelectedGammaDCALMaxPtEtaPhi" , Form (" Leading selected gamma %s, #eta and #phi (DCAL, high treshold)" , observableName.data ()), HistType::kTH3F , {observableAxisCluster, etaAxis, phiAxis});
278+ if (!b_doLightOutput)
279+ registry.add (" hSelectedGammaDCALMaxPtEtaPhi" , Form (" Leading selected gamma %s, #eta and #phi (DCAL, high treshold)" , observableName.data ()), HistType::kTH3F , {observableAxisCluster, etaAxis, phiAxis});
274280
275281 // EG2 trigger
276282 registry.add (" hSelectedGammaEMCALPtEtaPhiLow" , Form (" Selected gamma %s, #eta and #phi (EMCAL, low threshold)" , observableName.data ()), HistType::kTH3F , {observableAxisCluster, etaAxis, phiAxis});
277- if (!b_doLightOutput) registry.add (" hSelectedGammaEMCALMaxPtEtaPhiLow" , Form (" Leading selected gamma %s, #eta and #phi (EMCAL, low threshold)" , observableName.data ()), HistType::kTH3F , {observableAxisCluster, etaAxis, phiAxis});
283+ if (!b_doLightOutput)
284+ registry.add (" hSelectedGammaEMCALMaxPtEtaPhiLow" , Form (" Leading selected gamma %s, #eta and #phi (EMCAL, low threshold)" , observableName.data ()), HistType::kTH3F , {observableAxisCluster, etaAxis, phiAxis});
278285
279286 // DG2 trigger
280287 registry.add (" hSelectedGammaDCALPtEtaPhiLow" , Form (" Selected gamma %s, #eta and #phi (DCAL, low threshold)" , observableName.data ()), HistType::kTH3F , {observableAxisCluster, etaAxis, phiAxis});
281- if (!b_doLightOutput) registry.add (" hSelectedGammaDCALMaxPtEtaPhiLow" , Form (" Leading selected gamma %s, #eta and #phi (DCAL, low threshold)" , observableName.data ()), HistType::kTH3F , {observableAxisCluster, etaAxis, phiAxis});
288+ if (!b_doLightOutput)
289+ registry.add (" hSelectedGammaDCALMaxPtEtaPhiLow" , Form (" Leading selected gamma %s, #eta and #phi (DCAL, low threshold)" , observableName.data ()), HistType::kTH3F , {observableAxisCluster, etaAxis, phiAxis});
282290
283291 // EMCAL gamma very-low trigger
284292 registry.add (" hSelectedGammaEMCALPtEtaPhiVeryLow" , Form (" Selected gamma %s, #eta and #phi (EMCAL, very low threshold)" , observableName.data ()), HistType::kTH3F , {observableAxisCluster, etaAxis, phiAxis});
285- if (!b_doLightOutput) registry.add (" hSelectedGammaEMCALMaxPtEtaPhiVeryLow" , Form (" Leading selected gamma %s, #eta and #phi (EMCAL, very low threshold)" , observableName.data ()), HistType::kTH3F , {observableAxisCluster, etaAxis, phiAxis});
293+ if (!b_doLightOutput)
294+ registry.add (" hSelectedGammaEMCALMaxPtEtaPhiVeryLow" , Form (" Leading selected gamma %s, #eta and #phi (EMCAL, very low threshold)" , observableName.data ()), HistType::kTH3F , {observableAxisCluster, etaAxis, phiAxis});
286295
287296 // DCAL gamma very-low trigger
288297 registry.add (" hSelectedGammaDCALPtEtaPhiVeryLow" , Form (" Selected gamma %s, #eta and #phi (DCAL, low threshold)" , observableName.data ()), HistType::kTH3F , {observableAxisCluster, etaAxis, phiAxis});
289- if (!b_doLightOutput) registry.add (" hSelectedGammaDCALMaxPtEtaPhiVeryLow" , Form (" Leading selected gamma %s, #eta and #phi (DCAL, low threshold)" , observableName.data ()), HistType::kTH3F , {observableAxisCluster, etaAxis, phiAxis});
298+ if (!b_doLightOutput)
299+ registry.add (" hSelectedGammaDCALMaxPtEtaPhiVeryLow" , Form (" Leading selected gamma %s, #eta and #phi (DCAL, low threshold)" , observableName.data ()), HistType::kTH3F , {observableAxisCluster, etaAxis, phiAxis});
290300
291- if (!b_doLightOutput){
301+ if (!b_doLightOutput) {
292302 registry.add (" hSelectedJetRMaxPtClusterMaxPt" , " Leading selected jets and clusters" , HistType::kTH3F , {rAxis, jetPtAxis, observableAxisCluster});
293303 registry.add (" hJetRMaxPtJetPt" , " Leading jet #it{p}_{T} vs jet #it{p}_{T}" , HistType::kTH3F , {rAxis, jetMaxPtAxis, jetPtAxis});
294304 registry.add (" hJetRMaxPtJetPtNoFiducial" , " Leading jet #it{p}_{T} vs jet #it{p}_{T} (no fiducial cut)" , HistType::kTH3F , {rAxis, jetMaxPtAxis, jetPtAxis});
@@ -299,7 +309,7 @@ struct JetTriggerQA {
299309 if (b_JetsInEmcalOnly) {
300310 registry.get <TH3>(HIST (" hJetRPtEta" ))->SetTitle (" Jets (in emcal only) #it{p}_{T} and #eta" );
301311 registry.get <TH3>(HIST (" hJetRPtPhi" ))->SetTitle (" Jets (in emcal only) #it{p}_{T} and #phi" );
302- if (!b_doLightOutput){
312+ if (!b_doLightOutput) {
303313 registry.get <TH3>(HIST (" hJetRPtTrackPt" ))->SetTitle (" Jets (in emcal only)" );
304314 registry.get <TH3>(HIST (" hJetRPtClusterPt" ))->SetTitle (" Jets (in emcal only)" );
305315 registry.get <TH3>(HIST (" hJetRPtPtd" ))->SetTitle (" Jets (in emcal only)" );
@@ -320,7 +330,7 @@ struct JetTriggerQA {
320330
321331 registry.get <TH3>(HIST (" hSelectedJetRPtEta" ))->SetTitle (" Selected jets (in emcal only) #it{p}_{T} and #eta" );
322332 registry.get <TH3>(HIST (" hSelectedJetRPtPhi" ))->SetTitle (" Selected jets (in emcal only) #it{p}_{T} and #phi" );
323- if (!b_doLightOutput){
333+ if (!b_doLightOutput) {
324334 registry.get <TH3>(HIST (" hSelectedJetRPtTrackPt" ))->SetTitle (" Selected jets (in emcal only)" );
325335 registry.get <TH3>(HIST (" hSelectedJetRPtClusterPt" ))->SetTitle (" Selected jets (in emcal only)" );
326336 registry.get <TH3>(HIST (" hSelectedJetRPtPtd" ))->SetTitle (" Selected jets (in emcal only)" );
@@ -333,7 +343,7 @@ struct JetTriggerQA {
333343
334344 registry.get <TH3>(HIST (" hSelectedJetLowRPtEta" ))->SetTitle (" Selected jets (low threshold, in emcal only) #it{p}_{T} and #eta" );
335345 registry.get <TH3>(HIST (" hSelectedJetLowRPtPhi" ))->SetTitle (" Selected jets (low threshold, in emcal only) #it{p}_{T} and #phi" );
336- if (!b_doLightOutput){
346+ if (!b_doLightOutput) {
337347 registry.get <TH3>(HIST (" hSelectedJetLowRPtTrackPt" ))->SetTitle (" Selected jets (low threshold, in emcal only)" );
338348 registry.get <TH3>(HIST (" hSelectedJetLowRPtClusterPt" ))->SetTitle (" Selected jets (low threshold, in emcal only)" );
339349 registry.get <TH3>(HIST (" hSelectedJetLowRPtPtd" ))->SetTitle (" Selected jets (low threshold, in emcal only)" );
@@ -495,7 +505,7 @@ struct JetTriggerQA {
495505 registry.fill (HIST (" hSelectedGammaDCALPtEtaPhiVeryLow" ), clusterObservable, cluster.eta (), cluster.phi ());
496506 }
497507 } // for clusters
498- if (!b_doLightOutput) {
508+ if (!b_doLightOutput) {
499509 if (maxClusterObservableEMCAL > 0 ) {
500510 registry.fill (HIST (" hClusterEMCALMaxPtEtaPhi" ), maxClusterObservableEMCAL, maxClusterEMCAL.eta (), maxClusterEMCAL.phi ());
501511 if (hwtrg.test (EMCALHardwareTrigger::TRG_MB)) {
@@ -598,7 +608,7 @@ struct JetTriggerQA {
598608 // This gives us access to all jet substructure information
599609 // auto tracksInJet = jetTrackConstituents.sliceBy(perJetTrackConstituents, jet.globalIndex());
600610 // for (const auto& trackList : tracksInJet) {
601- if (!b_doLightOutput){
611+ if (!b_doLightOutput) {
602612 for (const auto & track : jet.template tracks_as <aod::JetTracks>()) {
603613 auto trackPt = track.pt ();
604614 auto chargeFrag = track.px () * jet.px () + track.py () * jet.py () + track.pz () * jet.pz ();
@@ -626,7 +636,7 @@ struct JetTriggerQA {
626636
627637 // auto clustersInJet = jetClusterConstituents.sliceBy(perJetClusterConstituents, jet.globalIndex());
628638 // for (const auto& clusterList : clustersInJet) {
629- if (!b_doLightOutput){
639+ if (!b_doLightOutput) {
630640 for (const auto & cluster : jet.template clusters_as <selectedClusters>()) {
631641 auto clusterPt = cluster.energy () / std::cosh (cluster.eta ());
632642 neutralEnergyFraction += cluster.energy ();
@@ -653,7 +663,7 @@ struct JetTriggerQA {
653663 // Fillng histograms
654664 registry.fill (HIST (" hJetRPtEta" ), jetR, jetPt, jet.eta ());
655665 registry.fill (HIST (" hJetRPtPhi" ), jetR, jetPt, jet.phi ());
656- if (!b_doLightOutput){
666+ if (!b_doLightOutput) {
657667 registry.fill (HIST (" hJetRPtPtd" ), jetR, jetPt, ptD);
658668 registry.fill (HIST (" hJetRPtNEF" ), jetR, jetPt, neutralEnergyFraction);
659669 registry.fill (HIST (" hJetRPtZTheta" ), jetR, jetPt, zTheta);
@@ -664,7 +674,7 @@ struct JetTriggerQA {
664674 if (isTrigger (TriggerType_t::kEmcalJetFull ) || isTrigger (TriggerType_t::kEmcalJetNeutral )) {
665675 registry.fill (HIST (" hSelectedJetRPtEta" ), jetR, jetPt, jet.eta ());
666676 registry.fill (HIST (" hSelectedJetRPtPhi" ), jetR, jetPt, jet.phi ());
667- if (!b_doLightOutput){
677+ if (!b_doLightOutput) {
668678 registry.fill (HIST (" hSelectedJetRPtPtd" ), jetR, jetPt, ptD);
669679 registry.fill (HIST (" hSelectedJetRPtNEF" ), jetR, jetPt, neutralEnergyFraction);
670680 registry.fill (HIST (" hSelectedJetRPtZTheta" ), jetR, jetPt, zTheta);
@@ -675,7 +685,7 @@ struct JetTriggerQA {
675685 if (isTrigger (TriggerType_t::kEmcalJetFullLow ) || isTrigger (TriggerType_t::kEmcalJetNeutralLow )) {
676686 registry.fill (HIST (" hSelectedJetLowRPtEta" ), jetR, jetPt, jet.eta ());
677687 registry.fill (HIST (" hSelectedJetLowRPtPhi" ), jetR, jetPt, jet.phi ());
678- if (!b_doLightOutput){
688+ if (!b_doLightOutput) {
679689 registry.fill (HIST (" hSelectedJetLowRPtPtd" ), jetR, jetPt, ptD);
680690 registry.fill (HIST (" hSelectedJetLowRPtNEF" ), jetR, jetPt, neutralEnergyFraction);
681691 registry.fill (HIST (" hSelectedJetLowRPtZTheta" ), jetR, jetPt, zTheta);
@@ -801,7 +811,7 @@ struct JetTriggerQA {
801811
802812 std::array<bool , 5 > foundMaxJet;
803813 std::fill (foundMaxJet.begin (), foundMaxJet.end (), false );
804- if (!b_doLightOutput){
814+ if (!b_doLightOutput) {
805815 for (const auto & maxJet : vecMaxJet) {
806816 double jetR = maxJet.r () * 1e-2 , jetPt = maxJet.pt (), jetEta = maxJet.eta (), jetPhi = maxJet.phi ();
807817 foundMaxJet[static_cast <int >(maxJet.r () * 1e-1 ) - 2 ] = true ;
@@ -841,7 +851,7 @@ struct JetTriggerQA {
841851 } // for maxJet
842852 }
843853 // Fill counters for events without max jets
844- if (!b_doLightOutput){
854+ if (!b_doLightOutput) {
845855 for (std::size_t ir = 0 ; ir < foundMaxJet.size (); ir++) {
846856 if (!foundMaxJet[ir]) {
847857 double rval = static_cast <double >(ir) / 10 .;
@@ -856,14 +866,15 @@ struct JetTriggerQA {
856866 }
857867 }
858868
859- if (!b_doLightOutput){
869+ if (!b_doLightOutput) {
860870 for (const auto & maxJet : vecMaxJetNoFiducial) {
861871 double jetR = maxJet.r () * 1e-2 , jetPt = maxJet.pt (), jetEta = maxJet.eta (), jetPhi = maxJet.phi ();
862872 // hJetRMaxPtEtaPhiNoFiducial->Fill(jetR, jetPt, jetEta, jetPhi);
863873 registry.get <THn>(HIST (" jetRMaxPtEtaPhiNoFiducial" ))->Fill (jetR, jetPt, jetEta, jetPhi);
864874 if (maxJet.r () == std::round (f_jetR * 100 )) {
865875 for (const auto & jet : jets) {
866- if (!b_doLightOutput) registry.fill (HIST (" hJetRMaxPtJetPtNoFiducial" ), jet.r () * 1e-2 , jetPt, jet.pt ());
876+ if (!b_doLightOutput)
877+ registry.fill (HIST (" hJetRMaxPtJetPtNoFiducial" ), jet.r () * 1e-2 , jetPt, jet.pt ());
867878 } // for jets
868879 } // if maxJet.r() == std::round(f_jetR * 100)
869880 } // for maxjet no fiducial
0 commit comments