29 #ifndef HADRONTHERAPYANALYSISMANAGER_HH
30 #define HADRONTHERAPYANALYSISMANAGER_HH 1
35 #ifdef G4ANALYSIS_USE_ROOT
68 #ifdef G4ANALYSIS_USE_ROOT
97 void SecondaryNeutronEnergyDeposit(
G4int slice,
G4double energy);
100 void SecondaryAlphaEnergyDeposit(
G4int slice,
G4double energy);
103 void SecondaryGammaEnergyDeposit(
G4int slice,
G4double energy);
106 void SecondaryElectronEnergyDeposit(
G4int slice,
G4double energy);
109 void SecondaryTritonEnergyDeposit(
G4int slice,
G4double energy);
112 void SecondaryDeuteronEnergyDeposit(
G4int slice,
G4double energy);
115 void SecondaryPionEnergyDeposit(
G4int slice,
G4double energy);
118 void electronEnergyDistribution(
G4double secondaryParticleKineticEnergy);
121 void gammaEnergyDistribution(
G4double secondaryParticleKineticEnergy);
124 void deuteronEnergyDistribution(
G4double secondaryParticleKineticEnergy);
127 void tritonEnergyDistribution(
G4double secondaryParticleKineticEnergy);
130 void alphaEnergyDistribution(
G4double secondaryParticleKineticEnergy);
133 void heliumEnergy(
G4double secondaryParticleKineticEnergy);
136 void hydrogenEnergy(
G4double secondaryParticleKineticEnergy);
158 void startNewEvent();
170 TH1F *createHistogram1D(
const TString
name,
const TString title,
int bins,
double xmin,
double xmax) {
171 TH1F *histo =
new TH1F(name, title, bins, xmin, xmax);
172 histo->SetLineWidth(2);
180 #ifdef G4ANALYSIS_USE_ROOT
200 TNtuple *kinFragNtuple;
201 TNtuple *kineticEnergyPrimaryNtuple;
204 TNtuple *doseFragNtuple;
207 TNtuple *fluenceFragNtuple;
210 TNtuple *letFragNtuple;
212 TNtuple *theROOTNtuple;
213 TNtuple *theROOTIonTuple;
214 TNtuple *fragmentNtuple;
static HadrontherapyAnalysisManager * GetInstance()
Get the pointer to the analysis manager.
static HadrontherapyAnalysisManager * instance
A messenger object of this class is created by the AnalysisManager.
double A(double temperature)
HadrontherapyAnalysisFileMessenger * fMess
G4double energy(const ThreeVector &p, const G4double m)
HadrontherapyAnalysisManager()
Analysis manager is a singleton object (there is only one instance).
A class for connecting the simulation to an analysis package.
~HadrontherapyAnalysisManager()