88// granted to it by virtue of its status as an Intergovernmental Organization
99// or submit itself to any jurisdiction.
1010
11- // / \file CookedTrack .cxx
11+ // / \file TrackITS .cxx
1212// / \brief Implementation of the ITS cooked track
1313// / \author iouri.belikov@cern.ch
1414
1515#include < TMath.h>
1616
1717#include " CommonConstants/MathConstants.h"
18- #include " ITSMFTReconstruction /Cluster.h"
19- #include " ITSReconstruction/CookedTrack .h"
18+ #include " DataFormatsITSMFT /Cluster.h"
19+ #include " DataFormatsITS/TrackITS .h"
2020
21- ClassImp (o2::ITS::CookedTrack )
21+ ClassImp (o2::ITS::TrackITS )
2222
2323 using namespace o2::ITSMFT;
2424using namespace o2 ::ITS;
2525using namespace o2 ::constants::math;
2626using namespace o2 ::track;
2727
28- bool CookedTrack ::operator <(const CookedTrack & o) const
28+ bool TrackITS ::operator <(const TrackITS & o) const
2929{
3030 // -----------------------------------------------------------------
3131 // This function compares tracks according to the their curvature
@@ -38,7 +38,7 @@ bool CookedTrack::operator<(const CookedTrack& o) const
3838 return (c > co);
3939}
4040
41- void CookedTrack ::getImpactParams (Float_t x, Float_t y, Float_t z, Float_t bz, Float_t ip[2 ]) const
41+ void TrackITS ::getImpactParams (Float_t x, Float_t y, Float_t z, Float_t bz, Float_t ip[2 ]) const
4242{
4343 // ------------------------------------------------------------------
4444 // This function calculates the transverse and longitudinal impact parameters
@@ -70,7 +70,7 @@ void CookedTrack::getImpactParams(Float_t x, Float_t y, Float_t z, Float_t bz, F
7070 ip[1 ] = getZ () + getTgl () / rp4 * TMath::ASin (f2 * r1 - f1 * r2) - z;
7171}
7272
73- void CookedTrack ::resetClusters ()
73+ void TrackITS ::resetClusters ()
7474{
7575 // ------------------------------------------------------------------
7676 // Reset the array of attached clusters.
@@ -79,7 +79,7 @@ void CookedTrack::resetClusters()
7979 mNClusters = 0 ;
8080}
8181
82- void CookedTrack ::setClusterIndex (Int_t l, Int_t i)
82+ void TrackITS ::setClusterIndex (Int_t l, Int_t i)
8383{
8484 // --------------------------------------------------------------------
8585 // Set the cluster index
@@ -88,15 +88,15 @@ void CookedTrack::setClusterIndex(Int_t l, Int_t i)
8888 mIndex [mNClusters ++] = idx;
8989}
9090
91- void CookedTrack ::setExternalClusterIndex (Int_t layer, Int_t idx)
91+ void TrackITS ::setExternalClusterIndex (Int_t layer, Int_t idx)
9292{
9393 // --------------------------------------------------------------------
9494 // Set the cluster index within an external cluster array
9595 // --------------------------------------------------------------------
9696 mIndex [layer] = idx;
9797}
9898
99- Bool_t CookedTrack ::propagate (Float_t alpha, Float_t x, Float_t bz)
99+ Bool_t TrackITS ::propagate (Float_t alpha, Float_t x, Float_t bz)
100100{
101101 if (rotate (alpha))
102102 if (propagateTo (x, bz))
@@ -105,7 +105,7 @@ Bool_t CookedTrack::propagate(Float_t alpha, Float_t x, Float_t bz)
105105 return kFALSE ;
106106}
107107
108- Bool_t CookedTrack ::update (const Cluster& c, Float_t chi2, Int_t idx)
108+ Bool_t TrackITS ::update (const Cluster& c, Float_t chi2, Int_t idx)
109109{
110110 // --------------------------------------------------------------------
111111 // Update track params
@@ -120,7 +120,7 @@ Bool_t CookedTrack::update(const Cluster& c, Float_t chi2, Int_t idx)
120120}
121121
122122/*
123- Bool_t CookedTrack ::getPhiZat(Float_t r, Float_t &phi, Float_t &z) const
123+ Bool_t TrackITS ::getPhiZat(Float_t r, Float_t &phi, Float_t &z) const
124124{
125125 //------------------------------------------------------------------
126126 // This function returns the global cylindrical (phi,z) of the track
@@ -153,7 +153,7 @@ Bool_t CookedTrack::getPhiZat(Float_t r, Float_t &phi, Float_t &z) const
153153}
154154*/
155155
156- Bool_t CookedTrack ::isBetter (const CookedTrack & best, Float_t maxChi2) const
156+ Bool_t TrackITS ::isBetter (const TrackITS & best, Float_t maxChi2) const
157157{
158158 Int_t ncl = getNumberOfClusters ();
159159 Int_t nclb = best.getNumberOfClusters ();
0 commit comments