BOSS 7.0.2
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_Mdc(0),
31 m_Tof(0),
32 m_Emc(0),
33 m_Muc(0),
34 m_MdcROOTGeo(0),
35 m_TofROOTGeo(0),
36 m_EmcROOTGeo(0),
37 m_MucROOTGeo(0)
38{
39 // Create Bes geometry
40 if (!gGeoManager) new TGeoManager("BesGeo", "BesGeometry");
41 else gGeoManager-> ClearPhysicalNodes();
42
43 m_BesR = 2840.0;
44 m_BesZ = 5680.0;
45
46 m_BeamPipeRMin = 31.5;
47 m_BeamPipeRMax = 35.8;
48 m_BeamPipeZ = 150.0;
49}

Variable Documentation

◆ gBesGeometry

BesGeometry* gBesGeometry = 0

Definition at line 17 of file BesGeometry.cxx.