|
33 | 33 | #include <TGenPhaseSpace.h> |
34 | 34 | #include <TLorentzVector.h> |
35 | 35 | #include <TRandom3.h> |
| 36 | +#include <TPDGCode.h> |
36 | 37 |
|
37 | 38 | #include "Framework/AnalysisDataModel.h" |
38 | 39 | #include "Framework/AnalysisTask.h" |
39 | 40 | #include "Framework/runDataProcessing.h" |
40 | 41 | #include "Framework/HistogramRegistry.h" |
41 | | -#include <TPDGCode.h> |
42 | 42 | #include "DCAFitter/DCAFitterN.h" |
43 | 43 | #include "Common/Core/RecoDecay.h" |
| 44 | +#include "CommonConstants/MathConstants.h" |
44 | 45 | #include "Framework/O2DatabasePDGPlugin.h" |
45 | 46 | #include "Common/DataModel/TrackSelectionTables.h" |
46 | 47 | #include "ReconstructionDataFormats/DCA.h" |
|
51 | 52 | #include "SimulationDataFormat/InteractionSampler.h" |
52 | 53 | #include "Field/MagneticField.h" |
53 | 54 |
|
54 | | -#include "ITSMFTSimulation/Hit.h" |
55 | | -#include "ITStracking/Configuration.h" |
56 | | -#include "ITStracking/IOUtils.h" |
57 | | -#include "ITStracking/Tracker.h" |
58 | | -#include "ITStracking/Vertexer.h" |
59 | | -#include "ITStracking/VertexerTraits.h" |
60 | | - |
61 | 55 | #include "ALICE3/Core/DelphesO2TrackSmearer.h" |
62 | 56 | #include "ALICE3/Core/FastTracker.h" |
63 | 57 | #include "ALICE3/Core/DetLayer.h" |
@@ -808,7 +802,7 @@ struct OnTheFlyTracker { |
808 | 802 | std::array<float, 3> posClusterCandidate; |
809 | 803 | trackParCov.getXYZGlo(posClusterCandidate); |
810 | 804 | float r{std::hypot(posClusterCandidate[0], posClusterCandidate[1])}; |
811 | | - float phi{std::atan2(-posClusterCandidate[1], -posClusterCandidate[0]) + o2::its::constants::math::Pi}; |
| 805 | + float phi{std::atan2(-posClusterCandidate[1], -posClusterCandidate[0]) + o2::constants::math::PI}; |
812 | 806 | o2::fastsim::DetLayer currentTrackingLayer = fastTracker.GetLayer(i); |
813 | 807 |
|
814 | 808 | if (currentTrackingLayer.getResolutionRPhi() > 1e-8 && currentTrackingLayer.getResolutionZ() > 1e-8) { // catch zero (though should not really happen...) |
|
0 commit comments