#include <ExtBesMucConstruction.h>
Inheritance diagram for ExtBesMucConstruction:
Public Member Functions | |
void | Construct (G4LogicalVolume *logicBes) |
void | Construct (G4LogicalVolume *logicBes) |
ExtBesMucConstruction () | |
ExtBesMucConstruction () | |
G4LogicalVolume * | FindLogicalVolume (const G4String &vn) |
G4LogicalVolume * | FindLogicalVolume (const G4String &vn) |
virtual | ~ExtBesMucConstruction () |
virtual | ~ExtBesMucConstruction () |
Private Attributes | |
G4LogicalVolume * | logicalMuc |
G4LogicalVolume * | logicalMuc |
G4VPhysicalVolume * | physicalMuc |
G4VPhysicalVolume * | physicalMuc |
|
00004 {}
|
|
00006 {}
|
|
|
|
|
|
Implements ExtBesSubdetector. |
|
Implements ExtBesSubdetector. 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 }
|
|
|
|
00022 {
00023 return const_cast<G4LogicalVolume*>( GDMLProcessor::GetInstance()->GetLogicalVolume(vn) );
00024 }
|
|
|
|
|
|
|
|
|