1 #ifndef ALIITSCLUSTERPARAM_H
2 #define ALIITSCLUSTERPARAM_H
3 /* Copyright(c) 1998-2007, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
8 ////////////////////////////////////////////////////
10 // ITS cluster error and shape parameterization //
11 // andrea.dainese@lnl.infn.it //
12 ////////////////////////////////////////////////////
16 #include "AliITSRecPoint.h"
20 //_____________________________________________________________________________
21 class AliITSClusterParam : public TObject {
23 static AliITSClusterParam* Instance();
24 AliITSClusterParam(){}
25 virtual ~AliITSClusterParam(){;}
26 virtual void Print(Option_t* option = "") const;
27 void SetInstance(AliITSClusterParam *param){fgInstance = param;}
28 static void GetNTeor(Int_t layer,const AliITSRecPoint* cl,
29 Float_t tgl,Float_t tgphitr,
30 Float_t &ny,Float_t &nz);
31 static Int_t GetError(Int_t layer,const AliITSRecPoint*cl,
32 Float_t tgl,Float_t tgphitr,Float_t expQ,
33 Float_t &erry,Float_t &errz);
35 //void FitData(TTree * tree);
38 static AliITSClusterParam* fgInstance; //! Instance of this class (singleton implementation)
39 static Int_t GetErrorOrigRecPoint(const AliITSRecPoint*cl,
40 Float_t &erry,Float_t &errz);
41 static Int_t GetErrorParamMI(Int_t layer,const AliITSRecPoint*cl,
42 Float_t tgl,Float_t tgphitr,Float_t expQ,
43 Float_t &erry,Float_t &errz);
44 static Int_t GetErrorParamAngle(Int_t layer,const AliITSRecPoint*cl,
45 Float_t tgl,Float_t tgphitr,
46 Float_t &erry,Float_t &errz);
48 ClassDef(AliITSClusterParam,1) // ITS cluster parametrization class