diff --git a/Detectors/Base/include/DetectorsBase/GRPGeomHelper.h b/Detectors/Base/include/DetectorsBase/GRPGeomHelper.h index ec1f9a91c3f20..61f4282bcddd3 100644 --- a/Detectors/Base/include/DetectorsBase/GRPGeomHelper.h +++ b/Detectors/Base/include/DetectorsBase/GRPGeomHelper.h @@ -91,7 +91,8 @@ struct GRPGeomRequest { enum GeomRequest { None, Aligned, Ideal, - Alignments }; + Alignments, + AlignmentsAndAligned }; bool askAggregateRunInfo = false; bool askGRPECS = false; diff --git a/Detectors/Base/src/GRPGeomHelper.cxx b/Detectors/Base/src/GRPGeomHelper.cxx index e7e5248493548..bf1dbae11b5ad 100644 --- a/Detectors/Base/src/GRPGeomHelper.cxx +++ b/Detectors/Base/src/GRPGeomHelper.cxx @@ -39,14 +39,14 @@ namespace o2d = o2::dataformats; GRPGeomRequest::GRPGeomRequest(bool orbitResetTime, bool GRPECS, bool GRPLHCIF, bool GRPMagField, bool askMatLUT, GeomRequest geom, std::vector& inputs, bool askOnce, bool needPropD, std::string detMaskString) : askGRPECS(GRPECS), askGRPLHCIF(GRPLHCIF), askGRPMagField(GRPMagField), askMatLUT(askMatLUT), askTime(orbitResetTime), askOnceAllButField(askOnce), needPropagatorD(needPropD) { - if (geom == Aligned) { + if (geom == Aligned || geom == AlignmentsAndAligned) { askGeomAlign = true; addInput({"geomAlg", "GLO", "GEOMALIGN", 0, Lifetime::Condition, ccdbParamSpec("GLO/Config/GeometryAligned")}, inputs); } else if (geom == Ideal || geom == Alignments) { askGeomIdeal = true; addInput({"geomIdeal", "GLO", "GEOMIDEAL", 0, Lifetime::Condition, ccdbParamSpec("GLO/Config/Geometry")}, inputs); } - if (geom == Alignments) { + if (geom == Alignments || geom == AlignmentsAndAligned) { askAlignments = true; o2::detectors::DetID::mask_t algDetMask = DetID::getMask(detMaskString); for (auto id = DetID::First; id <= DetID::Last; id++) {