41 #ifndef HADRONTHERAPYANALYSISMANAGER_HH
42 #define HADRONTHERAPYANALYSISMANAGER_HH 1
47 #ifdef G4ANALYSIS_USE_ROOT
80 #ifdef G4ANALYSIS_USE_ROOT
109 void SecondaryNeutronEnergyDeposit(
G4int slice,
G4double energy);
112 void SecondaryAlphaEnergyDeposit(
G4int slice,
G4double energy);
115 void SecondaryGammaEnergyDeposit(
G4int slice,
G4double energy);
118 void SecondaryElectronEnergyDeposit(
G4int slice,
G4double energy);
121 void SecondaryTritonEnergyDeposit(
G4int slice,
G4double energy);
124 void SecondaryDeuteronEnergyDeposit(
G4int slice,
G4double energy);
127 void SecondaryPionEnergyDeposit(
G4int slice,
G4double energy);
130 void electronEnergyDistribution(
G4double secondaryParticleKineticEnergy);
133 void gammaEnergyDistribution(
G4double secondaryParticleKineticEnergy);
136 void deuteronEnergyDistribution(
G4double secondaryParticleKineticEnergy);
139 void tritonEnergyDistribution(
G4double secondaryParticleKineticEnergy);
142 void alphaEnergyDistribution(
G4double secondaryParticleKineticEnergy);
145 void heliumEnergy(
G4double secondaryParticleKineticEnergy);
148 void hydrogenEnergy(
G4double secondaryParticleKineticEnergy);
170 void startNewEvent();
182 TH1F *createHistogram1D(
const TString
name,
const TString
title,
int bins,
double xmin,
double xmax) {
183 TH1F *histo =
new TH1F(name, title, bins, xmin, xmax);
184 histo->SetLineWidth(2);
192 #ifdef G4ANALYSIS_USE_ROOT
212 TNtuple *kinFragNtuple;
213 TNtuple *kineticEnergyPrimaryNtuple;
216 TNtuple *doseFragNtuple;
219 TNtuple *fluenceFragNtuple;
222 TNtuple *letFragNtuple;
224 TNtuple *theROOTNtuple;
225 TNtuple *theROOTIonTuple;
226 TNtuple *fragmentNtuple;