Skip to content

Commit 4e0c7d9

Browse files
authored
ALICE3: do not include internal ITS code
CI will see if this compiles.
1 parent b7c799e commit 4e0c7d9

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

ALICE3/TableProducer/OTF/onTheFlyTracker.cxx

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,15 @@
3333
#include <TGenPhaseSpace.h>
3434
#include <TLorentzVector.h>
3535
#include <TRandom3.h>
36+
#include <TPDGCode.h>
3637

3738
#include "Framework/AnalysisDataModel.h"
3839
#include "Framework/AnalysisTask.h"
3940
#include "Framework/runDataProcessing.h"
4041
#include "Framework/HistogramRegistry.h"
41-
#include <TPDGCode.h>
4242
#include "DCAFitter/DCAFitterN.h"
4343
#include "Common/Core/RecoDecay.h"
44+
#include "CommonConstants/MathConstants.h"
4445
#include "Framework/O2DatabasePDGPlugin.h"
4546
#include "Common/DataModel/TrackSelectionTables.h"
4647
#include "ReconstructionDataFormats/DCA.h"
@@ -51,13 +52,6 @@
5152
#include "SimulationDataFormat/InteractionSampler.h"
5253
#include "Field/MagneticField.h"
5354

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-
6155
#include "ALICE3/Core/DelphesO2TrackSmearer.h"
6256
#include "ALICE3/Core/FastTracker.h"
6357
#include "ALICE3/Core/DetLayer.h"
@@ -808,7 +802,7 @@ struct OnTheFlyTracker {
808802
std::array<float, 3> posClusterCandidate;
809803
trackParCov.getXYZGlo(posClusterCandidate);
810804
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};
812806
o2::fastsim::DetLayer currentTrackingLayer = fastTracker.GetLayer(i);
813807

814808
if (currentTrackingLayer.getResolutionRPhi() > 1e-8 && currentTrackingLayer.getResolutionZ() > 1e-8) { // catch zero (though should not really happen...)

0 commit comments

Comments
 (0)