Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion PWGJE/DataModel/GammaJetAnalysisTree.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ DECLARE_SOA_COLUMN(LeadingTrackPt, leadingtrackpt, float);
DECLARE_SOA_COLUMN(PerpConeRho, perpconerho, float);
DECLARE_SOA_COLUMN(NConstituents, nConstituents, ushort);
} // namespace gjchjet
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)
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)
} // namespace o2::aod

#endif // PWGJE_DATAMODEL_GAMMAJETANALYSISTREE_H_
6 changes: 3 additions & 3 deletions PWGJE/Tasks/gammajettreeproducer.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ struct GammaJetTreeProducer {
const o2Axis energyAxis{100, 0, 100, "E (GeV)"};
const o2Axis m02Axis{100, 0, 3, "m02"};
const o2Axis etaAxis{100, -1, 1, "#eta"};
const o2Axis phiAxis{100, 0 , 2*TMath::Pi(), "#phi"};
const o2Axis phiAxis{100, 0, 2 * TMath::Pi(), "#phi"};
const o2Axis occupancyAxis{300, 0, 30000, "occupancy"};
mHistograms.add("clusterE", "Energy of cluster", o2HistType::kTH1F, {energyAxis});
mHistograms.add("trackPt", "pT of track", o2HistType::kTH1F, {ptAxis});
Expand Down Expand Up @@ -266,7 +266,7 @@ struct GammaJetTreeProducer {
auto emcTracksPerTrack = emctracks.sliceBy(EMCTrackPerTrack, track.globalIndex());
auto emcTrack = emcTracksPerTrack.iteratorAt(0);
// find closest track that still has E/p < trackMatchingEoverP
if (cluster.energy()/track.p() > trackMatchingEoverP) {
if (cluster.energy() / track.p() > trackMatchingEoverP) {
continue;
} else {
dEta = cluster.eta() - emcTrack.etaEmcal();
Expand Down Expand Up @@ -295,7 +295,7 @@ struct GammaJetTreeProducer {
return;
}
float leadingTrackPt = 0;
ushort nconst = 0;
ushort nconst = 0;
// loop over charged jets
for (auto jet : chargedJets) {
if (jet.pt() < jetPtMin)
Expand Down
Loading