@@ -40,7 +40,7 @@ struct HfUpcGapThresholds : o2::framework::ConfigurableGroup {
4040 o2::framework::Configurable<int > nBcsMin{" nBcsMin" , 2 , " Minimum number of BCs to consider in BC range" };
4141 o2::framework::Configurable<int > nContributorsPvMin{" nContributorsPvMin" , 2 , " Minimum number of PV contributors" };
4242 o2::framework::Configurable<int > nContributorsPvMax{" nContributorsPvMax" , 1000 , " Maximum number of PV contributors" };
43- o2::framework::Configurable<float > timeFitMax{" timeFitMax" , 34 , " Maximum time in FIT" };
43+ o2::framework::Configurable<int > timeFitMax{" timeFitMax" , 34 , " Maximum time in FIT" };
4444 o2::framework::Configurable<float > fv0aThreshold{" fv0aThreshold" , 100 .0f , " FV0-A amplitude threshold for UPC gap determination (a.u.)" };
4545 o2::framework::Configurable<float > ft0aThreshold{" ft0aThreshold" , 100 .0f , " FT0-A amplitude threshold for UPC gap determination (a.u.)" };
4646 o2::framework::Configurable<float > ft0cThreshold{" ft0cThreshold" , 50 .0f , " FT0-C amplitude threshold for UPC gap determination (a.u.)" };
@@ -52,7 +52,7 @@ namespace defaults
5252constexpr float AmplitudeThresholdFV0A = 100 .0f ; // /< Amplitude threshold for FV0-A (a.u.)
5353constexpr float AmplitudeThresholdFT0A = 100 .0f ; // /< Amplitude threshold for FT0-A (a.u.)
5454constexpr float AmplitudeThresholdFT0C = 50 .0f ; // /< Amplitude threshold for FT0-C (a.u.)
55- constexpr float MaxFITTime = 4 . 0f ; // /< Maximum FIT time (ns)
55+ constexpr int MaxFITTime = 34 ; // /< Maximum FIT time (ns)
5656constexpr int NDtColl = 1 ; // /< Time window for BC range (ns)
5757constexpr int MinNBCs = 2 ; // /< Minimum number of BCs to check
5858constexpr int MinNTracks = 2 ; // /< Minimum number of tracks
@@ -75,7 +75,7 @@ inline auto determineGapType(TCollision const& collision,
7575 int nBcsMin = defaults::MinNBCs,
7676 int nContributorsPvMin = defaults::MinNTracks,
7777 int nContributorsPvMax = defaults::MaxNTracks,
78- float timeFitMax = defaults::MaxFITTime,
78+ int timeFitMax = defaults::MaxFITTime,
7979 float amplitudeThresholdFV0A = defaults::AmplitudeThresholdFV0A,
8080 float amplitudeThresholdFT0A = defaults::AmplitudeThresholdFT0A,
8181 float amplitudeThresholdFT0C = defaults::AmplitudeThresholdFT0C)
0 commit comments