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 ////////////////////////////////////////////////////////////////////////
20 // AliTOFConstants class
22 // This class serves to group constants needed by TOF detector in 1
23 // easily accessible place. All constants are public const static data
24 // members. The class is never instatiated.
26 // Note: only a few constants are in the first version of this class,
27 // more should be added by TOF developpers
29 // Author: Jiri Chudoba (CERN), F. Pierella
31 ////////////////////////////////////////////////////////////////////////
33 #include "AliTOFConstants.h"
35 const Int_t AliTOFConstants::fgkNStripA = 15;
36 const Int_t AliTOFConstants::fgkNStripB = 19;
37 const Int_t AliTOFConstants::fgkNStripC = 20;
38 const Int_t AliTOFConstants::fgkNpadX = 48;
39 const Int_t AliTOFConstants::fgkNpadZ = 2;
40 const Int_t AliTOFConstants::fgkPadXSector =
41 (fgkNStripA + 2*fgkNStripB + 2*fgkNStripC)*fgkNpadX*fgkNpadZ;
42 const Int_t AliTOFConstants::fgkNSectors = 18;
43 const Int_t AliTOFConstants::fgkNPlates = 5;
45 const Float_t AliTOFConstants::fgkrmin = 370.;
46 const Float_t AliTOFConstants::fgkrmax = 399.;
47 const Int_t AliTOFConstants::fgkmaxtoftree = 5;
48 const Int_t AliTOFConstants::fgkmaxNstrip = 20;
49 const Int_t AliTOFConstants::fgkPadXStrip = fgkNpadX*fgkNpadZ;
50 const Float_t AliTOFConstants::fgkzlenA = 106.0;
51 const Float_t AliTOFConstants::fgkzlenB = 141.0;
52 const Float_t AliTOFConstants::fgkzlenC = 177.5;
53 const Float_t AliTOFConstants::fgkXPad = 2.5;
54 const Float_t AliTOFConstants::fgkZPad = 3.5;
55 const Float_t AliTOFConstants::fgkMaxhZtof = 371.5;
56 const Float_t AliTOFConstants::fgkSigmaForTail1= 2.;
57 const Float_t AliTOFConstants::fgkSigmaForTail2=0.5;
58 const Int_t AliTOFConstants::fgkTimeDiff = 25000;
59 const Float_t AliTOFConstants::fgkSpeedOfLight = 0.299792458;
60 const Float_t AliTOFConstants::fgkPionMass = 0.13957;
61 const Float_t AliTOFConstants::fgkKaonMass = 0.49368;
62 const Float_t AliTOFConstants::fgkProtonMass = 0.93827;
63 const Float_t AliTOFConstants::fgkElectronMass = 0.00051;
64 const Float_t AliTOFConstants::fgkMuonMass = 0.10566;
65 ClassImp(AliTOFConstants)