BOSS 7.1.2
BESIII Offline Software System
Loading...
Searching...
No Matches
Constants Class Reference

#include <Constants.h>

Static Public Attributes

static const double pi = CLHEP::pi
 
static const double twoPi = CLHEP::twopi
 
static const double halfPi = CLHEP::halfpi
 
static const double radToDegrees = 180./pi
 
static const double c = 2.99792458E10
 
static const double epsilon = 0.000000001
 
static const double vpropInner = 22.0
 
static const double vpropOuter = 24.0
 
static const int nSuperLayer = 11
 
static const int nWireBeforeLayer [43] = {0,40,84,132,188,252,324,404,484,560,636,724,812,912,1012,1124,1236,1364,1492,1632,1772,1932,2092,2252,2412,2588,2764,2940,3116,3324,3532,3740,3948,4188,4428,4668,4908,5164,5420,5676,5932,6220,6508}
 
static const int maxCell [43]
 
static const int viewOfsLayer [11] = {1,-1,0,0,0,1,-1,1,-1,0,0}
 
static const double firstStLayerRadius = 23.6
 MDC Geometry.
 
static const double maxMdcRadius = 81.0
 
static const double maxMdcZLen = 150.
 

Detailed Description

Definition at line 31 of file Constants.h.

Member Data Documentation

◆ c

◆ epsilon

◆ firstStLayerRadius

const double Constants::firstStLayerRadius = 23.6
static

MDC Geometry.

Definition at line 59 of file Constants.h.

◆ halfPi

const double Constants::halfPi = CLHEP::halfpi
static

Definition at line 40 of file Constants.h.

Referenced by EntranceAngle::normalize().

◆ maxCell

const int Constants::maxCell
static
Initial value:
= {
40,44,48,56, 64,72,80,80, 76,76,88,88,
100,100,112,112, 128,128,140,140, 160,160,160,160,
176,176,176,176, 208,208,208,208, 240,240,240,240,
256,256,256,256, 288,288,288 }

Definition at line 40 of file Constants.h.

74 {
75
76 public:
77
78 // Initialization of these is done in the .cc file. Although this
79 // could be done here, it is not supported by the DEC C++ compiler
80 // and is a recent change to the language reference.
81 static const double pi;
82 static const double twoPi;
83 static const double halfPi;
84 static const double radToDegrees;
85
86 static const double c;
87
88 // small value
89 static const double epsilon;
90
91 // pulse propagation velocity in cm/nsec
92 static const double vpropInner;//cm/nsec
93 static const double vpropOuter;//cm/nsec
94
95 // for global wire no. calc.
96 static const int nSuperLayer;
97 static const int nWireBeforeLayer[43];
98 static const int maxCell[43];
99 static const int viewOfsLayer[11];
100
101 /// MDC Geometry
102 static const double firstStLayerRadius;
103 static const double maxMdcRadius;
104 static const double maxMdcZLen;
105
106};
107
108#endif
109
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

Referenced by MdcTrackList::pickHits().

◆ maxMdcRadius

const double Constants::maxMdcRadius = 81.0
static

Definition at line 60 of file Constants.h.

◆ maxMdcZLen

const double Constants::maxMdcZLen = 150.
static

Definition at line 61 of file Constants.h.

◆ nSuperLayer

const int Constants::nSuperLayer = 11
static

Definition at line 53 of file Constants.h.

Referenced by MdcxFindTracks::process().

◆ nWireBeforeLayer

const int Constants::nWireBeforeLayer = {0,40,84,132,188,252,324,404,484,560,636,724,812,912,1012,1124,1236,1364,1492,1632,1772,1932,2092,2252,2412,2588,2764,2940,3116,3324,3532,3740,3948,4188,4428,4668,4908,5164,5420,5676,5932,6220,6508}
static

Definition at line 39 of file Constants.h.

Referenced by MdcTrkRecon::fillMcTruth().

◆ pi

◆ radToDegrees

const double Constants::radToDegrees = 180./pi
static

◆ twoPi

◆ viewOfsLayer

const int Constants::viewOfsLayer = {1,-1,0,0,0,1,-1,1,-1,0,0}
static

Definition at line 46 of file Constants.h.

Referenced by MdcxHit::process().

◆ vpropInner

const double Constants::vpropInner = 22.0
static

Definition at line 49 of file Constants.h.

◆ vpropOuter

const double Constants::vpropOuter = 24.0
static

Definition at line 50 of file Constants.h.


The documentation for this class was generated from the following files: