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

None histograms of variable bin widths 

Forum: Analysis
Date: 10 Oct, 2016
From: elnaz yazd <elnaz yazd>

 Dear sir/Madam
 I'd like to create histograms of variable bin widths using G4analysis root tools of Geant4. I know it is possible with TH1F *hvar = new TH1F("hvar","hvar title",nbins,xbins) command in root to create it. However in the all of the Geant4 example the histograms are created by analysisManager->CreateH1(....) which it give error: no matching function for call to G4RootAnalysisManager::CreateH1(const G4String&, const G4String&, int, G4float). Would you please give me some example or explanation about how can I fill histograms in Geant4 with variable bin widths.
 Best regards, yazdan 

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: histograms of variable bin widths   (Ivana Hrivnacova - 25 Oct, 2016)
 Add Message Add Message
to: "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 ]