Skip to content

Commit 7fba53b

Browse files
committed
Fix error messages relevant to name of variables
1 parent fc7f7c8 commit 7fba53b

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

PWGUD/Tasks/processMCDPMJetSGv3.cxx

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,9 @@
88
// In applying this license CERN does not waive the privileges and immunities
99
// granted to it by virtue of its status as an Intergovernmental Organization
1010
// or submit itself to any jurisdiction.
11-
///
12-
/// \brief This task is an empty skeleton that fills a simple eta histogram.
13-
/// it is meant to be a blank page for further developments.
14-
/// \author everyone
11+
/// \file Task for the analysis of inclusive MC for spectra.
12+
/// \brief Task for the analysis of inclusive MC for spectra.
13+
/// \author Simone Ragoni
1514

1615
#include "Framework/runDataProcessing.h"
1716
#include "Framework/AnalysisTask.h"
@@ -232,8 +231,8 @@ struct ProcessMCDPMJetSGv3 {
232231
aod::UDMcParticles const& mcParticles)
233232
{
234233
histos.fill(HIST("numberOfRecoCollisions"), 2.); // number of times coll was reco-ed
235-
Partition<TCs> PVContributors = aod::udtrack::isPVContributor == true;
236-
PVContributors.bindTable(tracks);
234+
Partition<TCs> pvContributors = aod::udtrack::isPVContributor == true;
235+
pvContributors.bindTable(tracks);
237236

238237
// auto massPion = 0.;
239238
// TParticlePDG pionPDG = fPDG->GetParticle(codePion);
@@ -248,13 +247,13 @@ struct ProcessMCDPMJetSGv3 {
248247
histos.fill(HIST("numberOfTracksReco"), tracks.size());
249248
double etaMax = 0.8;
250249
double ptMin = 0.1;
251-
int NFindableMin = 70;
250+
int nFindableMin = 70;
252251

253252
int counter = 0;
254253
for (auto& track : tracks) {
255254
if (track.isPVContributor()) {
256-
int NFindable = track.tpcNClsFindable();
257-
if (NFindable < ptMin) {
255+
int nFindable = track.tpcNClsFindable();
256+
if (nFindable < nFindableMin) {
258257
continue;
259258
}
260259
// int NMinusFound = track.tpcNClsFindableMinusFound();

0 commit comments

Comments
 (0)