Skip to content

Commit

Permalink
added DZXYIni
Browse files Browse the repository at this point in the history
  • Loading branch information
f3sch committed Nov 16, 2023
1 parent 37e48cd commit 1b6e6d2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ struct SVertexerParams : public o2::conf::ConfigurableParamHelper<SVertexerParam
float minParamChange = 1e-3; ///< stop when tracks X-params being minimized change by less that this value
float minRelChi2Change = 0.9; ///< stop when chi2 changes by less than this value
float maxDZIni = 5.; ///< don't consider as a seed (circles intersection) if Z distance exceeds this
float maxDXYIni = 4.; ///< don't consider as a seed (circles intersection) if XY distance exceeds this
float maxRIni = 150; ///< don't consider as a seed (circles intersection) if its R exceeds this
//
// propagation options
Expand Down
4 changes: 4 additions & 0 deletions Detectors/Vertexing/src/SVertexer.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,7 @@ void SVertexer::setupThreads()
fitter.setMinParamChange(mSVParams->minParamChange);
fitter.setMinRelChi2Change(mSVParams->minRelChi2Change);
fitter.setMaxDZIni(mSVParams->maxDZIni);
fitter.setMaxDXYIni(mSVParams->maxDXYIni);
fitter.setMaxChi2(mSVParams->maxChi2);
fitter.setMatCorrType(o2::base::Propagator::MatCorrType(mSVParams->matCorr));
fitter.setUsePropagator(mSVParams->usePropagator);
Expand All @@ -365,6 +366,7 @@ void SVertexer::setupThreads()
fitter.setMinParamChange(mSVParams->minParamChange);
fitter.setMinRelChi2Change(mSVParams->minRelChi2Change);
fitter.setMaxDZIni(mSVParams->maxDZIni);
fitter.setMaxDXYIni(mSVParams->maxDXYIni);
fitter.setMaxChi2(mSVParams->maxChi2);
fitter.setMatCorrType(o2::base::Propagator::MatCorrType(mSVParams->matCorr));
fitter.setUsePropagator(mSVParams->usePropagator);
Expand All @@ -385,6 +387,7 @@ void SVertexer::setupThreads()
fitter.setMinParamChange(mSVParams->minParamChange);
fitter.setMinRelChi2Change(mSVParams->minRelChi2Change);
fitter.setMaxDZIni(mSVParams->maxDZIni);
fitter.setMaxDXYIni(mSVParams->maxDXYIni);
fitter.setMaxChi2(mSVParams->maxChi2);
fitter.setMatCorrType(o2::base::Propagator::MatCorrType(mSVParams->matCorr));
fitter.setUsePropagator(mSVParams->usePropagator);
Expand Down Expand Up @@ -611,6 +614,7 @@ bool SVertexer::checkV0(const TrackCand& seedP, const TrackCand& seedN, int iP,
// (pV0Abs * seedN.getP());
// float pL1 = p1 * seedP.getP();
// float pL2 = p2 * seedN.getP();
// float alpha = (pL1-pL2)/(pL1+pL2);
float pT1 = pPos * std::sqrt(1 - p1);
if (pT1 > mSVParams->pidCutsPhotonAP) {
hypCheckStatus[HypV0::Photon] = false;
Expand Down

0 comments on commit 1b6e6d2

Please sign in to comment.