Skip to content

Commit ea06cbe

Browse files
authored
Merge pull request #3 from alibuild/alibot-cleanup-8565
[PWGJE] Please consider the following formatting changes to AliceO2Group#8565
2 parents 70435ee + 1d3a4aa commit ea06cbe

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

PWGJE/DataModel/GammaJetAnalysisTree.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ DECLARE_SOA_COLUMN(LeadingTrackPt, leadingtrackpt, float);
7373
DECLARE_SOA_COLUMN(PerpConeRho, perpconerho, float);
7474
DECLARE_SOA_COLUMN(NConstituents, nConstituents, ushort);
7575
} // namespace gjchjet
76-
DECLARE_SOA_TABLE(GjChargedJets, "AOD", "GJCHJET", gjchjet::GjEventId, gjchjet::Pt, gjchjet::Eta, gjchjet::Phi, gjchjet::Radius, gjchjet::Energy, gjchjet::Mass, gjchjet::Area, gjchjet::LeadingTrackPt,gjchjet::PerpConeRho,gjchjet::NConstituents)
76+
DECLARE_SOA_TABLE(GjChargedJets, "AOD", "GJCHJET", gjchjet::GjEventId, gjchjet::Pt, gjchjet::Eta, gjchjet::Phi, gjchjet::Radius, gjchjet::Energy, gjchjet::Mass, gjchjet::Area, gjchjet::LeadingTrackPt, gjchjet::PerpConeRho, gjchjet::NConstituents)
7777
} // namespace o2::aod
7878

7979
#endif // PWGJE_DATAMODEL_GAMMAJETANALYSISTREE_H_

PWGJE/Tasks/gammajettreeproducer.cxx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ struct GammaJetTreeProducer {
108108
const o2Axis energyAxis{100, 0, 100, "E (GeV)"};
109109
const o2Axis m02Axis{100, 0, 3, "m02"};
110110
const o2Axis etaAxis{100, -1, 1, "#eta"};
111-
const o2Axis phiAxis{100, 0 , 2*TMath::Pi(), "#phi"};
111+
const o2Axis phiAxis{100, 0, 2 * TMath::Pi(), "#phi"};
112112
const o2Axis occupancyAxis{300, 0, 30000, "occupancy"};
113113
mHistograms.add("clusterE", "Energy of cluster", o2HistType::kTH1F, {energyAxis});
114114
mHistograms.add("trackPt", "pT of track", o2HistType::kTH1F, {ptAxis});
@@ -266,7 +266,7 @@ struct GammaJetTreeProducer {
266266
auto emcTracksPerTrack = emctracks.sliceBy(EMCTrackPerTrack, track.globalIndex());
267267
auto emcTrack = emcTracksPerTrack.iteratorAt(0);
268268
// find closest track that still has E/p < trackMatchingEoverP
269-
if (cluster.energy()/track.p() > trackMatchingEoverP) {
269+
if (cluster.energy() / track.p() > trackMatchingEoverP) {
270270
continue;
271271
} else {
272272
dEta = cluster.eta() - emcTrack.etaEmcal();
@@ -295,7 +295,7 @@ struct GammaJetTreeProducer {
295295
return;
296296
}
297297
float leadingTrackPt = 0;
298-
ushort nconst = 0;
298+
ushort nconst = 0;
299299
// loop over charged jets
300300
for (auto jet : chargedJets) {
301301
if (jet.pt() < jetPtMin)

0 commit comments

Comments
 (0)