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 */
8 ////////////////////////////////////////////////////////////////////////
10 // AliTOFConstants class
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.
17 // Author: Jiri Chudoba (CERN), F. Pierella
19 ////////////////////////////////////////////////////////////////////////
23 class AliTOFConstants {
25 // return number of chambers
26 static const Int_t fgkNStripA; // number of strips in A type module
27 static const Int_t fgkNStripB; // number of strips in B type module
28 static const Int_t fgkNStripC; // number of strips in C type module
29 static const Int_t fgkNpadX; // Number of pads in a strip along the X direction
30 static const Int_t fgkNpadZ; // Number of pads in a strip along the Z direction
31 static const Int_t fgkPadXSector;
32 static const Int_t fgkNSectors;
33 static const Int_t fgkNPlates;
35 static const Float_t fgkrmin; // inner radius of the TOF detector (cm)
36 static const Float_t fgkrmax; // outer radius of the TOF detector (cm)
37 static const Int_t fgkmaxtoftree; // numer of geom. levels:
38 // 1 - sector, 2 - module(plate), 3 - strip, 4 - padZ, 5 - padX
39 static const Int_t fgkmaxNstrip; //20 - max. number of strips, A - 15, B - 19, C - 20
40 static const Int_t fgkPadXStrip; // number of pads per strip
41 static const Float_t fgkzlenA;// length (cm) of the A module, need for generation of add. noise
42 static const Float_t fgkzlenB;// length (cm) of the B module, need for generation of add. noise
43 static const Float_t fgkzlenC;// length (cm) of the C module, need for generation of add. noise
44 static const Float_t fgkXPad; //size of a pad in the x direction (cm)
45 static const Float_t fgkZPad; //size of a pad in the z direction (cm)
46 static const Float_t fgkMaxhZtof;//max.half z-size of TOF (cm)
47 static const Float_t fgkSigmaForTail1;// sigma for simulation of tails in TDC (1)
48 static const Float_t fgkSigmaForTail2;// sigma for simulation of tails in TDC (2)
50 // if two signals ar eseparated less than fgkTimeDiff, they are merged
51 // and considered as one
52 static const Int_t fgkTimeDiff; // time in ps,
53 // speed of light (used in reconstruction) given in 10^9 m/s
54 static const Float_t fgkSpeedOfLight; //
55 // mass values for pi/K/p/e/mu in [GeV/c^2]
56 // used in reconstruction
57 static const Float_t fgkPionMass; // charged pion mass
58 static const Float_t fgkKaonMass; // charged kaon mass
59 static const Float_t fgkProtonMass; // proton mass
60 static const Float_t fgkElectronMass; // electron mass
61 static const Float_t fgkMuonMass; // muon mass
65 virtual ~AliTOFConstants(){}
67 ClassDef(AliTOFConstants, 0) // TOF global constants