1 #ifndef RecoBTag_FeatureTools_deep_helpers_h 2 #define RecoBTag_FeatureTools_deep_helpers_h 22 const float replace_value = 0.);
26 const float replace_value,
27 const float lowerbound,
28 const float upperbound,
30 const bool use_offsets =
true);
42 template <
typename SVType,
typename PVType>
46 float aval= adxy.value();
47 float bval= bdxy.value();
48 float aerr= adxy.error();
49 float berr= bdxy.error();
63 for(
size_t i=0;
i<vals.size();
i++){
71 float mindrsvpfcand(
const std::vector<reco::VertexCompositePtrCandidate> & svs,
79 #endif //RecoBTag_FeatureTools_deep_helpers_h
float quality_from_pfcand(const reco::PFCandidate &pfcand)
float vertexDdotP(const reco::VertexCompositePtrCandidate &sv, const reco::Vertex &pv)
Measurement1D vertexD3d(const reco::VertexCompositePtrCandidate &svcand, const reco::Vertex &pv)
const float catch_infs(const float in, const float replace_value=0.)
int dump_vector(reco::TaggingVariableList &from, T *to, reco::btau::TaggingVariableName name, const size_t max)
const float catch_infs_and_bound(const float in, const float replace_value, const float lowerbound, const float upperbound, const float offset=0., const bool use_offsets=true)
float mindrsvpfcand(const std::vector< reco::VertexCompositePtrCandidate > &svs, const reco::Candidate *cand, float mindr=0.4)
Measurement1D vertexDxy(const reco::VertexCompositePtrCandidate &svcand, const reco::Vertex &pv)
std::vector< TaggingValue > getList(TaggingVariableName tag, bool throwOnEmptyList=true) const
float vtx_ass_from_pfcand(const reco::PFCandidate &pfcand, int pv_ass_quality, const reco::VertexRef &pv)
bool sv_vertex_comparator(const SVType &sva, const SVType &svb, const PVType &pv)
float lost_inner_hits_from_pfcand(const reco::PFCandidate &pfcand)
Particle reconstructed by the particle flow algorithm.