1 /**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
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 **************************************************************************/
18 Revision 1.3 2002/02/13 16:53:18 vicinanz
19 Added AliTOFhitT0 class
21 Revision 1.2 2001/11/22 11:30:30 hristov
24 Revision 1.1 2001/11/22 11:22:51 hristov
25 Updated version of TOF digitization, N^2 problem solved (J.Chudoba)
29 ////////////////////////////////////////////////////////////////////////
31 // AliTOFConstants class
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.
37 // Note: only a few constants are in the first version of this class,
38 // more should be added by TOF developpers
40 // Author: Jiri Chudoba (CERN), F. Pierella
42 ////////////////////////////////////////////////////////////////////////
44 #include "AliTOFConstants.h"
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;
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;
76 ClassImp(AliTOFConstants)