Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:31:05

0001 
0002 #ifndef JetVetoedTracksAssociationDRVertex_h
0003 #define JetVetoedTracksAssociationDRVertex_h
0004 
0005 #include "DataFormats/JetReco/interface/Jet.h"
0006 #include "DataFormats/JetReco/interface/JetTracksAssociation.h"
0007 #include "DataFormats/Math/interface/Vector3D.h"
0008 #include "DataFormats/Math/interface/deltaR.h"
0009 #include "DataFormats/TrackReco/interface/Track.h"
0010 
0011 #include "SimTracker/TrackHistory/interface/TrackClassifier.h"
0012 
0013 class JetVetoedTracksAssociationDRVertex {
0014 public:
0015   JetVetoedTracksAssociationDRVertex(double fDr);
0016   ~JetVetoedTracksAssociationDRVertex() {}
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                TrackClassifier &classifier) const;
0022 
0023 private:
0024   /// fidutial dR between track in the vertex and jet's reference direction
0025   double mDeltaR2Threshold;
0026 };
0027 
0028 #endif