1 #ifndef PhysicsTools_PatUtils_interface_VertexAssociationSelector_h 2 #define PhysicsTools_PatUtils_interface_VertexAssociationSelector_h 20 class SelectCandidates {
30 class SelectVertices {
55 SelectCandidates selectCandidates(
const reco::Vertex & vtx )
const {
return SelectCandidates(*
this, vtx ); }
59 SelectVertices selectVertices(
const reco::Candidate &
cand)
const {
return SelectVertices( *
this, cand ); }
bool operator()(const pat::VertexAssociation &vass) const
check if this VertexAssociation is ok
pat::VertexAssociation simpleAssociation(const reco::Candidate &c, const reco::VertexRef &vtx) const
float dZ
cuts on Z and transverse distance from the vertex, absolute values or significances ...
Analysis-level structure for vertex-related information.
VertexAssociationSelector()
an empty constructor is sometimes needed