Skip to content

Commit ec4ed10

Browse files
committed
Please consider the following formatting changes
1 parent 9405509 commit ec4ed10

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

PWGHF/TableProducer/treeCreatorOmegacSt.cxx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -508,12 +508,12 @@ struct HfTreeCreatorOmegacSt {
508508
if (auto* grpo = ccdb->getForTimeStamp<o2::parameters::GRPObject>(grpPath, timestamp)) {
509509
o2::base::Propagator::initFieldFromGRP(grpo);
510510
bz = grpo->getNominalL3Field();
511-
} else if (auto* grpmag = ccdb->getForTimeStamp<o2::parameters::GRPMagField>(grpMagPath, timestamp)) {
512-
o2::base::Propagator::initFieldFromGRP(grpmag);
513-
bz = std::lround(5.f * grpmag->getL3Current() / 30000.f);
514-
} else {
515-
LOG(fatal) << "Got nullptr from CCDB for path " << grpMagPath << " of object GRPMagField and " << grpPath << " of object GRPObject for timestamp " << timestamp;
516-
}
511+
} else if (auto* grpmag = ccdb->getForTimeStamp<o2::parameters::GRPMagField>(grpMagPath, timestamp)) {
512+
o2::base::Propagator::initFieldFromGRP(grpmag);
513+
bz = std::lround(5.f * grpmag->getL3Current() / 30000.f);
514+
} else {
515+
LOG(fatal) << "Got nullptr from CCDB for path " << grpMagPath << " of object GRPMagField and " << grpPath << " of object GRPObject for timestamp " << timestamp;
516+
}
517517
df2.setBz(bz);
518518

519519
uint32_t toiMask = 0;

0 commit comments

Comments
 (0)