#include <SetDistribution.h>
Collaboration diagram for FastShower::SetDistribution:
Public Methods | |
SetDistribution (IFnOfParticleParameters *, IFnOfParticleParameters *, IProcessedDist *, IDistProcessorFactory *) | |
double | sample (double, double, const ParticleParameters &) |
Private Attributes | |
SP< IProcessedDist > | m_dist |
Processed Dist to use (flat or normal). | |
SP< IDistProcessorFactory > | m_pdFactory |
reurns DistProcessor - which to return is decided by the factory which DistProcessor to provided is decided by the factory which is supplied at construction time. |
UML: IDistributionClass.unm
This class samples a distribution, characterised by two parameters (eg mean, sigma; lower and upper limits) which are set on sampling.
The underlying distribution (at present a flat or normal - these are what are available from CLHEP). This is converted to the desired distribution via an IProcessor (eg to go from normal to gaussian)
Definition at line 25 of file SetDistribution.h.
|
|
|
|
|
Processed Dist to use (flat or normal).
Definition at line 35 of file SetDistribution.h. |
|
reurns DistProcessor - which to return is decided by the factory which DistProcessor to provided is decided by the factory which is supplied at construction time.
Definition at line 39 of file SetDistribution.h. |