1010// or submit itself to any jurisdiction.
1111
1212// / \file propagationServiceV2.cxx
13- // / \brief V2: GRPMagField and MeanVertexObject migrated to declarative CCDB columns .
13+ // / \brief V2: GRPMagField and MeanVertexObject sourced from aod::GloCCDBObjects declarative CCDB table .
1414// / \author ALICE
1515
1616// ===============================================================
2626#include " PWGLF/Utils/strangenessBuilderModule.h"
2727
2828#include " Common/DataModel/EventSelection.h"
29+ #include " Common/DataModel/GloCCDBObjects.h"
2930#include " Common/DataModel/PIDResponseTPC.h"
3031#include " Common/Tools/StandardCCDBLoader.h"
3132#include " Common/Tools/TrackPropagationModule.h"
3233#include " Common/Tools/TrackTuner.h"
3334
3435#include < CCDB/BasicCCDBManager.h>
35- #include < DataFormatsCalibration/MeanVertexObject.h>
36- #include < DataFormatsParameters/GRPMagField.h>
3736#include < DetectorsBase/MatLayerCylSet.h>
3837#include < DetectorsBase/Propagator.h>
3938#include < Framework/ASoA.h>
4948
5049#include < string>
5150
52- // Declarative CCDB columns for GRPMagField and MeanVertexObject.
53- // MatLayerCylSet is intentionally excluded: it requires
54- // MatLayerCylSet::rectifyPtrFromFile() after deserialisation, a type-specific
55- // fixup the CCDB column mechanism does not perform. It continues to be fetched
56- // via Service<BasicCCDBManager> below.
57- // strangenessBuilderModule uses ccdb->instance() for V-drift management
58- // (excluded from migration per recipe).
59- namespace o2 ::aod
60- {
61- namespace propsvcv2
62- {
63- DECLARE_SOA_CCDB_COLUMN (GRPMagField, grpMagField, o2::parameters::GRPMagField, " GLO/Config/GRPMagField" ); // !
64- DECLARE_SOA_CCDB_COLUMN (MeanVertex, meanVertex, o2::dataformats::MeanVertexObject, " GLO/Calib/MeanVertex" ); // !
65- } // namespace propsvcv2
66-
67- DECLARE_SOA_TIMESTAMPED_TABLE (PropSvcV2CCDBObjects, aod::Timestamps, o2::aod::timestamp::Timestamp, 1 , " PROPSVCV2CC" , // !
68- propsvcv2::GRPMagField, propsvcv2::MeanVertex);
69- } // namespace o2::aod
70-
7151using namespace o2 ;
7252using namespace o2 ::framework;
7353
@@ -98,8 +78,8 @@ struct propagationServiceV2 {
9878
9979 // Declarative CCDB path overrides (replace grpmagPath / mVtxPath in StandardCCDBLoaderConfigurables)
10080 // Option names: "ccdb:fGRPMagField" and "ccdb:fMeanVertex" respectively.
101- ConfigurableCCDBPath<o2::aod::propsvcv2 ::GRPMagField> grpmagPath;
102- ConfigurableCCDBPath<o2::aod::propsvcv2 ::MeanVertex> mVtxPath ;
81+ ConfigurableCCDBPath<o2::aod::glo ::GRPMagField> grpmagPath;
82+ ConfigurableCCDBPath<o2::aod::glo ::MeanVertex> mVtxPath ;
10383
10484 // boilerplate: strangeness builder stuff
10585 o2::pwglf::strangenessbuilder::products products;
@@ -117,7 +97,7 @@ struct propagationServiceV2 {
11797 o2::common::TrackPropagationConfigurables trackPropagationConfigurables;
11898 o2::common::TrackPropagationModule trackPropagation;
11999
120- using MyBCs = soa::Join<aod::BCsWithTimestamps, aod::PropSvcV2CCDBObjects >;
100+ using MyBCs = soa::Join<aod::BCsWithTimestamps, aod::GloCCDBObjects >;
121101
122102 // registry
123103 HistogramRegistry histos{" histos" };
0 commit comments