Skip to content

Commit 70d25dc

Browse files
committed
[xic0xicp] Removed unnecessary header, Included multiplicity processes in init function
1 parent 7fbd081 commit 70d25dc

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

PWGHF/TableProducer/candidateCreatorXic0XicpToHadronic.cxx

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
#include "Common/DataModel/CollisionAssociationTables.h"
3030
#include "PWGHF/DataModel/CandidateReconstructionTables.h"
3131
#include "PWGHF/DataModel/CandidateSelectionTables.h"
32-
#include "PWGHF/Core/CentralityEstimation.h" // -> This was updated --> no use
3332
#include "PWGLF/DataModel/mcCentrality.h"
3433
#include "PWGLF/DataModel/LFStrangenessTables.h"
3534
#include "Common/DataModel/EventSelection.h"
@@ -171,15 +170,11 @@ struct HfCandidateCreatorXic0XicpToHadronic {
171170

172171
void init(InitContext const&)
173172
{
174-
//std::vector<bool> allProcesses{doprocessXic0WithDCAFitterNoCent, doprocessXic0WithKFParticleNoCent, doprocessXicpWithDCAFitterNoCent, doprocessXicpWithKFParticleNoCent, doprocessCollisionsNoCent};
175-
std::vector<bool> processesXic0{doprocessXic0WithDCAFitterNoCent, doprocessXic0WithKFParticleNoCent};
176-
std::vector<bool> processesXicp{doprocessXicpWithDCAFitterNoCent, doprocessXicpWithKFParticleNoCent};
177-
std::vector<bool> processesCollMonitoring{doprocessCollisionsNoCent};
178-
179-
// Exit if workflow is not configured correctly - None of the workflows were enablec
180-
//if (std::accumulate(allProcesses.begin(), allProcesses.end(), 0) == 0) {
181-
// LOGP(fatal, "No process function enabled or More than one process function enabled. Select one process function");
182-
//}
173+
std::vector<bool> processesXic0{doprocessXic0WithDCAFitterNoCent, doprocessXic0WithDCAFitterCentFT0C, doprocessXic0WithDCAFitterCentFT0M,
174+
doprocessXic0WithKFParticleNoCent, doprocessXic0WithKFParticleCentFT0C, doprocessXic0WithKFParticleCentFT0M};
175+
std::vector<bool> processesXicp{doprocessXicpWithDCAFitterNoCent, doprocessXicpWithDCAFitterCentFT0C, doprocessXicpWithDCAFitterCentFT0M,
176+
doprocessXicpWithKFParticleNoCent, doprocessXicpWithKFParticleCentFT0C, doprocessXicpWithKFParticleCentFT0M};
177+
std::vector<bool> processesCollMonitoring{doprocessCollisionsNoCent, doprocessCollisionsCentFT0C, doprocessCollisionsCentFT0M};
183178

184179
// Exit if workflow is not configured correctly - More than one process enabled for Xic0
185180
if (std::accumulate(processesXic0.begin(), processesXic0.end(), 0) > 1) {

0 commit comments

Comments
 (0)