3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
8 ////////////////////////////////////////////////
9 // Manager class for detector parameters //
10 ////////////////////////////////////////////////
14 // rootcint problems befor including AliDetectorParam.h you must include TObject.h
17 class AliDetectorParam : public TNamed {
20 virtual Int_t GetNSegmentsTotal(){return 0;} //get total nuber of segments
21 virtual Bool_t Get1DIndex(Int_t *index, const Int_t * arrindex) {return kFALSE;}
22 //transform multidimensional index to one dimesional
23 virtual Bool_t GetNDIndex(const Int_t * index1, Int_t * arrIndex) {return kFALSE;}
24 //trasnform one dimesional index to multidimesional
25 virtual Float_t GetPrimaryLoss(Float_t *x, Int_t *index, Float_t *angle){return 0;}
26 virtual Float_t GetTotalLoss(Float_t *x, Int_t *index, Float_t *angle){return 0;}
27 virtual void GetClusterSize(Float_t *x, Int_t *index, Float_t *angle, Int_t mode, Float_t *sigma){;}
28 virtual void GetSpaceResolution(Float_t *x, Int_t *index, Float_t *angle, Float_t amplitude, Int_t mode,
30 virtual Float_t * GetAnglesAccMomentum(Float_t *x, Int_t * index, Float_t* momentum, Float_t *angle);
32 void SetBField(Float_t b){fBField=b;} //set magnetic field intensity
33 void SetNPrimLoss(Float_t loss) {fNPrimLoss = loss;}
34 void SetNTotalLoss(Float_t loss) {fNTotalLoss = loss;}
35 Float_t GetBFiled() {return fBField;}
36 Float_t GetNPrimLoss() {return fNPrimLoss;}
37 Float_t GetNTotalLoss() {return fNTotalLoss;}
39 Float_t fBField; //intensity of magnetic field
40 Float_t fNPrimLoss; //number of produced primary electrons per cm
41 Float_t fNTotalLoss; //total number of produced electrons per cm
43 ClassDef(AliDetectorParam,1) //parameter object for set:TPC