|
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 | +#include "CommonConstants/MathConstants.h" |
42 | 43 | #include "DCAFitter/DCAFitterN.h" |
43 | 44 | #include "Common/Core/RecoDecay.h" |
44 | 45 | #include "Framework/O2DatabasePDGPlugin.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...) |
@@ -926,7 +920,7 @@ struct OnTheFlyTracker { |
926 | 920 | idxVec.reserve(tracksAlice3.size()); |
927 | 921 | for (unsigned i = 0; i < tracksAlice3.size(); i++) { |
928 | 922 | lblTracks.emplace_back(tracksAlice3[i].mcLabel, mcCollision.globalIndex(), 1, false); |
929 | | - idxVec.emplace_back(i, o2::dataformats::GlobalTrackID::ITS); // let's say ITS |
| 923 | + idxVec.emplace_back(i, o2::dataformats::GlobalTrackID/IO); // let's say ITS |
930 | 924 | } |
931 | 925 |
|
932 | 926 | // Calculate vertices |
|
0 commit comments