21 minTrackWeight(
params.getParameter<double>(
"minimumTrackWeight")),
23 vertexMassCorrection(
params.getParameter<
bool>(
"correctVertexMass")),
58 const btag::TrackIPData &
data = ipData[
idx];
101 const btag::TrackIPData &
data = ipData[
idx];
143 double vtx_track_ptSum = 0.;
144 double vtx_track_ESum = 0.;
148 unsigned int numberofvertextracks = 0;
155 bool hasRefittedTracks =
vertex.hasRefittedTracks();
160 if (hasRefittedTracks) {
162 vertexKinematics.
add(actualTrack,
w);
174 vtx_track_ptSum +=
std::sqrt((*track)->momentum().Perp2());
205 double vtx_track_ptSum = 0.;
206 double vtx_track_ESum = 0.;
210 unsigned int numberofvertextracks = 0;
214 numberofvertextracks = numberofvertextracks + (svInfo.
secondaryVertex(
i)).numberOfSourceCandidatePtrs();
217 const std::vector<CandidatePtr> &
tracks =
vertex.daughterPtrVector();
223 vtx_track_ptSum +=
std::sqrt((*track)->momentum().Perp2());
virtual reco::TaggingVariableList operator()(const reco::TrackIPTagInfo &ipInfo, const reco::SecondaryVertexTagInfo &svInfo) const
reco::btag::SortCriteria getCriterium(const std::string &name)
trackSelector
Tracks selection.
void add(const reco::Track &track, double weight=1.0)
Base class for all types of Jets.
double etaRel(const math::XYZVector &dir, const math::XYZVector &track)
reco::TrackSelector trackNoDeltaRSelector
Global3DPoint GlobalPoint
const Container & selectedTracks() const
static edm::ParameterSet dropDeltaR(const edm::ParameterSet &pset)
double flipValue(double value, bool vertex) const
CombinedSVComputer(const edm::ParameterSet ¶ms)
std::vector< size_t > sortedIndexes(btag::SortCriteria mode=reco::btag::IP3DSig) const
IterationRange flipIterate(int size, bool vertex) const
edm::ParameterSet dropDeltaR(const edm::ParameterSet &pset) const
void addParameter(std::string const &name, T const &value)
const std::vector< btag::TrackIPData > & impactParameterData() const
XYZVectorD XYZVector
spatial vector with cartesian internal representation
const VTX & secondaryVertex(unsigned int index) const
const Vector & momentum() const
track momentum vector
char data[epos_bytes_allocation]
const reco::btag::TrackIPData & threshTrack(const reco::CandIPTagInfo &trackIPTagInfo, const reco::btag::SortCriteria sort, const reco::Jet &jet, const GlobalPoint &pv) const
Container input_container
void fillCommonVariables(reco::TaggingVariableList &vars, reco::TrackKinematics &vertexKinematics, const IPTI &ipInfo, const SVTI &svInfo, double &vtx_track_ptSum, double &vtx_track_ESum) const
std::vector< TrackBaseRef >::const_iterator trackRef_iterator
The iteratator for the vector<TrackRef>
unsigned int nVertices() const