4 // Class AliMpConstants
5 // --------------------
6 // Class for globally used constants definition.
8 // Authors: David Guez, Ivana Hrivnacova; IPN Orsay
10 #ifndef ALI_MP_CONSTANTS_H
11 #define ALI_MP_CONSTANTS_H
17 class AliMpConstants : public TObject
21 virtual ~AliMpConstants();
23 // static compare methods
24 static Bool_t IsEqual(Double_t length1, Double_t length2);
25 static Bool_t IsEqual(const TVector2& v1, const TVector2& v2);
28 static Double_t LengthTolerance();
29 static Double_t LengthStep();
30 static Int_t StartPadIndex();
33 // unused derived functions
34 virtual Bool_t IsEqual(const TObject*) const { return true; }
36 // static data members
37 static const Double_t fgkLengthTolerance;// the length precision for tests
38 static const Double_t fgkLengthStep; // the step in length used to move from
39 // a geometric border inside (pad, motif)
40 static const Int_t fgkStartPadIndex; // global pad indices start value
42 ClassDef(AliMpConstants,1) //Class for globally used constants definition
47 inline Double_t AliMpConstants::LengthTolerance() {return fgkLengthTolerance;}
48 inline Double_t AliMpConstants::LengthStep() {return fgkLengthStep;}
49 inline Int_t AliMpConstants::StartPadIndex() {return fgkStartPadIndex;}
51 #endif //ALI_MP_CONSTANTS_H