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