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::FixedPUGenerator::FixedPUGenerator
FixedPUGenerator(int average)
Definition:
FixedPUGenerator.h:15
edm
HLT enums.
Definition:
AlignableModifier.h:19
PUGenerator.h
edm::PUGenerator
Definition:
PUGenerator.h:11
edm::FixedPUGenerator::~FixedPUGenerator
~FixedPUGenerator()
Definition:
FixedPUGenerator.h:16
edm::FixedPUGenerator::nrEvtsPerBunch
unsigned int nrEvtsPerBunch
Definition:
FixedPUGenerator.h:21
average
Definition:
average.py:1
edm::FixedPUGenerator
Definition:
FixedPUGenerator.h:12
edm::FixedPUGenerator::numberOfEventsPerBunch
virtual unsigned int numberOfEventsPerBunch() const
Definition:
FixedPUGenerator.h:19
Generated for CMSSW Reference Manual by
1.8.16