CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes
edm::PoissonPUGenerator Class Reference

#include <PoissonPUGenerator.h>

Inheritance diagram for edm::PoissonPUGenerator:
edm::PUGenerator

Public Member Functions

 PoissonPUGenerator (double av)
 
 ~PoissonPUGenerator ()
 
- Public Member Functions inherited from edm::PUGenerator
 PUGenerator ()
 
virtual ~PUGenerator ()
 

Private Member Functions

virtual unsigned int numberOfEventsPerBunch () const
 

Private Attributes

double average
 

Detailed Description

Definition at line 14 of file PoissonPUGenerator.h.

Constructor & Destructor Documentation

edm::PoissonPUGenerator::PoissonPUGenerator ( double  av)
inlineexplicit

Definition at line 17 of file PoissonPUGenerator.h.

edm::PoissonPUGenerator::~PoissonPUGenerator ( )
inline

Definition at line 18 of file PoissonPUGenerator.h.

18 { }

Member Function Documentation

virtual unsigned int edm::PoissonPUGenerator::numberOfEventsPerBunch ( ) const
inlineprivatevirtual

Implements edm::PUGenerator.

Definition at line 21 of file PoissonPUGenerator.h.

21 {return CLHEP::RandPoissonQ::fire(average);}

Member Data Documentation

double edm::PoissonPUGenerator::average
private

Definition at line 22 of file PoissonPUGenerator.h.

Referenced by average.Average::__str__().