Message: Re: histograms of variable bin widths Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: histograms of variable bin widths 

Forum: Analysis
Re: None histograms of variable bin widths (elnaz yazd)
Date: 25 Oct, 2016
From: Ivana Hrivnacova <Ivana Hrivnacova>


You shuld use the following G4RootAnalysisManger function:

  G4int CreateH1(const G4String& name, const G4String& title,
                const std::vector<G4double>& edges,
                const G4String& unitName = "none",
                const G4String& fcnName = "none");

where you can define your histogram bin widths explicitly via the const std::vector<G4double>& edges parameter.

See more details in the relevant section of the Application Developers Guide:

Best regards,

 Add Message Add Message
to: "Re: histograms of variable bin widths"

 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 ]