Skip to content

Commit 3a73d72

Browse files
committed
More fixes
1 parent 2c2b72c commit 3a73d72

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

PWGLF/TableProducer/Nuspex/decay3bodybuilder.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,7 @@ struct decay3bodyBuilder {
521521
}
522522
o2::base::Propagator::initFieldFromGRP(grpmag);
523523
// Fetch magnetic field from ccdb for current collision
524-
auto d_bz = o2::base::Propagator::Instance()->getNominalBz();
524+
d_bz = o2::base::Propagator::Instance()->getNominalBz();
525525
LOG(info) << "Retrieved GRP for timestamp " << timestamp << " with magnetic field of " << d_bz << " kG";
526526

527527
// set magnetic field value for DCA fitter
@@ -732,7 +732,7 @@ struct decay3bodyBuilder {
732732
float tofNSigmaDeuteron{};
733733
if constexpr (!soa::is_table<TBCs>) { // running over derived data
734734
tofNSigmaDeuteron = trackDeuteron.tofNSigmaDe();
735-
} else if constexpr (soa::is_table<TBCs>) { // running over AO2Ds
735+
} else { // running over AO2Ds
736736
if constexpr (soa::is_table<TMCParticles>) { // running over MC (track table with labels)
737737
tofNSigmaDeuteron = getTOFnSigma<true /*isMC*/, TCollisions>(mRespParamsV3, collision, trackDeuteron);
738738
} else { // running over real data

0 commit comments

Comments
 (0)