Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:29:39

0001 #ifndef SimDataFormats_Associations_VertexToTrackingVertexAssociatorBaseImpl_h
0002 #define SimDataFormats_Associations_VertexToTrackingVertexAssociatorBaseImpl_h
0003 
0004 #include "DataFormats/Common/interface/Handle.h"
0005 #include "SimDataFormats/Associations/interface/VertexAssociation.h"
0006 
0007 namespace reco {
0008   class VertexToTrackingVertexAssociatorBaseImpl {
0009   public:
0010     /// Constructor
0011     VertexToTrackingVertexAssociatorBaseImpl();
0012     /// Destructor
0013     virtual ~VertexToTrackingVertexAssociatorBaseImpl();
0014 
0015     /// compare reco to sim the handle of reco::Vertex and TrackingVertex
0016     /// collections
0017     virtual reco::VertexRecoToSimCollection associateRecoToSim(
0018         const edm::Handle<edm::View<reco::Vertex>> &vCH, const edm::Handle<TrackingVertexCollection> &tVCH) const = 0;
0019 
0020     /// compare reco to sim the handle of reco::Vertex and TrackingVertex
0021     /// collections
0022     virtual reco::VertexSimToRecoCollection associateSimToReco(
0023         const edm::Handle<edm::View<reco::Vertex>> &vCH, const edm::Handle<TrackingVertexCollection> &tVCH) const = 0;
0024   };
0025 }  // namespace reco
0026 
0027 #endif