Message: Re: How to fill in the histogram Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: How to fill in the histogram 

Forum: Documentation and Examples
Re: Idea How to fill in the histogram (Muneerah)
Date: 21 Mar, 2016
From: Ivana Hrivnacova <Ivana Hrivnacova>

Hello,

All histograms defined in rdecay01 example are inactivated; see this line in src/HistoManager.cc

  analysisManager->SetH1Activation(ih, false);

The histogram which are relevant to a configuration given in each macro (*.mac) are activated in the macros using the commands:

 /analysis/h1/set 1  100  0. 2000 keV	#e+ e-
 /analysis/h1/set 2  100  0. 2000 keV	#neutrino

So if you followed the patterns given in this example, you have to activate your added histogram(s), too.

You can check if filling of histogram happens by activation a higher verbosity level to G4AnalysisManager:

  analysisManager->SetVerboseLevel(4);

Best regards,

 Add Message Add Message
to: "Re: How to fill in the histogram"

 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 ]