X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=ITS%2FAliITSclusterTable.h;h=3588ff837748b9268ff2f4761fc573a631ccfb5b;hb=f3c35c8c42c85d0ba74a946d143713b27e88a9c2;hp=ad3d7bce48ddb7f0cb70a2bdb51ebbeb9eb26e7f;hpb=6ba216a40ad85b18d8b5b32f5ed4a4053d0de27e;p=u%2Fmrichter%2FAliRoot.git diff --git a/ITS/AliITSclusterTable.h b/ITS/AliITSclusterTable.h index ad3d7bce48d..3588ff83774 100644 --- a/ITS/AliITSclusterTable.h +++ b/ITS/AliITSclusterTable.h @@ -16,12 +16,8 @@ /////////////////////////////////////////////////////////////////////////// -#include #include -class TTree; -class AliITStrackerSA; -class AliITSgeom; class AliITSclusterTable : public TObject { @@ -29,39 +25,32 @@ class AliITSclusterTable : public TObject { public: AliITSclusterTable(); - AliITSclusterTable(AliITSgeom* geom, AliITStrackerSA* tracker); - void FillArray(TTree* clusterTree,Int_t evnumber=0); - void FillArrayLabel(Int_t numberofparticles,TTree* clusterTree, - Int_t evnumber=0); - virtual ~AliITSclusterTable(); - - - Int_t GetNCluster(Int_t mod) const {return fNCl[mod];} - Int_t GetClusterIndMod(Int_t mod,Int_t i){return fDet[mod]->At(i);} - TArrayI* GetListOfClusters(Int_t mod) const {return fDet[mod];} - TArrayI* GetNClustersSameLabel(Int_t label) const {return fLbl[label];} - Int_t ThereIsClusterOnLayer(Int_t label,Int_t layer) - {return fLbl[label]->At(layer);} - Int_t ThisParticleIsTrackable(Int_t label,Int_t numberofpoints=6); + AliITSclusterTable(Float_t x, Float_t y, Float_t z, Float_t sx, Float_t sy, Float_t sz, Double_t phi, Double_t lambda, Int_t index); + virtual ~AliITSclusterTable(){;} + + Int_t GetOrInd() const {return fOrInd;} + Float_t GetX() const {return fX;} + Float_t GetY() const {return fY;} + Float_t GetZ() const {return fZ;} + Float_t GetSx() const {return fSx;} + Float_t GetSy() const {return fSy;} + Float_t GetSz() const {return fSz;} + Float_t GetPhi() const {return fPhi;} + Float_t GetLambda() const {return fLam;} protected: - // copy constructor (NO copy allowed: the constructor is protected - // to avoid misuse) - AliITSclusterTable(const AliITSclusterTable& tab); - // assignment operator (NO assignment allowed) - AliITSclusterTable& operator=(const AliITSclusterTable& /* tab */); - - static Int_t FindIndex(Int_t ndim, Int_t *ptr, Int_t value); - - Int_t *fNCl;//number of clusters per module - TArrayI** fDet; //Array of cluster indices for each detector - TArrayI** fLbl; //Array of number of clusters (on each layer) - // with the same label for each label. - AliITSgeom *fGeom; //! ITS geometry - AliITStrackerSA *fTracker; //! SA tracker - - ClassDef(AliITSclusterTable,1) + Int_t fOrInd; //! original index in tracker + Float_t fX; //!x of cluster + Float_t fY; //!y of cluster + Float_t fZ; //!z of cluster + Float_t fSx; //! error on x + Float_t fSy; //! error on y + Float_t fSz; //! error on z + Double_t fPhi; //! azimuthal angle + Double_t fLam; //! lambda angle + + ClassDef(AliITSclusterTable,2) }; #endif