Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
Mixing
Base
interface
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
----------------------------------------------------------------------*/
7
#include "
Mixing/Base/interface/PUGenerator.h
"
8
9
namespace
edm
10
{
11
12
class
FixedPUGenerator
:
public
PUGenerator
13
{
14
public
:
15
explicit
FixedPUGenerator
(
int
average
):
nrEvtsPerBunch
(average) { }
16
~FixedPUGenerator
() { }
17
18
private
:
19
virtual
unsigned
int
numberOfEventsPerBunch
()
const
{
return
nrEvtsPerBunch
;}
20
21
unsigned
int
nrEvtsPerBunch
;
22
};
23
}
//edm
24
25
#endif
edm::PUGenerator
Definition:
PUGenerator.h:11
edm::FixedPUGenerator
Definition:
FixedPUGenerator.h:12
edm::FixedPUGenerator::numberOfEventsPerBunch
virtual unsigned int numberOfEventsPerBunch() const
Definition:
FixedPUGenerator.h:19
PUGenerator.h
edm::FixedPUGenerator::nrEvtsPerBunch
unsigned int nrEvtsPerBunch
Definition:
FixedPUGenerator.h:21
edm::FixedPUGenerator::~FixedPUGenerator
~FixedPUGenerator()
Definition:
FixedPUGenerator.h:16
PDRates.average
int average
Definition:
PDRates.py:137
edm::FixedPUGenerator::FixedPUGenerator
FixedPUGenerator(int average)
Definition:
FixedPUGenerator.h:15
Generated for CMSSW Reference Manual by
1.8.5