Geant4
10.03
|
#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 47 of file B03ImportanceDetectorConstruction.hh.
B03ImportanceDetectorConstruction::B03ImportanceDetectorConstruction | ( | G4String | worldName | ) |
Definition at line 58 of file B03ImportanceDetectorConstruction.cc.
B03ImportanceDetectorConstruction::~B03ImportanceDetectorConstruction | ( | ) |
Definition at line 66 of file B03ImportanceDetectorConstruction.cc.
References fLogicalVolumeVector.
|
privatevirtual |
Implements G4VUserParallelWorld.
Definition at line 73 of file B03ImportanceDetectorConstruction.cc.
References B03PVolumeStore::AddPVolume(), cm, deg, fGhostWorld, fLogicalVolumeVector, fPVolumeStore, G4cout, G4endl, GetCellName(), G4VPhysicalVolume::GetLogicalVolume(), G4VPhysicalVolume::GetName(), G4VUserParallelWorld::GetWorld(), G4InuclParticleNames::name(), and SetSensitive().
|
virtual |
Reimplemented from G4VUserParallelWorld.
Definition at line 262 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 200 of file B03ImportanceDetectorConstruction.cc.
References G4InuclParticleNames::name().
Referenced by Construct(), B03RunAction::EndOfRunAction(), and GetGeometryCell().
G4GeometryCell B03ImportanceDetectorConstruction::GetGeometryCell | ( | G4int | i | ) |
Definition at line 213 of file B03ImportanceDetectorConstruction.cc.
References fGhostWorld, fPVolumeStore, G4cout, G4endl, GetCellName(), B03PVolumeStore::GetPVolume(), and G4InuclParticleNames::name().
Referenced by main().
const G4VPhysicalVolume & B03ImportanceDetectorConstruction::GetPhysicalVolumeByName | ( | const G4String & | name | ) | const |
Definition at line 187 of file B03ImportanceDetectorConstruction.cc.
References fPVolumeStore, and B03PVolumeStore::GetPVolume().
G4VPhysicalVolume * B03ImportanceDetectorConstruction::GetWorldVolume | ( | ) |
Definition at line 236 of file B03ImportanceDetectorConstruction.cc.
References fGhostWorld.
Referenced by main().
G4VPhysicalVolume & B03ImportanceDetectorConstruction::GetWorldVolumeAddress | ( | ) | const |
Definition at line 230 of file B03ImportanceDetectorConstruction.cc.
References fGhostWorld.
Referenced by main().
G4String B03ImportanceDetectorConstruction::ListPhysNamesAsG4String | ( | ) |
Definition at line 193 of file B03ImportanceDetectorConstruction.cc.
References fPVolumeStore, and B03PVolumeStore::GetPNames().
void B03ImportanceDetectorConstruction::SetSensitive | ( | ) |
Definition at line 242 of file B03ImportanceDetectorConstruction.cc.
Referenced by Construct().
|
private |
Definition at line 74 of file B03ImportanceDetectorConstruction.hh.
Referenced by Construct(), GetGeometryCell(), GetWorldVolume(), and GetWorldVolumeAddress().
|
private |
Definition at line 70 of file B03ImportanceDetectorConstruction.hh.
Referenced by Construct(), ConstructSD(), and ~B03ImportanceDetectorConstruction().
|
private |
Definition at line 67 of file B03ImportanceDetectorConstruction.hh.
Referenced by Construct(), GetGeometryCell(), GetPhysicalVolumeByName(), and ListPhysNamesAsG4String().