CMS 3D CMS Logo

JetTracksAssociationDRCalo.h

Go to the documentation of this file.
00001 // \class JetTracksAssociationDRCalo
00002 // Associate jets with tracks by simple "delta R" criteria
00003 // Fedor Ratnikov (UMd), Aug. 28, 2007
00004 // $Id: JetTracksAssociationDRCalo.h,v 1.4 2007/09/24 20:59:57 fedor Exp $
00005 
00006 #ifndef JetTracksAssociationDRCalo_h
00007 #define JetTracksAssociationDRCalo_h
00008 
00009 #include "DataFormats/JetReco/interface/JetTracksAssociation.h"
00010 #include "DataFormats/Math/interface/Point3D.h"
00011 
00012 class MagneticField;
00013 class Propagator;
00014 
00015 class JetTracksAssociationDRCalo {
00016  public:
00017   JetTracksAssociationDRCalo (double fDr);
00018   ~JetTracksAssociationDRCalo () {}
00019 
00020   void produce (reco::JetTracksAssociation::Container* fAssociation, 
00021                 const std::vector <edm::RefToBase<reco::Jet> >& fJets,
00022                 const std::vector <reco::TrackRef>& fTracks,
00023                 const MagneticField& fField,
00024                 const Propagator& fPropagator) const;
00025 
00027   static math::XYZPoint propagateTrackToCalorimeter (const reco::Track& fTrack,
00028                                                      const MagneticField& fField,
00029                                                      const Propagator& fPropagator);
00030  private:
00032   double mDeltaR2Threshold;
00033 };
00034 
00035 #endif

Generated on Tue Jun 9 17:43:41 2009 for CMSSW by  doxygen 1.5.4