00001 #ifndef VertexAssociatorByTracks_h 00002 #define VertexAssociatorByTracks_h 00003 00004 #include "SimTracker/VertexAssociation/interface/VertexAssociatorBase.h" 00005 00006 class VertexAssociatorByTracks : public VertexAssociatorBase { 00007 00008 public: 00009 explicit VertexAssociatorByTracks( const edm::ParameterSet& ); 00010 ~VertexAssociatorByTracks(); 00011 00012 /* Associate TrackingVertex to RecoVertex By Hits */ 00013 00014 reco::VertexRecoToSimCollection 00015 associateRecoToSim (edm::Handle<reco::VertexCollection>& vc, 00016 edm::Handle<TrackingVertexCollection>& tvc, 00017 const edm::Event& event, 00018 reco::RecoToSimCollection& trackAssocResult) const; 00019 00020 reco::VertexSimToRecoCollection 00021 associateSimToReco (edm::Handle<reco::VertexCollection>& vc, 00022 edm::Handle<TrackingVertexCollection>& tvc , 00023 const edm::Event& event, 00024 reco::SimToRecoCollection& trackAssocResult) const; 00025 00026 private: 00027 // ----- member data 00028 const edm::ParameterSet& conf_; 00029 // const double theMinHitFraction; 00030 // int LayerFromDetid(const DetId&); 00031 }; 00032 00033 #endif