Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
TauAnalysis
MCEmbeddingTools
interface
TrackMixerBase.h
Go to the documentation of this file.
1
#ifndef TauAnalysis_MCEmbeddingTools_TrackMixerBase_h
2
#define TauAnalysis_MCEmbeddingTools_TrackMixerBase_h
3
19
#include "
FWCore/Framework/interface/EDProducer.h
"
20
#include "
FWCore/Framework/interface/Event.h
"
21
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
22
#include "
FWCore/Utilities/interface/InputTag.h
"
23
24
#include "
DataFormats/TrackReco/interface/Track.h
"
25
#include "
DataFormats/TrackReco/interface/TrackFwd.h
"
26
27
#include <vector>
28
29
class
TrackMixerBase
:
public
edm::EDProducer
30
{
31
public
:
32
explicit
TrackMixerBase
(
const
edm::ParameterSet
&);
33
~TrackMixerBase
() {}
34
35
protected
:
36
virtual
void
produce
(
edm::Event
&,
const
edm::EventSetup
&);
37
38
virtual
void
produceTracks
(
edm::Event
&,
const
edm::EventSetup
&);
39
virtual
void
produceTrackExtras
(
edm::Event
&,
const
edm::EventSetup
&) = 0;
40
41
std::string
moduleLabel_
;
42
43
struct
todoListEntryType
44
{
45
edm::InputTag
srcTrackCollection1_
;
46
edm::InputTag
srcTrackCollection2_
;
47
48
mutable
std::map<reco::TrackRef, reco::TrackRef>
trackRefMap_
;
// key = edm::Ref to output track collection, value = edm::Ref to input track collections
49
// (needed by TeVMuonTrackMixer)
50
};
51
std::vector<todoListEntryType>
todoList_
;
52
53
int
verbosity_
;
54
};
55
56
#endif
57
TrackMixerBase::todoList_
std::vector< todoListEntryType > todoList_
Definition:
TrackMixerBase.h:51
TrackMixerBase::todoListEntryType::srcTrackCollection2_
edm::InputTag srcTrackCollection2_
Definition:
TrackMixerBase.h:46
Event.h
TrackMixerBase::verbosity_
int verbosity_
Definition:
TrackMixerBase.h:53
TrackFwd.h
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
edm::EDProducer
Definition:
EDProducer.h:35
ParameterSet.h
TrackMixerBase::produce
virtual void produce(edm::Event &, const edm::EventSetup &)
Definition:
TrackMixerBase.cc:34
TrackMixerBase::todoListEntryType
Definition:
TrackMixerBase.h:43
TrackMixerBase::TrackMixerBase
TrackMixerBase(const edm::ParameterSet &)
Definition:
TrackMixerBase.cc:3
TrackMixerBase::produceTracks
virtual void produceTracks(edm::Event &, const edm::EventSetup &)
Definition:
TrackMixerBase.cc:40
edm::EventSetup
Definition:
EventSetup.h:44
EDProducer.h
TrackMixerBase::produceTrackExtras
virtual void produceTrackExtras(edm::Event &, const edm::EventSetup &)=0
TrackMixerBase
Definition:
TrackMixerBase.h:29
TrackMixerBase::todoListEntryType::trackRefMap_
std::map< reco::TrackRef, reco::TrackRef > trackRefMap_
Definition:
TrackMixerBase.h:48
TrackMixerBase::~TrackMixerBase
~TrackMixerBase()
Definition:
TrackMixerBase.h:33
edm::InputTag
Definition:
InputTag.h:17
InputTag.h
edm::ParameterSet
Definition:
ParameterSet.h:35
TrackMixerBase::todoListEntryType::srcTrackCollection1_
edm::InputTag srcTrackCollection1_
Definition:
TrackMixerBase.h:45
TrackMixerBase::moduleLabel_
std::string moduleLabel_
Definition:
TrackMixerBase.h:41
edm::Event
Definition:
Event.h:59
Track.h
Generated for CMSSW Reference Manual by
1.8.5