Skip to content

Commit cdffe5f

Browse files
committed
Name of struct
1 parent dcdeb1d commit cdffe5f

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

PWGHF/D2H/Tasks/taskCharmPolarisation.cxx

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ DECLARE_SOA_TABLE(HfLcPolBkg, "AOD", "HFLCPOLBKG",
131131

132132
} // namespace o2::aod
133133

134-
struct TaskPolarisationCharmHadrons {
134+
struct HfTaskCharmPolarisation {
135135
Produces<o2::aod::HfLcPolBkg> rowCandLcBkg;
136136

137137
float massPi{0.f};
@@ -2214,7 +2214,7 @@ struct TaskPolarisationCharmHadrons {
22142214
fillMultHistos(numPvContributors, nCands, nCandsInSignalRegion);
22152215
}
22162216
}
2217-
PROCESS_SWITCH(TaskPolarisationCharmHadrons, processDstar, "Process Dstar candidates without ML", true);
2217+
PROCESS_SWITCH(HfTaskCharmPolarisation, processDstar, "Process Dstar candidates without ML", true);
22182218

22192219
// Dstar with ML cuts
22202220
void processDstarWithMl(aod::Collisions const& collisions,
@@ -2240,7 +2240,7 @@ struct TaskPolarisationCharmHadrons {
22402240
fillMultHistos(numPvContributors, nCands, nCandsInSignalRegion);
22412241
}
22422242
}
2243-
PROCESS_SWITCH(TaskPolarisationCharmHadrons, processDstarWithMl, "Process Dstar candidates with ML", false);
2243+
PROCESS_SWITCH(HfTaskCharmPolarisation, processDstarWithMl, "Process Dstar candidates with ML", false);
22442244

22452245
// Dstar in MC with rectangular cuts
22462246
void processDstarMc(aod::McCollisions::iterator const&,
@@ -2273,7 +2273,7 @@ struct TaskPolarisationCharmHadrons {
22732273
runMcGenPolarisationAnalysis<charm_polarisation::DecayChannel::DstarToDzeroPi>(mcParticle, mcParticles, numPvContributorsGen);
22742274
}
22752275
}
2276-
PROCESS_SWITCH(TaskPolarisationCharmHadrons, processDstarMc, "Process Dstar candidates in MC without ML", false);
2276+
PROCESS_SWITCH(HfTaskCharmPolarisation, processDstarMc, "Process Dstar candidates in MC without ML", false);
22772277

22782278
// Dstar in MC with ML cuts
22792279
void processDstarMcWithMl(aod::McCollisions::iterator const&,
@@ -2306,7 +2306,7 @@ struct TaskPolarisationCharmHadrons {
23062306
runMcGenPolarisationAnalysis<charm_polarisation::DecayChannel::DstarToDzeroPi>(mcParticle, mcParticles, numPvContributorsGen);
23072307
}
23082308
}
2309-
PROCESS_SWITCH(TaskPolarisationCharmHadrons, processDstarMcWithMl, "Process Dstar candidates in MC with ML", false);
2309+
PROCESS_SWITCH(HfTaskCharmPolarisation, processDstarMcWithMl, "Process Dstar candidates in MC with ML", false);
23102310

23112311
void processDstarInPbPb(CollsWithQvecs::iterator const& collision,
23122312
FilteredCandDstarWSelFlagAndMl const& dstarCandidates,
@@ -2332,7 +2332,7 @@ struct TaskPolarisationCharmHadrons {
23322332
}
23332333
fillMultHistos(numPvContributors, nCands, nCandsInSignalRegion);
23342334
}
2335-
PROCESS_SWITCH(TaskPolarisationCharmHadrons, processDstarInPbPb, "Process Dstar candidates in PbPb collisions", false);
2335+
PROCESS_SWITCH(HfTaskCharmPolarisation, processDstarInPbPb, "Process Dstar candidates in PbPb collisions", false);
23362336

23372337
void processDstarWithMlInPbPb(CollsWithQvecs::iterator const& collision,
23382338
FilteredCandDstarWSelFlagAndMl const& dstarCandidates,
@@ -2358,7 +2358,7 @@ struct TaskPolarisationCharmHadrons {
23582358
}
23592359
fillMultHistos(numPvContributors, nCands, nCandsInSignalRegion);
23602360
}
2361-
PROCESS_SWITCH(TaskPolarisationCharmHadrons, processDstarWithMlInPbPb, "Process Dstar candidates with ML in PbPb collisions", false);
2361+
PROCESS_SWITCH(HfTaskCharmPolarisation, processDstarWithMlInPbPb, "Process Dstar candidates with ML in PbPb collisions", false);
23622362

23632363
void processDstarMcInPbPb(GenCollisWithQvecs::iterator const& collision,
23642364
McParticlesDstarMatched const& mcParticles,
@@ -2397,7 +2397,7 @@ struct TaskPolarisationCharmHadrons {
23972397
runMcGenPolarisationAnalysis<charm_polarisation::DecayChannel::DstarToDzeroPi>(mcParticle, mcParticles, numPvContributorsGen);
23982398
}
23992399
}
2400-
PROCESS_SWITCH(TaskPolarisationCharmHadrons, processDstarMcInPbPb, "Process Dstar candidates in PbPb MC without ML", false);
2400+
PROCESS_SWITCH(HfTaskCharmPolarisation, processDstarMcInPbPb, "Process Dstar candidates in PbPb MC without ML", false);
24012401

24022402
void processDstarMcWithMlInPbPb(GenCollisWithQvecs::iterator const& collision,
24032403
McParticlesDstarMatched const& mcParticles,
@@ -2436,7 +2436,7 @@ struct TaskPolarisationCharmHadrons {
24362436
runMcGenPolarisationAnalysis<charm_polarisation::DecayChannel::DstarToDzeroPi>(mcParticle, mcParticles, numPvContributorsGen);
24372437
}
24382438
}
2439-
PROCESS_SWITCH(TaskPolarisationCharmHadrons, processDstarMcWithMlInPbPb, "Process Dstar candidates in PbPb MC with ML", false);
2439+
PROCESS_SWITCH(HfTaskCharmPolarisation, processDstarMcWithMlInPbPb, "Process Dstar candidates in PbPb MC with ML", false);
24402440

24412441
////////////////////////////
24422442
// Lc->pKpi analysis ///
@@ -2467,7 +2467,7 @@ struct TaskPolarisationCharmHadrons {
24672467
fillMultHistos(numPvContributors, nCands, nCandsInSignalRegion);
24682468
}
24692469
}
2470-
PROCESS_SWITCH(TaskPolarisationCharmHadrons, processLcToPKPi, "Process Lc candidates without ML", false);
2470+
PROCESS_SWITCH(HfTaskCharmPolarisation, processLcToPKPi, "Process Lc candidates without ML", false);
24712471

