Message: Re: G4GeneralParticleSource UserHistogramm bugged ??? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: G4GeneralParticleSource UserHistogramm bugged ??? 

Keywords: histogramm G4GeneralParticleSource
Forum: Event and Track Management
Re: Question G4GeneralParticleSource UserHistogramm bugged ??? (Alain Ferragut)
Date: 03 Nov, 2003
From: Fan Lei <Fan Lei>

Hi Alain,

1) For histogram, the first datapoint inputed is assumed to the the lower edge of the first bin.

2) Distribution derived from a hitogram will be still be in histogram, i.e. in step function shape without interpolation. If one desires a smooth distribution, i.e. with interpolation, then the input should be describes as arbitrary points, e.g.

...

/gps/energytype Arb

/gps/histname arb

/gps/histpoint x1 x1

/gps/histpoint x2 y2

...

/gps/arbint Lin

...

Fan

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

 Add Message Add Message
to: "Re: G4GeneralParticleSource UserHistogramm bugged ???"

 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 ]