]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TOF/AliTOFConstants.cxx
Classes for reading raw data moved to the RAW module. New on-line MONITORING module...
[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
803d1ab0 16/* $Id$ */
5919c40c 17
18////////////////////////////////////////////////////////////////////////
19//
20// AliTOFConstants class
21//
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.
25//
26// Note: only a few constants are in the first version of this class,
27// more should be added by TOF developpers
28//
58e32bd2 29// Author: Jiri Chudoba (CERN), F. Pierella
5919c40c 30//
31////////////////////////////////////////////////////////////////////////
32
33#include "AliTOFConstants.h"
34
2a64278f 35const Int_t AliTOFConstants::fgkNStripA = 15;
36const Int_t AliTOFConstants::fgkNStripB = 19;
37const Int_t AliTOFConstants::fgkNStripC = 20;
38const Int_t AliTOFConstants::fgkNpadX = 48;
39const Int_t AliTOFConstants::fgkNpadZ = 2;
40const Int_t AliTOFConstants::fgkPadXSector =
41 (fgkNStripA + 2*fgkNStripB + 2*fgkNStripC)*fgkNpadX*fgkNpadZ;
42const Int_t AliTOFConstants::fgkNSectors = 18;
43const Int_t AliTOFConstants::fgkNPlates = 5;
5919c40c 44
2a64278f 45const Float_t AliTOFConstants::fgkrmin = 370.;
46const Float_t AliTOFConstants::fgkrmax = 399.;
47const Int_t AliTOFConstants::fgkmaxtoftree = 5;
48const Int_t AliTOFConstants::fgkmaxNstrip = 20;
49const Int_t AliTOFConstants::fgkPadXStrip = fgkNpadX*fgkNpadZ;
50const Float_t AliTOFConstants::fgkzlenA = 106.0;
51const Float_t AliTOFConstants::fgkzlenB = 141.0;
52const Float_t AliTOFConstants::fgkzlenC = 177.5;
53const Float_t AliTOFConstants::fgkXPad = 2.5;
54const Float_t AliTOFConstants::fgkZPad = 3.5;
55const Float_t AliTOFConstants::fgkMaxhZtof = 371.5;
56const Float_t AliTOFConstants::fgkSigmaForTail1= 2.;
57const Float_t AliTOFConstants::fgkSigmaForTail2=0.5;
58const Int_t AliTOFConstants::fgkTimeDiff = 25000;
59const Float_t AliTOFConstants::fgkSpeedOfLight = 0.299792458;
60const Float_t AliTOFConstants::fgkPionMass = 0.13957;
61const Float_t AliTOFConstants::fgkKaonMass = 0.49368;
62const Float_t AliTOFConstants::fgkProtonMass = 0.93827;
63const Float_t AliTOFConstants::fgkElectronMass = 0.00051;
64const Float_t AliTOFConstants::fgkMuonMass = 0.10566;
5919c40c 65ClassImp(AliTOFConstants)
2a64278f 66