]>
Commit | Line | Data |
---|---|---|
5919c40c | 1 | /************************************************************************** |
2 | * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
3 | * * | |
4 | * Author: The ALICE Off-line Project. * | |
5 | * Contributors are mentioned in the code where appropriate. * | |
6 | * * | |
7 | * Permission to use, copy, modify and distribute this software and its * | |
8 | * documentation strictly for non-commercial purposes is hereby granted * | |
9 | * without fee, provided that the above copyright notice appears in all * | |
10 | * copies and that both the copyright notice and this permission notice * | |
11 | * appear in the supporting documentation. The authors make no claims * | |
12 | * about the suitability of this software for any purpose. It is * | |
13 | * provided "as is" without express or implied warranty. * | |
14 | **************************************************************************/ | |
15 | ||
1d9b3f6b | 16 | /* |
17 | $Log$ | |
2a64278f | 18 | Revision 1.3 2002/02/13 16:53:18 vicinanz |
19 | Added AliTOFhitT0 class | |
20 | ||
58e32bd2 | 21 | Revision 1.2 2001/11/22 11:30:30 hristov |
22 | Correct log field | |
23 | ||
1d9b3f6b | 24 | Revision 1.1 2001/11/22 11:22:51 hristov |
25 | Updated version of TOF digitization, N^2 problem solved (J.Chudoba) | |
26 | ||
27 | */ | |
5919c40c | 28 | |
29 | //////////////////////////////////////////////////////////////////////// | |
30 | // | |
31 | // AliTOFConstants class | |
32 | // | |
33 | // This class serves to group constants needed by TOF detector in 1 | |
34 | // easily accessible place. All constants are public const static data | |
35 | // members. The class is never instatiated. | |
36 | // | |
37 | // Note: only a few constants are in the first version of this class, | |
38 | // more should be added by TOF developpers | |
39 | // | |
58e32bd2 | 40 | // Author: Jiri Chudoba (CERN), F. Pierella |
5919c40c | 41 | // |
42 | //////////////////////////////////////////////////////////////////////// | |
43 | ||
44 | #include "AliTOFConstants.h" | |
45 | ||
2a64278f | 46 | const Int_t AliTOFConstants::fgkNStripA = 15; |
47 | const Int_t AliTOFConstants::fgkNStripB = 19; | |
48 | const Int_t AliTOFConstants::fgkNStripC = 20; | |
49 | const Int_t AliTOFConstants::fgkNpadX = 48; | |
50 | const Int_t AliTOFConstants::fgkNpadZ = 2; | |
51 | const Int_t AliTOFConstants::fgkPadXSector = | |
52 | (fgkNStripA + 2*fgkNStripB + 2*fgkNStripC)*fgkNpadX*fgkNpadZ; | |
53 | const Int_t AliTOFConstants::fgkNSectors = 18; | |
54 | const Int_t AliTOFConstants::fgkNPlates = 5; | |
5919c40c | 55 | |
2a64278f | 56 | const Float_t AliTOFConstants::fgkrmin = 370.; |
57 | const Float_t AliTOFConstants::fgkrmax = 399.; | |
58 | const Int_t AliTOFConstants::fgkmaxtoftree = 5; | |
59 | const Int_t AliTOFConstants::fgkmaxNstrip = 20; | |
60 | const Int_t AliTOFConstants::fgkPadXStrip = fgkNpadX*fgkNpadZ; | |
61 | const Float_t AliTOFConstants::fgkzlenA = 106.0; | |
62 | const Float_t AliTOFConstants::fgkzlenB = 141.0; | |
63 | const Float_t AliTOFConstants::fgkzlenC = 177.5; | |
64 | const Float_t AliTOFConstants::fgkXPad = 2.5; | |
65 | const Float_t AliTOFConstants::fgkZPad = 3.5; | |
66 | const Float_t AliTOFConstants::fgkMaxhZtof = 371.5; | |
67 | const Float_t AliTOFConstants::fgkSigmaForTail1= 2.; | |
68 | const Float_t AliTOFConstants::fgkSigmaForTail2=0.5; | |
69 | const Int_t AliTOFConstants::fgkTimeDiff = 25000; | |
70 | const Float_t AliTOFConstants::fgkSpeedOfLight = 0.299792458; | |
71 | const Float_t AliTOFConstants::fgkPionMass = 0.13957; | |
72 | const Float_t AliTOFConstants::fgkKaonMass = 0.49368; | |
73 | const Float_t AliTOFConstants::fgkProtonMass = 0.93827; | |
74 | const Float_t AliTOFConstants::fgkElectronMass = 0.00051; | |
75 | const Float_t AliTOFConstants::fgkMuonMass = 0.10566; | |
5919c40c | 76 | ClassImp(AliTOFConstants) |
2a64278f | 77 |