#include <ExtBesMdcConstruction.h>
Inheritance diagram for ExtBesMdcConstruction:
Public Member Functions | |
ExtBesMdcConstruction () | |
~ExtBesMdcConstruction () | |
void | Construct (G4LogicalVolume *) |
G4LogicalVolume * | FindLogicalVolume (const G4String &vn) |
Private Attributes | |
G4VPhysicalVolume * | physicalMdc |
G4LogicalVolume * | logicalMdc |
Definition at line 9 of file ExtBesMdcConstruction.h.
ExtBesMdcConstruction::ExtBesMdcConstruction | ( | ) |
ExtBesMdcConstruction::~ExtBesMdcConstruction | ( | ) |
void ExtBesMdcConstruction::Construct | ( | G4LogicalVolume * | ) | [virtual] |
Implements ExtBesSubdetector.
Definition at line 15 of file ExtBesMdcConstruction.cxx.
References SubDetectorG4Geo::GetTopVolume(), logicalMdc, and physicalMdc.
Referenced by ExtBesDetectorConstruction::Construct().
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 }
G4LogicalVolume * ExtBesSubdetector::FindLogicalVolume | ( | const G4String & | vn | ) | [inline, inherited] |
Definition at line 21 of file ExtBesSubdetector.h.
Referenced by ExtBesMucConstruction::Construct().
00022 { 00023 return const_cast<G4LogicalVolume*>( GDMLProcessor::GetInstance()->GetLogicalVolume(vn) ); 00024 }
G4LogicalVolume* ExtBesMdcConstruction::logicalMdc [private] |
G4VPhysicalVolume* ExtBesMdcConstruction::physicalMdc [private] |