Geant4-11
|
#include <G4SDStructure.hh>
Public Member Functions | |
void | Activate (const G4String &aName, G4bool sensitiveFlag) |
void | AddNewDetector (G4VSensitiveDetector *aSD, const G4String &treeStructure) |
G4VSensitiveDetector * | FindSensitiveDetector (const G4String &aName, G4bool warning=true) |
G4SDStructure (const G4String &aPath) | |
G4VSensitiveDetector * | GetSD (const G4String &aName) |
void | Initialize (G4HCofThisEvent *HCE) |
void | ListTree () |
G4bool | operator== (const G4SDStructure &right) const |
void | SetVerboseLevel (G4int vl) |
void | Terminate (G4HCofThisEvent *HCE) |
~G4SDStructure () | |
Private Member Functions | |
G4String | ExtractDirName (const G4String &aPath) |
G4SDStructure * | FindSubDirectory (const G4String &subD) |
void | RemoveSD (G4VSensitiveDetector *) |
Private Attributes | |
std::vector< G4VSensitiveDetector * > | detector |
G4String | dirName |
G4String | pathName |
std::vector< G4SDStructure * > | structure |
G4int | verboseLevel |
Definition at line 46 of file G4SDStructure.hh.
G4SDStructure::G4SDStructure | ( | const G4String & | aPath | ) |
Definition at line 33 of file G4SDStructure.cc.
References dirName, and pathName.
Referenced by AddNewDetector().
G4SDStructure::~G4SDStructure | ( | ) |
Definition at line 48 of file G4SDStructure.cc.
Definition at line 141 of file G4SDStructure.cc.
References Activate(), G4VSensitiveDetector::Activate(), detector, ExtractDirName(), FindSubDirectory(), G4cout, G4endl, GetSD(), pathName, and structure.
Referenced by Activate(), and G4SDManager::Activate().
void G4SDStructure::AddNewDetector | ( | G4VSensitiveDetector * | aSD, |
const G4String & | treeStructure | ||
) |
Definition at line 63 of file G4SDStructure.cc.
References AddNewDetector(), detector, ExtractDirName(), FindSubDirectory(), G4Exception(), G4SDStructure(), G4VSensitiveDetector::GetName(), GetSD(), JustWarning, pathName, RemoveSD(), and structure.
Referenced by G4SDManager::AddNewDetector(), and AddNewDetector().
Definition at line 132 of file G4SDStructure.cc.
Referenced by Activate(), AddNewDetector(), and FindSensitiveDetector().
G4VSensitiveDetector * G4SDStructure::FindSensitiveDetector | ( | const G4String & | aName, |
G4bool | warning = true |
||
) |
Definition at line 179 of file G4SDStructure.cc.
References ExtractDirName(), FindSensitiveDetector(), FindSubDirectory(), G4cout, G4endl, GetSD(), and pathName.
Referenced by FindSensitiveDetector(), and G4SDManager::FindSensitiveDetector().
|
private |
Definition at line 105 of file G4SDStructure.cc.
References structure.
Referenced by Activate(), AddNewDetector(), and FindSensitiveDetector().
G4VSensitiveDetector * G4SDStructure::GetSD | ( | const G4String & | aName | ) |
Definition at line 115 of file G4SDStructure.cc.
References detector.
Referenced by Activate(), AddNewDetector(), and FindSensitiveDetector().
void G4SDStructure::Initialize | ( | G4HCofThisEvent * | HCE | ) |
Definition at line 211 of file G4SDStructure.cc.
References detector, and structure.
Referenced by G4SDManager::PrepareNewEvent().
void G4SDStructure::ListTree | ( | ) |
Definition at line 241 of file G4SDStructure.cc.
References detector, G4cout, G4endl, pathName, and structure.
Referenced by G4SDManager::ListTree().
G4bool G4SDStructure::operator== | ( | const G4SDStructure & | right | ) | const |
Definition at line 58 of file G4SDStructure.cc.
|
private |
Definition at line 125 of file G4SDStructure.cc.
References detector.
Referenced by AddNewDetector().
|
inline |
Definition at line 76 of file G4SDStructure.hh.
References detector, structure, and verboseLevel.
Referenced by G4SDManager::SetVerboseLevel().
void G4SDStructure::Terminate | ( | G4HCofThisEvent * | HCE | ) |
Definition at line 226 of file G4SDStructure.cc.
References detector, and structure.
Referenced by G4SDManager::TerminateCurrentEvent().
|
private |
Definition at line 70 of file G4SDStructure.hh.
Referenced by Activate(), AddNewDetector(), GetSD(), Initialize(), ListTree(), RemoveSD(), SetVerboseLevel(), Terminate(), and ~G4SDStructure().
|
private |
Definition at line 72 of file G4SDStructure.hh.
Referenced by G4SDStructure().
|
private |
Definition at line 71 of file G4SDStructure.hh.
Referenced by Activate(), AddNewDetector(), FindSensitiveDetector(), G4SDStructure(), and ListTree().
|
private |
Definition at line 69 of file G4SDStructure.hh.
Referenced by Activate(), AddNewDetector(), FindSubDirectory(), Initialize(), ListTree(), SetVerboseLevel(), Terminate(), and ~G4SDStructure().
|
private |
Definition at line 73 of file G4SDStructure.hh.
Referenced by SetVerboseLevel().