test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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.

References average.

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__(), and numberOfEventsPerBunch().