From d69174dc35f5d284b448c28e19f8b1872155b760 Mon Sep 17 00:00:00 2001 From: ALICE Action Bot Date: Thu, 16 Nov 2023 20:10:11 +0000 Subject: [PATCH] Please consider the following formatting changes --- .../include/DetectorsVertexing/SVertexerParams.h | 6 +++--- Detectors/Vertexing/src/SVertexer.cxx | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Detectors/Vertexing/include/DetectorsVertexing/SVertexerParams.h b/Detectors/Vertexing/include/DetectorsVertexing/SVertexerParams.h index f07ccc66cd5ac..0db75062bcc84 100644 --- a/Detectors/Vertexing/include/DetectorsVertexing/SVertexerParams.h +++ b/Detectors/Vertexing/include/DetectorsVertexing/SVertexerParams.h @@ -95,11 +95,11 @@ struct SVertexerParams : public o2::conf::ConfigurableParamHelper minMomTPCdEdx are always accepted float minMomTPCdEdx = 0.8; // minimum p for tracks with dEdx > mMinTPCdEdx to be accepted - uint8_t mITSSAminNclu = 6; // require at least this many ITS clusters if no TPC info present + uint8_t mITSSAminNclu = 6; // require at least this many ITS clusters if no TPC info present bool mRequireTPCforCascBaryons = true; // require that baryon daughter of cascade has TPC - + // percent deviation from expected proton dEdx - to be replaced - estimated sigma from TPC for now 6%; a 6*sigma cut is therefore 36% = 0.36f. Any value above 1.0f will be ignored manually when checking. - float mFractiondEdxforCascBaryons = 0.36f; + float mFractiondEdxforCascBaryons = 0.36f; // cuts on different V0 PID params bool checkV0Hypothesis = true; diff --git a/Detectors/Vertexing/src/SVertexer.cxx b/Detectors/Vertexing/src/SVertexer.cxx index 6f92217639b56..00b268fccec89 100644 --- a/Detectors/Vertexing/src/SVertexer.cxx +++ b/Detectors/Vertexing/src/SVertexer.cxx @@ -302,7 +302,7 @@ void SVertexer::updateTimeDependentParams() ft.setBz(bz); } - // TPC dE/dx usage information + // TPC dE/dx usage information // default: average 2023 from C. Sonnabend, Nov 2023: ([0.217553 4.02762 0.00850178 2.33324 0.880904 ]) // to-do: grab from CCDB when available -> discussion with TPC experts, not available yet const float bbPars[] = {0.217553, 4.02762, 0.00850178, 2.33324, 0.880904}; @@ -499,7 +499,7 @@ void SVertexer::buildT2V(const o2::globaltracking::RecoContainer& recoData) // a auto protonId = o2::track::PID::Proton; float dEdxExpected = mPIDresponse.getExpectedSignal(tpcTrack, protonId); float fracDevProton = std::abs((dEdxTPC - dEdxExpected) / dEdxExpected); - if(fracDevProtonmFractiondEdxforCascBaryons){ + if (fracDevProton < mSVParams->mFractiondEdxforCascBaryons) { compatibleWithProton = true; } } @@ -519,7 +519,7 @@ void SVertexer::buildT2V(const o2::globaltracking::RecoContainer& recoData) // a continue; } - if(!hasTPC && nITSclu < mSVParams->mITSSAminNclu){ + if (!hasTPC && nITSclu < mSVParams->mITSSAminNclu) { continue; // reject track if no TPC && below minimum N ITS clusters } @@ -612,7 +612,7 @@ bool SVertexer::checkV0(const TrackCand& seedP, const TrackCand& seedN, int iP, if (mV0Hyps[Lambda].checkTight(p2Pos, p2Neg, p2V0, ptV0) && ptV0 > mSVParams->minPtV0FromCascade && (!mSVParams->mRequireTPCforCascBaryons || seedP.hasTPC) && seedP.compatibleProton) { goodLamForCascade = true; } - if (mV0Hyps[AntiLambda].checkTight(p2Pos, p2Neg, p2V0, ptV0) && ptV0 > mSVParams->minPtV0FromCascade &&(!mSVParams->mRequireTPCforCascBaryons || seedN.hasTPC && seedN.compatibleProton)) { + if (mV0Hyps[AntiLambda].checkTight(p2Pos, p2Neg, p2V0, ptV0) && ptV0 > mSVParams->minPtV0FromCascade && (!mSVParams->mRequireTPCforCascBaryons || seedN.hasTPC && seedN.compatibleProton)) { goodALamForCascade = true; }