Geant4  10.00.p03
XrayTelAnalysis Class Reference

#include <XrayTelAnalysis.hh>

+ Collaboration diagram for XrayTelAnalysis:

Public Member Functions

 ~XrayTelAnalysis ()
 
void book ()
 
void finish ()
 
void analyseStepping (const G4Track &track, G4bool entering)
 

Static Public Member Functions

static XrayTelAnalysisgetInstance ()
 

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
 

Static Private Attributes

static XrayTelAnalysisinstance = 0
 

Detailed Description

Definition at line 58 of file XrayTelAnalysis.hh.

Constructor & Destructor Documentation

XrayTelAnalysis::~XrayTelAnalysis ( )

Definition at line 66 of file XrayTelAnalysis.cc.

References asciiFile.

XrayTelAnalysis::XrayTelAnalysis ( )
private

Definition at line 53 of file XrayTelAnalysis.cc.

References asciiFile, asciiFileName, G4endl, and histFileName.

Referenced by getInstance().

+ Here is the caller graph for this function:

Member Function Documentation

void XrayTelAnalysis::analyseStepping ( const G4Track track,
G4bool  entering 
)

Definition at line 124 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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void XrayTelAnalysis::book ( )

Definition at line 80 of file XrayTelAnalysis.cc.

References G4VAnalysisManager::CreateH1(), G4VAnalysisManager::CreateH2(), G4VAnalysisManager::CreateNtuple(), G4VAnalysisManager::CreateNtupleDColumn(), G4VAnalysisManager::FinishNtuple(), G4cout, G4endl, histFileName, G4VAnalysisManager::OpenFile(), and G4VAnalysisManager::SetFirstHistoId().

Referenced by XrayTelRunAction::BeginOfRunAction().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void XrayTelAnalysis::finish ( )

Definition at line 112 of file XrayTelAnalysis.cc.

References asciiFile, G4VAnalysisManager::CloseFile(), and G4VAnalysisManager::Write().

Referenced by XrayTelRunAction::EndOfRunAction().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

XrayTelAnalysis * XrayTelAnalysis::getInstance ( )
static

Definition at line 73 of file XrayTelAnalysis.cc.

References instance, and XrayTelAnalysis().

Referenced by XrayTelRunAction::BeginOfRunAction(), XrayTelRunAction::EndOfRunAction(), and XrayTelSteppingAction::UserSteppingAction().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

std::ofstream* XrayTelAnalysis::asciiFile
private

Definition at line 90 of file XrayTelAnalysis.hh.

Referenced by analyseStepping(), finish(), XrayTelAnalysis(), and ~XrayTelAnalysis().

G4String XrayTelAnalysis::asciiFileName
private

Definition at line 87 of file XrayTelAnalysis.hh.

Referenced by XrayTelAnalysis().

G4double XrayTelAnalysis::dirX
private

Definition at line 83 of file XrayTelAnalysis.hh.

Referenced by analyseStepping().

G4double XrayTelAnalysis::dirY
private

Definition at line 84 of file XrayTelAnalysis.hh.

Referenced by analyseStepping().

G4double XrayTelAnalysis::dirZ
private

Definition at line 85 of file XrayTelAnalysis.hh.

Referenced by analyseStepping().

G4double XrayTelAnalysis::eKin
private

Definition at line 79 of file XrayTelAnalysis.hh.

Referenced by analyseStepping().

G4String XrayTelAnalysis::histFileName
private

Definition at line 88 of file XrayTelAnalysis.hh.

Referenced by book(), and XrayTelAnalysis().

XrayTelAnalysis * XrayTelAnalysis::instance = 0
staticprivate

Definition at line 76 of file XrayTelAnalysis.hh.

Referenced by getInstance().

G4double XrayTelAnalysis::x
private

Definition at line 80 of file XrayTelAnalysis.hh.

Referenced by analyseStepping().

G4double XrayTelAnalysis::y
private

Definition at line 81 of file XrayTelAnalysis.hh.

Referenced by analyseStepping().

G4double XrayTelAnalysis::z
private

Definition at line 82 of file XrayTelAnalysis.hh.

Referenced by analyseStepping().


The documentation for this class was generated from the following files: