#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.
ConstrainedTreeBuilder::~ConstrainedTreeBuilder | ( | ) |
|
private |
Definition at line 122 of file ConstrainedTreeBuilder.cc.
References ecalTrigSettings_cff::particles, KinematicVertexFactory::vertex(), vFactory, and extraflags_cff::vtx.
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, ALCARECOTkAlJpsiMuMu_cff::charge, hltPixelTracks_cff::chi2, covarianceMatrix(), pseudoTop_cfi::finalStates, mps_fire::i, LogDebug, dqmiodumpmetadata::n, hcaldqm::flag::nState, AlCaHLTBitMon_ParallelJobs::p, VirtualKinematicParticleFactory::particle(), pFactory, mathSSE::sqrt(), bphysicsOniaDQM_cfi::vertex, extraflags_cff::vtx, and z.
Referenced by KinematicConstrainedVertexFitter::fit().
|
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(), pileupCalc::upper, 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().