1 #ifndef PhysicsTools_PatAlgos_interface_VertexingHelper_h 2 #define PhysicsTools_PatAlgos_interface_VertexingHelper_h 34 if (iConfig.
existsAs<
double>(
"deltaZ"))
36 if (iConfig.
existsAs<
double>(
"deltaR"))
38 if (iConfig.
existsAs<
double>(
"sigmasZ"))
40 if (iConfig.
existsAs<
double>(
"sigmasR"))
67 template <
typename AnyCandRef>
100 template <
typename AnyCandRef>
106 return associate(*cand);
T getParameter(std::string const &) const
bool existsAs(std::string const ¶meterName, bool trackiness=true) const
checks if a parameter exists as a given type
edm::Handle< edm::ValueMap< pat::VertexAssociation > > vertexAssoMap_
pat::VertexAssociation operator()(const AnyCandRef &) const
edm::ESHandle< TransientTrackBuilder > ttBuilder_
static pat::VertexAssociationSelector make(const edm::ParameterSet &iConfig)
bool useTracks_
use tracks inside candidates
edm::EDGetTokenT< reco::VertexCollection > verticesToken_
edm::EDGetTokenT< edm::ValueMap< pat::VertexAssociation > > vertexAssociationsToken_
bool playback_
true if it's just reading the associations from the event
edm::Handle< reco::VertexCollection > vertexHandle_
bool enabled() const
returns true if this was given a non dummy configuration
bool enabled_
true if it has non null configuration
float dZ
cuts on Z and transverse distance from the vertex, absolute values or significances ...
Analysis-level structure for vertex-related information.
Produces and/or checks pat::VertexAssociation's.
pat::VertexAssociationSelector assoSelector_
selector of associations