SimGeneral
DataMixingModule
plugins
DataMixingGeneralTrackWorker.h
Go to the documentation of this file.
1
#ifndef SimDataMixingGeneralTrackWorker_h
2
#define SimDataMixingGeneralTrackWorker_h
3
17
#include "
FWCore/Framework/interface/ConsumesCollector.h
"
18
#include "
FWCore/Framework/interface/Event.h
"
19
#include "
FWCore/Framework/interface/EventPrincipal.h
"
20
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
21
22
#include "
DataFormats/Common/interface/Handle.h
"
23
#include "
DataFormats/Provenance/interface/ProductID.h
"
24
// Data Formats
25
#include "
DataFormats/TrackReco/interface/Track.h
"
26
#include "
DataFormats/TrackReco/interface/TrackExtra.h
"
27
#include "
DataFormats/TrackReco/interface/TrackFwd.h
"
28
29
#include <map>
30
#include <string>
31
#include <vector>
32
33
namespace
edm
{
34
class
ModuleCallingContext;
35
36
class
DataMixingGeneralTrackWorker
{
37
public
:
38
DataMixingGeneralTrackWorker
();
39
41
explicit
DataMixingGeneralTrackWorker
(
const
edm::ParameterSet
&ps,
edm::ConsumesCollector
&&iC);
42
44
virtual
~DataMixingGeneralTrackWorker
();
45
46
void
putGeneralTrack
(
edm::Event
&
e
);
47
void
addGeneralTrackSignals
(
const
edm::Event
&
e
);
48
void
addGeneralTrackPileups
(
const
int
bcr,
49
const
edm::EventPrincipal
*,
50
unsigned
int
EventId,
51
ModuleCallingContext
const
*);
52
53
private
:
54
// data specifiers
55
56
edm::InputTag
GeneralTrackcollectionSig_
;
// primary name given to collection
57
// of GeneralTracks
58
edm::InputTag
GeneralTrackLabelSig_
;
// secondary name given to collection of
59
// GeneralTracks
60
edm::InputTag
GeneralTrackPileInputTag_
;
// InputTag for pileup tracks
61
std::string
GeneralTrackCollectionDM_
;
// secondary name to be given to new
62
// GeneralTrack
63
64
edm::EDGetTokenT<reco::TrackCollection>
GTrackSigToken_
;
// Token to retrieve information
65
edm::EDGetTokenT<reco::TrackCollection>
GTrackPileToken_
;
// Token to retrieve information
66
67
//
68
69
std::unique_ptr<reco::TrackCollection>
NewTrackList_
;
70
};
71
}
// namespace edm
72
73
#endif // SimDataMixingGeneralTrackWorker_h
TrackExtra.h
edm::DataMixingGeneralTrackWorker::NewTrackList_
std::unique_ptr< reco::TrackCollection > NewTrackList_
Definition:
DataMixingGeneralTrackWorker.h:69
Handle.h
edm::DataMixingGeneralTrackWorker::GeneralTrackCollectionDM_
std::string GeneralTrackCollectionDM_
Definition:
DataMixingGeneralTrackWorker.h:61
edm::DataMixingGeneralTrackWorker::DataMixingGeneralTrackWorker
DataMixingGeneralTrackWorker()
Definition:
DataMixingGeneralTrackWorker.cc:22
edm::DataMixingGeneralTrackWorker::GeneralTrackcollectionSig_
edm::InputTag GeneralTrackcollectionSig_
Definition:
DataMixingGeneralTrackWorker.h:56
edm::EDGetTokenT< reco::TrackCollection >
edm
HLT enums.
Definition:
AlignableModifier.h:19
edm::DataMixingGeneralTrackWorker::GTrackSigToken_
edm::EDGetTokenT< reco::TrackCollection > GTrackSigToken_
Definition:
DataMixingGeneralTrackWorker.h:64
edm::DataMixingGeneralTrackWorker
Definition:
DataMixingGeneralTrackWorker.h:36
edm::DataMixingGeneralTrackWorker::GeneralTrackLabelSig_
edm::InputTag GeneralTrackLabelSig_
Definition:
DataMixingGeneralTrackWorker.h:58
Track.h
edm::EventPrincipal
Definition:
EventPrincipal.h:46
TrackFwd.h
EventPrincipal.h
ProductID.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
edm::DataMixingGeneralTrackWorker::addGeneralTrackSignals
void addGeneralTrackSignals(const edm::Event &e)
Definition:
DataMixingGeneralTrackWorker.cc:45
edm::ParameterSet
Definition:
ParameterSet.h:36
Event.h
edm::DataMixingGeneralTrackWorker::GTrackPileToken_
edm::EDGetTokenT< reco::TrackCollection > GTrackPileToken_
Definition:
DataMixingGeneralTrackWorker.h:65
edm::DataMixingGeneralTrackWorker::~DataMixingGeneralTrackWorker
virtual ~DataMixingGeneralTrackWorker()
Definition:
DataMixingGeneralTrackWorker.cc:43
edm::DataMixingGeneralTrackWorker::addGeneralTrackPileups
void addGeneralTrackPileups(const int bcr, const edm::EventPrincipal *, unsigned int EventId, ModuleCallingContext const *)
Definition:
DataMixingGeneralTrackWorker.cc:66
ConsumesCollector.h
ParameterSet.h
edm::Event
Definition:
Event.h:73
edm::DataMixingGeneralTrackWorker::GeneralTrackPileInputTag_
edm::InputTag GeneralTrackPileInputTag_
Definition:
DataMixingGeneralTrackWorker.h:60
edm::InputTag
Definition:
InputTag.h:15
edm::DataMixingGeneralTrackWorker::putGeneralTrack
void putGeneralTrack(edm::Event &e)
Definition:
DataMixingGeneralTrackWorker.cc:87
edm::ConsumesCollector
Definition:
ConsumesCollector.h:39
MillePedeFileConverter_cfg.e
e
Definition:
MillePedeFileConverter_cfg.py:37
edm::ModuleCallingContext
Definition:
ModuleCallingContext.h:29
Generated for CMSSW Reference Manual by
1.8.16