src
RecoTracker
PixelLowPtUtilities
plugins
TrackListCombiner.h
Go to the documentation of this file.
1
#ifndef RecoTracker_PixelLowPtUtilities_plugins_TrackListCombiner_h
2
#define RecoTracker_PixelLowPtUtilities_plugins_TrackListCombiner_h
3
4
#include "
FWCore/Framework/interface/global/EDProducer.h
"
5
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
6
7
#include "
TrackingTools/PatternTools/interface/Trajectory.h
"
8
#include "
TrackingTools/PatternTools/interface/TrajTrackAssociation.h
"
9
10
#include <vector>
11
12
namespace
edm
{
13
class
Event
;
14
class
EventSetup
;
15
}
// namespace edm
16
17
class
TrackListCombiner
:
public
edm::global::EDProducer
<> {
18
public
:
19
explicit
TrackListCombiner
(
const
edm::ParameterSet
& ps);
20
~TrackListCombiner
()
override
;
21
void
produce
(
edm::StreamID
,
edm::Event
&
ev
,
const
edm::EventSetup
& es)
const override
;
22
23
private
:
24
struct
Tags
{
25
template
<
typename
T1,
typename
T2>
26
Tags
(T1
t1
, T2
t2
) :
trajectory
(
t1
),
assoMap
(
t2
) {}
27
edm::EDGetTokenT<std::vector<Trajectory>
>
trajectory
;
28
edm::EDGetTokenT<TrajTrackAssociationCollection>
assoMap
;
29
};
30
31
std::vector<Tags>
trackProducers
;
32
};
33
#endif
makeMEIFBenchmarkPlots.ev
ev
Definition:
makeMEIFBenchmarkPlots.py:55
TrackListCombiner::Tags::trajectory
edm::EDGetTokenT< std::vector< Trajectory > > trajectory
Definition:
TrackListCombiner.h:27
TrackListCombiner::Tags::Tags
Tags(T1 t1, T2 t2)
Definition:
TrackListCombiner.h:26
edm::StreamID
Definition:
StreamID.h:30
TrackListCombiner
Definition:
TrackListCombiner.h:17
TrackListCombiner::Tags
Definition:
TrackListCombiner.h:24
edm::EDGetTokenT
Definition:
EDGetToken.h:37
ParameterSet.h
EventSetup
RandomServiceHelper.t1
t1
Definition:
RandomServiceHelper.py:256
edm::EventSetup
Definition:
EventSetup.h:56
edm::global::EDProducer
Definition:
EDProducer.h:32
TrackListCombiner::Tags::assoMap
edm::EDGetTokenT< TrajTrackAssociationCollection > assoMap
Definition:
TrackListCombiner.h:28
TrackListCombiner::trackProducers
std::vector< Tags > trackProducers
Definition:
TrackListCombiner.h:31
Trajectory.h
TrajTrackAssociation.h
TrackListCombiner::TrackListCombiner
TrackListCombiner(const edm::ParameterSet &ps)
Definition:
TrackListCombiner.cc:16
TrackListCombiner::~TrackListCombiner
~TrackListCombiner() override
Definition:
TrackListCombiner.cc:29
Event
EDProducer.h
edm
HLT enums.
Definition:
AlignableModifier.h:19
TrackListCombiner::produce
void produce(edm::StreamID, edm::Event &ev, const edm::EventSetup &es) const override
Definition:
TrackListCombiner.cc:32
edm::ParameterSet
Definition:
ParameterSet.h:48
edm::Event
Definition:
Event.h:73
RandomServiceHelper.t2
t2
Definition:
RandomServiceHelper.py:257
Generated for CMSSW Reference Manual by
1.8.14