#include <ConstrainedTreeBuilderT.h>
Public Member Functions | |
template<int nTrk> | |
RefCountedKinematicTree | buildTree (const std::vector< RefCountedKinematicParticle > &initialParticles, const std::vector< KinematicState > &finalStates, const RefCountedKinematicVertex vtx, const ROOT::Math::SMatrix< double, 3+7 *nTrk, 3+7 *nTrk, ROOT::Math::MatRepSym< double, 3+7 *nTrk > > &fCov) const |
ConstrainedTreeBuilderT () | |
~ConstrainedTreeBuilderT () | |
Private Member Functions | |
RefCountedKinematicTree | buildRealTree (const RefCountedKinematicParticle virtualParticle, const RefCountedKinematicVertex vtx, const std::vector< RefCountedKinematicParticle > &particles) const |
Static Private Member Functions | |
template<int nTrk> | |
static AlgebraicSymMatrix77 | covarianceMatrix (const std::vector< RefCountedKinematicParticle > &rPart, const AlgebraicVector7 &newPar, const ROOT::Math::SMatrix< double, 3+7 *nTrk, 3+7 *nTrk, ROOT::Math::MatRepSym< double, 3+7 *nTrk > > &fitCov) |
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 ConstrainedTreeBuilderT.h.
|
inline |
Definition at line 20 of file ConstrainedTreeBuilderT.h.
|
inline |
Definition at line 22 of file ConstrainedTreeBuilderT.h.
References buildRealTree(), buildTree(), covarianceMatrix(), pseudoTop_cfi::finalStates, HadronAndPartonSelector_cfi::particles, and badGlobalMuonTaggersAOD_cff::vtx.
|
private |
Definition at line 8 of file ConstrainedTreeBuilderT.cc.
References KinematicTree::movePointerToTheTop(), KinematicTree::replaceCurrentParticle(), KinematicVertexFactory::vertex(), and vFactory.
Referenced by buildTree(), and ~ConstrainedTreeBuilderT().
RefCountedKinematicTree ConstrainedTreeBuilderT::buildTree | ( | const std::vector< RefCountedKinematicParticle > & | initialParticles, |
const std::vector< KinematicState > & | finalStates, | ||
const RefCountedKinematicVertex | vtx, | ||
const ROOT::Math::SMatrix< double, 3+7 *nTrk, 3+7 *nTrk, ROOT::Math::MatRepSym< double, 3+7 *nTrk > > & | fCov | ||
) | const |
Method constructing tree out of set of refitted states, vertex, and full covariance matrix.
Definition at line 60 of file ConstrainedTreeBuilderT.h.
References a, buildRealTree(), ALCARECOTkAlJpsiMuMu_cff::charge, vertices_cff::chi2, mps_fire::i, LogDebug, seedCreatorFromRegionConsecutiveHitsEDProducer_cff::magneticField, gen::n, hcaldqm::flag::nState, AlCaHLTBitMon_ParallelJobs::p, VirtualKinematicParticleFactory::particle(), pFactory, mathSSE::sqrt(), badGlobalMuonTaggersAOD_cff::vtx, and z.
Referenced by KinematicConstrainedVertexFitterT< nTrk, nConstraint >::fit(), and ~ConstrainedTreeBuilderT().
|
staticprivate |
Metod to reconstruct the full covariance matrix of the resulting particle.
Definition at line 184 of file ConstrainedTreeBuilderT.h.
References mps_fire::i, seedCreatorFromRegionConsecutiveHitsEDProducer_cff::magneticField, findQualityFiles::size, mathSSE::sqrt(), create_public_lumi_plots::transform, and pileupCalc::upper.
Referenced by ~ConstrainedTreeBuilderT().
|
private |
Definition at line 50 of file ConstrainedTreeBuilderT.h.
Referenced by buildTree().
|
private |
Definition at line 51 of file ConstrainedTreeBuilderT.h.
Referenced by buildRealTree().