Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-03-17 11:18:26

0001 // \class JetTracksAssociationDRVertex

0002 // Associate jets with tracks by simple "delta R" criteria.

0003 // This is different from the "JetTracksAssociatorAtVertex" because this

0004 // class assigns a vertex to the jet/track association.

0005 // Fedor Ratnikov (UMd), Aug. 28, 2007

0006 
0007 #ifndef JetTracksAssociationDRVertexAssigned_h
0008 #define JetTracksAssociationDRVertexAssigned_h
0009 
0010 #include "DataFormats/JetReco/interface/JetTracksAssociation.h"
0011 #include "DataFormats/VertexReco/interface/VertexFwd.h"
0012 #include "DataFormats/VertexReco/interface/Vertex.h"
0013 class JetTracksAssociationDRVertexAssigned {
0014 public:
0015   JetTracksAssociationDRVertexAssigned(double fDr);
0016   ~JetTracksAssociationDRVertexAssigned() {}
0017 
0018   void produce(reco::JetTracksAssociation::Container* fAssociation,
0019                const std::vector<edm::RefToBase<reco::Jet> >& fJets,
0020                const std::vector<reco::TrackRef>& fTracks,
0021                const reco::VertexCollection& vertices) const;
0022 
0023 private:
0024   /// fidutial dR between track in the vertex and jet's reference direction

0025   double mDeltaR2Threshold;
0026 };
0027 
0028 #endif