Main Page
Namespaces
Classes
Package Documentation
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
average
Definition:
average.py:1
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
edm
HLT enums.
Definition:
AlignableModifier.h:19
edm::FixedPUGenerator::FixedPUGenerator
FixedPUGenerator(int average)
Definition:
FixedPUGenerator.h:15
Generated for CMSSW Reference Manual by
1.8.11