BOSS 7.0.5
BESIII Offline Software System
Loading...
Searching...
No Matches
Reconstruction/MdcPatRec/MdcGeom/MdcGeom-00-01-17/MdcGeom/Constants.h
Go to the documentation of this file.
1//--------------------------------------------------------------------------
2// File and Version Information:
3// $Id: Constants.h,v 1.7 2010/07/19 08:51:07 zhangy Exp $
4//
5// Description:
6// The Constants class contains various constant values as
7// static members in MdcPatRec package.
8//
9//
10// Environment:
11// Software developed for the BESIII Detector at the BEPCII.
12//
13// Author List:
14// Zhang Yao
15//
16// Copyright Information:
17// Copyright (C) 2006
18//
19// History:
20// Migration for BESIII MDC
21//
22//------------------------------------------------------------------------
23
24#ifndef CONSTANTS_HH
25#define CONSTANTS_HH
26
27//-----------------
28// Headers --
29//-----------------
30
31class Constants {
32
33 public:
34
35 // Initialization of these is done in the .cc file. Although this
36 // could be done here, it is not supported by the DEC C++ compiler
37 // and is a recent change to the language reference.
38 static const double pi;
39 static const double twoPi;
40 static const double halfPi;
41 static const double radToDegrees;
42
43 static const double c;
44
45 // small value
46 static const double epsilon;
47
48 // pulse propagation velocity in cm/nsec
49 static const double vpropInner;//cm/nsec
50 static const double vpropOuter;//cm/nsec
51
52 // for global wire no. calc.
53 static const int nSuperLayer;
54 static const int nWireBeforeLayer[43];
55 static const int maxCell[43];
56 static const int viewOfsLayer[11];
57
58 /// MDC Geometry
59 static const double firstStLayerRadius;
60 static const double maxMdcRadius;
61 static const double maxMdcZLen;
62
63};
64
65#endif
66
static const double firstStLayerRadius
MDC Geometry.