8 const std::vector<RefCountedKinematicParticle>&
particles)
const {
14 resTree->addParticle(fVertex,
vtx, virtualParticle);
17 for (std::vector<RefCountedKinematicParticle>::const_iterator il =
particles.begin(); il !=
particles.end(); il++) {
18 if ((*il)->previousParticle()->correspondingTree() !=
nullptr) {
20 tree->movePointerToTheTop();
21 tree->replaceCurrentParticle(*il);
23 resTree->addTree(cdVertex,
tree);
26 resTree->addParticle(
vtx, ffVertex, *il);
KinematicVertexFactory vFactory
RefCountedKinematicTree buildRealTree(const RefCountedKinematicParticle virtualParticle, const RefCountedKinematicVertex vtx, const std::vector< RefCountedKinematicParticle > &particles) const
static RefCountedKinematicVertex vertex(const VertexState &state, float totalChiSq, float degreesOfFr)