Skip to content

Commit 3384089

Browse files
author
Igor Altsybeev
committed
add configurable thresholdNrowsForTrackToolTest for experimental checks
1 parent 18d74f3 commit 3384089

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎DPG/Tasks/AOTEvent/eventSelectionQa.cxx‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,8 @@ struct EventSelectionQaTask {
7474
Configurable<bool> isLowFlux{"isLowFlux", 1, "1 - low flux (pp, pPb), 0 - high flux (PbPb)"};
7575
Configurable<bool> fillITSdeadStaveHists{"fillITSdeadStaveHists", 0, "0 - no, 1 - yes"};
7676
Configurable<bool> fillTPCnClsVsOccupancyHists{"fillTPCnClsVsOccupancyHists", 0, "0 - no, 1 - yes"};
77-
Configurable<bool> useTestWithTrackTools{"useTestWithTrackTools", 0, "0 - no, 1 - yes"};
77+
Configurable<bool> useTestWithTrackTools{"useTestWithTrackTools", 0, "0 - no, 1 - yes"}; // experimental
78+
Configurable<int> thresholdNrowsForTrackToolTest{"thresholdNrowsForTrackToolTest", 120, "threshold for Nrows for TrackTool test"}; // minimum number of TPC rows (experimental)
7879

7980
Service<o2::ccdb::BasicCCDBManager> ccdb;
8081
HistogramRegistry histos{"Histos", {}, OutputObjHandlingPolicy::AnalysisObject};
@@ -1234,9 +1235,8 @@ struct EventSelectionQaTask {
12341235
track.signed1Pt());
12351236
auto trackAt85 = o2::recohelpers::getParametersAtRadiusH(trackParLocal, radiusOfInterest, bzKG);
12361237
auto l0 = o2::tpc::recohelpers::sectorEdgeStackLinear(trackParLocal, bzKG, tpcSectorEdgeConfig);
1237-
const int nRowsThreshold = 120; // minimum number of TPC rows required at 85 cm radius
12381238

1239-
isTrackWithNrowsAvailable = (trackAt85.valid() && l0.nRowsAvailable > nRowsThreshold);
1239+
isTrackWithNrowsAvailable = (trackAt85.valid() && l0.nRowsAvailable > thresholdNrowsForTrackToolTest);
12401240
}
12411241

12421242
if (std::fabs(track.eta()) < 0.8 && track.pt() > 0.2) {

0 commit comments

Comments
 (0)