X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=ITS%2FAliITSClusterParam.h;h=2e112b53850f790368732a23c9d16f6362817617;hb=e8eba3587f66eececd29ca3d0c55fe405b3e9c61;hp=2c489c797b12ad8a0082e8289437ae636e81b90f;hpb=572f41f931dc4e5b2a5d1089c1e40e6a00fb4af5;p=u%2Fmrichter%2FAliRoot.git diff --git a/ITS/AliITSClusterParam.h b/ITS/AliITSClusterParam.h index 2c489c797b1..2e112b53850 100644 --- a/ITS/AliITSClusterParam.h +++ b/ITS/AliITSClusterParam.h @@ -26,16 +26,36 @@ class AliITSClusterParam : public TObject { virtual void Print(Option_t* option = "") const; void SetInstance(AliITSClusterParam *param){fgInstance = param;} static void GetNTeor(Int_t layer,const AliITSRecPoint* cl, - Float_t theta,Float_t phi, - Float_t &ny,Float_t &nz); + Float_t tgl,Float_t tgphitr, + Float_t &ny,Float_t &nz); static Int_t GetError(Int_t layer,const AliITSRecPoint*cl, - Float_t theta,Float_t phi,Float_t expQ, - Float_t &erry,Float_t &errz); + Float_t tgl,Float_t tgphitr,Float_t expQ, + Float_t &erry,Float_t &errz,Float_t &covyz, + Bool_t addMisalErr=kTRUE); + static Int_t GetError(Int_t layer,const AliITSRecPoint*cl, + Float_t tgl,Float_t tgphitr,Float_t expQ, + Float_t &erry,Float_t &errz, + Bool_t addMisalErr=kTRUE) { + Float_t covyz; + return GetError(layer,cl,tgl,tgphitr,expQ,erry,errz,covyz,addMisalErr); + } //void FitData(TTree * tree); // protected: static AliITSClusterParam* fgInstance; //! Instance of this class (singleton implementation) + static Int_t GetErrorOrigRecPoint(const AliITSRecPoint*cl, + Float_t &erry,Float_t &errz,Float_t &covyz); + static Int_t GetErrorParamMI(Int_t layer,const AliITSRecPoint*cl, + Float_t tgl,Float_t tgphitr,Float_t expQ, + Float_t &erry,Float_t &errz); + static Int_t GetErrorParamAngle(Int_t layer,const AliITSRecPoint*cl, + Float_t tgl,Float_t tgphitr, + Float_t &erry,Float_t &errz); + static Int_t GetErrorParamAngleOld(Int_t layer,const AliITSRecPoint*cl, + Float_t tgl,Float_t tgphitr, + Float_t &erry,Float_t &errz); + ClassDef(AliITSClusterParam,1) // ITS cluster parametrization class };