#include <ExtBesMdcConstruction.h>
Inheritance diagram for ExtBesMdcConstruction:
Public Member Functions | |
void | Construct (G4LogicalVolume *) |
void | Construct (G4LogicalVolume *) |
ExtBesMdcConstruction () | |
ExtBesMdcConstruction () | |
G4LogicalVolume * | FindLogicalVolume (const G4String &vn) |
G4LogicalVolume * | FindLogicalVolume (const G4String &vn) |
~ExtBesMdcConstruction () | |
~ExtBesMdcConstruction () | |
Private Attributes | |
G4LogicalVolume * | logicalMdc |
G4LogicalVolume * | logicalMdc |
G4VPhysicalVolume * | physicalMdc |
G4VPhysicalVolume * | physicalMdc |
|
00011 {}
|
|
00013 {}
|
|
|
|
|
|
Implements ExtBesSubdetector. |
|
Implements ExtBesSubdetector. 00016 { 00017 MdcG4Geo* aMdcG4Geo = new MdcG4Geo(); 00018 G4LogicalVolume* logicalMdc = aMdcG4Geo->GetTopVolume(); 00019 if(!logicalMdc){ 00020 G4cout<<"ExtBesMdcConstruction::Construct(), logicalMdc not found"<<G4endl; 00021 } 00022 else{//construct Mdc 00023 physicalMdc = new G4PVPlacement(0,G4ThreeVector(0,0,0),logicalMdc, "physicalMdc",logicBes, false, 0);} 00024 }
|
|
|
|
00022 {
00023 return const_cast<G4LogicalVolume*>( GDMLProcessor::GetInstance()->GetLogicalVolume(vn) );
00024 }
|
|
|
|
|
|
|
|
|