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 = 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;
36 static const Float_t fgkrmin = 370.; // inner radius of the TOF detector (cm)
37 static const Float_t fgkrmax = 399.; // outer radius of the TOF detector (cm)
38 static const Int_t fgkmaxtoftree = 5; // numer of geom. levels:
39 // 1 - sector, 2 - module(plate), 3 - strip, 4 - padZ, 5 - padX
40 static const Int_t fgkmaxNstrip = 20; //20 - max. number of strips, A - 15, B - 19, C - 20
41 static const Int_t fgkPadXStrip = fgkNpadX*fgkNpadZ; // number of pads per strip
42 static const Float_t fgkzlenA = 106.0;// length (cm) of the A module, need for generation of add. noise
43 static const Float_t fgkzlenB = 141.0;// length (cm) of the B module, need for generation of add. noise
44 static const Float_t fgkzlenC = 177.5;// length (cm) of the C module, need for generation of add. noise
45 static const Float_t fgkXPad = 2.5; //size of a pad in the x direction (cm)
46 static const Float_t fgkZPad = 3.5; //size of a pad in the z direction (cm)
47 static const Float_t fgkMaxhZtof = 371.5;//max.half z-size of TOF (cm)
48 static const Float_t fgkSigmaForTail1= 2.;// sigma for simulation of tails in TDC (1)
49 static const Float_t fgkSigmaForTail2=0.5;// sigma for simulation of tails in TDC (2)
51 // if two signals ar eseparated less than fgkTimeDiff, they are merged
52 // and considered as one
53 static const Int_t fgkTimeDiff = 25000; // time in ps,
54 // speed of light (used in reconstruction) given in 10^9 m/s
55 static const Float_t fgkSpeedOfLight = 0.299792458; //
56 // mass values for pi/K/p/e/mu in [GeV/c^2]
57 // used in reconstruction
58 static const Float_t fgkPionMass = 0.13957; // charged pion mass
59 static const Float_t fgkKaonMass = 0.49368; // charged kaon mass
60 static const Float_t fgkProtonMass = 0.93827; // proton mass
61 static const Float_t fgkElectronMass = 0.00051; // electron mass
62 static const Float_t fgkMuonMass = 0.10566; // muon mass
66 virtual ~AliTOFConstants(){}
68 ClassDef(AliTOFConstants, 0) // TOF global constants