35 #ifndef HADRONTHERAPYANALYSISMANAGER_HH
36 #define HADRONTHERAPYANALYSISMANAGER_HH 1
41 #ifdef G4ANALYSIS_USE_ROOT
74 #ifdef G4ANALYSIS_USE_ROOT
103 void SecondaryNeutronEnergyDeposit(
G4int slice,
G4double energy);
106 void SecondaryAlphaEnergyDeposit(
G4int slice,
G4double energy);
109 void SecondaryGammaEnergyDeposit(
G4int slice,
G4double energy);
112 void SecondaryElectronEnergyDeposit(
G4int slice,
G4double energy);
115 void SecondaryTritonEnergyDeposit(
G4int slice,
G4double energy);
118 void SecondaryDeuteronEnergyDeposit(
G4int slice,
G4double energy);
121 void SecondaryPionEnergyDeposit(
G4int slice,
G4double energy);
124 void electronEnergyDistribution(
G4double secondaryParticleKineticEnergy);
127 void gammaEnergyDistribution(
G4double secondaryParticleKineticEnergy);
130 void deuteronEnergyDistribution(
G4double secondaryParticleKineticEnergy);
133 void tritonEnergyDistribution(
G4double secondaryParticleKineticEnergy);
136 void alphaEnergyDistribution(
G4double secondaryParticleKineticEnergy);
139 void heliumEnergy(
G4double secondaryParticleKineticEnergy);
142 void hydrogenEnergy(
G4double secondaryParticleKineticEnergy);
164 void startNewEvent();
176 TH1F *createHistogram1D(
const TString
name,
const TString
title,
int bins,
double xmin,
double xmax) {
177 TH1F *histo =
new TH1F(name, title, bins, xmin, xmax);
178 histo->SetLineWidth(2);
186 #ifdef G4ANALYSIS_USE_ROOT
206 TNtuple *kinFragNtuple;
207 TNtuple *kineticEnergyPrimaryNtuple;
210 TNtuple *doseFragNtuple;
213 TNtuple *fluenceFragNtuple;
216 TNtuple *letFragNtuple;
218 TNtuple *theROOTNtuple;
219 TNtuple *theROOTIonTuple;
220 TNtuple *fragmentNtuple;