]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TOF/AliTOFConstants.cxx
5e60db3a0e33a224811f3b0caef619a1cede64b5
[u/mrichter/AliRoot.git] / TOF / AliTOFConstants.cxx
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
16 /*
17 $Log$
18 Revision 1.3  2002/02/13 16:53:18  vicinanz
19 Added AliTOFhitT0 class
20
21 Revision 1.2  2001/11/22 11:30:30  hristov
22 Correct log field
23
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 */
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 //
40 // Author: Jiri Chudoba (CERN), F. Pierella
41 //
42 ////////////////////////////////////////////////////////////////////////
43
44 #include "AliTOFConstants.h"
45
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;
55
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)
77