Geant4  10.01.p03
GammaRayTelAnalysis Class Reference

#include <GammaRayTelAnalysis.hh>

+ Collaboration diagram for GammaRayTelAnalysis:

Public Member Functions

virtual ~GammaRayTelAnalysis ()
 
void BeginOfRun ()
 
void EndOfRun ()
 
void EndOfEvent (G4int flag)
 
void Init ()
 
void Finish ()
 
void SetHisto2DMode (G4String str)
 
G4String GetHisto2DMode ()
 
void InsertPositionXZ (double x, double z)
 
void InsertPositionYZ (double y, double z)
 
void InsertEnergy (double en)
 
void InsertHits (int nplane)
 
void setNtuple (float E, float p, float x, float y, float z)
 

Static Public Member Functions

static GammaRayTelAnalysisgetInstance ()
 

Private Member Functions

 GammaRayTelAnalysis ()
 
void Plot ()
 

Private Attributes

const
GammaRayTelDetectorConstruction
GammaRayTelDetector
 
G4String histo2DMode
 
G4String histoFileName
 
GammaRayTelAnalysisMessengeranalysisMessenger
 

Static Private Attributes

static GammaRayTelAnalysisinstance = 0
 

Detailed Description

Definition at line 71 of file GammaRayTelAnalysis.hh.

Constructor & Destructor Documentation

GammaRayTelAnalysis::~GammaRayTelAnalysis ( )
virtual

Definition at line 81 of file GammaRayTelAnalysis.cc.

References Finish().

+ Here is the call graph for this function:

GammaRayTelAnalysis::GammaRayTelAnalysis ( )
private

Definition at line 68 of file GammaRayTelAnalysis.cc.

References analysisMessenger, GammaRayTelDetector, G4RunManager::GetRunManager(), G4RunManager::GetUserDetectorConstruction(), and histoFileName.

Referenced by getInstance().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Function Documentation

void GammaRayTelAnalysis::BeginOfRun ( )
void GammaRayTelAnalysis::EndOfEvent ( G4int  flag)

Definition at line 239 of file GammaRayTelAnalysis.cc.

Referenced by GammaRayTelEventAction::EndOfEventAction().

+ Here is the caller graph for this function:

void GammaRayTelAnalysis::EndOfRun ( )

Definition at line 229 of file GammaRayTelAnalysis.cc.

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

Referenced by GammaRayTelRunAction::EndOfRunAction().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void GammaRayTelAnalysis::Finish ( )

Definition at line 91 of file GammaRayTelAnalysis.cc.

References analysisMessenger.

Referenced by ~GammaRayTelAnalysis().

+ Here is the caller graph for this function:

G4String GammaRayTelAnalysis::GetHisto2DMode ( )
inline

Definition at line 88 of file GammaRayTelAnalysis.hh.

References histo2DMode.

Referenced by GammaRayTelEventAction::EndOfEventAction().

+ Here is the caller graph for this function:

GammaRayTelAnalysis * GammaRayTelAnalysis::getInstance ( )
static

Definition at line 97 of file GammaRayTelAnalysis.cc.

References GammaRayTelAnalysis(), and instance.

Referenced by GammaRayTelRunAction::BeginOfRunAction(), GammaRayTelEventAction::EndOfEventAction(), GammaRayTelRunAction::EndOfRunAction(), and main().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void GammaRayTelAnalysis::Init ( )

Definition at line 88 of file GammaRayTelAnalysis.cc.

void GammaRayTelAnalysis::InsertEnergy ( double  en)

Definition at line 118 of file GammaRayTelAnalysis.cc.

References G4VAnalysisManager::FillH1().

Referenced by GammaRayTelEventAction::EndOfEventAction().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void GammaRayTelAnalysis::InsertHits ( int  nplane)

Definition at line 125 of file GammaRayTelAnalysis.cc.

References G4VAnalysisManager::FillH1().

Referenced by GammaRayTelEventAction::EndOfEventAction().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void GammaRayTelAnalysis::InsertPositionXZ ( double  x,
double  z 
)

Definition at line 104 of file GammaRayTelAnalysis.cc.

References G4VAnalysisManager::FillH2().

Referenced by GammaRayTelEventAction::EndOfEventAction().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void GammaRayTelAnalysis::InsertPositionYZ ( double  y,
double  z 
)

Definition at line 111 of file GammaRayTelAnalysis.cc.

References G4VAnalysisManager::FillH2().

Referenced by GammaRayTelEventAction::EndOfEventAction().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void GammaRayTelAnalysis::Plot ( )
private
void GammaRayTelAnalysis::SetHisto2DMode ( G4String  str)
inline

Definition at line 87 of file GammaRayTelAnalysis.hh.

References histo2DMode.

Referenced by GammaRayTelAnalysisMessenger::SetNewValue().

+ Here is the caller graph for this function:

void GammaRayTelAnalysis::setNtuple ( float  E,
float  p,
float  x,
float  y,
float  z 
)

Definition at line 131 of file GammaRayTelAnalysis.cc.

References G4VAnalysisManager::AddNtupleRow(), and G4VAnalysisManager::FillNtupleDColumn().

Referenced by GammaRayTelEventAction::EndOfEventAction().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

GammaRayTelAnalysisMessenger* GammaRayTelAnalysis::analysisMessenger
private

Definition at line 115 of file GammaRayTelAnalysis.hh.

Referenced by Finish(), and GammaRayTelAnalysis().

const GammaRayTelDetectorConstruction* GammaRayTelAnalysis::GammaRayTelDetector
private

Definition at line 110 of file GammaRayTelAnalysis.hh.

Referenced by BeginOfRun(), and GammaRayTelAnalysis().

G4String GammaRayTelAnalysis::histo2DMode
private

Definition at line 112 of file GammaRayTelAnalysis.hh.

Referenced by BeginOfRun(), GetHisto2DMode(), and SetHisto2DMode().

G4String GammaRayTelAnalysis::histoFileName
private

Definition at line 113 of file GammaRayTelAnalysis.hh.

Referenced by BeginOfRun(), and GammaRayTelAnalysis().

GammaRayTelAnalysis * GammaRayTelAnalysis::instance = 0
staticprivate

Definition at line 108 of file GammaRayTelAnalysis.hh.

Referenced by getInstance().


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