]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TOF/AliTOFCableLengthMap.h
Removing the flat makefiles
[u/mrichter/AliRoot.git] / TOF / AliTOFCableLengthMap.h
1 #ifndef ALITOFCABLELENGTHMAP_H\r
2 #define ALITOFCABLELENGTHMAP_H\r
3 \r
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *\r
5  * See cxx source for full Copyright notice                               */\r
6 \r
7 /* $Id: $ */\r
8 \r
9 ///////////////////////////////////////////////////////////////////////////////\r
10 //                                                                           //\r
11 //  TOF Cable Length Map class                                               //\r
12 //                                                                           //\r
13 ///////////////////////////////////////////////////////////////////////////////\r
14 \r
15 #include "TObject.h"\r
16 #include "AliTOFGeometry.h"\r
17 \r
18 class AliTOFCableLengthMap: public TObject{\r
19 \r
20  public:\r
21   AliTOFCableLengthMap();\r
22   virtual ~AliTOFCableLengthMap();\r
23   static Float_t GetCableLength(Int_t icrate, Int_t islot, Int_t ichain, Int_t itdc);\r
24   static Float_t GetCableTimeShift(Int_t icrate, Int_t islot, Int_t ichain, Int_t itdc);\r
25   static Int_t GetCableTimeShiftBin(Int_t icrate, Int_t islot, Int_t ichain, Int_t itdc);\r
26   static Float_t GetPropagationDelay() {return fgkPropagationDelay;};\r
27 \r
28  private:\r
29   \r
30   static const Float_t fgkCableLength[72][10][2][5];//Cable Length\r
31   static const Float_t fgkPropagationDelay;// Propagation delay [ns/cm]\r
32 \r
33   ClassDef(AliTOFCableLengthMap,0) // TOF Cable Length Map class\r
34     };\r
35 \r
36 #endif\r