Geant4
10.00.p02
|
#include <B03ImportanceDetectorConstruction.hh>
Public Member Functions | |
B03ImportanceDetectorConstruction (G4String worldName) | |
~B03ImportanceDetectorConstruction () | |
const G4VPhysicalVolume & | GetPhysicalVolumeByName (const G4String &name) const |
G4VPhysicalVolume & | GetWorldVolumeAddress () const |
G4String | ListPhysNamesAsG4String () |
G4String | GetCellName (G4int i) |
G4GeometryCell | GetGeometryCell (G4int i) |
G4VPhysicalVolume * | GetWorldVolume () |
void | SetSensitive () |
virtual void | ConstructSD () |
Public Member Functions inherited from G4VUserParallelWorld | |
G4VUserParallelWorld (G4String worldName) | |
virtual | ~G4VUserParallelWorld () |
G4String | GetName () |
Private Member Functions | |
virtual void | Construct () |
Private Attributes | |
B03PVolumeStore | fPVolumeStore |
std::vector< G4LogicalVolume * > | fLogicalVolumeVector |
G4VPhysicalVolume * | fGhostWorld |
Additional Inherited Members | |
Protected Member Functions inherited from G4VUserParallelWorld | |
G4VPhysicalVolume * | GetWorld () |
void | SetSensitiveDetector (const G4String &logVolName, G4VSensitiveDetector *aSD, G4bool multi=false) |
void | SetSensitiveDetector (G4LogicalVolume *logVol, G4VSensitiveDetector *aSD) |
Protected Attributes inherited from G4VUserParallelWorld | |
G4String | fWorldName |
Definition at line 49 of file B03ImportanceDetectorConstruction.hh.
B03ImportanceDetectorConstruction::B03ImportanceDetectorConstruction | ( | G4String | worldName | ) |
Definition at line 59 of file B03ImportanceDetectorConstruction.cc.
B03ImportanceDetectorConstruction::~B03ImportanceDetectorConstruction | ( | ) |
Definition at line 67 of file B03ImportanceDetectorConstruction.cc.
References fLogicalVolumeVector.
|
privatevirtual |
Implements G4VUserParallelWorld.
Definition at line 74 of file B03ImportanceDetectorConstruction.cc.
References B03PVolumeStore::AddPVolume(), cm, deg, fGhostWorld, fLogicalVolumeVector, fPVolumeStore, G4cout, G4endl, GetCellName(), G4VPhysicalVolume::GetLogicalVolume(), G4VPhysicalVolume::GetName(), G4VUserParallelWorld::GetWorld(), name, and SetSensitive().
|
virtual |
Reimplemented from G4VUserParallelWorld.
Definition at line 266 of file B03ImportanceDetectorConstruction.cc.
References G4SDManager::AddNewDetector(), G4PSTrackLength::DivideByVelocity(), fCurrent_In, fLogicalVolumeVector, G4SDManager::GetSDMpointer(), G4PSTrackLength::MultiplyKineticEnergy(), G4MultiFunctionalDetector::RegisterPrimitive(), G4VSensitiveDetector::SetFilter(), G4VUserParallelWorld::SetSensitiveDetector(), G4PSTrackLength::Weighted(), and G4PSNofCollision::Weighted().
Definition at line 204 of file B03ImportanceDetectorConstruction.cc.
References name.
Referenced by Construct(), B03RunAction::EndOfRunAction(), and GetGeometryCell().
G4GeometryCell B03ImportanceDetectorConstruction::GetGeometryCell | ( | G4int | i | ) |
Definition at line 217 of file B03ImportanceDetectorConstruction.cc.
References fGhostWorld, fPVolumeStore, G4cout, G4endl, GetCellName(), B03PVolumeStore::GetPVolume(), and name.
Referenced by main().
const G4VPhysicalVolume & B03ImportanceDetectorConstruction::GetPhysicalVolumeByName | ( | const G4String & | name | ) | const |
Definition at line 191 of file B03ImportanceDetectorConstruction.cc.
References fPVolumeStore, and B03PVolumeStore::GetPVolume().
G4VPhysicalVolume * B03ImportanceDetectorConstruction::GetWorldVolume | ( | ) |
Definition at line 240 of file B03ImportanceDetectorConstruction.cc.
References fGhostWorld.
Referenced by main().
G4VPhysicalVolume & B03ImportanceDetectorConstruction::GetWorldVolumeAddress | ( | ) | const |
Definition at line 234 of file B03ImportanceDetectorConstruction.cc.
References fGhostWorld.
Referenced by main().
G4String B03ImportanceDetectorConstruction::ListPhysNamesAsG4String | ( | ) |
Definition at line 197 of file B03ImportanceDetectorConstruction.cc.
References fPVolumeStore, and B03PVolumeStore::GetPNames().
void B03ImportanceDetectorConstruction::SetSensitive | ( | ) |
Definition at line 246 of file B03ImportanceDetectorConstruction.cc.
Referenced by Construct().
|
private |
Definition at line 76 of file B03ImportanceDetectorConstruction.hh.
Referenced by Construct(), GetGeometryCell(), GetWorldVolume(), and GetWorldVolumeAddress().
|
private |
Definition at line 72 of file B03ImportanceDetectorConstruction.hh.
Referenced by Construct(), ConstructSD(), and ~B03ImportanceDetectorConstruction().
|
private |
Definition at line 69 of file B03ImportanceDetectorConstruction.hh.
Referenced by Construct(), GetGeometryCell(), GetPhysicalVolumeByName(), and ListPhysNamesAsG4String().