RecoPixelVertexing
PixelLowPtUtilities
plugins
TrackListCombiner.h
Go to the documentation of this file.
1
#ifndef TrackListCombiner_H
2
#define 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
edm::StreamID
Definition:
StreamID.h:30
RandomServiceHelper.t2
t2
Definition:
RandomServiceHelper.py:257
TrackListCombiner::Tags::assoMap
edm::EDGetTokenT< TrajTrackAssociationCollection > assoMap
Definition:
TrackListCombiner.h:28
edm::EDGetTokenT
Definition:
EDGetToken.h:33
edm
HLT enums.
Definition:
AlignableModifier.h:19
RandomServiceHelper.t1
t1
Definition:
RandomServiceHelper.py:256
Event
TrajTrackAssociation.h
edm::global::EDProducer
Definition:
EDProducer.h:32
TrackListCombiner
Definition:
TrackListCombiner.h:17
TrackListCombiner::Tags::Tags
Tags(T1 t1, T2 t2)
Definition:
TrackListCombiner.h:26
TrackListCombiner::Tags::trajectory
edm::EDGetTokenT< std::vector< Trajectory > > trajectory
Definition:
TrackListCombiner.h:27
edm::ParameterSet
Definition:
ParameterSet.h:36
TrackListCombiner::trackProducers
std::vector< Tags > trackProducers
Definition:
TrackListCombiner.h:31
edm::EventSetup
Definition:
EventSetup.h:57
TrackListCombiner::TrackListCombiner
TrackListCombiner(const edm::ParameterSet &ps)
Definition:
TrackListCombiner.cc:16
TrackListCombiner::~TrackListCombiner
~TrackListCombiner() override
Definition:
TrackListCombiner.cc:29
Trajectory.h
ev
bool ev
Definition:
Hydjet2Hadronizer.cc:95
TrackListCombiner::produce
void produce(edm::StreamID, edm::Event &ev, const edm::EventSetup &es) const override
Definition:
TrackListCombiner.cc:32
EventSetup
ParameterSet.h
EDProducer.h
edm::Event
Definition:
Event.h:73
TrackListCombiner::Tags
Definition:
TrackListCombiner.h:24
Generated for CMSSW Reference Manual by
1.8.16