Skip to content

Commit 44af01e

Browse files
committed
Add MC analysis to debug-V0 task
1 parent 17f5d87 commit 44af01e

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

PWGCF/FemtoUniverse/Tasks/femtoUniverseDebugV0.cxx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ struct FemtoUniverseDebugV0 {
7373

7474
Configurable<bool> confIsMC{"confIsMC", false, "Enable additional histograms in the case of a Monte Carlo run"};
7575

76-
7776
/// Partitioning
7877
using FemtoFullParticles = soa::Join<aod::FDParticles, aod::FDExtParticles>;
7978
Partition<FemtoFullParticles> partsOne = (aod::femtouniverseparticle::partType == uint8_t(aod::femtouniverseparticle::ParticleType::kV0)) && ((aod::femtouniverseparticle::cut & V0configs.confCutV0) == V0configs.confCutV0);
@@ -82,7 +81,6 @@ struct FemtoUniverseDebugV0 {
8281

8382
Preslice<FemtoFullParticles> perCol = aod::femtouniverseparticle::fdCollisionId;
8483

85-
8684
/// Histogramming
8785
FemtoUniverseEventHisto eventHisto;
8886
FemtoUniverseParticleHisto<aod::femtouniverseparticle::ParticleType::kV0Child, 3> positiveChildHistos;
@@ -94,7 +92,6 @@ struct FemtoUniverseDebugV0 {
9492
HistogramRegistry V0Registry{"FullV0QA", {}, OutputObjHandlingPolicy::AnalysisObject}; // o2-linter: disable=name/function-variable
9593
HistogramRegistry thetaRegistry{"ThetaQA", {}, OutputObjHandlingPolicy::AnalysisObject};
9694

97-
9895
void init(InitContext&)
9996
{
10097
eventHisto.init(&eventRegistry);
@@ -111,7 +108,6 @@ struct FemtoUniverseDebugV0 {
111108
thetaRegistry.add("Theta/NegativeChild/hThetaPhi", " ; #phi; cos(#theta)", kTH2F, {{100, -1, 7}, {110, -1.1, 1.1}});
112109
}
113110

114-
115111
/// Produce QA plots for V0 and its children on real data
116112
void processData(o2::aod::FdCollision const& col, FemtoFullParticles const& parts)
117113
{
@@ -154,7 +150,6 @@ struct FemtoUniverseDebugV0 {
154150
}
155151
PROCESS_SWITCH(FemtoUniverseDebugV0, processData, "Enable processing on real data", true);
156152

157-
158153
/// Produce QA plots for V0 and its children on MonteCarlo data
159154
void processMC(o2::aod::FdCollision const& col, soa::Join<FemtoFullParticles, aod::FDMCLabels> const& parts, o2::aod::FdMCParticles const&)
160155
{
@@ -198,7 +193,6 @@ struct FemtoUniverseDebugV0 {
198193
PROCESS_SWITCH(FemtoUniverseDebugV0, processMC, "Enable processing on Monte Carlo", false);
199194
};
200195

201-
202196
WorkflowSpec
203197
defineDataProcessing(ConfigContext const& cfgc)
204198
{

0 commit comments

Comments
 (0)