Main Page
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
o
p
q
r
s
t
u
v
w
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
_
a
d
e
f
l
m
o
p
s
t
u
v
Related Functions
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Package Documentation
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
SimGeneral
DataMixingModule
plugins
DataMixingPileupCopy.h
Go to the documentation of this file.
1
#ifndef SimDataMixingPileupCopy_h
2
#define SimDataMixingPileupCopy_h
3
18
#include "
FWCore/Framework/interface/ConsumesCollector.h
"
19
#include "
FWCore/Framework/interface/Event.h
"
20
#include "
FWCore/Framework/interface/EventPrincipal.h
"
21
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
22
23
#include "
DataFormats/Common/interface/Handle.h
"
24
#include "
DataFormats/Provenance/interface/ProductID.h
"
25
26
#include "
SimDataFormats/CrossingFrame/interface/CrossingFramePlaybackInfoNew.h
"
27
#include "
SimDataFormats/PileupSummaryInfo/interface/PileupSummaryInfo.h
"
28
29
#include <map>
30
#include <string>
31
#include <vector>
32
33
namespace
reco
{
34
class
GenParticle
;
35
}
36
37
namespace
edm
{
38
class
ModuleCallingContext;
39
40
class
DataMixingPileupCopy
{
41
public
:
42
DataMixingPileupCopy
();
43
45
explicit
DataMixingPileupCopy
(
const
edm::ParameterSet
&ps,
edm::ConsumesCollector
&&iC);
46
48
virtual
~DataMixingPileupCopy
();
49
50
void
putPileupInfo
(
edm::Event
&
e
);
51
void
addPileupInfo
(
const
edm::EventPrincipal
*,
unsigned
int
EventId,
ModuleCallingContext
const
*mcc);
52
53
void
getPileupInfo
(std::vector<PileupSummaryInfo> &ps,
int
&
bs
) {
54
ps =
PileupSummaryStorage_
;
55
bs
=
bsStorage_
;
56
}
57
58
private
:
59
// data specifiers
60
61
edm::InputTag
PileupInfoInputTag_
;
// InputTag for PileupSummaryInfo
62
edm::InputTag
BunchSpacingInputTag_
;
// InputTag for bunch spacing int
63
edm::InputTag
CFPlaybackInputTag_
;
// InputTag for CrossingFrame Playback information
64
65
std::vector<edm::InputTag>
GenPUProtonsInputTags_
;
66
67
CrossingFramePlaybackInfoNew
CrossingFramePlaybackStorage_
;
68
69
std::vector<PileupSummaryInfo>
PileupSummaryStorage_
;
70
int
bsStorage_
;
71
72
std::vector<std::string>
GenPUProtons_labels_
;
73
std::vector<std::vector<reco::GenParticle>>
GenPUProtons_
;
74
75
// unsigned int eventId_; //=0 for signal, from 1-n for pileup events
76
77
std::string
label_
;
78
79
bool
FoundPlayback_
;
80
};
81
}
// namespace edm
82
83
#endif // SimDataMixingPileupCopy_h
edm::DataMixingPileupCopy::GenPUProtonsInputTags_
std::vector< edm::InputTag > GenPUProtonsInputTags_
Definition:
DataMixingPileupCopy.h:65
Handle.h
PileupSummaryInfo.h
CrossingFramePlaybackInfoNew.h
edm::DataMixingPileupCopy::label_
std::string label_
Definition:
DataMixingPileupCopy.h:77
edm
HLT enums.
Definition:
AlignableModifier.h:19
edm::DataMixingPileupCopy::bsStorage_
int bsStorage_
Definition:
DataMixingPileupCopy.h:70
edm::DataMixingPileupCopy::FoundPlayback_
bool FoundPlayback_
Definition:
DataMixingPileupCopy.h:79
edm::DataMixingPileupCopy::PileupSummaryStorage_
std::vector< PileupSummaryInfo > PileupSummaryStorage_
Definition:
DataMixingPileupCopy.h:69
reco
fixed size matrix
Definition:
AlignmentAlgorithmBase.h:45
GenParticle
Definition:
GenParticle.py:1
edm::DataMixingPileupCopy::CrossingFramePlaybackStorage_
CrossingFramePlaybackInfoNew CrossingFramePlaybackStorage_
Definition:
DataMixingPileupCopy.h:67
CrossingFramePlaybackInfoNew
Definition:
CrossingFramePlaybackInfoNew.h:22
cms::cuda::bs
bs
Definition:
HistoContainer.h:127
edm::EventPrincipal
Definition:
EventPrincipal.h:46
edm::DataMixingPileupCopy::CFPlaybackInputTag_
edm::InputTag CFPlaybackInputTag_
Definition:
DataMixingPileupCopy.h:63
EventPrincipal.h
ProductID.h
edm::DataMixingPileupCopy::putPileupInfo
void putPileupInfo(edm::Event &e)
Definition:
DataMixingPileupCopy.cc:94
edm::DataMixingPileupCopy::DataMixingPileupCopy
DataMixingPileupCopy()
Definition:
DataMixingPileupCopy.cc:22
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet
Definition:
ParameterSet.h:47
Event.h
edm::DataMixingPileupCopy::GenPUProtons_labels_
std::vector< std::string > GenPUProtons_labels_
Definition:
DataMixingPileupCopy.h:72
edm::DataMixingPileupCopy::~DataMixingPileupCopy
virtual ~DataMixingPileupCopy()
Definition:
DataMixingPileupCopy.cc:44
edm::DataMixingPileupCopy::addPileupInfo
void addPileupInfo(const edm::EventPrincipal *, unsigned int EventId, ModuleCallingContext const *mcc)
Definition:
DataMixingPileupCopy.cc:46
edm::DataMixingPileupCopy::getPileupInfo
void getPileupInfo(std::vector< PileupSummaryInfo > &ps, int &bs)
Definition:
DataMixingPileupCopy.h:53
ConsumesCollector.h
edm::DataMixingPileupCopy
Definition:
DataMixingPileupCopy.h:40
ParameterSet.h
edm::DataMixingPileupCopy::BunchSpacingInputTag_
edm::InputTag BunchSpacingInputTag_
Definition:
DataMixingPileupCopy.h:62
edm::DataMixingPileupCopy::PileupInfoInputTag_
edm::InputTag PileupInfoInputTag_
Definition:
DataMixingPileupCopy.h:61
edm::Event
Definition:
Event.h:73
edm::InputTag
Definition:
InputTag.h:15
edm::ConsumesCollector
Definition:
ConsumesCollector.h:45
edm::DataMixingPileupCopy::GenPUProtons_
std::vector< std::vector< reco::GenParticle > > GenPUProtons_
Definition:
DataMixingPileupCopy.h:73
MillePedeFileConverter_cfg.e
e
Definition:
MillePedeFileConverter_cfg.py:37
edm::ModuleCallingContext
Definition:
ModuleCallingContext.h:29
Generated for CMSSW Reference Manual by
1.8.16