Geant4
10.01.p01
|
#include <XrayTelAnalysis.hh>
Public Member Functions | |
~XrayTelAnalysis () | |
void | book (G4bool isMaster) |
void | finish (G4bool isMaster) |
void | analyseStepping (const G4Track &track, G4bool entering) |
void | Update (G4double energy, G4int threadID) |
Static Public Member Functions | |
static XrayTelAnalysis * | getInstance () |
Private Member Functions | |
XrayTelAnalysis () | |
Private Attributes | |
G4double | eKin |
G4double | x |
G4double | y |
G4double | z |
G4double | dirX |
G4double | dirY |
G4double | dirZ |
G4String | asciiFileName |
G4String | histFileName |
std::ofstream * | asciiFile |
std::map< G4int, G4int > * | nEnteringTracks |
std::map< G4int, G4double > * | totEnteringEnergy |
Static Private Attributes | |
static XrayTelAnalysis * | instance = 0 |
Definition at line 58 of file XrayTelAnalysis.hh.
XrayTelAnalysis::~XrayTelAnalysis | ( | ) |
Definition at line 75 of file XrayTelAnalysis.cc.
References asciiFile, nEnteringTracks, and totEnteringEnergy.
|
private |
Definition at line 62 of file XrayTelAnalysis.cc.
References asciiFile, asciiFileName, G4endl, and histFileName.
Referenced by getInstance().
Definition at line 233 of file XrayTelAnalysis.cc.
References G4VAnalysisManager::AddNtupleRow(), asciiFile, dirX, dirY, dirZ, eKin, G4VAnalysisManager::FillH1(), G4VAnalysisManager::FillH2(), G4VAnalysisManager::FillNtupleDColumn(), G4endl, G4Track::GetKineticEnergy(), G4Track::GetMomentumDirection(), G4Track::GetPosition(), keV, mm, pos, right, x, y, and z.
Referenced by XrayTelSteppingAction::UserSteppingAction().
void XrayTelAnalysis::book | ( | G4bool | isMaster | ) |
Definition at line 95 of file XrayTelAnalysis.cc.
References G4VAnalysisManager::CreateH1(), G4VAnalysisManager::CreateH2(), G4VAnalysisManager::CreateNtuple(), G4VAnalysisManager::CreateNtupleDColumn(), G4VAnalysisManager::FinishNtuple(), G4cout, G4endl, histFileName, nEnteringTracks, G4VAnalysisManager::OpenFile(), G4VAnalysisManager::SetFirstHistoId(), and totEnteringEnergy.
Referenced by XrayTelRunAction::BeginOfRunAction().
void XrayTelAnalysis::finish | ( | G4bool | isMaster | ) |
Definition at line 150 of file XrayTelAnalysis.cc.
References asciiFile, G4VAnalysisManager::CloseFile(), G4cout, G4endl, MeV, nEnteringTracks, totEnteringEnergy, and G4VAnalysisManager::Write().
Referenced by XrayTelRunAction::EndOfRunAction().
|
static |
Definition at line 86 of file XrayTelAnalysis.cc.
References instance, and XrayTelAnalysis().
Referenced by XrayTelRunAction::BeginOfRunAction(), XrayTelRunAction::EndOfRunAction(), and XrayTelSteppingAction::UserSteppingAction().
Definition at line 295 of file XrayTelAnalysis.cc.
References nEnteringTracks, and totEnteringEnergy.
Referenced by XrayTelSteppingAction::UserSteppingAction().
|
private |
Definition at line 92 of file XrayTelAnalysis.hh.
Referenced by analyseStepping(), finish(), XrayTelAnalysis(), and ~XrayTelAnalysis().
|
private |
Definition at line 89 of file XrayTelAnalysis.hh.
Referenced by XrayTelAnalysis().
|
private |
Definition at line 85 of file XrayTelAnalysis.hh.
Referenced by analyseStepping().
|
private |
Definition at line 86 of file XrayTelAnalysis.hh.
Referenced by analyseStepping().
|
private |
Definition at line 87 of file XrayTelAnalysis.hh.
Referenced by analyseStepping().
|
private |
Definition at line 81 of file XrayTelAnalysis.hh.
Referenced by analyseStepping().
|
private |
Definition at line 90 of file XrayTelAnalysis.hh.
Referenced by book(), and XrayTelAnalysis().
|
staticprivate |
Definition at line 78 of file XrayTelAnalysis.hh.
Referenced by getInstance().
Definition at line 95 of file XrayTelAnalysis.hh.
Referenced by book(), finish(), Update(), and ~XrayTelAnalysis().
Definition at line 96 of file XrayTelAnalysis.hh.
Referenced by book(), finish(), Update(), and ~XrayTelAnalysis().
|
private |
Definition at line 82 of file XrayTelAnalysis.hh.
Referenced by analyseStepping().
|
private |
Definition at line 83 of file XrayTelAnalysis.hh.
Referenced by analyseStepping().
|
private |
Definition at line 84 of file XrayTelAnalysis.hh.
Referenced by analyseStepping().