BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
BesGeometry.cxx File Reference
#include <TCanvas.h>
#include <TGeoArb8.h>
#include <TGeoManager.h>
#include <TGeoMaterial.h>
#include <TGeoMatrix.h>
#include <TGeoMedium.h>
#include <TGeoTube.h>
#include <TGeoVolume.h>
#include <iostream>
#include "BesVisLib/BesCircle2D.h"
#include "BesVisLib/BesGeometry.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.

28 : TObject()
29 , m_Bes( 0 )
30 , m_BeamPipe( 0 )
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 // 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 m_BeamPipeColor = 922; // Long Peixun's update: Set Beampipe's color
50}

Variable Documentation

◆ gBesGeometry

BesGeometry* gBesGeometry = 0

Definition at line 17 of file BesGeometry.cxx.