#include <SecondaryVertex.h>
Public Member Functions | |
Measurement1D | dist2d () const |
Measurement1D | dist3d () const |
SecondaryVertex () | |
SecondaryVertex (const reco::Vertex &pv, const reco::Vertex &sv, const GlobalVector &direction, bool withPVError=false) | |
~SecondaryVertex () | |
Public Member Functions inherited from reco::Vertex | |
void | add (const TrackBaseRef &r, float w=1.0) |
add a reference to a Track More... | |
void | add (const TrackBaseRef &r, const Track &refTrack, float w=1.0) |
add the original a Track(reference) and the smoothed Track More... | |
double | chi2 () const |
chi-squares More... | |
double | covariance (int i, int j) const |
(i, j)-th element of error matrix, i, j = 0, ... 2 More... | |
CovarianceMatrix | covariance () const |
return SMatrix More... | |
Error | error () const |
return SMatrix More... | |
void | fill (CovarianceMatrix &v) const |
fill SMatrix More... | |
bool | hasRefittedTracks () const |
Checks whether refitted tracks are stored. More... | |
bool | isFake () const |
bool | isValid () const |
Tells whether the vertex is valid. More... | |
double | ndof () const |
double | normalizedChi2 () const |
chi-squared divided by n.d.o.f. More... | |
unsigned int | nTracks (float minWeight=0.5) const |
Returns the number of tracks in the vertex with weight above minWeight. More... | |
TrackBaseRef | originalTrack (const Track &refTrack) const |
math::XYZTLorentzVectorD | p4 (float mass=0.13957018, float minWeight=0.5) const |
Returns the four momentum of the sum of the tracks, assuming the given mass for the decay products. More... | |
const Point & | position () const |
position More... | |
Track | refittedTrack (const TrackBaseRef &track) const |
Track | refittedTrack (const TrackRef &track) const |
const std::vector< Track > & | refittedTracks () const |
Returns the container of refitted tracks. More... | |
void | removeTracks () |
trackRef_iterator | tracks_begin () const |
first iterator over tracks More... | |
trackRef_iterator | tracks_end () const |
last iterator over tracks More... | |
size_t | tracksSize () const |
number of tracks More... | |
template<typename TREF > | |
float | trackWeight (const TREF &r) const |
returns the weight with which a Track has contributed to the vertex-fit. More... | |
Vertex () | |
Vertex (const Point &, const Error &) | |
Constructor for a fake vertex. More... | |
Vertex (const Point &, const Error &, double chi2, double ndof, size_t size) | |
constructor for a valid vertex, with all data More... | |
double | x () const |
x coordinate More... | |
double | xError () const |
error on x More... | |
double | y () const |
y coordinate More... | |
double | yError () const |
error on y More... | |
double | z () const |
y coordinate More... | |
double | zError () const |
error on z More... | |
Static Public Member Functions | |
static Measurement1D | computeDist2d (const reco::Vertex &pv, const reco::Vertex &sv, const GlobalVector &direction, bool withPVError) |
static Measurement1D | computeDist3d (const reco::Vertex &pv, const reco::Vertex &sv, const GlobalVector &direction, bool withPVError) |
Private Attributes | |
Measurement1D | dist2d_ |
Measurement1D | dist3d_ |
Additional Inherited Members | |
Public Types inherited from reco::Vertex | |
enum | { dimension = 3 } |
error matrix dimension More... | |
enum | { size = dimension * ( dimension + 1 ) / 2 } |
matix size More... | |
typedef math::Error< dimension > ::type | CovarianceMatrix |
covariance error matrix (3x3) More... | |
typedef math::Error< dimension > ::type | Error |
covariance error matrix (3x3) More... | |
typedef unsigned int | index |
index type More... | |
typedef math::XYZPoint | Point |
point in the space More... | |
typedef std::vector < TrackBaseRef > ::const_iterator | trackRef_iterator |
The iteratator for the vector<TrackRef> More... | |
Definition at line 10 of file SecondaryVertex.h.
|
inline |
Definition at line 12 of file SecondaryVertex.h.
|
inline |
Definition at line 13 of file SecondaryVertex.h.
|
inline |
Definition at line 20 of file SecondaryVertex.h.
|
static |
Definition at line 16 of file SecondaryVertex.cc.
References reco::Vertex::covariance(), alignCSCRings::e, reco::Vertex::error(), reco::Vertex::position(), and mathSSE::sqrt().
Referenced by PFRecoTauDiscriminationByFlight::discriminate().
|
static |
Definition at line 45 of file SecondaryVertex.cc.
References reco::Vertex::covariance(), alignCSCRings::e, reco::Vertex::error(), reco::Vertex::position(), and mathSSE::sqrt().
Referenced by CaloRecoTauDiscriminationByFlightPathSignificance::vertexSignificance(), and PFRecoTauDiscriminationByFlightPathSignificance::vertexSignificance().
|
inline |
Definition at line 22 of file SecondaryVertex.h.
References dist2d_.
Referenced by reco::VertexFilter::operator()(), reco::VertexSorting::operator()(), and SecondaryVertexProducer::produce().
|
inline |
Definition at line 23 of file SecondaryVertex.h.
References dist3d_.
Referenced by reco::VertexFilter::operator()(), reco::VertexSorting::operator()(), SecondaryVertexProducer::produce(), and BtoCharmDecayVertexMerger::resolveBtoDchain().
|
private |
Definition at line 33 of file SecondaryVertex.h.
Referenced by dist2d().
|
private |
Definition at line 34 of file SecondaryVertex.h.
Referenced by dist3d().