Updates
[u/mrichter/AliRoot.git] / TOF / AliTOFCableLengthMap.h
CommitLineData
2fe622b6 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
9e4c7c84 16#include "AliTOFGeometry.h"\r
2fe622b6 17\r
18class 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
9e4c7c84 25 static Int_t GetCableTimeShiftBin(Int_t icrate, Int_t islot, Int_t ichain, Int_t itdc);\r
e7481300 26 static Float_t GetPropagationDelay() {return fgkPropagationDelay;};\r
2fe622b6 27\r
28 private:\r
29 \r
30 static const Float_t fgkCableLength[72][10][2][5];//Cable Length\r
e7481300 31 static const Float_t fgkPropagationDelay;// Propagation delay [ns/cm]\r
32\r
2fe622b6 33 ClassDef(AliTOFCableLengthMap,0) // TOF Cable Length Map class\r
34 };\r
35\r
36#endif\r