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