CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_3/src/RecoJets/JetAssociationAlgorithms/interface/JetTracksAssociationDRVertexAssigned.h

Go to the documentation of this file.
00001 // \class JetTracksAssociationDRVertex
00002 // Associate jets with tracks by simple "delta R" criteria.
00003 // This is different from the "JetTracksAssociatorAtVertex" because this
00004 // class assigns a vertex to the jet/track association. 
00005 // Fedor Ratnikov (UMd), Aug. 28, 2007
00006 // $Id: JetTracksAssociationDRVertexAssigned.h,v 1.1 2011/11/11 18:58:02 srappocc Exp $
00007 
00008 #ifndef JetTracksAssociationDRVertexAssigned_h
00009 #define JetTracksAssociationDRVertexAssigned_h
00010 
00011 #include "DataFormats/JetReco/interface/JetTracksAssociation.h"
00012 #include "DataFormats/VertexReco/interface/VertexFwd.h"
00013 #include "DataFormats/VertexReco/interface/Vertex.h"
00014 class JetTracksAssociationDRVertexAssigned {
00015  public:
00016   JetTracksAssociationDRVertexAssigned (double fDr);
00017   ~JetTracksAssociationDRVertexAssigned () {}
00018 
00019   void produce (reco::JetTracksAssociation::Container* fAssociation, 
00020                 const std::vector <edm::RefToBase<reco::Jet> >& fJets,
00021                 const std::vector <reco::TrackRef>& fTracks,
00022                 const reco::VertexCollection& vertices) const;
00023  private:
00025   double mDeltaR2Threshold;
00026 };
00027 
00028 #endif