Skip to content

Commit 7df2ff2

Browse files
nkaratzenkaratze
andauthored
[PWGLF] namespace correction (#13807)
Co-authored-by: nkaratze <nxk335@student.bham.ac.uk>
1 parent aeb5899 commit 7df2ff2

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

PWGLF/Tasks/Strangeness/v0ptinvmassplots.cxx

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,11 @@ This analysis includes three processes, one for Real Data and two for MC at the
3939
#include <utility>
4040
#include <vector>
4141

42+
using namespace o2;
43+
using namespace o2::framework;
44+
using namespace o2::framework::expressions;
45+
using namespace o2::constants::physics;
46+
4247
// namespace to be used for pt plots and bins
4348
namespace pthistos
4449
{
@@ -52,10 +57,6 @@ std::vector<std::shared_ptr<TH1>> kaonSplit;
5257
std::vector<std::shared_ptr<TH1>> lambdaSplit;
5358
std::vector<std::shared_ptr<TH1>> antilambdaSplit;
5459
} // namespace pthistos
55-
using namespace o2;
56-
using namespace o2::framework;
57-
using namespace o2::framework::expressions;
58-
using namespace o2::constants::physics;
5960

6061
struct V0PtInvMassPlots {
6162
// Histogram Registries
@@ -673,7 +674,7 @@ struct V0PtInvMassPlots {
673674

674675
// Defining the type of the daughter tracks
675676
using DaughterTracks = soa::Join<aod::TracksIU, aod::TracksExtra, aod::pidTPCPi, aod::pidTPCPr>;
676-
o2::framework::Service<o2::framework::O2DatabasePDG> pdgDB;
677+
Service<o2::framework::O2DatabasePDG> pdgDB;
677678

678679
void genMCProcess(
679680
aod::McCollisions::iterator const& mcCollisions,

0 commit comments

Comments
 (0)