Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

FastShower::UpdatingDistribution Class Reference

Class for developping late hadron showers. More...

#include <UpdatingDistribution.h>

Collaboration diagram for FastShower::UpdatingDistribution:

Collaboration graph
[legend]
List of all members.

Public Methods

 UpdatingDistribution (IFnOfParticleParameters< double > *, IFnOfParticleParameters< double > *, IProcessedDist *, IDistProcessorFactory *)
double sample (const ParticleParameters &)
std::pair< double, double > parameters (const ParticleParameters &)
 Tail distributions (eg) need to get peak mean, sigma (eg) to establish their own range.


Private Attributes

SP< IFnOfParticleParameterspar1
 Two functions to supply the DistProcessors with parameters.

SP< IFnOfParticleParameterspar2
IProcessedDistm_dist
 ProcessedDists can be 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.


Detailed Description

Class for developping late hadron showers.

UML: IDistributionClass.unm

This class samples a distribution, characterised by two parameters (eg mean, sigma; lower and upper limits) which are calulated 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)

the parameters (mean and sigma for a guassian) are made calculated on each sample, and are available to the client. This is useful, eg, for tail distributions whose limits are a function of the peak distribution.

Definition at line 29 of file UpdatingDistribution.h.


Constructor & Destructor Documentation

FastShower::UpdatingDistribution::UpdatingDistribution IFnOfParticleParameters< double > *   ,
IFnOfParticleParameters< double > *   ,
IProcessedDist  ,
IDistProcessorFactory *   
 


Member Function Documentation

double FastShower::UpdatingDistribution::sample const ParticleParameters  
 

std::pair<double, double> FastShower::UpdatingDistribution::parameters const ParticleParameters  
 

Tail distributions (eg) need to get peak mean, sigma (eg) to establish their own range.


Member Data Documentation

SP<IFnOfParticleParameters> FastShower::UpdatingDistribution::par1 [private]
 

Two functions to supply the DistProcessors with parameters.

Definition at line 42 of file UpdatingDistribution.h.

SP<IFnOfParticleParameters> FastShower::UpdatingDistribution::par2 [private]
 

Definition at line 43 of file UpdatingDistribution.h.

IProcessedDist* FastShower::UpdatingDistribution::m_dist [private]
 

ProcessedDists can be flat or normal.

Definition at line 45 of file UpdatingDistribution.h.

SP<IDistProcessorFactory> FastShower::UpdatingDistribution::m_pdFactory [private]
 

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 49 of file UpdatingDistribution.h.


The documentation for this class was generated from the following file:
Generated on Tue Mar 18 11:58:38 2003 for FastShowerUtils by doxygen1.3-rc1