Skip to content

Commit 23e9319

Browse files
ddobrigkalibuild
andauthored
Allow OB ITSonly (#12420)
* Allow OB ITSonly * Please consider the following formatting changes * Rename to avoid confusion * Please consider the following formatting changes --------- Co-authored-by: ALICE Action Bot <alibuild@cern.ch>
1 parent e120cd4 commit 23e9319

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

Detectors/Vertexing/include/DetectorsVertexing/SVertexerParams.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ struct SVertexerParams : public o2::conf::ConfigurableParamHelper<SVertexerParam
110110

111111
uint8_t mITSSAminNclu = 6; // global requirement of at least this many ITS clusters if no TPC info present (N.B.: affects all secondary vertexing)
112112
uint8_t mITSSAminNcluCascades = 6; // require at least this many ITS clusters if no TPC info present for cascade finding.
113+
bool mRejectITSonlyOBtrack = false; // reject tracks in OB with 4 hits (keep false for more low pt conversions)
113114
bool mRequireTPCforCascBaryons = true; // require that baryon daughter of cascade has TPC
114115
bool mSkipTPCOnlyCascade = true; // skip TPC only tracks when doing cascade finding
115116
bool mSkipTPCOnly3Body = true; // skip TPC only tracks when doing cascade finding
@@ -135,8 +136,8 @@ struct SVertexerParams : public o2::conf::ConfigurableParamHelper<SVertexerParam
135136
//
136137
// cuts on different Cascade PID params
137138
bool checkCascadeHypothesis = true;
138-
float pidCutsXiMinus[SVertexHypothesis::NPIDParams] = {0.0, 10, 0.0, 4.0, 0.0, 1.56315e-03, 2.23279e-04, 2.75136e-02, 3.309}; // XiMinus
139-
float pidCutsOmegaMinus[SVertexHypothesis::NPIDParams] = {0.0, 10, 0.0, 4.0, 0.0, 1.43572e-03, 6.94416e-04, 2.13534e+05, 1.48889e+01}; // OmegaMinus
139+
float pidCutsXiMinus[SVertexHypothesis::NPIDParams] = {0.0, 15, 0.01, 4.0, 0.0, 1.56315e-03, 2.23279e-04, 2.75136e-02, 3.309}; // XiMinus
140+
float pidCutsOmegaMinus[SVertexHypothesis::NPIDParams] = {0.0, 15, 0.01, 4.0, 0.0, 1.43572e-03, 6.94416e-04, 2.13534e+05, 1.48889e+01}; // OmegaMinus
140141
float maximalCascadeWidth = 0.006;
141142
//
142143
// cuts on different 3 body PID params

Detectors/Vertexing/src/SVertexer.cxx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -513,11 +513,15 @@ void SVertexer::buildT2V(const o2::globaltracking::RecoContainer& recoData) // a
513513

514514
// get Nclusters in the ITS if available
515515
int8_t nITSclu = -1;
516+
bool shortOBITSOnlyTrack = false;
516517
auto itsGID = recoData.getITSContributorGID(tvid);
517518
if (itsGID.getSource() == GIndex::ITS) {
518519
if (isITSloaded) {
519520
auto& itsTrack = recoData.getITSTrack(itsGID);
520521
nITSclu = itsTrack.getNumberOfClusters();
522+
if (itsTrack.hasHitOnLayer(6) && itsTrack.hasHitOnLayer(5) && itsTrack.hasHitOnLayer(4) && itsTrack.hasHitOnLayer(3)) {
523+
shortOBITSOnlyTrack = true;
524+
}
521525
}
522526
} else if (itsGID.getSource() == GIndex::ITSAB) {
523527
if (isITSTPCloaded) {
@@ -532,7 +536,7 @@ void SVertexer::buildT2V(const o2::globaltracking::RecoContainer& recoData) // a
532536
continue;
533537
}
534538

535-
if (!hasTPC && nITSclu < mSVParams->mITSSAminNclu) {
539+
if (!hasTPC && nITSclu < mSVParams->mITSSAminNclu && (!shortOBITSOnlyTrack || mSVParams->mRejectITSonlyOBtrack)) {
536540
continue; // reject short ITS-only
537541
}
538542

0 commit comments

Comments
 (0)