diff --git a/PWGLF/Tasks/Strangeness/v0ptinvmassplots.cxx b/PWGLF/Tasks/Strangeness/v0ptinvmassplots.cxx index 656cc9350d8..bd3d20a1a0f 100644 --- a/PWGLF/Tasks/Strangeness/v0ptinvmassplots.cxx +++ b/PWGLF/Tasks/Strangeness/v0ptinvmassplots.cxx @@ -39,6 +39,11 @@ This analysis includes three processes, one for Real Data and two for MC at the #include #include +using namespace o2; +using namespace o2::framework; +using namespace o2::framework::expressions; +using namespace o2::constants::physics; + // namespace to be used for pt plots and bins namespace pthistos { @@ -52,10 +57,6 @@ std::vector> kaonSplit; std::vector> lambdaSplit; std::vector> antilambdaSplit; } // namespace pthistos -using namespace o2; -using namespace o2::framework; -using namespace o2::framework::expressions; -using namespace o2::constants::physics; struct V0PtInvMassPlots { // Histogram Registries @@ -673,7 +674,7 @@ struct V0PtInvMassPlots { // Defining the type of the daughter tracks using DaughterTracks = soa::Join; - o2::framework::Service pdgDB; + Service pdgDB; void genMCProcess( aod::McCollisions::iterator const& mcCollisions,