21const MeanVertexBiasParam* MeanVertexObject::gMVBias =
nullptr;
27 }
else if (icoord == 1) {
29 }
else if (icoord == 2) {
32 LOG(fatal) <<
"Coordinate out of bound to set vtx " << icoord <<
", should be in [0, 2]";
40 }
else if (icoord == 1) {
42 }
else if (icoord == 2) {
45 LOG(fatal) <<
"Coordinate out of bound to set sigma via MeanVtx " << icoord <<
", should be in [0, 2]";
51 return fmt::format(
"Vtx {{{:+.4e},{:+.4e},{:+.4e}}} Cov.:{{{{{:.3e}..}},{{{:.3e},{:.3e}..}},{{{:.3e},{:.3e},{:.3e}}}}} | bias: XYZ: {:.4f},{:.4f},{:.4f} SlopeXY: {:.3e},{:.3e}",
65 std::cout << *
this << std::endl;
72 const auto z = gRandom->Gaus(
getZ(), getSigmaZ());
73 const auto x = gRandom->Gaus(
getXAtZ(
z), getSigmaX());
74 const auto y = gRandom->Gaus(
getYAtZ(
z), getSigmaY());
81 if (
const auto* biasString = std::getenv(
"O2_DPL_MVBIAS"); biasString && *biasString) {
85 LOGP(info,
"Mean vertex is biased by: XYZ: {:.4f},{:.4f},{:.4f} SlopeXY: {:.3e},{:.3e}",
static const MeanVertexBiasParam & Instance()
static void updateFromString(std::string const &)
GLdouble GLdouble GLdouble z
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
LOG(info)<< "Compressed in "<< sw.CpuTime()<< " s"