1 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2 * See cxx source for full Copyright notice */
5 // $MpId: AliMpConstants.h,v 1.6 2005/08/26 15:43:36 ivana Exp $
8 /// \class AliMpConstants
9 /// \brief Globally used constants definition.
11 /// Authors: David Guez, Ivana Hrivnacova; IPN Orsay
13 #ifndef ALI_MP_CONSTANTS_H
14 #define ALI_MP_CONSTANTS_H
20 class AliMpConstants : public TObject
24 virtual ~AliMpConstants();
26 // static compare methods
27 static Bool_t IsEqual(Double_t length1, Double_t length2);
28 static Bool_t IsEqual(const TVector2& v1, const TVector2& v2);
31 static Double_t LengthTolerance();
32 static Double_t LengthStep();
33 static Int_t StartPadIndex();
36 // unused derived functions
37 virtual Bool_t IsEqual(const TObject*) const { return true; }
39 // static data members
40 static const Double_t fgkLengthTolerance;// the length precision for tests
41 static const Double_t fgkLengthStep; // the step in length used to move from
42 // a geometric border inside (pad, motif)
43 static const Int_t fgkStartPadIndex; // global pad indices start value
45 ClassDef(AliMpConstants,1) //Class for globally used constants definition
50 inline Double_t AliMpConstants::LengthTolerance() {return fgkLengthTolerance;}
51 inline Double_t AliMpConstants::LengthStep() {return fgkLengthStep;}
52 inline Int_t AliMpConstants::StartPadIndex() {return fgkStartPadIndex;}
54 #endif //ALI_MP_CONSTANTS_H