From c0c83e3177caa8c7c00c1d97b3b0c7ee174bcf6b Mon Sep 17 00:00:00 2001 From: ALICE Action Bot Date: Sat, 24 May 2025 03:00:10 +0000 Subject: [PATCH] Please consider the following formatting changes --- .../TableProducer/trackPropagationTester.cxx | 8 +++---- Common/Tools/StandardCCDBLoader.h | 21 ++++++++++--------- Common/Tools/TrackPropagationModule.h | 3 +-- 3 files changed, 16 insertions(+), 16 deletions(-) diff --git a/Common/TableProducer/trackPropagationTester.cxx b/Common/TableProducer/trackPropagationTester.cxx index 7dea2087418..97408af1263 100644 --- a/Common/TableProducer/trackPropagationTester.cxx +++ b/Common/TableProducer/trackPropagationTester.cxx @@ -52,10 +52,10 @@ using namespace o2::framework; // using namespace o2::framework::expressions; struct TrackPropagationTester { - o2::common::standardCCDBLoaderConfigurables standardCCDBLoaderConfigurables; - o2::common::trackPropagationProducts trackPropagationProducts; - o2::common::trackPropagationConfigurables trackPropagationConfigurables; - + o2::common::standardCCDBLoaderConfigurables standardCCDBLoaderConfigurables; + o2::common::trackPropagationProducts trackPropagationProducts; + o2::common::trackPropagationConfigurables trackPropagationConfigurables; + Service ccdb; o2::common::StandardCCDBLoader ccdbLoader; diff --git a/Common/Tools/StandardCCDBLoader.h b/Common/Tools/StandardCCDBLoader.h index 548817222a9..185799ecc8a 100644 --- a/Common/Tools/StandardCCDBLoader.h +++ b/Common/Tools/StandardCCDBLoader.h @@ -27,14 +27,14 @@ namespace o2 namespace common { -// ConfigurableGroup with locations +// ConfigurableGroup with locations struct standardCCDBLoaderConfigurables : o2::framework::ConfigurableGroup { - std::string prefix = "ccdb"; - o2::framework::Configurable ccdburl{"ccdb-url", "http://alice-ccdb.cern.ch", "url of the ccdb repository"}; - o2::framework::Configurable lutPath{"lutPath", "GLO/Param/MatLUT", "Path of the Lut parametrization"}; - o2::framework::Configurable geoPath{"geoPath", "GLO/Config/GeometryAligned", "Path of the geometry file"}; - o2::framework::Configurable grpmagPath{"grpmagPath", "GLO/Config/GRPMagField", "CCDB path of the GRPMagField object"}; - o2::framework::Configurable mVtxPath{"mVtxPath", "GLO/Calib/MeanVertex", "Path of the mean vertex file"}; + std::string prefix = "ccdb"; + o2::framework::Configurable ccdburl{"ccdb-url", "http://alice-ccdb.cern.ch", "url of the ccdb repository"}; + o2::framework::Configurable lutPath{"lutPath", "GLO/Param/MatLUT", "Path of the Lut parametrization"}; + o2::framework::Configurable geoPath{"geoPath", "GLO/Config/GeometryAligned", "Path of the geometry file"}; + o2::framework::Configurable grpmagPath{"grpmagPath", "GLO/Config/GRPMagField", "CCDB path of the GRPMagField object"}; + o2::framework::Configurable mVtxPath{"mVtxPath", "GLO/Calib/MeanVertex", "Path of the mean vertex file"}; }; class StandardCCDBLoader @@ -54,8 +54,9 @@ class StandardCCDBLoader o2::base::MatLayerCylSet* lut = nullptr; int runNumber = -1; - template - void init(TConfigurableGroup const& cGroup, TCCDB& ccdb){ + template + void init(TConfigurableGroup const& cGroup, TCCDB& ccdb) + { ccdb->setCaching(true); ccdb->setLocalObjectValidityChecking(); ccdb->setURL(cGroup.ccdburl.value); @@ -103,7 +104,7 @@ class StandardCCDBLoader } }; -} // namespace common +} // namespace common } // namespace o2 #endif // COMMON_TOOLS_STANDARDCCDBLOADER_H_ diff --git a/Common/Tools/TrackPropagationModule.h b/Common/Tools/TrackPropagationModule.h index 6fb252d1b71..d720dab432a 100644 --- a/Common/Tools/TrackPropagationModule.h +++ b/Common/Tools/TrackPropagationModule.h @@ -61,8 +61,7 @@ struct trackPropagationConfigurables : o2::framework::ConfigurableGroup { class TrackPropagationModule { public: - TrackPropagationModule() - { + TrackPropagationModule(){ // constructor };