BOSS
7.1.1
BESIII Offline Software System
Loading...
Searching...
No Matches
ExtBesMucConstruction.cxx
Go to the documentation of this file.
1
#include "
TrkExtAlg/ExtBesMucConstruction.h
"
2
#include "
G4Geo/MucG4Geo.h
"
3
4
ExtBesMucConstruction::ExtBesMucConstruction
() {}
5
6
ExtBesMucConstruction::~ExtBesMucConstruction
() {}
7
8
void
ExtBesMucConstruction::Construct
(G4LogicalVolume* logicBes)
9
{
10
MucG4Geo
*aMucG4Geo =
new
MucG4Geo
();
11
logicalMuc = aMucG4Geo->
GetTopVolume
();
12
logicalMuc =
FindLogicalVolume
(
"logicalMuc"
);
13
if
(logicalMuc) physicalMuc =
new
G4PVPlacement(0,G4ThreeVector(0,0,0),logicalMuc,
"PhysicalMuc"
,logicBes,
false
,0);
14
else
G4cout<<
"ExtBesMucConstruction::Construct() 1, logicalMuc not found!"
<<G4endl;
15
16
}
17
ExtBesMucConstruction.h
MucG4Geo.h
ExtBesMucConstruction::Construct
void Construct(G4LogicalVolume *logicBes)
Definition
ExtBesMucConstruction.cxx:8
ExtBesMucConstruction::~ExtBesMucConstruction
virtual ~ExtBesMucConstruction()
Definition
ExtBesMucConstruction.cxx:6
ExtBesMucConstruction::ExtBesMucConstruction
ExtBesMucConstruction()
Definition
ExtBesMucConstruction.cxx:4
ExtBesSubdetector::FindLogicalVolume
G4LogicalVolume * FindLogicalVolume(const G4String &vn)
Definition
ExtBesSubdetector.h:21
MucG4Geo
Definition
MucG4Geo.h:22
SubDetectorG4Geo::GetTopVolume
G4LogicalVolume * GetTopVolume()
Get the top(world) volume;.
Definition
SubDetectorG4Geo.h:50
7.1.1
Reconstruction
TrkExtAlg
TrkExtAlg-00-00-67
src
ExtBesMucConstruction.cxx
Generated by
1.12.0