Main Page
Namespaces
Classes
Package Documentation
SimGeneral
PileupInformation
plugins
PileupVertexAccumulator.h
Go to the documentation of this file.
1
#ifndef PileupVertexAccumulator_h
2
#define PileupVertexAccumulator_h
3
16
#include <memory>
17
#include <string>
18
#include <vector>
19
20
#include "
SimGeneral/MixingModule/interface/DigiAccumulatorMixMod.h
"
21
#include "
FWCore/Framework/interface/ProducerBase.h
"
22
#include "
FWCore/Framework/interface/ESHandle.h
"
23
#include "
DataFormats/Provenance/interface/EventID.h
"
24
#include "
FWCore/Utilities/interface/InputTag.h
"
25
26
namespace
edm
{
27
class
ConsumesCollector;
28
class
ProducerBase;
29
class
Event
;
30
class
EventSetup
;
31
class
ParameterSet
;
32
template
<
typename
T>
33
class
Handle
;
34
class
StreamID;
35
}
// namespace edm
36
37
class
PileUpEventPrincipal
;
38
39
namespace
cms
{
40
class
PileupVertexAccumulator
:
public
DigiAccumulatorMixMod
{
41
public
:
42
explicit
PileupVertexAccumulator
(
const
edm::ParameterSet
& conf,
43
edm::ProducerBase
& mixMod,
44
edm::ConsumesCollector
& iC);
45
46
~
PileupVertexAccumulator
()
override
;
47
48
void
initializeEvent(
edm::Event
const
&
e
,
edm::EventSetup
const
&
c
)
override
;
49
void
accumulate(
edm::Event
const
& e,
edm::EventSetup
const
& c)
override
;
50
void
accumulate(
PileUpEventPrincipal
const
& e,
edm::EventSetup
const
& c,
edm::StreamID
const
&)
override
;
51
void
finalizeEvent(
edm::Event
& e,
edm::EventSetup
const
& c)
override
;
52
53
virtual
void
beginJob
() {}
54
55
private
:
56
std::vector<float>
pT_Hats_
;
57
std::vector<float>
z_posns_
;
58
std::vector<float>
t_posns_
;
59
edm::InputTag
Mtag_
;
60
edm::InputTag
fallbackMtag_
;
61
bool
saveVtxTimes_
;
62
};
63
}
// namespace cms
64
65
#endif
cms::PileupVertexAccumulator
Definition:
PileupVertexAccumulator.h:40
cms::PileupVertexAccumulator::Mtag_
edm::InputTag Mtag_
Definition:
PileupVertexAccumulator.h:59
EventID.h
ParameterSet
Definition:
Functions.h:16
edm::StreamID
Definition:
StreamID.h:30
EnergyCorrector.c
c
Definition:
EnergyCorrector.py:44
Handle
MillePedeFileConverter_cfg.e
e
Definition:
MillePedeFileConverter_cfg.py:37
DigiAccumulatorMixMod
Definition:
DigiAccumulatorMixMod.h:42
ProducerBase.h
EventSetup
ESHandle.h
cms::PileupVertexAccumulator::pT_Hats_
std::vector< float > pT_Hats_
Definition:
PileupVertexAccumulator.h:56
edm::EventSetup
Definition:
EventSetup.h:57
cms::PileupVertexAccumulator::beginJob
virtual void beginJob()
Definition:
PileupVertexAccumulator.h:53
cms
Namespace of DDCMS conversion namespace.
Definition:
ProducerAnalyzer.cc:21
DigiAccumulatorMixMod.h
Event
cms::PileupVertexAccumulator::t_posns_
std::vector< float > t_posns_
Definition:
PileupVertexAccumulator.h:58
PileUpEventPrincipal
Definition:
PileUpEventPrincipal.h:19
edm
HLT enums.
Definition:
AlignableModifier.h:17
edm::InputTag
Definition:
InputTag.h:15
InputTag.h
edm::ProducerBase
Definition:
ProducerBase.h:64
edm::ParameterSet
Definition:
ParameterSet.h:36
cms::PileupVertexAccumulator::saveVtxTimes_
bool saveVtxTimes_
Definition:
PileupVertexAccumulator.h:61
edm::Event
Definition:
Event.h:71
cms::PileupVertexAccumulator::fallbackMtag_
edm::InputTag fallbackMtag_
Definition:
PileupVertexAccumulator.h:60
cms::PileupVertexAccumulator::z_posns_
std::vector< float > z_posns_
Definition:
PileupVertexAccumulator.h:57
edm::ConsumesCollector
Definition:
ConsumesCollector.h:39
Generated for CMSSW Reference Manual by
1.8.11