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