Go to the documentation of this file.
23 const double rBarrel = 129.;
24 const double zEndcap = 320.;
25 const double zVF = 1100.;
26 const double rEndcapMin = zEndcap *
tan(2 * atan(
exp(-3.)));
27 const double rVFMin = zEndcap *
tan(2 * atan(
exp(-5.191)));
56 if (fabs(
result.z()) < zEndcap) {
70 if (fabs(
result.perp()) > rEndcapMin) {
83 if (fabs(
result.perp()) > rVFMin) {
100 const std::vector<reco::TrackRef>& fTracks,
104 std::vector<ImpactPoint> impacts;
105 for (
unsigned t = 0;
t < fTracks.size(); ++
t) {
106 GlobalPoint impact = propagateTrackToCalo(*(fTracks[
t]), fField, fPropagator);
107 if (impact.
mag() > 0) {
116 for (
unsigned j = 0;
j < fJets.size(); ++
j) {
121 for (
unsigned t = 0;
t < impacts.size(); ++
t) {
double outerPy() const
y coordinate of momentum vector at the outermost hit position
static math::XYZPoint propagateTrackToCalorimeter(const reco::Track &fTrack, const MagneticField &fField, const Propagator &fPropagator)
propagating the track to the Calorimeter
Base class for all types of Jets.
double outerPx() const
x coordinate of momentum vector at the outermost hit position
GlobalPoint globalPosition() const
double vx() const
x coordinate of the reference point on track
double mDeltaR2Threshold
fidutial dR between track in the vertex and jet's reference direction
double outerX() const
x coordinate of the outermost hit position
double px() const
x coordinate of momentum vector
bool goodTrack(const reco::Track *pTrack, math::XYZPoint leadPV, trackSelectionParameters parameters, bool debug=false)
Global3DVector GlobalVector
JetTracksAssociationDRCalo(double fDr)
const TrackExtraRef & extra() const
reference to "extra" object
double outerPz() const
z coordinate of momentum vector at the outermost hit position
double outerZ() const
z coordinate of the outermost hit position
double py() const
y coordinate of momentum vector
double vz() const
z coordinate of the reference point on track
bool setValue(Container &, const reco::JetBaseRef &, reco::TrackRefVector)
associate jet with value. Returns false and associate nothing if jet is already associated
int charge() const
track electric charge
Global3DPoint GlobalPoint
static PlanePointer build(Args &&... args)
XYZPointD XYZPoint
point in space with cartesian internal representation
Tan< T >::type tan(const T &t)
static CylinderPointer build(const PositionType &pos, const RotationType &rot, Scalar radius, Bounds *bounds=nullptr)
TrajectoryStateOnSurface propagate(STA const &state, SUR const &surface) const
void push_back(value_type const &ref)
Add a Ref<C, T> to the RefVector.
double vy() const
y coordinate of the reference point on track
void produce(reco::JetTracksAssociation::Container *fAssociation, const std::vector< edm::RefToBase< reco::Jet > > &fJets, const std::vector< reco::TrackRef > &fTracks, const MagneticField &fField, const Propagator &fPropagator) const
double pz() const
z coordinate of momentum vector
double outerY() const
y coordinate of the outermost hit position