CGEM BOSS
6.6.5.f
BESIII Offline Software System
Loading...
Searching...
No Matches
ExtBesMdcConstruction.cxx
Go to the documentation of this file.
1
#include "TrkExtAlg/ExtBesMdcConstruction.h"
2
#include "G4LogicalVolume.hh"
3
#include "G4PVPlacement.hh"
4
#include "G4PVReplica.hh"
5
6
#include "G4UserLimits.hh"
7
8
#include "G4ios.hh"
9
#include "G4Geo/MdcG4Geo.h"
10
11
ExtBesMdcConstruction::ExtBesMdcConstruction
() {}
12
13
ExtBesMdcConstruction::~ExtBesMdcConstruction
() {}
14
15
void
ExtBesMdcConstruction::Construct
(G4LogicalVolume* logicBes)
16
{
17
MdcG4Geo
* aMdcG4Geo =
new
MdcG4Geo
();
18
G4LogicalVolume* logicalMdc = aMdcG4Geo->
GetTopVolume
();
19
if
(!logicalMdc){
20
G4cout<<
"ExtBesMdcConstruction::Construct(), logicalMdc not found"
<<G4endl;
21
}
22
else
{
//construct Mdc
23
physicalMdc =
new
G4PVPlacement(0,G4ThreeVector(0,0,0),logicalMdc,
"physicalMdc"
,logicBes,
false
, 0);}
24
}
ExtBesMdcConstruction::ExtBesMdcConstruction
ExtBesMdcConstruction()
Definition:
ExtBesMdcConstruction.cxx:11
ExtBesMdcConstruction::~ExtBesMdcConstruction
~ExtBesMdcConstruction()
Definition:
ExtBesMdcConstruction.cxx:13
ExtBesMdcConstruction::Construct
void Construct(G4LogicalVolume *)
Definition:
ExtBesMdcConstruction.cxx:15
MdcG4Geo
Definition:
DetectorDescription/G4Geo/G4Geo-00-00-13/G4Geo/MdcG4Geo.h:20
SubDetectorG4Geo::GetTopVolume
G4LogicalVolume * GetTopVolume()
Get the top(world) volume;.
Definition:
DetectorDescription/G4Geo/G4Geo-00-00-13/G4Geo/SubDetectorG4Geo.h:50
source
Reconstruction
TrkExtAlg
TrkExtAlg-00-00-60-p01
src
ExtBesMdcConstruction.cxx
Generated by
1.9.6