CMS 3D CMS Logo

TrackToGenParticleAssociatorBaseImpl.h
Go to the documentation of this file.
1 #ifndef SimDataFormats_Associations_TrackToGenParticleAssociatorBaseImpl_h
2 #define SimDataFormats_Associations_TrackToGenParticleAssociatorBaseImpl_h
3 
17 
19 
20 namespace reco{
25  <edm::View<reco::Track>, reco::GenParticleCollection, double> >
27 
28 
29 
31 
32  public:
36 
39  const edm::RefVector<reco::GenParticleCollection>& gens) const = 0;
40 
43  const edm::RefVector<reco::GenParticleCollection>& gens) const =0;
44 
45 
47  virtual reco::RecoToGenCollection associateRecoToGen(const edm::Handle<edm::View<reco::Track> >& tCH,
48  const edm::Handle<reco::GenParticleCollection>& tPCH) const = 0;
49 
51  virtual reco::GenToRecoCollection associateGenToReco(const edm::Handle<edm::View<reco::Track> >& tCH,
52  const edm::Handle<reco::GenParticleCollection>& tPCH) const = 0;
53 
54 
55  private:
57 
59 
60  };
61 }
62 
63 #endif
std::vector< GenParticle > GenParticleCollection
collection of GenParticles
virtual reco::RecoToGenCollection associateRecoToGen(const edm::RefToBaseVector< reco::Track > &tracks, const edm::RefVector< reco::GenParticleCollection > &gens) const =0
Association Sim To Reco with Collections (Gen Particle version)
edm::AssociationMap< edm::OneToManyWithQualityGeneric< reco::GenParticleCollection, edm::View< reco::Track >, double > > GenToRecoCollection
const TrackToGenParticleAssociatorBaseImpl & operator=(const TrackToGenParticleAssociatorBaseImpl &)
virtual reco::GenToRecoCollection associateGenToReco(const edm::RefToBaseVector< reco::Track > &tracks, const edm::RefVector< reco::GenParticleCollection > &gens) const =0
Association Sim To Reco with Collections (Gen Particle version)
fixed size matrix
edm::AssociationMap< edm::OneToManyWithQualityGeneric< edm::View< reco::Track >, reco::GenParticleCollection, double > > RecoToGenCollection