BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
Reconstruction/MdcPatRec/MdcGeom/include/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
33public:
34 // Initialization of these is done in the .cc file. Although this
35 // could be done here, it is not supported by the DEC C++ compiler
36 // and is a recent change to the language reference.
37 static const double pi;
38 static const double twoPi;
39 static const double halfPi;
40 static const double radToDegrees;
41
42 static const double c;
43
44 // small value
45 static const double epsilon;
46
47 // pulse propagation velocity in cm/nsec
48 static const double vpropInner; // cm/nsec
49 static const double vpropOuter; // cm/nsec
50
51 // for global wire no. calc.
52 static const int nSuperLayer;
53 static const int nWireBeforeLayer[43];
54 static const int maxCell[43];
55 static const int viewOfsLayer[11];
56
57 /// MDC Geometry
58 static const double firstStLayerRadius;
59 static const double maxMdcRadius;
60 static const double maxMdcZLen;
61};
62
63#endif
static const double firstStLayerRadius
MDC Geometry.