Geant4  10.02.p02
Analysis Class Reference

#include <Analysis.hh>

Public Member Functions

 ~Analysis ()
 
void Update ()
 
void Clear ()
 
void Save (const G4String &fname)
 
void FillIncident (const G4ThreeVector &p)
 
void FillDose (const G4ThreeVector &p, G4double dedx)
 
void ClearIncidentFlag ()
 
 ~Analysis ()
 
void Book ()
 
void EndOfRun ()
 
void Update ()
 
void Clear ()
 
void Save (const G4String &fname)
 
void Close ()
 
void FillIncident (const G4ThreeVector &p)
 
void FillDose (const G4ThreeVector &p, G4double dedx)
 
void ClearIncidentFlag ()
 

Static Public Member Functions

static AnalysisGetAnalysis ()
 
static AnalysisGetAnalysis ()
 

Private Member Functions

 Analysis ()
 
 DISALLOW_COPY_AND_ASSIGN (Analysis)
 
 Analysis ()
 
 DISALLOW_COPY_AND_ASSIGN (Analysis)
 

Private Attributes

TH2D * fincident_map
 
TH1D * fincident_x_hist
 
TH2D * fdose_map
 
TH1D * fdose_hist
 
G4int fincident_x_hist
 
G4int fincident_map
 
G4int fdose_hist
 
G4int fdose_map
 
G4int fdose_prof
 
G4int fdose_map_prof
 
G4int fdose_map3d
 

Static Private Attributes

static G4ThreadLocal G4int fincidentFlag = false
 

Detailed Description

Definition at line 43 of file Analysis.hh.

Constructor & Destructor Documentation

Analysis::~Analysis ( )

Definition at line 82 of file Analysis.cc.

References fdose_hist, fdose_map, fincident_map, and fincident_x_hist.

Analysis::Analysis ( )
private

Definition at line 52 of file Analysis.cc.

References fdose_hist, fdose_map, fincident_map, fincident_x_hist, rootm, and G4Analysis::SetTitle().

Referenced by GetAnalysis().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Analysis::~Analysis ( )
Analysis::Analysis ( )
private

Member Function Documentation

void Analysis::Book ( )

Definition at line 65 of file Analysis.cc.

References cm, G4VAnalysisManager::CreateH1(), G4VAnalysisManager::CreateH2(), G4VAnalysisManager::CreateH3(), G4VAnalysisManager::CreateP1(), G4VAnalysisManager::CreateP2(), fdose_hist, fdose_map, fdose_map3d, fdose_map_prof, fdose_prof, fincident_map, fincident_x_hist, and MeV.

Referenced by RunActionMaster::BeginOfRunAction().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void Analysis::Clear ( )

Definition at line 97 of file Analysis.cc.

References fdose_hist, fdose_map, fincident_map, and fincident_x_hist.

void Analysis::Clear ( )
void Analysis::ClearIncidentFlag ( )
inline

Definition at line 72 of file Analysis.hh.

References fincidentFlag.

void Analysis::ClearIncidentFlag ( )
void Analysis::Close ( )

Definition at line 117 of file Analysis.cc.

References G4VAnalysisManager::CloseFile().

Referenced by Save().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Analysis::DISALLOW_COPY_AND_ASSIGN ( Analysis  )
private
Analysis::DISALLOW_COPY_AND_ASSIGN ( Analysis  )
private
void Analysis::EndOfRun ( )
void Analysis::FillDose ( const G4ThreeVector p,
G4double  dedx 
)

Definition at line 137 of file Analysis.cc.

References cm, fdose_hist, fdose_map, GeV, and mm.

void Analysis::FillDose ( const G4ThreeVector p,
G4double  dedx 
)
void Analysis::FillIncident ( const G4ThreeVector p)

Definition at line 126 of file Analysis.cc.

References cm, fincident_map, fincident_x_hist, and fincidentFlag.

void Analysis::FillIncident ( const G4ThreeVector p)
static Analysis* Analysis::GetAnalysis ( )
static
Analysis * Analysis::GetAnalysis ( )
static

Definition at line 45 of file Analysis.cc.

References Analysis(), and the_analysis.

Referenced by RunActionMaster::BeginOfRunAction(), RunActionMaster::EndOfRunAction(), and VoxelSD::ProcessHits().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void Analysis::Save ( const G4String fname)

Definition at line 108 of file Analysis.cc.

References Close(), fdose_hist, fdose_map, fincident_map, fincident_x_hist, and rootm.

+ Here is the call graph for this function:

void Analysis::Save ( const G4String fname)
void Analysis::Update ( )

Definition at line 91 of file Analysis.cc.

void Analysis::Update ( )

Member Data Documentation

TH1D* Analysis::fdose_hist
private

Definition at line 66 of file Analysis.hh.

Referenced by Analysis(), Book(), Clear(), FillDose(), Save(), and ~Analysis().

G4int Analysis::fdose_hist
private

Definition at line 68 of file Analysis.hh.

TH2D* Analysis::fdose_map
private

Definition at line 65 of file Analysis.hh.

Referenced by Analysis(), Book(), Clear(), FillDose(), Save(), and ~Analysis().

G4int Analysis::fdose_map
private

Definition at line 69 of file Analysis.hh.

G4int Analysis::fdose_map3d
private

Definition at line 72 of file Analysis.hh.

Referenced by Book().

G4int Analysis::fdose_map_prof
private

Definition at line 71 of file Analysis.hh.

Referenced by Book().

G4int Analysis::fdose_prof
private

Definition at line 70 of file Analysis.hh.

Referenced by Book().

TH2D* Analysis::fincident_map
private

Definition at line 62 of file Analysis.hh.

Referenced by Analysis(), Book(), Clear(), FillIncident(), Save(), and ~Analysis().

G4int Analysis::fincident_map
private

Definition at line 67 of file Analysis.hh.

TH1D* Analysis::fincident_x_hist
private

Definition at line 63 of file Analysis.hh.

Referenced by Analysis(), Book(), Clear(), FillIncident(), Save(), and ~Analysis().

G4int Analysis::fincident_x_hist
private

Definition at line 66 of file Analysis.hh.

G4ThreadLocal G4int Analysis::fincidentFlag = false
staticprivate

Definition at line 68 of file Analysis.hh.

Referenced by ClearIncidentFlag(), and FillIncident().


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