52 primaryParticleSpectrum = 0;
67 G4String fileName =
"brachytherapy.root";
76 G4cout <<
"\n---> HistoManager::book(): cannot open "
86 fHistId[1] = AnalysisManager -> CreateH1(
"1",
92 primaryParticleSpectrum = AnalysisManager-> GetH1(fHistId[1]);
95 AnalysisManager -> CreateNtuple(
"1",
"3Dedep");
108 primaryParticleSpectrum -> fill(primaryParticleEnergy);
129 AnalysisManager->
Write();
132 delete G4AnalysisManager::Instance();
G4bool SetHistoDirectoryName(const G4String &dirName)
G4bool SetFirstHistoId(G4int firstId)
void SetVerboseLevel(G4int verboseLevel)
void FillPrimaryParticleHistogram(G4double)
G4bool SetNtupleDirectoryName(const G4String &dirName)
void FillNtupleWithEnergyDeposition(G4double, G4double, G4double, G4double)
G4GLOB_DLL std::ostream G4cout
G4bool FillNtupleDColumn(G4int id, G4double value)
G4int CreateNtupleDColumn(const G4String &name)