Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:25:28

0001 // \class JetTracksAssociationDRVertex
0002 // Associate jets with tracks by simple "delta R" criteria
0003 // Fedor Ratnikov (UMd), Aug. 28, 2007
0004 
0005 #ifndef JetTracksAssociationDRVertex_h
0006 #define JetTracksAssociationDRVertex_h
0007 
0008 #include "DataFormats/JetReco/interface/JetTracksAssociation.h"
0009 
0010 class JetTracksAssociationDRVertex {
0011 public:
0012   JetTracksAssociationDRVertex(double fDr);
0013   ~JetTracksAssociationDRVertex() {}
0014 
0015   void produce(reco::JetTracksAssociation::Container* fAssociation,
0016                const std::vector<edm::RefToBase<reco::Jet> >& fJets,
0017                const std::vector<reco::TrackRef>& fTracks) const;
0018 
0019 private:
0020   /// fidutial dR between track in the vertex and jet's reference direction
0021   double mDeltaR2Threshold;
0022 };
0023 
0024 #endif