CMS 3D CMS Logo

Public Member Functions | Private Member Functions | Private Attributes

edm::PoissonPUGenerator Class Reference

#include <PoissonPUGenerator.h>

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

List of all members.

Public Member Functions

 PoissonPUGenerator (double av)
 ~PoissonPUGenerator ()

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) [inline, explicit]

Definition at line 17 of file PoissonPUGenerator.h.

:average(av){ }
edm::PoissonPUGenerator::~PoissonPUGenerator ( ) [inline]

Definition at line 18 of file PoissonPUGenerator.h.

{ }

Member Function Documentation

virtual unsigned int edm::PoissonPUGenerator::numberOfEventsPerBunch ( ) const [inline, private, virtual]

Implements edm::PUGenerator.

Definition at line 21 of file PoissonPUGenerator.h.

References average.

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

Member Data Documentation

Definition at line 22 of file PoissonPUGenerator.h.

Referenced by numberOfEventsPerBunch().