CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
FixedPUGenerator.h
Go to the documentation of this file.
1 #ifndef FIXED_PU_GENERATOR_H
2 #define FIXED_PU_GENERATOR_H
3 
4 /*----------------------------------------------------------------------
5 
6 ----------------------------------------------------------------------*/
8 
9 namespace edm
10 {
11 
13  {
14  public:
15  explicit FixedPUGenerator(int average): nrEvtsPerBunch(average) { }
17 
18  private:
19  virtual unsigned int numberOfEventsPerBunch() const { return nrEvtsPerBunch;}
20 
21  unsigned int nrEvtsPerBunch;
22  };
23 }//edm
24 
25 #endif
virtual unsigned int numberOfEventsPerBunch() const
unsigned int nrEvtsPerBunch
int average
Definition: PDRates.py:137
FixedPUGenerator(int average)