@@ -156,7 +156,7 @@ void GPURecoWorkflowSpec::init(InitContext& ic)
156156 mAutoSolenoidBz = mConfParam ->solenoidBzNominalGPU == -1e6f;
157157 mAutoContinuousMaxTimeBin = mConfig ->configGRP .continuousMaxTimeBin == -1 ;
158158 if (mAutoContinuousMaxTimeBin ) {
159- mConfig ->configGRP .continuousMaxTimeBin = (256 * o2::constants::lhc::LHCMaxBunches + 2 * o2::tpc::constants::LHCBCPERTIMEBIN - 2 ) / o2::tpc::constants::LHCBCPERTIMEBIN;
159+ mConfig ->configGRP .continuousMaxTimeBin = (( mConfParam -> overrideNHbfPerTF ? mConfParam -> overrideNHbfPerTF : 256 ) * o2::constants::lhc::LHCMaxBunches + 2 * o2::tpc::constants::LHCBCPERTIMEBIN - 2 ) / o2::tpc::constants::LHCBCPERTIMEBIN;
160160 }
161161 if (mConfig ->configProcessing .deviceNum == -2 ) {
162162 int32_t myId = ic.services ().get <const o2::framework::DeviceSpec>().inputTimesliceId ;
@@ -583,7 +583,7 @@ void GPURecoWorkflowSpec::run(ProcessingContext& pc)
583583 mTFSettings ->tfStartOrbit = tinfo.firstTForbit ;
584584 mTFSettings ->hasTfStartOrbit = 1 ;
585585 mTFSettings ->hasNHBFPerTF = 1 ;
586- mTFSettings ->nHBFPerTF = GRPGeomHelper::instance ().getGRPECS ()->getNHBFPerTF ();
586+ mTFSettings ->nHBFPerTF = mConfParam -> overrideNHbfPerTF ? mConfParam -> overrideNHbfPerTF : GRPGeomHelper::instance ().getGRPECS ()->getNHBFPerTF ();
587587 mTFSettings ->hasRunStartOrbit = 0 ;
588588 if (mVerbosity ) {
589589 LOG (info) << " TF firstTForbit " << mTFSettings ->tfStartOrbit << " nHBF " << mTFSettings ->nHBFPerTF << " runStartOrbit " << mTFSettings ->runStartOrbit << " simStartOrbit " << mTFSettings ->simStartOrbit ;
@@ -1016,7 +1016,7 @@ void GPURecoWorkflowSpec::doCalibUpdates(o2::framework::ProcessingContext& pc, c
10161016 mConfig ->configGRP .continuousMaxTimeBin = (mTFSettings ->nHBFPerTF * o2::constants::lhc::LHCMaxBunches + 2 * o2::tpc::constants::LHCBCPERTIMEBIN - 2 ) / o2::tpc::constants::LHCBCPERTIMEBIN;
10171017 newCalibValues.newContinuousMaxTimeBin = true ;
10181018 newCalibValues.continuousMaxTimeBin = mConfig ->configGRP .continuousMaxTimeBin ;
1019- LOG (info) << " Updating max time bin " << newCalibValues.continuousMaxTimeBin ;
1019+ LOG (info) << " Updating max time bin " << newCalibValues.continuousMaxTimeBin << " ( " << mTFSettings -> nHBFPerTF << " orbits) " ;
10201020 }
10211021
10221022 if (!mPropagatorInstanceCreated ) {
0 commit comments