#include <VertexCompatibleWithBeam.h>
Public Member Functions | |
float | distanceToBeam (const reco::Vertex &) const |
float | distanceToBeam (const reco::Vertex &, const VertexState &) const |
virtual bool | operator() (const reco::Vertex &) const |
virtual bool | operator() (const reco::Vertex &, const VertexState &) const |
VertexCompatibleWithBeam & | operator= (const VertexCompatibleWithBeam &other) |
void | setBeamSpot (const reco::BeamSpot &beamSpot) |
VertexCompatibleWithBeam (const VertexDistance &dist, float cut) | |
VertexCompatibleWithBeam (const VertexDistance &dist, float cut, const reco::BeamSpot &beamSpot) | |
VertexCompatibleWithBeam (const VertexCompatibleWithBeam &other) | |
virtual | ~VertexCompatibleWithBeam () |
Private Attributes | |
VertexState | theBeam |
float | theCut |
VertexDistance * | theDistance |
True if the distance between the beam spot and the vertex, computed by the dist
algorithm, is smaller than cut
.
Definition at line 15 of file VertexCompatibleWithBeam.h.
VertexCompatibleWithBeam::VertexCompatibleWithBeam | ( | const VertexDistance & | dist, |
float | cut | ||
) |
Definition at line 8 of file VertexCompatibleWithBeam.cc.
References ExpressReco_HICollisions_FallBack::beamSpot, and theBeam.
VertexCompatibleWithBeam::VertexCompatibleWithBeam | ( | const VertexDistance & | dist, |
float | cut, | ||
const reco::BeamSpot & | beamSpot | ||
) |
Definition at line 16 of file VertexCompatibleWithBeam.cc.
VertexCompatibleWithBeam::VertexCompatibleWithBeam | ( | const VertexCompatibleWithBeam & | other | ) |
Definition at line 21 of file VertexCompatibleWithBeam.cc.
|
virtual |
Definition at line 27 of file VertexCompatibleWithBeam.cc.
References theDistance.
float VertexCompatibleWithBeam::distanceToBeam | ( | const reco::Vertex & | v | ) | const |
Definition at line 55 of file VertexCompatibleWithBeam.cc.
References reco::Vertex::covariance(), VertexDistance::distance(), L1TEmulatorMonitor_cff::p, reco::Vertex::position(), theBeam, theDistance, and Measurement1D::value().
float VertexCompatibleWithBeam::distanceToBeam | ( | const reco::Vertex & | v, |
const VertexState & | bs | ||
) | const |
Definition at line 63 of file VertexCompatibleWithBeam.cc.
References reco::Vertex::covariance(), VertexDistance::distance(), L1TEmulatorMonitor_cff::p, reco::Vertex::position(), theDistance, and Measurement1D::value().
|
virtual |
Definition at line 47 of file VertexCompatibleWithBeam.cc.
References reco::Vertex::covariance(), VertexDistance::distance(), L1TEmulatorMonitor_cff::p, reco::Vertex::position(), theBeam, theCut, theDistance, and Measurement1D::value().
|
virtual |
Definition at line 71 of file VertexCompatibleWithBeam.cc.
References reco::Vertex::covariance(), VertexDistance::distance(), L1TEmulatorMonitor_cff::p, reco::Vertex::position(), theCut, theDistance, and Measurement1D::value().
VertexCompatibleWithBeam & VertexCompatibleWithBeam::operator= | ( | const VertexCompatibleWithBeam & | other | ) |
Definition at line 33 of file VertexCompatibleWithBeam.cc.
References clone(), theBeam, theCut, and theDistance.
void VertexCompatibleWithBeam::setBeamSpot | ( | const reco::BeamSpot & | beamSpot | ) |
Definition at line 43 of file VertexCompatibleWithBeam.cc.
References theBeam.
|
private |
Definition at line 39 of file VertexCompatibleWithBeam.h.
Referenced by distanceToBeam(), operator()(), operator=(), setBeamSpot(), and VertexCompatibleWithBeam().
|
private |
Definition at line 38 of file VertexCompatibleWithBeam.h.
Referenced by operator()(), and operator=().
|
private |
Definition at line 37 of file VertexCompatibleWithBeam.h.
Referenced by distanceToBeam(), operator()(), operator=(), and ~VertexCompatibleWithBeam().