CGEM BOSS 6.6.5.i
BESIII Offline Software System
Loading...
Searching...
No Matches
BesGeometry.cxx File Reference
#include <iostream>
#include <TGeoManager.h>
#include <TGeoMaterial.h>
#include <TGeoMedium.h>
#include <TGeoVolume.h>
#include <TGeoTube.h>
#include <TGeoArb8.h>
#include <TGeoMatrix.h>
#include <TCanvas.h>
#include "BesVisLib/BesGeometry.h"
#include "BesVisLib/BesCircle2D.h"
#include "BesVisLib/BesPolygon2D.h"
#include "BesVisLib/Mdc2DWire.h"

Go to the source code of this file.

Functions

 ClassImp (BesGeometry) BesGeometry
 

Variables

BesGeometrygBesGeometry = 0
 

Function Documentation

◆ ClassImp()

ClassImp ( BesGeometry )

Definition at line 22 of file BesGeometry.cxx.

27 : TObject(),
28 m_Bes(0),
29 m_BeamPipe(0),
30 m_Cgem(0), //Long Peixun's update: for CGEM
31 m_Mdc(0),
32 m_Tof(0),
33 m_Emc(0),
34 m_Muc(0),
35 m_MdcROOTGeo(0),
36 m_TofROOTGeo(0),
37 m_EmcROOTGeo(0),
38 m_MucROOTGeo(0),
39 m_CgemROOTGeo(0) //Long Peixun's update: for CGEM
40{
41 // Create Bes geometry
42 if (!gGeoManager) new TGeoManager("BesGeo", "BesGeometry");
43 else gGeoManager-> ClearPhysicalNodes();
44
45 m_BesR = 2840.0;
46 m_BesZ = 5680.0;
47
48 m_BeamPipeRMin = 31.5;
49 m_BeamPipeRMax = 35.8;
50 m_BeamPipeZ = 150.0;
51 m_BeamPipeColor = 922; //Long Peixun's update: Set Beampipe's color
52}

Variable Documentation

◆ gBesGeometry

BesGeometry* gBesGeometry = 0

Definition at line 17 of file BesGeometry.cxx.