Go to the documentation of this file.
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());
std::vector< TrackBaseRef >::const_iterator trackRef_iterator
The iteratator for the vector<TrackRef>
Base class for all types of Jets.
reco::TrackSelector trackNoDeltaRSelector
const Container & selectedTracks() const
unsigned int nVertices() const
static edm::ParameterSet dropDeltaR(const edm::ParameterSet &pset)
double flipValue(double value, bool vertex) const
Global3DPoint GlobalPoint
void fillCommonVariables(reco::TaggingVariableList &vars, reco::TrackKinematics &vertexKinematics, const IPTI &ipInfo, const SVTI &svInfo, double &vtx_track_ptSum, double &vtx_track_ESum) const
IterationRange flipIterate(int size, bool vertex) const
const uint32_t *__restrict__ const HitContainer *__restrict__ TkSoA *__restrict__ tracks
const VTX & secondaryVertex(unsigned int index) const
XYZVectorD XYZVector
spatial vector with cartesian internal representation
void addParameter(std::string const &name, T const &value)
std::vector< size_t > sortedIndexes(btag::SortCriteria mode=reco::btag::IP3DSig) const
double etaRel(const math::XYZVector &dir, const math::XYZVector &track)
const std::vector< btag::TrackIPData > & impactParameterData() const
Container input_container
CombinedSVComputer(const edm::ParameterSet ¶ms)
char data[epos_bytes_allocation]
const Vector & momentum() const
track momentum vector
const reco::btag::TrackIPData & threshTrack(const reco::CandIPTagInfo &trackIPTagInfo, const reco::btag::SortCriteria sort, const reco::Jet &jet, const GlobalPoint &pv) const
reco::btag::SortCriteria getCriterium(const std::string &name)
virtual reco::TaggingVariableList operator()(const reco::TrackIPTagInfo &ipInfo, const reco::SecondaryVertexTagInfo &svInfo) const
trackSelector
Tracks selection.
edm::ParameterSet dropDeltaR(const edm::ParameterSet &pset) const
void add(const reco::Track &track, double weight=1.0)