X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=ITS%2FAliITStrackerV2.h;h=31fe049071454fa5618d28e29c9d81f468aaa9a5;hb=192f644797d071367e1397b7ad6fbd0421138d8f;hp=f2f9cc56cc11f9c224d1e08d23cf502e99f799d1;hpb=1f3e997fd77269d8f9631a7baeb428fa6801b89f;p=u%2Fmrichter%2FAliRoot.git diff --git a/ITS/AliITStrackerV2.h b/ITS/AliITStrackerV2.h index f2f9cc56cc1..31fe0490714 100644 --- a/ITS/AliITStrackerV2.h +++ b/ITS/AliITStrackerV2.h @@ -9,11 +9,13 @@ // Origin: Iouri Belikov, CERN, Jouri.Belikov@cern.ch //------------------------------------------------------------------------- #include "AliTracker.h" -#include "AliITSrecoV2.h" +#include "AliITSRecoParam.h" #include "AliITStrackV2.h" +#include "AliITSgeomTGeo.h" + class AliITSRecPoint; -class AliESD; +class AliESDEvent; class TTree; @@ -32,9 +34,9 @@ public: } Int_t LoadClusters(TTree *cf); void UnloadClusters(); - Int_t Clusters2Tracks(AliESD *event); - Int_t PropagateBack(AliESD *event); - Int_t RefitInward(AliESD *event); + Int_t Clusters2Tracks(AliESDEvent *event); + Int_t PropagateBack(AliESDEvent *event); + Int_t RefitInward(AliESDEvent *event); Bool_t RefitAt(Double_t x, AliITStrackV2 *seed, const AliITStrackV2 *t, Bool_t extra=kFALSE); void SetupFirstPass(Int_t *flags, Double_t *cuts=0); @@ -58,7 +60,7 @@ public: class AliITSlayer { public: - enum {kNsector=5, kMaxClusterPerSector=kMaxClusterPerLayer/kNsector}; + enum {kNsector=5, kMaxClusterPerSector=AliITSRecoParam::kMaxClusterPerLayer/kNsector}; AliITSlayer(); AliITSlayer(Double_t r, Double_t p, Double_t z, Int_t nl, Int_t nd); ~AliITSlayer(); @@ -86,10 +88,10 @@ public: Int_t fNdetectors; // detectors/ladder AliITSdetector *fDetectors; // array of detectors - AliITSRecPoint *fClusters[kMaxClusterPerLayer]; // pointers to clusters + AliITSRecPoint *fClusters[AliITSRecoParam::kMaxClusterPerLayer]; // pointers to clusters Int_t fN[kNsector]; // numbers of clusters sector by sector - Int_t fIndex[kMaxClusterPerLayer]; // indexes of selected clusters + Int_t fIndex[AliITSRecoParam::kMaxClusterPerLayer]; // indexes of selected clusters Int_t fNsel; // number of selected clusters Double_t fRoad; // road defined by the cluster density @@ -111,14 +113,14 @@ protected: new(&fTrackToFollow) AliITStrackV2(t); } Int_t fI; // index of the current layer - static AliITSlayer fgLayers[kMaxLayer];// ITS layers - AliITStrackV2 fTracks[kMaxLayer]; // track estimations at the ITS layers + static AliITSlayer fgLayers[AliITSgeomTGeo::kNLayers];// ITS layers + AliITStrackV2 fTracks[AliITSgeomTGeo::kNLayers]; // track estimations at the ITS layers AliITStrackV2 fBestTrack; // "best" track AliITStrackV2 fTrackToFollow; // followed track Int_t fPass; // current pass through the data Int_t fConstraint[2]; // constraint flags - Int_t fLayersNotToSkip[kMaxLayer]; // layer masks + Int_t fLayersNotToSkip[AliITSgeomTGeo::kNLayers]; // layer masks Int_t fLastLayerToTrackTo; // the innermost layer to track to private: