Geant4
10.01.p02
|
#include <GammaRayTelAnalysis.hh>
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 GammaRayTelAnalysis * | getInstance () |
Private Member Functions | |
GammaRayTelAnalysis () | |
void | Plot () |
Private Attributes | |
const GammaRayTelDetectorConstruction * | GammaRayTelDetector |
G4String | histo2DMode |
G4String | histoFileName |
GammaRayTelAnalysisMessenger * | analysisMessenger |
Static Private Attributes | |
static GammaRayTelAnalysis * | instance = 0 |
Definition at line 71 of file GammaRayTelAnalysis.hh.
|
virtual |
Definition at line 81 of file GammaRayTelAnalysis.cc.
References Finish().
|
private |
Definition at line 68 of file GammaRayTelAnalysis.cc.
References analysisMessenger, GammaRayTelDetector, G4RunManager::GetRunManager(), G4RunManager::GetUserDetectorConstruction(), and histoFileName.
Referenced by getInstance().
void GammaRayTelAnalysis::BeginOfRun | ( | ) |
Definition at line 150 of file GammaRayTelAnalysis.cc.
References G4VAnalysisManager::CreateH1(), G4VAnalysisManager::CreateH2(), G4VAnalysisManager::CreateNtuple(), G4VAnalysisManager::CreateNtupleDColumn(), G4VAnalysisManager::FinishNtuple(), G4cout, G4endl, GammaRayTelDetector, GammaRayTelDetectorConstruction::GetNbOfTKRLayers(), GammaRayTelDetectorConstruction::GetNbOfTKRStrips(), GammaRayTelDetectorConstruction::GetNbOfTKRTiles(), GammaRayTelDetectorConstruction::GetTKRSizeXY(), GammaRayTelDetectorConstruction::GetTKRSizeZ(), histo2DMode, histoFileName, G4VAnalysisManager::OpenFile(), and G4VAnalysisManager::SetFirstHistoId().
Referenced by GammaRayTelRunAction::BeginOfRunAction().
void GammaRayTelAnalysis::EndOfEvent | ( | G4int | flag | ) |
Definition at line 239 of file GammaRayTelAnalysis.cc.
Referenced by GammaRayTelEventAction::EndOfEventAction().
void GammaRayTelAnalysis::EndOfRun | ( | ) |
Definition at line 229 of file GammaRayTelAnalysis.cc.
References G4VAnalysisManager::CloseFile(), and G4VAnalysisManager::Write().
Referenced by GammaRayTelRunAction::EndOfRunAction().
void GammaRayTelAnalysis::Finish | ( | ) |
Definition at line 91 of file GammaRayTelAnalysis.cc.
References analysisMessenger.
Referenced by ~GammaRayTelAnalysis().
|
inline |
Definition at line 88 of file GammaRayTelAnalysis.hh.
References histo2DMode.
Referenced by GammaRayTelEventAction::EndOfEventAction().
|
static |
Definition at line 97 of file GammaRayTelAnalysis.cc.
References GammaRayTelAnalysis(), and instance.
Referenced by GammaRayTelRunAction::BeginOfRunAction(), GammaRayTelEventAction::EndOfEventAction(), GammaRayTelRunAction::EndOfRunAction(), and main().
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().
void GammaRayTelAnalysis::InsertHits | ( | int | nplane | ) |
Definition at line 125 of file GammaRayTelAnalysis.cc.
References G4VAnalysisManager::FillH1().
Referenced by GammaRayTelEventAction::EndOfEventAction().
void GammaRayTelAnalysis::InsertPositionXZ | ( | double | x, |
double | z | ||
) |
Definition at line 104 of file GammaRayTelAnalysis.cc.
References G4VAnalysisManager::FillH2().
Referenced by GammaRayTelEventAction::EndOfEventAction().
void GammaRayTelAnalysis::InsertPositionYZ | ( | double | y, |
double | z | ||
) |
Definition at line 111 of file GammaRayTelAnalysis.cc.
References G4VAnalysisManager::FillH2().
Referenced by GammaRayTelEventAction::EndOfEventAction().
|
private |
|
inline |
Definition at line 87 of file GammaRayTelAnalysis.hh.
References histo2DMode.
Referenced by GammaRayTelAnalysisMessenger::SetNewValue().
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().
|
private |
Definition at line 115 of file GammaRayTelAnalysis.hh.
Referenced by Finish(), and GammaRayTelAnalysis().
|
private |
Definition at line 110 of file GammaRayTelAnalysis.hh.
Referenced by BeginOfRun(), and GammaRayTelAnalysis().
|
private |
Definition at line 112 of file GammaRayTelAnalysis.hh.
Referenced by BeginOfRun(), GetHisto2DMode(), and SetHisto2DMode().
|
private |
Definition at line 113 of file GammaRayTelAnalysis.hh.
Referenced by BeginOfRun(), and GammaRayTelAnalysis().
|
staticprivate |
Definition at line 108 of file GammaRayTelAnalysis.hh.
Referenced by getInstance().