CGEM BOSS 6.6.5.f
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
5
7
8void 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
void Construct(G4LogicalVolume *logicBes)
G4LogicalVolume * FindLogicalVolume(const G4String &vn)
G4LogicalVolume * GetTopVolume()
Get the top(world) volume;.