]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TOF/AliTOFConstants.h
Better protection.
[u/mrichter/AliRoot.git] / TOF / AliTOFConstants.h
CommitLineData
5919c40c 1#ifndef ALITOFCONSTANTS_H
2#define ALITOFCONSTANTS_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6/*$Id$*/
7
8////////////////////////////////////////////////////////////////////////
9//
10// AliTOFConstants class
11//
12// This class serves to group constants needed by TOF detector in 1
13// easily accessible place. All constants are public const static data
14// members. The class is never instatiated.
15//
16//
17// Author: Jiri Chudoba (CERN)
18//
19////////////////////////////////////////////////////////////////////////
20
21#include <TObject.h>
22
23class AliTOFConstants {
24 public:
25 // return number of chambers
26 static const Int_t fgkNStripA = 15; // number of strips in A type module
27 static const Int_t fgkNStripB = 19; // number of strips in B type module
28 static const Int_t fgkNStripC = 20; // number of strips in C type module
29 static const Int_t fgkNpadX = 48; // Number of pads in a strip along the X direction
30 static const Int_t fgkNpadZ = 2; // Number of pads in a strip along the Z direction
31 static const Int_t fgkPadXSector =
32 (fgkNStripA + 2*fgkNStripB + 2*fgkNStripC)*fgkNpadX*fgkNpadZ;
33 static const Int_t fgkNSectors = 18;
34 static const Int_t fgkNPlates = 5;
35
36// if two signals ar eseparated less than fgkTimeDiff, they are merged
37// and considered as one
38 static const Int_t fgkTimeDiff = 25000; // time in ps,
39
40
41 private:
42 AliTOFConstants(){}
43 virtual ~AliTOFConstants(){}
44
45 ClassDef(AliTOFConstants, 0) // TOF global constants
46};
47
48#endif