File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Detectors/FIT/FV0/reconstruction/src Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -51,15 +51,15 @@ RP BaseRecoTask::process(o2::fv0::Digit const& bcd,
5151 inChData[ich].ChainQTC };
5252
5353 // Conditions for reconstructing collision time (3 variants: first, average-relaxed and average-tight)
54- if (outChData[ich].charge > FV0DigParam::Instance ().chargeThrForMeanTime ) {
55- sideAtimeFirst = std::min (static_cast <Double_t>(sideAtimeFirst), outChData[ich].time );
54+ if (outChData[ich].getAmp () > FV0DigParam::Instance ().chargeThrForMeanTime ) {
55+ sideAtimeFirst = std::min (static_cast <Double_t>(sideAtimeFirst), outChData[ich].getTime () );
5656 if (inChData[ich].areAllFlagsGood ()) {
57- if (std::abs (outChData[ich].time ) < FV0DigParam::Instance ().mTimeThresholdForReco ) {
58- sideAtimeAvg += outChData[ich].time ;
57+ if (std::abs (outChData[ich].getTime () ) < FV0DigParam::Instance ().mTimeThresholdForReco ) {
58+ sideAtimeAvg += outChData[ich].getTime () ;
5959 ndigitsA++;
6060 }
61- if (outChData[ich].charge > FV0DigParam::Instance ().mAmpThresholdForReco && std::abs (outChData[ich].time ) < FV0DigParam::Instance ().mTimeThresholdForReco ) {
62- sideAtimeAvgSelected += outChData[ich].time ;
61+ if (outChData[ich].getAmp () > FV0DigParam::Instance ().mAmpThresholdForReco && std::abs (outChData[ich].getTime () ) < FV0DigParam::Instance ().mTimeThresholdForReco ) {
62+ sideAtimeAvgSelected += outChData[ich].getTime () ;
6363 ndigitsASelected++;
6464 }
6565 }
You can’t perform that action at this time.
0 commit comments