24722472
// Lc->pKpi with ML cuts
24732473
void processLcToPKPiWithMl(aod::Collisions const& collisions,
@@ -2494,7 +2494,7 @@ struct TaskPolarisationCharmHadrons {
24942494
fillMultHistos(numPvContributors, nCands, nCandsInSignalRegion);
24952495
}
24962496
}
2497-
PROCESS_SWITCH(TaskPolarisationCharmHadrons, processLcToPKPiWithMl, "Process Lc candidates with ML", false);
2497+
PROCESS_SWITCH(HfTaskCharmPolarisation, processLcToPKPiWithMl, "Process Lc candidates with ML", false);
24982498

24992499
// Lc->pKpi in MC with rectangular cuts
25002500
void processLcToPKPiMc(aod::McCollisions::iterator const&,
@@ -2527,7 +2527,7 @@ struct TaskPolarisationCharmHadrons {
25272527
runMcGenPolarisationAnalysis<charm_polarisation::DecayChannel::LcToPKPi>(mcParticle, mcParticles, numPvContributorsGen);
25282528
}
25292529
}
2530-
PROCESS_SWITCH(TaskPolarisationCharmHadrons, processLcToPKPiMc, "Process Lc candidates in MC without ML", false);
2530+
PROCESS_SWITCH(HfTaskCharmPolarisation, processLcToPKPiMc, "Process Lc candidates in MC without ML", false);
25312531

25322532
// Lc->pKpi in MC with ML cuts
25332533
void processLcToPKPiMcWithMl(aod::McCollisions::iterator const&,
@@ -2560,7 +2560,7 @@ struct TaskPolarisationCharmHadrons {
25602560
runMcGenPolarisationAnalysis<charm_polarisation::DecayChannel::LcToPKPi>(mcParticle, mcParticles, numPvContributorsGen);
25612561
}
25622562
}
2563-
PROCESS_SWITCH(TaskPolarisationCharmHadrons, processLcToPKPiMcWithMl, "Process Lc candidates in MC with ML", false);
2563+
PROCESS_SWITCH(HfTaskCharmPolarisation, processLcToPKPiMcWithMl, "Process Lc candidates in MC with ML", false);
25642564

25652565
// Lc->pKpi in MC with ML cuts w/o mcCollision grouping (to study Lc background)
25662566
void processLcToPKPiBackgroundMcWithMl(McParticles3ProngMatched const& mcParticles,
@@ -2575,10 +2575,10 @@ struct TaskPolarisationCharmHadrons {
25752575
runMcGenPolarisationAnalysis<charm_polarisation::DecayChannel::LcToPKPi>(mcParticle, mcParticles, /*numPvContributorsGen*/ -1);
25762576
}
25772577
}
2578-
PROCESS_SWITCH(TaskPolarisationCharmHadrons, processLcToPKPiBackgroundMcWithMl, "Process Lc candidates in MC with ML w/o mcCollision grouping", false);
2578+
PROCESS_SWITCH(HfTaskCharmPolarisation, processLcToPKPiBackgroundMcWithMl, "Process Lc candidates in MC with ML w/o mcCollision grouping", false);
25792579
};
25802580

25812581
WorkflowSpec defineDataProcessing(ConfigContext const& cfgc)
25822582
{
2583-
return WorkflowSpec{adaptAnalysisTask<TaskPolarisationCharmHadrons>(cfgc)};
2583+
return WorkflowSpec{adaptAnalysisTask<HfTaskCharmPolarisation>(cfgc)};
25842584
}

0 commit comments

Comments
 (0)