BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
Constants.cxx
Go to the documentation of this file.
1//--------------------------------------------------------------------------
2//
3// Description:
4// Class Constants; encapsulates static constants
5//
6// See header for more info
7//
8// Environment:
9// Software developed for the BESIII Detector at the BEPCII
10//
11// Author List:
12// Zhang Yao
13//
14// Copyright Information:
15// Copyright (C) 2006
16//
17// History:
18// Migration for BESIII MDC
19//
20//------------------------------------------------------------------------
21
22//-----------------------
23// This Class's Header --
24//-----------------------
25#include "MdcGeom/Constants.h"
26#include "CLHEP/Units/PhysicalConstants.h"
27
28const double Constants::pi = CLHEP::pi;
29const double Constants::twoPi = CLHEP::twopi;
30const double Constants::halfPi = CLHEP::halfpi;
31const double Constants::radToDegrees = 180. / pi;
32
33const double Constants::c = 2.99792458E10; // cm/sec
34const double Constants::epsilon = 0.000000001;
35const double Constants::vpropInner = 22.0; // cm/nsec
36const double Constants::vpropOuter = 24.0; // cm/nsec
37
38const int Constants::nSuperLayer = 11;
39const int Constants::nWireBeforeLayer[43] = {
40 0, 40, 84, 132, 188, 252, 324, 404, 484, 560, 636, 724, 812, 912, 1012,
41 1124, 1236, 1364, 1492, 1632, 1772, 1932, 2092, 2252, 2412, 2588, 2764, 2940, 3116, 3324,
42 3532, 3740, 3948, 4188, 4428, 4668, 4908, 5164, 5420, 5676, 5932, 6220, 6508 };
43const int Constants::maxCell[43] = { 40, 44, 48, 56, 64, 72, 80, 80, 76, 76, 88,
44 88, 100, 100, 112, 112, 128, 128, 140, 140, 160, 160,
45 160, 160, 176, 176, 176, 176, 208, 208, 208, 208, 240,
46 240, 240, 240, 256, 256, 256, 256, 288, 288, 288 };
47
48const int Constants::viewOfsLayer[11] = { 1, -1, 0, 0, 0, 1, -1, 1, -1, 0, 0 }; // FIXME
49
50/// MDC Geometry
51const double Constants::firstStLayerRadius = 23.6;
52const double Constants::maxMdcRadius = 81.0;
53const double Constants::maxMdcZLen = 150.;
double pi
static const double firstStLayerRadius
MDC Geometry.