RecoJets
JetAssociationAlgorithms
interface
JetTracksAssociationXtrpCalo.h
Go to the documentation of this file.
1
// \class JetTracksAssociationXtrpCalo
2
// Associate jets with tracks by extrapolation to calo face
3
4
#ifndef RecoJets_JetAssociationAlgorithms_JetTracksAssociationXtrpCalo_h
5
#define RecoJets_JetAssociationAlgorithms_JetTracksAssociationXtrpCalo_h
6
7
#include "
DataFormats/GeometryVector/interface/GlobalPoint.h
"
8
#include "
DataFormats/Math/interface/Point3D.h
"
9
#include <vector>
10
#include "
DataFormats/JetReco/interface/TrackExtrapolation.h
"
11
#include "
MagneticField/Records/interface/IdealMagneticFieldRecord.h
"
12
#include "
TrackingTools/Records/interface/TrackingComponentsRecord.h
"
13
#include "
FWCore/Framework/interface/Event.h
"
14
#include "
DataFormats/Common/interface/View.h
"
15
#include "
DataFormats/JetReco/interface/Jet.h
"
16
#include "
DataFormats/TrackReco/interface/Track.h
"
17
#include "
DataFormats/JetReco/interface/JetTracksAssociation.h
"
18
#include "
Geometry/CaloGeometry/interface/CaloGeometry.h
"
19
#include "
Geometry/Records/interface/CaloGeometryRecord.h
"
20
#include "
DataFormats/HcalDetId/interface/HcalDetId.h
"
21
22
class
MagneticField
;
23
class
Propagator
;
24
25
class
JetTracksAssociationXtrpCalo
{
26
public
:
27
typedef
reco::JetTracksAssociation::Container
Association
;
28
typedef
edm::RefToBase<reco::Jet>
JetRef
;
29
typedef
std::vector<JetRef>
JetRefs
;
30
typedef
std::vector<reco::TrackRef>
TrackRefs
;
32
JetTracksAssociationXtrpCalo
();
33
35
virtual
~JetTracksAssociationXtrpCalo
();
36
38
void
produce
(
39
Association
*,
JetRefs
const
&, std::vector<reco::TrackExtrapolation>
const
&,
CaloGeometry
const
&,
double
dR
);
40
41
void
associateInputTracksToJet
(
reco::TrackRefVector
& associated,
42
const
reco::Jet
& fJet,
43
std::vector<reco::TrackExtrapolation>
const
& fExtrapolations,
44
double
dR
);
45
46
private
:
48
virtual
void
associateTracksToJet
(
reco::TrackRefVector
&,
const
reco::Jet
&,
const
TrackRefs
&) {}
49
};
50
51
#endif // RecoJets_JetAssociationAlgorithms_JetTracksAssociationXtrpCalo_h
JetTracksAssociation.h
reco::Jet
Base class for all types of Jets.
Definition:
Jet.h:20
JetTracksAssociationXtrpCalo::associateTracksToJet
virtual void associateTracksToJet(reco::TrackRefVector &, const reco::Jet &, const TrackRefs &)
Unused.
Definition:
JetTracksAssociationXtrpCalo.h:48
JetTracksAssociationXtrpCalo::TrackRefs
std::vector< reco::TrackRef > TrackRefs
Definition:
JetTracksAssociationXtrpCalo.h:30
Jet.h
edm::RefVector< TrackCollection >
TrackExtrapolation.h
Propagator
Definition:
Propagator.h:44
CaloGeometry
Definition:
CaloGeometry.h:21
JetTracksAssociationXtrpCalo
Definition:
JetTracksAssociationXtrpCalo.h:25
Track.h
IdealMagneticFieldRecord.h
JetTracksAssociationXtrpCalo::JetRefs
std::vector< JetRef > JetRefs
Definition:
JetTracksAssociationXtrpCalo.h:29
JetTracksAssociationXtrpCalo::JetRef
edm::RefToBase< reco::Jet > JetRef
Definition:
JetTracksAssociationXtrpCalo.h:28
CaloGeometryRecord.h
edm::AssociationVector
Definition:
AssociationVector.h:67
Event.h
HcalDetId.h
JetTracksAssociationXtrpCalo::~JetTracksAssociationXtrpCalo
virtual ~JetTracksAssociationXtrpCalo()
Destructor.
Definition:
JetTracksAssociationXtrpCalo.cc:25
JetTracksAssociationXtrpCalo::Association
reco::JetTracksAssociation::Container Association
Definition:
JetTracksAssociationXtrpCalo.h:27
TrackingComponentsRecord.h
CaloGeometry.h
Point3D.h
edm::RefToBase< reco::Jet >
JetTracksAssociationXtrpCalo::JetTracksAssociationXtrpCalo
JetTracksAssociationXtrpCalo()
Constructor.
Definition:
JetTracksAssociationXtrpCalo.cc:21
View.h
HGC3DClusterGenMatchSelector_cfi.dR
dR
Definition:
HGC3DClusterGenMatchSelector_cfi.py:7
MagneticField
Definition:
MagneticField.h:19
GlobalPoint.h
JetTracksAssociationXtrpCalo::produce
void produce(Association *, JetRefs const &, std::vector< reco::TrackExtrapolation > const &, CaloGeometry const &, double dR)
Associates tracks to jets.
Definition:
JetTracksAssociationXtrpCalo.cc:30
JetTracksAssociationXtrpCalo::associateInputTracksToJet
void associateInputTracksToJet(reco::TrackRefVector &associated, const reco::Jet &fJet, std::vector< reco::TrackExtrapolation > const &fExtrapolations, double dR)
Definition:
JetTracksAssociationXtrpCalo.cc:43
Generated for CMSSW Reference Manual by
1.8.16