#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 10 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 15 of file ConstrainedTreeBuilder.cc.
References a, RecoTauCleanerPlugins::charge, HLT_FULL_cff::chi2, covarianceMatrix(), mps_fire::i, LogDebug, dqmiodumpmetadata::n, hcaldqm::flag::nState, AlCaHLTBitMon_ParallelJobs::p, VirtualKinematicParticleFactory::particle(), pFactory, mathSSE::sqrt(), and z.
Referenced by KinematicConstrainedVertexFitter::fit().
|
private |
Definition at line 122 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 149 of file ConstrainedTreeBuilder.cc.
References mps_fire::i, dqmiolumiharvest::j, findQualityFiles::size, mathSSE::sqrt(), HcalDetIdTransform::transform(), and z.
Referenced by buildTree().
|
private |
Definition at line 43 of file ConstrainedTreeBuilder.h.
Referenced by buildTree(), ConstrainedTreeBuilder(), and ~ConstrainedTreeBuilder().
|
private |
Definition at line 44 of file ConstrainedTreeBuilder.h.
Referenced by buildTree(), ConstrainedTreeBuilder(), and ~ConstrainedTreeBuilder().