Skip to content

Commit ca94b15

Browse files
committed
Magic number
1 parent 09ad3b6 commit ca94b15

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

PWGLF/TableProducer/Common/kinkBuilder.cxx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ struct kinkBuilder {
161161
int nItsOuterBarrelLayers = 4;
162162
int nItsTotalLayers = 7;
163163
int nCoords = 7;
164+
int itsChi2NClMax = 36;
164165

165166
// constants
166167
float radToDeg = o2::constants::math::Rad2Deg;
@@ -410,7 +411,7 @@ struct kinkBuilder {
410411
return false;
411412
hSelMotherQA->Fill(6.f, isPositive);
412413

413-
if (candidate.itsChi2NCl() >= 36)
414+
if (candidate.itsChi2NCl() >= itsChi2NClMax)
414415
return false;
415416
hSelMotherQA->Fill(7.f, isPositive);
416417

0 commit comments

Comments
 (0)