Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -50,16 +50,12 @@ struct SVertexerParams : public o2::conf::ConfigurableParamHelper<SVertexerParam
float minRfromMeanVertex = 0.5; ///< min radial distance of V0 from beam line (mean vertex)
float maxDCAXYfromMeanVertex = 0.2; ///< min DCA of V0 from beam line (mean vertex)
float minCosPointingAngle = 0.8;

// cuts on different PID params
float pidCuts[NPIDV0][NPIDParams] = {
//
{0.001, 20, 0.6, 0.}, // Photon
{0.003, 20, 0.07, 0.5}, // K0
{0.001, 20, 0.07, 0.5}, // Lambda
{0.001, 20, 0.07, 0.5}, // AntiLambda
{0.0025, 14, 0.07, 0.5}, // HyperTriton
{0.0025, 14, 0.07, 0.5} // AntiHyperTriton
};
float pidCutsPhoton[NPIDParams] = {0.001, 20, 0.60, 0.0}; // Photon
float pidCutsK0[NPIDParams] = {0.003, 20, 0.07, 0.5}; // K0
float pidCutsLambda[NPIDParams] = {0.001, 20, 0.07, 0.5}; // Lambda
float pidCutsHTriton[NPIDParams] = {0.0025, 14, 0.07, 0.5}; // HyperTriton

O2ParamDef(SVertexerParams, "svertexer");
};
Expand Down
12 changes: 6 additions & 6 deletions Detectors/Vertexing/src/SVertexer.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ void SVertexer::init()
auto bz = o2::base::Propagator::Instance()->getNominalBz();
mFitter2Prong.setBz(bz);
//
mV0Hyps[SVertexerParams::Photon].set(PID::Photon, PID::Electron, PID::Electron, mSVParams->pidCuts[SVertexerParams::Photon], bz);
mV0Hyps[SVertexerParams::K0].set(PID::K0, PID::Pion, PID::Pion, mSVParams->pidCuts[SVertexerParams::K0], bz);
mV0Hyps[SVertexerParams::Lambda].set(PID::Lambda, PID::Proton, PID::Pion, mSVParams->pidCuts[SVertexerParams::Lambda], bz);
mV0Hyps[SVertexerParams::AntiLambda].set(PID::Lambda, PID::Pion, PID::Proton, mSVParams->pidCuts[SVertexerParams::AntiLambda], bz);
mV0Hyps[SVertexerParams::HyperTriton].set(PID::HyperTriton, PID::Helium3, PID::Pion, mSVParams->pidCuts[SVertexerParams::HyperTriton], bz);
mV0Hyps[SVertexerParams::AntiHyperTriton].set(PID::HyperTriton, PID::Pion, PID::Helium3, mSVParams->pidCuts[SVertexerParams::AntiHyperTriton], bz);
mV0Hyps[SVertexerParams::Photon].set(PID::Photon, PID::Electron, PID::Electron, mSVParams->pidCutsPhoton, bz);
mV0Hyps[SVertexerParams::K0].set(PID::K0, PID::Pion, PID::Pion, mSVParams->pidCutsK0, bz);
mV0Hyps[SVertexerParams::Lambda].set(PID::Lambda, PID::Proton, PID::Pion, mSVParams->pidCutsLambda, bz);
mV0Hyps[SVertexerParams::AntiLambda].set(PID::Lambda, PID::Pion, PID::Proton, mSVParams->pidCutsLambda, bz);
mV0Hyps[SVertexerParams::HyperTriton].set(PID::HyperTriton, PID::Helium3, PID::Pion, mSVParams->pidCutsHTriton, bz);
mV0Hyps[SVertexerParams::AntiHyperTriton].set(PID::HyperTriton, PID::Pion, PID::Helium3, mSVParams->pidCutsHTriton, bz);
//
}

Expand Down