#include <ExtBesTofConstruction.h>
Inheritance diagram for ExtBesTofConstruction:
Public Member Functions | |
void | Construct (G4LogicalVolume *logicBes) |
void | Construct (G4LogicalVolume *logicBes) |
ExtBesTofConstruction () | |
ExtBesTofConstruction () | |
G4LogicalVolume * | FindLogicalVolume (const G4String &vn) |
G4LogicalVolume * | FindLogicalVolume (const G4String &vn) |
virtual | ~ExtBesTofConstruction () |
virtual | ~ExtBesTofConstruction () |
Private Attributes | |
G4LogicalVolume * | logicalTof |
G4LogicalVolume * | logicalTof |
G4VPhysicalVolume * | physicalTof |
G4VPhysicalVolume * | physicalTof |
|
00007 {}
|
|
00009 {}
|
|
|
|
|
|
Implements ExtBesSubdetector. |
|
Implements ExtBesSubdetector. 00012 { 00013 TofG4Geo* aTofG4Geo = new TofG4Geo(); 00014 logicalTof = aTofG4Geo->GetTopVolume(); 00015 if(!logicalTof) G4cout<<"ExtBesTofConstruction::Construct(), logicalTof not found"<<G4endl; 00016 physicalTof = new G4PVPlacement(0,G4ThreeVector(0,0,0),logicalTof,"physicalTof",logicBes,false,0); 00017 }
|
|
|
|
00022 {
00023 return const_cast<G4LogicalVolume*>( GDMLProcessor::GetInstance()->GetLogicalVolume(vn) );
00024 }
|
|
|
|
|
|
|
|
|