#include "AliITSrecoV2.h"
class AliESDtrack;
-class AliTPCtrack;
//_____________________________________________________________________________
class AliITStrackV2 : public AliKalmanTrack {
+ friend class AliITStrackerV2;
public:
AliITStrackV2();
- AliITStrackV2(const AliTPCtrack& t) throw (const Char_t *);
- AliITStrackV2(AliESDtrack& t) throw (const Char_t *);
+ AliITStrackV2(AliESDtrack& t,Bool_t c=kFALSE) throw (const Char_t *);
AliITStrackV2(const AliITStrackV2& t);
Int_t PropagateToVertex(Double_t d=0., Double_t x0=0.);
Int_t Propagate(Double_t alpha, Double_t xr);
void ResetCovariance();
void ResetClusters() { SetChi2(0.); SetNumberOfClusters(0); }
void UpdateESDtrack(ULong_t flags);
-
- void *operator new(size_t /* s */,void *p) { return p; }
- void *operator new(size_t s) { return ::operator new(s); }
+ void SetConstrainedESDtrack(Double_t chi2);
Int_t GetDetectorIndex() const {return GetLabel();}
Double_t GetX() const {return fX;}
Double_t GetZ() const {return fP1;}
Double_t GetSnp() const {return fP2;}
Double_t GetTgl() const {return fP3;}
+ Double_t GetC() const {return fP4;}
Double_t
Get1Pt() const { return (1e-9*TMath::Abs(fP4)/fP4 + fP4)*GetConvConst(); }
Double_t GetD(Double_t x=0, Double_t y=0) const;
+ Double_t GetZat(Double_t x=0) const;
+
Double_t GetSigmaY2() const {return fC00;}
Double_t GetSigmaZ2() const {return fC11;}
Int_t Compare(const TObject *o) const;
Double_t GetPredictedChi2(const AliCluster *cluster) const;
Int_t Invariant() const;
-private:
+protected:
Double_t fX; // X-coordinate of this track (reference plane)
Double_t fAlpha; // rotation angle
Double_t fC20, fC21, fC22; // of the
Double_t fC30, fC31, fC32, fC33; // track
Double_t fC40, fC41, fC42, fC43, fC44; // parameters
-
+ Int_t fNUsed; // number of shared clusters
+ Int_t fNSkipped; // number of skipped clusters
+ Bool_t fReconstructed; // reconstructed - accepted flag
+ Float_t fChi2MIP[6]; // MIP chi squres
UInt_t fIndex[kMaxLayer]; // indices of associated clusters
-
Float_t fdEdxSample[4]; // array of dE/dx samples b.b.
-
+ Float_t fDy[6]; //dy in layer
+ Float_t fDz[6]; //dz in layer
+ Float_t fSigmaY[6]; //sigma y
+ Float_t fSigmaZ[6]; //sigma z
AliESDtrack *fESDtrack; //! pointer to the connected ESD track
- ClassDef(AliITStrackV2,2) //ITS reconstructed track
+ ClassDef(AliITStrackV2,3) //ITS reconstructed track
};
inline