Skip to content

Commit cab5c86

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

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

ALICE3/TableProducer/OTF/onTheFlyTracker.cxx

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,13 @@
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>
42+
#include "CommonConstants/MathConstants.h"
4243
#include "DCAFitter/DCAFitterN.h"
4344
#include "Common/Core/RecoDecay.h"
4445
#include "Framework/O2DatabasePDGPlugin.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...)
@@ -926,7 +920,7 @@ struct OnTheFlyTracker {
926920
idxVec.reserve(tracksAlice3.size());
927921
for (unsigned i = 0; i < tracksAlice3.size(); i++) {
928922
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
930924
}
931925

932926
// Calculate vertices

0 commit comments

Comments
 (0)