BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
ExtBesMucConstruction.cxx
Go to the documentation of this file.
2#include "G4Geo/MucG4Geo.h"
3
5
7
8void ExtBesMucConstruction::Construct( G4LogicalVolume* logicBes ) {
9 MucG4Geo* aMucG4Geo = new MucG4Geo();
10 logicalMuc = aMucG4Geo->GetTopVolume();
11 logicalMuc = FindLogicalVolume( "logicalMuc" );
12 if ( logicalMuc )
13 physicalMuc = new G4PVPlacement( 0, G4ThreeVector( 0, 0, 0 ), logicalMuc, "PhysicalMuc",
14 logicBes, false, 0 );
15 else G4cout << "ExtBesMucConstruction::Construct() 1, logicalMuc not found!" << G4endl;
16}
void Construct(G4LogicalVolume *logicBes)
G4LogicalVolume * FindLogicalVolume(const G4String &vn)
G4LogicalVolume * GetTopVolume()
Get the top(world) volume;.