#include <ConstrainedTreeBuilder.h>
Public Member Functions | |
RefCountedKinematicTree | buildTree (const std::vector< RefCountedKinematicParticle > &initialParticles, const std::vector< KinematicState > &finalStates, const RefCountedKinematicVertex vtx, const AlgebraicMatrix &fCov) const |
ConstrainedTreeBuilder () | |
~ConstrainedTreeBuilder () | |
Private Member Functions | |
RefCountedKinematicTree | buildTree (const RefCountedKinematicParticle virtualParticle, const RefCountedKinematicVertex vtx, const std::vector< RefCountedKinematicParticle > &particles) const |
AlgebraicMatrix | covarianceMatrix (const std::vector< RefCountedKinematicParticle > &rPart, const AlgebraicVector7 &newPar, const AlgebraicMatrix &fitCov) const |
Private Attributes | |
VirtualKinematicParticleFactory * | pFactory |
KinematicVertexFactory * | vFactory |
Class constructing te final output tree for the constrained vertex fitter. To be used by corresponding fitter only. Tree builders are scheduled for generalization: They should be inherited from the single generic class in the next version of the library.
Definition at line 15 of file ConstrainedTreeBuilder.h.
ConstrainedTreeBuilder::ConstrainedTreeBuilder | ( | ) |
Definition at line 5 of file ConstrainedTreeBuilder.cc.
References pFactory, and vFactory.
ConstrainedTreeBuilder::~ConstrainedTreeBuilder | ( | ) |
Definition at line 11 of file ConstrainedTreeBuilder.cc.
References pFactory, and vFactory.
RefCountedKinematicTree ConstrainedTreeBuilder::buildTree | ( | const std::vector< RefCountedKinematicParticle > & | initialParticles, |
const std::vector< KinematicState > & | finalStates, | ||
const RefCountedKinematicVertex | vtx, | ||
const AlgebraicMatrix & | fCov | ||
) | const |
Method constructing tree out of set of refitted states, vertex, and full covariance matrix.
Definition at line 18 of file ConstrainedTreeBuilder.cc.
References a, DeDxDiscriminatorTools::charge(), covarianceMatrix(), i, LogDebug, n, AlCaHLTBitMon_ParallelJobs::p, VirtualKinematicParticleFactory::particle(), pFactory, mathSSE::sqrt(), and detailsBasic3DVector::z.
Referenced by KinematicConstrainedVertexFitter::fit().
|
private |
Definition at line 126 of file ConstrainedTreeBuilder.cc.
References KinematicTree::movePointerToTheTop(), KinematicTree::replaceCurrentParticle(), MainPageGenerator::tree, KinematicVertexFactory::vertex(), and vFactory.
|
private |
Metod to reconstructing the full covariance matrix of the resulting particle.
Definition at line 155 of file ConstrainedTreeBuilder.cc.
References i, j, findQualityFiles::size, mathSSE::sqrt(), create_public_lumi_plots::transform, pileupCalc::upper, and detailsBasic3DVector::z.
Referenced by buildTree().
|
private |
Definition at line 45 of file ConstrainedTreeBuilder.h.
Referenced by buildTree(), ConstrainedTreeBuilder(), and ~ConstrainedTreeBuilder().
|
private |
Definition at line 46 of file ConstrainedTreeBuilder.h.
Referenced by buildTree(), ConstrainedTreeBuilder(), and ~ConstrainedTreeBuilder().