Skip to content

Commit 52e7f91

Browse files
authored
Uncomment MC processing for Run2 and Run3
1 parent 04fe7f6 commit 52e7f91

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

PWGCF/TwoParticleCorrelations/Tasks/lambdaSpinPolarization.cxx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,7 @@ struct LambdaTableProducer {
468468
histos.addClone("McRec/Lambda/", "McRec/AntiLambda/");
469469

470470
// MC Generated Histograms
471-
/* if (doprocessMCRun3 || doprocessMCRun2 || doprocessMCRecoRun3 || doprocessMCRecoRun2) {
471+
if (doprocessMCRun3 || doprocessMCRun2 /*|| doprocessMCRecoRun3 || doprocessMCRecoRun2*/) {
472472
// McReco Histos
473473
histos.add("Tracks/h2f_tracks_pid_before_sel", "PIDs", kTH2F, {axisPID, axisV0Pt});
474474
histos.add("Tracks/h2f_tracks_pid_after_sel", "PIDs", kTH2F, {axisPID, axisV0Pt});
@@ -508,7 +508,7 @@ struct LambdaTableProducer {
508508
histos.get<TH1>(HIST("Tracks/h1f_tracks_info"))->GetXaxis()->SetBinLabel(TrackLabels::kGenLambdaNoDau, "kGenLambdaNoDau");
509509
histos.get<TH1>(HIST("Tracks/h1f_tracks_info"))->GetXaxis()->SetBinLabel(TrackLabels::kGenLambdaToPrPi, "kGenLambdaToPrPi");
510510
}
511-
*/
511+
512512
// set bin labels
513513
histos.get<TH1>(HIST("Events/h1f_collisions_info"))->GetXaxis()->SetBinLabel(CollisionLabels::kTotCol, "kTotCol");
514514
histos.get<TH1>(HIST("Events/h1f_collisions_info"))->GetXaxis()->SetBinLabel(CollisionLabels::kPassSelCol, "kPassSelCol");
@@ -1340,7 +1340,7 @@ struct LambdaTableProducer {
13401340
return;
13411341
}
13421342
fillLambdaRecoTables<kRun2, kMC>(collision, V0s, tracks);
1343-
}
1343+
} */
13441344

13451345
// PROCESS_SWITCH(LambdaTableProducer, processMCRecoRun2, "Process for Run2 McReco DATA", false);
13461346

@@ -1352,7 +1352,7 @@ struct LambdaTableProducer {
13521352
analyzeMcRecoGen<kRun3, kMC>(mcCollision, collisions, V0s, tracks, mcParticles);
13531353
}
13541354

1355-
// PROCESS_SWITCH(LambdaTableProducer, processMCRun3, "Process for Run3 MC RecoGen", false);
1355+
PROCESS_SWITCH(LambdaTableProducer, processMCRun3, "Process for Run3 MC RecoGen", false);
13561356

13571357
void processMCRun2(aod::McCollisions::iterator const& mcCollision,
13581358
soa::SmallGroups<soa::Join<CollisionsRun2, aod::McCollisionLabels>> const& collisions,
@@ -1362,7 +1362,7 @@ struct LambdaTableProducer {
13621362
analyzeMcRecoGen<kRun2, kMC>(mcCollision, collisions, V0s, tracks, mcParticles);
13631363
}
13641364

1365-
PROCESS_SWITCH(LambdaTableProducer, processMCRun2, "Process for Run2 MC RecoGen", false);*/
1365+
PROCESS_SWITCH(LambdaTableProducer, processMCRun2, "Process for Run2 MC RecoGen", false);
13661366
};
13671367

13681368
struct LambdaTracksExtProducer {

0 commit comments

Comments
 (0)