Message: Re: G4H2Messenger and associated classes - problems with 2D histograms in UI-mode Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: G4H2Messenger and associated classes - problems with 2D histograms in UI-mode 

Forum: Analysis
Re: Question G4H2Messenger and associated classes - problems with 2D histograms in UI-mode (Liz)
Date: 21 Jul, 2014
From: Ivana Hrivnacova <Ivana Hrivnacova>

Dear Liz,

There is indeed a problem in H2 messenger class. I attach a class with a fix which is preparation for the next patch to 10.0. Could you try it ?

You need to copy the attached file in geant4/source/analysis/management/src/G4H2Messenger.cc and rebuild your Geant4 libraries.

The usage of the command should be as described in Geant4 application guide: http://geant4.web.cern.ch/geant4/UserDocumentation/UsersGuides/ForApplicationDeveloper/html/ch09s02.html#sect.ManagersMessenger:

/analysis/h2/set                  # Set parameters for the 2D histogram of #id
  id nxbin xmin xmax xunit xfcn xbinScheme nybin ymin ymax yunit yfcn yBinScheme  

Note that you cannot omit any parameter here like in case of H1, but provide none if you do not specify a unit or a function and linear for binScheme.

Let me know, please, if this fixes your problem.

Ivana

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

1 None: Re: G4H2Messenger and associated classes - problems with 2D histograms in UI-mode   (Ivana Hrivnacova - 21 Jul, 2014)
(_ Note: Re: G4H2Messenger and associated classes - problems with 2D histograms in UI-mode   (Liz - 21 Jul, 2014)
(_ None: Re: G4H2Messenger and associated classes - problems with 2D histograms in UI-mode   (Ivana Hrivnacova - 21 Jul, 2014)
 Add Message Add Message
to: "Re: G4H2Messenger and associated classes - problems with 2D histograms in UI-mode"

 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 ]