suppress off-line finders ( vertex etc.)
[u/mrichter/AliRoot.git] / TPC / AliDetectorParam.h
CommitLineData
1210abef 1#ifndef ALIDETECTORPARAM_H
2#define ALIDETECTORPARAM_H
cc80f89e 3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6/* $Id$ */
7
8////////////////////////////////////////////////
9// Manager class for detector parameters //
10////////////////////////////////////////////////
11
cc80f89e 12#include <TNamed.h>
13class AliDetectorParam : public TNamed {
14public:
179c6296 15 AliDetectorParam();
73042f01 16 virtual Int_t GetNSegmentsTotal() const {return 0;} //get total nuber of segments
176aff27 17 virtual Bool_t Get1DIndex(Int_t */*index*/, const Int_t * /*arrindex*/) {return kFALSE;}
cc80f89e 18 //transform multidimensional index to one dimesional
176aff27 19 virtual Bool_t GetNDIndex(const Int_t * /*index1*/, Int_t * /*arrIndex*/) {return kFALSE;}
cc80f89e 20 //trasnform one dimesional index to multidimesional
176aff27 21 virtual Float_t GetPrimaryLoss(Float_t */*x*/, Int_t */*index*/, Float_t */*angle*/){return 0;}
22 virtual Float_t GetTotalLoss(Float_t */*x*/, Int_t */*index*/, Float_t */*angle*/){return 0;}
23 virtual void GetClusterSize(Float_t */*x*/, Int_t */*index*/, Float_t */*angle*/, Int_t /*mode*/, Float_t */*sigma*/){;}
24 virtual void GetSpaceResolution(Float_t */*x*/, Int_t */*index*/, Float_t */*angle*/, Float_t /*amplitude*/, Int_t /*mode*/,
25 Float_t */*sigma*/){;}
cc80f89e 26 virtual Float_t * GetAnglesAccMomentum(Float_t *x, Int_t * index, Float_t* momentum, Float_t *angle);
27
28 void SetBField(Float_t b){fBField=b;} //set magnetic field intensity
29 void SetNPrimLoss(Float_t loss) {fNPrimLoss = loss;}
30 void SetNTotalLoss(Float_t loss) {fNTotalLoss = loss;}
31 Float_t GetBFiled() {return fBField;}
32 Float_t GetNPrimLoss() {return fNPrimLoss;}
33 Float_t GetNTotalLoss() {return fNTotalLoss;}
34protected:
35 Float_t fBField; //intensity of magnetic field
36 Float_t fNPrimLoss; //number of produced primary electrons per cm
37 Float_t fNTotalLoss; //total number of produced electrons per cm
38
39 ClassDef(AliDetectorParam,1) //parameter object for set:TPC
40};
41
42
43
44
45#endif //ALIDPARAM_H