eea7caf31cb06eb80cd70447baf4ea1b3106b88f
[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 \r
17 class AliTOFCableLengthMap: public TObject{\r
18 \r
19  public:\r
20   AliTOFCableLengthMap();\r
21   virtual ~AliTOFCableLengthMap();\r
22   static Float_t GetCableLength(Int_t icrate, Int_t islot, Int_t ichain, Int_t itdc);\r
23   static Float_t GetCableTimeShift(Int_t icrate, Int_t islot, Int_t ichain, Int_t itdc);\r
24   static Float_t GetPropagationDelay() {return fgkPropagationDelay;};\r
25 \r
26  private:\r
27   \r
28   static const Float_t fgkCableLength[72][10][2][5];//Cable Length\r
29   static const Float_t fgkPropagationDelay;// Propagation delay [ns/cm]\r
30 \r
31   ClassDef(AliTOFCableLengthMap,0) // TOF Cable Length Map class\r
32     };\r
33 \r
34 #endif\r