|
15 | 15 | /// \author Jakub Juracka, jakub.juracka@cern.ch |
16 | 16 | /// \file upcRhoAnalysis.cxx |
17 | 17 |
|
18 | | -#include <string> |
19 | | -#include <string_view> |
20 | | -#include <vector> |
| 18 | +#include "Common/DataModel/PIDResponse.h" |
| 19 | +// #include "Common/Core/RecoDecay.h" |
| 20 | + |
| 21 | +#include "PWGUD/Core/UPCTauCentralBarrelHelperRL.h" |
| 22 | +#include "PWGUD/DataModel/UDTables.h" |
21 | 23 |
|
22 | | -#include "Framework/AnalysisTask.h" |
23 | 24 | #include "Framework/AnalysisDataModel.h" |
| 25 | +#include "Framework/AnalysisTask.h" |
24 | 26 | #include "Framework/runDataProcessing.h" |
25 | 27 |
|
26 | | -#include <random> |
27 | 28 | #include "Math/Vector4D.h" |
28 | 29 |
|
29 | | -#include "Common/DataModel/PIDResponse.h" |
30 | | - |
31 | | -#include "PWGUD/DataModel/UDTables.h" |
32 | | -#include "PWGUD/Core/UPCTauCentralBarrelHelperRL.h" |
| 30 | +#include <random> |
| 31 | +#include <string> |
| 32 | +#include <string_view> |
| 33 | +#include <unordered_set> |
| 34 | +#include <utility> |
| 35 | +#include <vector> |
33 | 36 |
|
34 | 37 | using namespace o2; |
35 | 38 | using namespace o2::framework; |
@@ -118,7 +121,6 @@ struct UpcRhoAnalysis { |
118 | 121 |
|
119 | 122 | float pcEtaCut = 0.9; // physics coordination recommendation |
120 | 123 | const int gapSide = 2; // required gap side |
121 | | - const int piPDG = 211; // PDG code for pion |
122 | 124 | Configurable<int> numPions{"numPions", 2, "required number of pions in the event"}; |
123 | 125 | Configurable<bool> requireTof{"requireTof", false, "require TOF signal"}; |
124 | 126 | Configurable<bool> onlyGoldenRuns{"onlyGoldenRuns", false, "process only golden runs"}; |
@@ -777,7 +779,7 @@ struct UpcRhoAnalysis { |
777 | 779 | rMC.fill(HIST("MC/tracks/all/hPt"), pt(mcParticle.px(), mcParticle.py())); |
778 | 780 | rMC.fill(HIST("MC/tracks/all/hEta"), eta(mcParticle.px(), mcParticle.py(), mcParticle.pz())); |
779 | 781 | rMC.fill(HIST("MC/tracks/all/hPhi"), phi(mcParticle.px(), mcParticle.py())); |
780 | | - if (!mcParticle.isPhysicalPrimary() || std::abs(mcParticle.pdgCode()) != piPDG) |
| 782 | + if (!mcParticle.isPhysicalPrimary() || std::abs(mcParticle.pdgCode()) != kPiPlus) |
781 | 783 | continue; |
782 | 784 | cutMcParticles.push_back(mcParticle); |
783 | 785 | ROOT::Math::PxPyPzMVector pionLV; |
|
0 commit comments