Skip to content

Commit

Permalink
Set mFirstOrbitTF before updateTimeDependentParams
Browse files Browse the repository at this point in the history
  • Loading branch information
shahor02 committed Feb 29, 2024
1 parent b63e0b3 commit 42a2e8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Steer/DigitizerWorkflow/src/ITSMFTDigitizerSpec.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ class ITSMFTDPLDigitizerTask : BaseDPLDigitizer
if (mFinished) {
return;
}
mFirstOrbitTF = pc.services().get<o2::framework::TimingInfo>().firstTForbit;
mID == o2::detectors::DetID::ITS ? updateTimeDependentParams<o2::detectors::DetID::ITS>(pc) : updateTimeDependentParams<o2::detectors::DetID::MFT>(pc);
std::string detStr = mID.getName();
mFirstOrbitTF = pc.services().get<o2::framework::TimingInfo>().firstTForbit;
// read collision context from input
auto context = pc.inputs().get<o2::steer::DigitizationContext*>("collisioncontext");
context->initSimChains(mID, mSimChains);
Expand Down

0 comments on commit 42a2e8f

Please sign in to comment.