BOSS 7.1.1
BESIII Offline Software System
Loading...
Searching...
No Matches
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 vpropInner
Definition Constants.h:49
static const double pi
Definition Constants.h:38
static const double halfPi
Definition Constants.h:40
static const double twoPi
Definition Constants.h:39
static const int nWireBeforeLayer[43]
Definition Constants.h:39
static const double firstStLayerRadius
MDC Geometry.
Definition Constants.h:59
static const double maxMdcRadius
Definition Constants.h:60
static const double c
Definition Constants.h:43
static const int nSuperLayer
Definition Constants.h:53
static const double vpropOuter
Definition Constants.h:50
static const int maxCell[43]
Definition Constants.h:40
static const double radToDegrees
Definition Constants.h:41
static const double maxMdcZLen
Definition Constants.h:61
static const double epsilon
Definition Constants.h:46
static const int viewOfsLayer[11]
Definition Constants.h:46