#include <VertexAssociationSelector.h>
Classes | |
struct | Config |
Public Member Functions | |
bool | operator() (const pat::VertexAssociation &vass) const |
check if this VertexAssociation is ok More... | |
bool | operator() (const reco::Candidate &c, const reco::Vertex &) const |
pat::VertexAssociation | simpleAssociation (const reco::Candidate &c, const reco::VertexRef &vtx) const |
VertexAssociationSelector () | |
an empty constructor is sometimes needed More... | |
VertexAssociationSelector (const Config &conf) | |
constructor from a configuration More... | |
Private Attributes | |
Config | conf_ |
Definition at line 9 of file VertexAssociationSelector.h.
|
inline |
an empty constructor is sometimes needed
Definition at line 41 of file VertexAssociationSelector.h.
pat::VertexAssociationSelector::VertexAssociationSelector | ( | const Config & | conf | ) |
bool pat::VertexAssociationSelector::operator() | ( | const pat::VertexAssociation & | vass | ) | const |
check if this VertexAssociation is ok
Definition at line 48 of file VertexAssociationSelector.cc.
References pat::VertexAssociation::dr(), pat::VertexAssociation::dz(), pat::VertexAssociation::isNull(), Measurement1DFloat::significance(), and Measurement1DFloat::value().
bool pat::VertexAssociationSelector::operator() | ( | const reco::Candidate & | c, |
const reco::Vertex & | vtx | ||
) | const |
check if this candidate and this vertex are compatible this will just use the basic candidate vertex position, without any fancy track extrapolation.
Definition at line 15 of file VertexAssociationSelector.cc.
References funct::abs(), HltBtagPostValidation_cff::c, mathSSE::sqrt(), and extraflags_cff::vtx.
pat::VertexAssociation pat::VertexAssociationSelector::simpleAssociation | ( | const reco::Candidate & | c, |
const reco::VertexRef & | vtx | ||
) | const |
Definition at line 8 of file VertexAssociationSelector.cc.
References HltBtagPostValidation_cff::c, runTheMatrix::ret, and extraflags_cff::vtx.
|
private |
Definition at line 62 of file VertexAssociationSelector.h.