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>
class
Handle
;
33
class
StreamID;
34
}
35
36
class
PileUpEventPrincipal
;
37
38
namespace
cms
{
39
class
PileupVertexAccumulator
:
public
DigiAccumulatorMixMod
{
40
public
:
41
42
explicit
PileupVertexAccumulator
(
const
edm::ParameterSet
& conf,
edm::ProducerBase
& mixMod,
edm::ConsumesCollector
& iC);
43
44
~
PileupVertexAccumulator
()
override
;
45
46
void
initializeEvent(
edm::Event
const
&
e
,
edm::EventSetup
const
&
c
)
override
;
47
void
accumulate(
edm::Event
const
& e,
edm::EventSetup
const
& c)
override
;
48
void
accumulate(
PileUpEventPrincipal
const
& e,
edm::EventSetup
const
& c,
edm::StreamID
const
&)
override
;
49
void
finalizeEvent(
edm::Event
& e,
edm::EventSetup
const
& c)
override
;
50
51
virtual
void
beginJob
() {}
52
53
private
:
54
std::vector<float>
pT_Hats_
;
55
std::vector<float>
z_posns_
;
56
std::vector<float>
t_posns_
;
57
edm::InputTag
Mtag_
;
58
edm::InputTag
fallbackMtag_
;
59
bool
saveVtxTimes_
;
60
61
};
62
}
63
64
65
#endif
cms::PileupVertexAccumulator
Definition:
PileupVertexAccumulator.h:39
cms::PileupVertexAccumulator::Mtag_
edm::InputTag Mtag_
Definition:
PileupVertexAccumulator.h:57
EventID.h
ParameterSet
Definition:
Functions.h:16
edm::StreamID
Definition:
StreamID.h:30
EnergyCorrector.c
c
Definition:
EnergyCorrector.py:43
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:54
edm::EventSetup
Definition:
EventSetup.h:52
cms::PileupVertexAccumulator::beginJob
virtual void beginJob()
Definition:
PileupVertexAccumulator.h:51
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:56
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:59
edm::ParameterSet
Definition:
ParameterSet.h:36
cms::PileupVertexAccumulator::saveVtxTimes_
bool saveVtxTimes_
Definition:
PileupVertexAccumulator.h:59
edm::Event
Definition:
Event.h:70
cms::PileupVertexAccumulator::fallbackMtag_
edm::InputTag fallbackMtag_
Definition:
PileupVertexAccumulator.h:58
cms::PileupVertexAccumulator::z_posns_
std::vector< float > z_posns_
Definition:
PileupVertexAccumulator.h:55
edm::ConsumesCollector
Definition:
ConsumesCollector.h:39
Generated for CMSSW Reference Manual by
1.8.11