]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TOF/AliTOFConstants.cxx
Added macro to reproduce plots a la TOF PHENIX with ALICE-TOF
[u/mrichter/AliRoot.git] / TOF / AliTOFConstants.cxx
CommitLineData
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 18Revision 1.3 2002/02/13 16:53:18 vicinanz
19Added AliTOFhitT0 class
20
58e32bd2 21Revision 1.2 2001/11/22 11:30:30 hristov
22Correct log field
23
1d9b3f6b 24Revision 1.1 2001/11/22 11:22:51 hristov
25Updated 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 46const Int_t AliTOFConstants::fgkNStripA = 15;
47const Int_t AliTOFConstants::fgkNStripB = 19;
48const Int_t AliTOFConstants::fgkNStripC = 20;
49const Int_t AliTOFConstants::fgkNpadX = 48;
50const Int_t AliTOFConstants::fgkNpadZ = 2;
51const Int_t AliTOFConstants::fgkPadXSector =
52 (fgkNStripA + 2*fgkNStripB + 2*fgkNStripC)*fgkNpadX*fgkNpadZ;
53const Int_t AliTOFConstants::fgkNSectors = 18;
54const Int_t AliTOFConstants::fgkNPlates = 5;
5919c40c 55
2a64278f 56const Float_t AliTOFConstants::fgkrmin = 370.;
57const Float_t AliTOFConstants::fgkrmax = 399.;
58const Int_t AliTOFConstants::fgkmaxtoftree = 5;
59const Int_t AliTOFConstants::fgkmaxNstrip = 20;
60const Int_t AliTOFConstants::fgkPadXStrip = fgkNpadX*fgkNpadZ;
61const Float_t AliTOFConstants::fgkzlenA = 106.0;
62const Float_t AliTOFConstants::fgkzlenB = 141.0;
63const Float_t AliTOFConstants::fgkzlenC = 177.5;
64const Float_t AliTOFConstants::fgkXPad = 2.5;
65const Float_t AliTOFConstants::fgkZPad = 3.5;
66const Float_t AliTOFConstants::fgkMaxhZtof = 371.5;
67const Float_t AliTOFConstants::fgkSigmaForTail1= 2.;
68const Float_t AliTOFConstants::fgkSigmaForTail2=0.5;
69const Int_t AliTOFConstants::fgkTimeDiff = 25000;
70const Float_t AliTOFConstants::fgkSpeedOfLight = 0.299792458;
71const Float_t AliTOFConstants::fgkPionMass = 0.13957;
72const Float_t AliTOFConstants::fgkKaonMass = 0.49368;
73const Float_t AliTOFConstants::fgkProtonMass = 0.93827;
74const Float_t AliTOFConstants::fgkElectronMass = 0.00051;
75const Float_t AliTOFConstants::fgkMuonMass = 0.10566;
5919c40c 76ClassImp(AliTOFConstants)
2a64278f 77