RecoTracker
TrackProducer
interface
AlgoProductTraits.h
Go to the documentation of this file.
1
#ifndef RecoTrackerTrackProducerAlgoProductTraits_H
2
#define RecoTrackerTrackProducerAlgoProductTraits_H
3
4
#include "
DataFormats/TrajectorySeed/interface/PropagationDirection.h
"
5
#include "
DataFormats/Common/interface/View.h
"
6
#include <vector>
7
class
Trajectory
;
8
9
template
<
class
T>
10
class
AlgoProductTraits
{
11
public
:
12
using
TrackCollection
= std::vector<T>;
13
using
TrackView
=
edm::View<T>
;
14
struct
AlgoProduct
{
15
Trajectory
*
trajectory
;
16
T
*
track
;
17
PropagationDirection
pDir
;
18
int
indexInput
;
19
};
20
using
AlgoProductCollection
= std::vector<AlgoProduct>;
21
};
22
#endif //AlgoProductTraits_H
AlgoProductTraits
Definition:
AlgoProductTraits.h:10
AlgoProductTraits::AlgoProduct::track
T * track
Definition:
AlgoProductTraits.h:16
AlgoProductTraits::AlgoProduct::indexInput
int indexInput
Definition:
AlgoProductTraits.h:18
AlgoProductTraits::AlgoProduct::pDir
PropagationDirection pDir
Definition:
AlgoProductTraits.h:17
AlgoProductTraits< reco::GsfTrack >::AlgoProductCollection
std::vector< AlgoProduct > AlgoProductCollection
Definition:
AlgoProductTraits.h:20
AlgoProductTraits::AlgoProduct::trajectory
Trajectory * trajectory
Definition:
AlgoProductTraits.h:15
edm::View
Definition:
CaloClusterFwd.h:14
PropagationDirection.h
Trajectory
Definition:
Trajectory.h:38
T
long double T
Definition:
Basic3DVectorLD.h:48
AlgoProductTraits< reco::GsfTrack >::TrackCollection
std::vector< reco::GsfTrack > TrackCollection
Definition:
AlgoProductTraits.h:12
AlgoProductTraits::AlgoProduct
Definition:
AlgoProductTraits.h:14
PropagationDirection
PropagationDirection
Definition:
PropagationDirection.h:4
View.h
Generated for CMSSW Reference Manual by
1.8.16