Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
SimGeneral
DataMixingModule
plugins
DataMixingPileupCopy.h
Go to the documentation of this file.
1
#ifndef DataMixingPileupCopy_h
2
#define SimDataMixingPileupCopy_h
3
17
#include "
FWCore/Framework/interface/Event.h
"
18
#include "
FWCore/Framework/interface/EventPrincipal.h
"
19
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
20
#include "
FWCore/Framework/interface/ConsumesCollector.h
"
21
22
#include "
DataFormats/Provenance/interface/ProductID.h
"
23
#include "
DataFormats/Common/interface/Handle.h
"
24
25
#include "
SimDataFormats/PileupSummaryInfo/interface/PileupSummaryInfo.h
"
26
#include "
SimDataFormats/CrossingFrame/interface/CrossingFramePlaybackInfoExtended.h
"
27
28
#include <map>
29
#include <vector>
30
#include <string>
31
32
33
namespace
edm
34
{
35
class
ModuleCallingContext;
36
37
class
DataMixingPileupCopy
38
{
39
public
:
40
41
DataMixingPileupCopy
();
42
44
explicit
DataMixingPileupCopy
(
const
edm::ParameterSet
& ps,
edm::ConsumesCollector
&& iC);
45
47
virtual
~DataMixingPileupCopy
();
48
49
void
putPileupInfo
(
edm::Event
&
e
) ;
50
void
addPileupInfo
(
const
edm::EventPrincipal
*,
unsigned
int
EventId,
51
ModuleCallingContext
const
* mcc);
52
53
54
private
:
55
56
// data specifiers
57
58
59
edm::InputTag
PileupInfoInputTag_
;
// InputTag for PileupSummaryInfo
60
edm::InputTag
CFPlaybackInputTag_
;
// InputTag for CrossingFrame Playback information
61
62
63
CrossingFramePlaybackInfoExtended
CrossingFramePlaybackStorage_
;
64
65
std::vector<PileupSummaryInfo>
PileupSummaryStorage_
;
66
67
68
// unsigned int eventId_; //=0 for signal, from 1-n for pileup events
69
70
std::string
label_
;
71
72
bool
FoundPlayback_
;
73
74
};
75
}
//edm
76
77
#endif
edm::ModuleCallingContext
Definition:
ModuleCallingContext.h:30
Event.h
edm::DataMixingPileupCopy::putPileupInfo
void putPileupInfo(edm::Event &e)
Definition:
DataMixingPileupCopy.cc:86
CrossingFramePlaybackInfoExtended
Definition:
CrossingFramePlaybackInfoExtended.h:24
edm::EventPrincipal
Definition:
EventPrincipal.h:45
edm::DataMixingPileupCopy::DataMixingPileupCopy
DataMixingPileupCopy()
Definition:
DataMixingPileupCopy.cc:27
edm::DataMixingPileupCopy::~DataMixingPileupCopy
virtual ~DataMixingPileupCopy()
Definition:
DataMixingPileupCopy.cc:45
edm::DataMixingPileupCopy::label_
std::string label_
Definition:
DataMixingPileupCopy.h:70
Handle.h
ProductID.h
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
ParameterSet.h
EventPrincipal.h
edm::DataMixingPileupCopy::PileupInfoInputTag_
edm::InputTag PileupInfoInputTag_
Definition:
DataMixingPileupCopy.h:59
edm::DataMixingPileupCopy::PileupSummaryStorage_
std::vector< PileupSummaryInfo > PileupSummaryStorage_
Definition:
DataMixingPileupCopy.h:65
CrossingFramePlaybackInfoExtended.h
edm::DataMixingPileupCopy::FoundPlayback_
bool FoundPlayback_
Definition:
DataMixingPileupCopy.h:72
alignCSCRings.e
list e
Definition:
alignCSCRings.py:90
edm::DataMixingPileupCopy::CrossingFramePlaybackStorage_
CrossingFramePlaybackInfoExtended CrossingFramePlaybackStorage_
Definition:
DataMixingPileupCopy.h:63
edm::InputTag
Definition:
InputTag.h:17
edm::ParameterSet
Definition:
ParameterSet.h:35
edm::Event
Definition:
Event.h:62
edm::DataMixingPileupCopy::addPileupInfo
void addPileupInfo(const edm::EventPrincipal *, unsigned int EventId, ModuleCallingContext const *mcc)
Definition:
DataMixingPileupCopy.cc:49
edm::DataMixingPileupCopy::CFPlaybackInputTag_
edm::InputTag CFPlaybackInputTag_
Definition:
DataMixingPileupCopy.h:60
ConsumesCollector.h
edm::DataMixingPileupCopy
Definition:
DataMixingPileupCopy.h:37
edm::ConsumesCollector
Definition:
ConsumesCollector.h:32
PileupSummaryInfo.h
Generated for CMSSW Reference Manual by
1.8.5