00001 #include "TrkExtAlg/ExtBesMucConstruction.h" 00002 #include "G4Geo/MucG4Geo.h" 00003 00004 ExtBesMucConstruction::ExtBesMucConstruction() {} 00005 00006 ExtBesMucConstruction::~ExtBesMucConstruction() {} 00007 00008 void ExtBesMucConstruction::Construct(G4LogicalVolume* logicBes) 00009 { 00010 MucG4Geo *aMucG4Geo = new MucG4Geo(); 00011 logicalMuc = aMucG4Geo->GetTopVolume(); 00012 logicalMuc = FindLogicalVolume("logicalMuc"); 00013 if(logicalMuc) physicalMuc = new G4PVPlacement(0,G4ThreeVector(0,0,0),logicalMuc,"PhysicalMuc",logicBes,false,0); 00014 else G4cout<<"ExtBesMucConstruction::Construct() 1, logicalMuc not found!"<<G4endl; 00015 00016 } 00017