#include <ExtBesTofConstruction.h>
Inheritance diagram for ExtBesTofConstruction:
Public Member Functions | |
ExtBesTofConstruction () | |
virtual | ~ExtBesTofConstruction () |
void | Construct (G4LogicalVolume *logicBes) |
void | ConstructETF (G4LogicalVolume *logicBes) |
G4LogicalVolume * | FindLogicalVolume (const G4String &vn) |
Private Attributes | |
G4LogicalVolume * | logicalTof |
G4VPhysicalVolume * | physicalTof |
Definition at line 11 of file ExtBesTofConstruction.h.
ExtBesTofConstruction::ExtBesTofConstruction | ( | ) |
ExtBesTofConstruction::~ExtBesTofConstruction | ( | ) | [virtual] |
void ExtBesTofConstruction::Construct | ( | G4LogicalVolume * | logicBes | ) | [virtual] |
Implements ExtBesSubdetector.
Definition at line 22 of file ExtBesTofConstruction.cxx.
References SubDetectorG4Geo::GetTopVolume(), logicalTof, and physicalTof.
Referenced by ExtBesDetectorConstruction::Construct().
00023 { 00024 00025 TofG4Geo* aTofG4Geo = new TofG4Geo(); 00026 logicalTof = aTofG4Geo->GetTopVolume(); 00027 if(!logicalTof) G4cout<<"ExtBesTofConstruction::Construct(), logicalTof not found"<<G4endl; 00028 physicalTof = new G4PVPlacement(0,G4ThreeVector(0,0,0),logicalTof,"physicalTof",logicBes,false,0); 00029 }
void ExtBesTofConstruction::ConstructETF | ( | G4LogicalVolume * | logicBes | ) |
Definition at line 32 of file ExtBesTofConstruction.cxx.
References SubDetectorG4Geo::GetTopVolume(), logicalTof, and physicalTof.
Referenced by ExtBesDetectorConstruction::Construct().
00032 { 00033 00034 MRPCG4Geo* aTofG4Geo = new MRPCG4Geo(); 00035 logicalTof = aTofG4Geo->GetTopVolume(); 00036 if(!logicalTof) G4cout<<"ExtBesTofConstruction::Construct(), logicalTof not found"<<G4endl; 00037 physicalTof = new G4PVPlacement(0,G4ThreeVector(0,0,0),logicalTof,"physicalTof",logicBes,false,0); 00038 }
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* ExtBesTofConstruction::logicalTof [private] |
Definition at line 21 of file ExtBesTofConstruction.h.
Referenced by Construct(), and ConstructETF().
G4VPhysicalVolume* ExtBesTofConstruction::physicalTof [private] |
Definition at line 22 of file ExtBesTofConstruction.h.
Referenced by Construct(), and ConstructETF().