1 |
econte |
1.1 |
#ifndef TrackingTools_PatternTools_TrajTrackAssociation_h
|
2 |
|
|
#define TrackingTools_PatternTools_TrajTrackAssociation_h
|
3 |
|
|
|
4 |
|
|
#include "DataFormats/Common/interface/AssociationMap.h"
|
5 |
|
|
#include "DataFormats/TrackReco/interface/TrackFwd.h"
|
6 |
|
|
#include "TrackingTools/PatternTools/interface/Trajectory.h"
|
7 |
|
|
|
8 |
|
|
typedef edm::AssociationMap<edm::OneToOne<std::vector<Trajectory>,
|
9 |
|
|
reco::TrackCollection,unsigned short> > TrajTrackAssociationCollection;
|
10 |
|
|
typedef TrajTrackAssociationCollection::value_type TrajTrackAssociation;
|
11 |
|
|
|
12 |
|
|
// reference to an object in a collection of TrajTrack objects
|
13 |
|
|
typedef edm::Ref<TrajTrackAssociationCollection> TrajTrackAssociationRef;
|
14 |
|
|
|
15 |
|
|
/// reference to a collection of TrajTrack objects
|
16 |
|
|
typedef edm::RefProd<TrajTrackAssociationCollection> TrajTrackAssociationRefProd;
|
17 |
|
|
|
18 |
|
|
/// vector of references to objects in the same colletion of TrajTrack objects
|
19 |
|
|
typedef edm::RefVector<TrajTrackAssociationCollection> TrajTrackAssociationRefVector;
|
20 |
|
|
|
21 |
|
|
#endif
|