CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
JetTracksAssociationDRCalo.h
Go to the documentation of this file.
1 // \class JetTracksAssociationDRCalo
2 // Associate jets with tracks by simple "delta R" criteria
3 // Fedor Ratnikov (UMd), Aug. 28, 2007
4 // $Id: JetTracksAssociationDRCalo.h,v 1.4.2.1 2009/02/23 12:59:13 bainbrid Exp $
5 
6 #ifndef RecoJets_JetAssociationAlgorithms_JetTracksAssociationDRCalo_h
7 #define RecoJets_JetAssociationAlgorithms_JetTracksAssociationDRCalo_h
8 
12 #include <vector>
13 
14 class MagneticField;
15 class Propagator;
16 
18 
19  public:
20 
22  explicit JetTracksAssociationDRCalo( double dr_threshold );
23 
26 
28  void produce( Association*,
29  const Jets&,
30  const Tracks&,
31  const TrackQuality&,
32  const MagneticField&,
33  const Propagator& );
34 
36  void produce( Association*,
37  const JetRefs&,
38  const TrackRefs&,
39  const MagneticField&,
40  const Propagator& );
41 
42  // Associates tracks to the given jet
44  const reco::Jet&,
45  const TrackRefs& );
46 
47  // Calculates track impact points at calorimeter face
48  void propagateTracks( const TrackRefs&,
49  const MagneticField&,
50  const Propagator& );
51 
54  const MagneticField&,
55  const Propagator& );
56 
57  private:
58 
61 
64  const MagneticField&,
65  const Propagator& );
66 
68  struct ImpactPoint {
69  unsigned index;
70  double eta;
71  double phi;
72  };
73 
75  std::vector<ImpactPoint> propagatedTracks_;
76 
77 };
78 
79 #endif // RecoJets_JetAssociationAlgorithms_JetTracksAssociationDRCalo_h
JetTracksAssociationDRCalo()
Private default constructor.
Base class for all types of Jets.
Definition: Jet.h:21
std::vector< ImpactPoint > propagatedTracks_
Impact points of tracks at calorimeter face.
void produce(Association *, const Jets &, const Tracks &, const TrackQuality &, const MagneticField &, const Propagator &)
Associates tracks to jets (using Handles as input)
void propagateTracks(const TrackRefs &, const MagneticField &, const Propagator &)
std::vector< reco::TrackRef > TrackRefs
void associateTracksToJet(reco::TrackRefVector &, const reco::Jet &, const TrackRefs &)
Associate tracks to the given jet.
std::vector< JetRef > JetRefs
XYZPointD XYZPoint
point in space with cartesian internal representation
Definition: Point3D.h:13
This class analyses the reconstruction quality for a given track.
Definition: TrackQuality.h:26
static GlobalPoint propagateTrackToCalo(const reco::Track &, const MagneticField &, const Propagator &)
Propagates track to calorimeter face.
static math::XYZPoint propagateTrackToCalorimeter(const reco::Track &, const MagneticField &, const Propagator &)
Propagates track to calorimeter face.