1 #ifndef RecoBTag_SecondaryVertex_TemplatedSimpleSecondaryVertexComputer_h
2 #define RecoBTag_SecondaryVertex_TemplatedSimpleSecondaryVertexComputer_h
6 #include "Math/GenVector/VectorUtil.h"
16 template <
class IPTI,
class VTX>
24 :
use2d(!parameters.getParameter<bool>(
"use3d")),
25 useSig(parameters.getParameter<bool>(
"useSignificance")),
26 unBoost(parameters.getParameter<bool>(
"unBoost")),
27 minTracks(parameters.getParameter<unsigned int>(
"minTracks")),
31 parameters.
existsAs<
unsigned int>(
"minVertices") ? parameters.
getParameter<
unsigned int>(
"minVertices") : 1;
76 #endif // RecoBTag_SecondaryVertex_TemplatedSimpleSecondaryVertexComputer_h
TemplatedSimpleSecondaryVertexComputer(const edm::ParameterSet ¶meters)
static std::vector< std::string > checklist log
const T & get(unsigned int index=0) const
bool existsAs(std::string const ¶meterName, bool trackiness=true) const
checks if a parameter exists as a given type
const VTX & secondaryVertex(unsigned int index) const
reco::TemplatedSecondaryVertexTagInfo< IPTI, VTX > TagInfo
unsigned int minVertices_
void uses(unsigned int id, const std::string &label)
unsigned int nVertices() const
double significance() const
T getParameter(std::string const &) const
float discriminator(const TagInfoHelper &tagInfos) const override
const math::XYZTLorentzVector & vectorSum() const
Measurement1D flightDistance(unsigned int index, int dim=0) const
unsigned int nVertexTracks() const