Message: Re: TesteEm11 Print RMS with Dose result Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: TesteEm11 Print RMS with Dose result 

Forum: Documentation and Examples
Re: Question TesteEm11 Print RMS with Dose result (David)
Date: 14 Jan, 2015
From: Ivana Hrivnacova <Ivana Hrivnacova>

The call to G4AnalysisManager::Write() triggers writing the complete histograms & ntuples information in a file, so there is no need to extend the implementation of this function.

The histograms are written in a file as g4tools objects, and you can access them via G4AnalysisManager functions:
  G4AnaH1*  G4AnalysisManager::GetH1(G4int id)  etc. 

Then you can call the functions defined in g4tools. To get the RMS for each histogram bin:: <pre> 
  h1->bin_rms(int ibin);

The g4tools classes can be browsed with Geant4 LXR browser:

Best regards,

 Add Message Add Message
to: "Re: TesteEm11 Print RMS with Dose result"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews

[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]