Skip to content

Commit bd6890c

Browse files
committed
fix build issue
1 parent 1380a8d commit bd6890c

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

PWGCF/JCorran/Tasks/jFlucEfficiencyTask.cxx

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -189,13 +189,13 @@ struct JFlucEfficiencyTask {
189189
if (isMC) {
190190
// Generated (MC) histograms - pT has all variations
191191
registry.add(Form("hPtGen%s", prefix.c_str()),
192-
Form("Generated p_{T} %s;p_{T} (GeV/c);Centrality (%);Counts", prefix.c_str()),
192+
Form("Generated p_{T} %s;p_{T} (GeV/c);Centrality (%%);Counts", prefix.c_str()),
193193
{HistType::kTH2F, {AxisSpec(axisPt), AxisSpec(axisMultiplicity)}});
194194
}
195195

196196
// Reconstructed histograms - pT has all variations
197197
registry.add(Form("hPtRec%s", prefix.c_str()),
198-
Form("Reconstructed p_{T} %s;p_{T} (GeV/c);Centrality (%);Counts", prefix.c_str()),
198+
Form("Reconstructed p_{T} %s;p_{T} (GeV/c);Centrality (%%);Counts", prefix.c_str()),
199199
{HistType::kTH2F, {AxisSpec(axisPt), AxisSpec(axisMultiplicity)}});
200200
};
201201

@@ -403,7 +403,7 @@ struct JFlucEfficiencyTask {
403403
Preslice<TrackCandidates> perCollision = aod::track::collisionId;
404404
// Common histogram filling function for tracks
405405
template <typename TrackType>
406-
void fillTrackHistograms(const TrackType& track, float centrality, bool isMC = false)
406+
void fillTrackHistograms(const TrackType& track, float centrality)
407407
{
408408
// Basic pT and eta histograms
409409
registry.fill(HIST("hPtRec"), track.pt(), centrality);
@@ -554,7 +554,6 @@ struct JFlucEfficiencyTask {
554554

555555
// Fill MC particle histograms
556556
for (const auto& particle : mcParticles) {
557-
auto charge = getCharge(particle);
558557
if ((!particle.isPhysicalPrimary()) || !isChargedParticle(particle.pdgCode())) {
559558
continue;
560559
}
@@ -650,7 +649,6 @@ struct JFlucEfficiencyTask {
650649

651650
// Fill MC particle histograms
652651
for (const auto& particle : mcParticles) {
653-
auto charge = getCharge(particle);
654652
if (!isChargedParticle(particle.pdgCode())) {
655653
continue;
656654
}
@@ -753,7 +751,6 @@ struct JFlucEfficiencyTask {
753751

754752
// Fill MC particle histograms
755753
for (const auto& particle : mcParticles) {
756-
auto charge = getCharge(particle);
757754
if ((!particle.isPhysicalPrimary()) || !isChargedParticle(particle.pdgCode())) {
758755
continue;
759756
}

0 commit comments

Comments
 (0)