#include <TKinFitter.h>
Protected Member Functions | |
Bool_t | applyDeltaA () |
Bool_t | applyDeltaY () |
void | applyVFit () |
Bool_t | calcA () |
Bool_t | calcB () |
Bool_t | calcC () |
Bool_t | calcC11 () |
Bool_t | calcC21 () |
Bool_t | calcC22 () |
Bool_t | calcC31 () |
Bool_t | calcC32 () |
Bool_t | calcC33 () |
Bool_t | calcDeltaA () |
Bool_t | calcDeltaY () |
Bool_t | calcLambda () |
Bool_t | calcV () |
Bool_t | calcVA () |
Bool_t | calcVB () |
Bool_t | calcVFit () |
Bool_t | converged (Double_t F, Double_t prevS, Double_t currS) |
void | countMeasParams () |
void | countUnmeasParams () |
TString | getStatusString () |
void | printMatrix (const TMatrixD &matrix, const TString &name="") |
void | resetParams () |
Private Attributes | |
TMatrixD | _A |
TMatrixD | _AT |
TMatrixD | _B |
TMatrixD | _BT |
TMatrixD | _c |
TMatrixD | _C11 |
TMatrixD | _C11T |
TMatrixD | _C21 |
TMatrixD | _C21T |
TMatrixD | _C22 |
TMatrixD | _C22T |
TMatrixD | _C31 |
TMatrixD | _C31T |
TMatrixD | _C32 |
TMatrixD | _C32T |
TMatrixD | _C33 |
TMatrixD | _C33T |
std::vector< TAbsFitConstraint * > | _constraints |
TMatrixD | _deltaA |
TMatrixD | _deltaAstar |
TMatrixD | _deltaY |
TMatrixD | _deltaYstar |
TMatrixD | _lambda |
TMatrixD | _lambdaT |
TMatrixD | _lambdaVFit |
Double_t | _maxDeltaS |
Double_t | _maxF |
Int_t | _maxNbIter |
std::vector< TAbsFitParticle * > | _measParticles |
Int_t | _nbIter |
Int_t | _nParA |
Int_t | _nParB |
Int_t | _status |
std::vector< TAbsFitParticle * > | _unmeasParticles |
TMatrixD | _V |
TMatrixD | _VA |
TMatrixD | _VAinv |
TMatrixD | _VB |
TMatrixD | _VBinv |
Int_t | _verbosity |
TMatrixD | _Vinv |
TMatrixD | _yaVFit |
Definition at line 13 of file TKinFitter.h.
TKinFitter::TKinFitter | ( | ) |
Definition at line 21 of file TKinFitter.cc.
References reset().
TKinFitter::TKinFitter | ( | const TString & | name, |
const TString & | title | ||
) |
Definition at line 63 of file TKinFitter.cc.
References reset().
TKinFitter::~TKinFitter | ( | ) |
Definition at line 182 of file TKinFitter.cc.
void TKinFitter::addConstraint | ( | TAbsFitConstraint * | constraint | ) |
Definition at line 281 of file TKinFitter.cc.
References _constraints, countMeasParams(), and resetStatus().
Referenced by TSLToyGen::doToyExperiments(), CandMassKinFitter::set(), StKinFitter::setupFitter(), TtFullHadKinFitter::setupFitter(), and TtSemiLepKinFitter::setupFitter().
void TKinFitter::addMeasParticle | ( | TAbsFitParticle * | particle | ) |
Definition at line 209 of file TKinFitter.cc.
References _measParticles, countMeasParams(), and resetStatus().
Referenced by TSLToyGen::doToyExperiments(), CandMassKinFitter::set(), StKinFitter::setupFitter(), TtFullHadKinFitter::setupFitter(), and TtSemiLepKinFitter::setupFitter().
void TKinFitter::addMeasParticles | ( | TAbsFitParticle * | p1, |
TAbsFitParticle * | p2 = 0 , |
||
TAbsFitParticle * | p3 = 0 , |
||
TAbsFitParticle * | p4 = 0 , |
||
TAbsFitParticle * | p5 = 0 , |
||
TAbsFitParticle * | p6 = 0 , |
||
TAbsFitParticle * | p7 = 0 , |
||
TAbsFitParticle * | p8 = 0 , |
||
TAbsFitParticle * | p9 = 0 |
||
) |
Definition at line 224 of file TKinFitter.cc.
References _measParticles, countMeasParams(), and resetStatus().
void TKinFitter::addUnmeasParticle | ( | TAbsFitParticle * | particle | ) |
Definition at line 245 of file TKinFitter.cc.
References _unmeasParticles, countUnmeasParams(), and resetStatus().
Referenced by TSLToyGen::doToyExperiments().
void TKinFitter::addUnmeasParticles | ( | TAbsFitParticle * | p1, |
TAbsFitParticle * | p2 = 0 , |
||
TAbsFitParticle * | p3 = 0 , |
||
TAbsFitParticle * | p4 = 0 , |
||
TAbsFitParticle * | p5 = 0 , |
||
TAbsFitParticle * | p6 = 0 , |
||
TAbsFitParticle * | p7 = 0 , |
||
TAbsFitParticle * | p8 = 0 , |
||
TAbsFitParticle * | p9 = 0 |
||
) |
Definition at line 260 of file TKinFitter.cc.
References _unmeasParticles, countUnmeasParams(), and resetStatus().
|
protected |
Definition at line 1038 of file TKinFitter.cc.
References _deltaA, _unmeasParticles, TAbsFitParticle::applycorr(), TAbsFitParticle::getNPar(), and cmsHarvester::index.
Referenced by fit().
|
protected |
Definition at line 1059 of file TKinFitter.cc.
References _constraints, _deltaY, _measParticles, TAbsFitParticle::applycorr(), TAbsFitConstraint::applyDeltaAlpha(), HLT_25ns14e33_v1_cff::constraint, TAbsFitConstraint::getNPar(), TAbsFitParticle::getNPar(), and cmsHarvester::index.
Referenced by fit().
|
protected |
Definition at line 991 of file TKinFitter.cc.
References _constraints, _measParticles, _unmeasParticles, _yaVFit, EnergyCorrector::c, HLT_25ns14e33_v1_cff::constraint, TAbsFitConstraint::getNPar(), TAbsFitParticle::getNPar(), alignCSCRings::r, TAbsFitParticle::setCovMatrixFit(), and TAbsFitConstraint::setCovMatrixFit().
Referenced by fit().
|
protected |
Definition at line 519 of file TKinFitter.cc.
References _A, _AT, _constraints, _nParA, _unmeasParticles, TAbsFitParticle::getDerivative(), and JetComb::kMult.
Referenced by fit().
|
protected |
Definition at line 558 of file TKinFitter.cc.
References _B, _BT, _constraints, _measParticles, _nParB, _verbosity, HLT_25ns14e33_v1_cff::constraint, TAbsFitParticle::getDerivative(), TAbsFitConstraint::getDerivativeAlpha(), JetComb::kMult, and printMatrix().
Referenced by fit().
|
protected |
Definition at line 796 of file TKinFitter.cc.
References _A, _B, _c, _constraints, _measParticles, _nParA, _nParB, _unmeasParticles, _verbosity, a, alpha, HLT_25ns14e33_v1_cff::constraint, TAbsFitConstraint::getNPar(), TAbsFitParticle::getParCurr(), TAbsFitConstraint::getParCurr(), TAbsFitParticle::getParIni(), TAbsFitConstraint::getParIni(), JetComb::kMult, printMatrix(), and detailsBasic3DVector::y.
Referenced by fit().
|
protected |
Definition at line 668 of file TKinFitter.cc.
References _A, _AT, _B, _BT, _C11, _C11T, _nParA, _V, _VAinv, _VB, and JetComb::kMult.
Referenced by fit().
|
protected |
Definition at line 698 of file TKinFitter.cc.
References _AT, _B, _C21, _C21T, _V, _VAinv, _VB, and JetComb::kMult.
Referenced by fit().
|
protected |
|
protected |
Definition at line 731 of file TKinFitter.cc.
References _A, _AT, _B, _C31, _C31T, _nParA, _V, _VAinv, _VB, and JetComb::kMult.
Referenced by fit().
|
protected |
Definition at line 758 of file TKinFitter.cc.
References _A, _C32, _C32T, _VAinv, _VB, and JetComb::kMult.
Referenced by fit().
|
protected |
Definition at line 774 of file TKinFitter.cc.
References _A, _AT, _C33, _C33T, _nParA, _VAinv, _VB, and JetComb::kMult.
Referenced by fit().
|
protected |
Definition at line 890 of file TKinFitter.cc.
References _c, _C32T, _deltaA, _deltaAstar, _nbIter, and JetComb::kMult.
Referenced by fit().
|
protected |
Definition at line 909 of file TKinFitter.cc.
References _c, _C31T, _deltaY, _deltaYstar, _nbIter, and JetComb::kMult.
Referenced by fit().
|
protected |
Definition at line 928 of file TKinFitter.cc.
References _c, _C33, _lambda, _lambdaT, and JetComb::kMult.
Referenced by fit().
|
protected |
Definition at line 467 of file TKinFitter.cc.
References _constraints, _measParticles, _nParB, _status, _V, _Vinv, HLT_25ns14e33_v1_cff::constraint, alignCSCRings::e, TAbsFitParticle::getCovMatrix(), TAbsFitConstraint::getCovMatrix(), TAbsFitConstraint::getNPar(), and TAbsFitParticle::getNPar().
Referenced by fit().
|
protected |
Definition at line 647 of file TKinFitter.cc.
References _A, _AT, _status, _VA, _VAinv, _VB, alignCSCRings::e, and JetComb::kMult.
Referenced by fit().
|
protected |
Definition at line 626 of file TKinFitter.cc.
References _B, _BT, _status, _V, _VB, _VBinv, alignCSCRings::e, and JetComb::kMult.
Referenced by fit().
|
protected |
|
protected |
Definition at line 1126 of file TKinFitter.cc.
References _maxDeltaS, _maxF, and Abs().
Referenced by fit().
|
protected |
Definition at line 186 of file TKinFitter.cc.
References _constraints, _measParticles, and _nParB.
Referenced by addConstraint(), addMeasParticle(), and addMeasParticles().
|
protected |
Definition at line 199 of file TKinFitter.cc.
References _nParA, and _unmeasParticles.
Referenced by addUnmeasParticle(), and addUnmeasParticles().
Int_t TKinFitter::fit | ( | ) |
Definition at line 309 of file TKinFitter.cc.
References _A, _B, _c, _C32T, _deltaA, _deltaAstar, _deltaY, _deltaYstar, _lambda, _lambdaT, _maxNbIter, _nbIter, _nParA, _status, _V, _VB, _VBinv, _verbosity, applyDeltaA(), applyDeltaY(), applyVFit(), calcA(), calcB(), calcC(), calcC11(), calcC21(), calcC22(), calcC31(), calcC32(), calcC33(), calcDeltaA(), calcDeltaY(), calcLambda(), calcV(), calcVA(), calcVB(), calcVFit(), converged(), getF(), getS(), print(), printMatrix(), resetParams(), and resetStatus().
Referenced by StKinFitter::addKinFitInfo(), TSLToyGen::doToyExperiments(), TtFullHadKinFitter::fit(), TtSemiLepKinFitter::fit(), and CandMassKinFitter::set().
|
inline |
Definition at line 56 of file TKinFitter.h.
References _measParticles.
|
inline |
|
inline |
Double_t TKinFitter::getF | ( | ) |
Definition at line 1095 of file TKinFitter.cc.
References _constraints, Abs(), and F().
Referenced by TSLToyGen::doToyExperiments(), fit(), and print().
|
inline |
|
inline |
Definition at line 45 of file TKinFitter.h.
References _maxF.
Referenced by TSLToyGen::doToyExperiments().
|
inline |
|
inline |
Definition at line 55 of file TKinFitter.h.
References _measParticles, and cmsHarvester::index.
|
inline |
Definition at line 40 of file TKinFitter.h.
References _nbIter.
Referenced by TSLToyGen::doToyExperiments(), and TopKinFitter::fitNrIter().
|
inline |
Definition at line 35 of file TKinFitter.h.
References _constraints, and _nParA.
Referenced by TSLToyGen::doToyExperiments(), TopKinFitter::fitProb(), print(), and CandMassKinFitter::set().
|
inline |
|
inline |
Double_t TKinFitter::getS | ( | ) |
Definition at line 1108 of file TKinFitter.cc.
References _deltaY, _nbIter, _Vinv, JetComb::kMult, and S().
Referenced by TSLToyGen::doToyExperiments(), fit(), TopKinFitter::fitProb(), TopKinFitter::fitS(), print(), and CandMassKinFitter::set().
|
inline |
Definition at line 41 of file TKinFitter.h.
References _status.
Referenced by StKinFitter::addKinFitInfo(), TtFullHadKinFitter::addKinFitInfo(), TtSemiLepKinFitter::addKinFitInfo(), TSLToyGen::doToyExperiments(), TtFullHadKinFitter::fit(), TtSemiLepKinFitter::fit(), TtFullHadKinFitter::fittedB(), TtFullHadKinFitter::fittedBBar(), TtSemiLepKinFitter::fittedHadB(), TtSemiLepKinFitter::fittedHadP(), TtSemiLepKinFitter::fittedHadQ(), TtSemiLepKinFitter::fittedLepB(), TtSemiLepKinFitter::fittedLepton(), TtFullHadKinFitter::fittedLightP(), TtFullHadKinFitter::fittedLightPBar(), TtFullHadKinFitter::fittedLightQ(), TtFullHadKinFitter::fittedLightQBar(), and TtSemiLepKinFitter::fittedNeutrino().
|
protected |
|
inline |
Definition at line 59 of file TKinFitter.h.
References _unmeasParticles, and cmsHarvester::index.
|
inline |
|
inline |
|
inline |
Definition at line 54 of file TKinFitter.h.
References _measParticles.
|
inline |
Definition at line 58 of file TKinFitter.h.
References _unmeasParticles.
void TKinFitter::print | ( | void | ) |
Definition at line 1174 of file TKinFitter.cc.
References _constraints, _measParticles, _nbIter, _nParB, _status, _unmeasParticles, _yaVFit, TAbsFitParticle::getCovMatrix(), getF(), TAbsFitParticle::getInfoString(), getNDF(), TAbsFitParticle::getNPar(), TAbsFitParticle::getParCurr(), getS(), getStatusString(), and cmsBatch::log.
Referenced by fit().
|
protected |
Definition at line 1256 of file TKinFitter.cc.
References i, cmsBatch::log, makeMuonMisalignmentScenario::matrix, and Min().
Referenced by calcB(), calcC(), and fit().
void TKinFitter::reset | ( | void | ) |
Definition at line 105 of file TKinFitter.cc.
References _A, _AT, _B, _BT, _c, _C11, _C11T, _C21, _C21T, _C22, _C22T, _C31, _C31T, _C32, _C32T, _C33, _C33T, _constraints, _deltaA, _deltaAstar, _deltaY, _deltaYstar, _lambda, _lambdaT, _lambdaVFit, _maxDeltaS, _maxF, _maxNbIter, _measParticles, _nbIter, _nParA, _nParB, _status, _unmeasParticles, _V, _VA, _VAinv, _VB, _VBinv, _verbosity, _Vinv, _yaVFit, and alignCSCRings::e.
Referenced by TKinFitter().
|
protected |
Definition at line 164 of file TKinFitter.cc.
References _constraints, _measParticles, _unmeasParticles, HLT_25ns14e33_v1_cff::constraint, TAbsFitConstraint::reset(), and TAbsFitParticle::reset().
Referenced by fit().
void TKinFitter::resetStatus | ( | ) |
Definition at line 156 of file TKinFitter.cc.
References _nbIter, and _status.
Referenced by addConstraint(), addMeasParticle(), addMeasParticles(), addUnmeasParticle(), addUnmeasParticles(), and fit().
void TKinFitter::setCovMatrix | ( | TMatrixD & | V | ) |
Definition at line 454 of file TKinFitter.cc.
|
inline |
Definition at line 42 of file TKinFitter.h.
References _maxDeltaS, and Abs().
Referenced by TSLToyGen::doToyExperiments(), CandMassKinFitter::set(), and TopKinFitter::TopKinFitter().
|
inline |
Definition at line 44 of file TKinFitter.h.
Referenced by TSLToyGen::doToyExperiments(), CandMassKinFitter::set(), and TopKinFitter::TopKinFitter().
|
inline |
Definition at line 38 of file TKinFitter.h.
References _maxNbIter.
Referenced by TSLToyGen::doToyExperiments(), CandMassKinFitter::set(), and TopKinFitter::TopKinFitter().
void TKinFitter::setVerbosity | ( | Int_t | verbosity = 1 | ) |
Definition at line 294 of file TKinFitter.cc.
References _verbosity, and HLT_25ns14e33_v1_cff::verbosity.
Referenced by TSLToyGen::doToyExperiments(), CandMassKinFitter::set(), TopKinFitter::setVerbosity(), and TopKinFitter::TopKinFitter().
|
private |
|
private |
|
private |
|
private |
|
private |
Definition at line 116 of file TKinFitter.h.
Referenced by calcC(), calcDeltaA(), calcDeltaY(), calcLambda(), fit(), and reset().
|
private |
Definition at line 118 of file TKinFitter.h.
Referenced by calcC11(), calcVFit(), and reset().
|
private |
Definition at line 119 of file TKinFitter.h.
|
private |
Definition at line 120 of file TKinFitter.h.
Referenced by calcC21(), calcVFit(), and reset().
|
private |
Definition at line 121 of file TKinFitter.h.
Referenced by calcC21(), calcVFit(), and reset().
|
private |
Definition at line 122 of file TKinFitter.h.
Referenced by calcC22(), calcVFit(), and reset().
|
private |
Definition at line 123 of file TKinFitter.h.
|
private |
Definition at line 124 of file TKinFitter.h.
|
private |
Definition at line 125 of file TKinFitter.h.
Referenced by calcC31(), calcDeltaY(), and reset().
|
private |
Definition at line 126 of file TKinFitter.h.
|
private |
Definition at line 127 of file TKinFitter.h.
Referenced by calcC32(), calcDeltaA(), fit(), and reset().
|
private |
Definition at line 128 of file TKinFitter.h.
Referenced by calcC33(), calcLambda(), calcVFit(), and reset().
|
private |
Definition at line 129 of file TKinFitter.h.
|
private |
Definition at line 144 of file TKinFitter.h.
Referenced by addConstraint(), applyDeltaY(), applyVFit(), calcA(), calcB(), calcC(), calcV(), countMeasParams(), getF(), getNDF(), nbConstraints(), print(), reset(), and resetParams().
|
private |
Definition at line 131 of file TKinFitter.h.
Referenced by applyDeltaA(), calcDeltaA(), fit(), and reset().
|
private |
Definition at line 133 of file TKinFitter.h.
Referenced by calcDeltaA(), fit(), and reset().
|
private |
Definition at line 132 of file TKinFitter.h.
Referenced by applyDeltaY(), calcDeltaY(), fit(), getS(), and reset().
|
private |
Definition at line 134 of file TKinFitter.h.
Referenced by calcDeltaY(), fit(), and reset().
|
private |
Definition at line 135 of file TKinFitter.h.
Referenced by calcLambda(), fit(), and reset().
|
private |
Definition at line 136 of file TKinFitter.h.
Referenced by calcLambda(), fit(), and reset().
|
private |
Definition at line 138 of file TKinFitter.h.
Referenced by calcVFit(), and reset().
|
private |
Definition at line 102 of file TKinFitter.h.
Referenced by converged(), getMaxDeltaS(), reset(), and setMaxDeltaS().
|
private |
Definition at line 103 of file TKinFitter.h.
Referenced by converged(), getMaxF(), reset(), and setMaxF().
|
private |
Definition at line 101 of file TKinFitter.h.
Referenced by fit(), getMaxNumberIter(), reset(), and setMaxNbIter().
|
private |
Definition at line 145 of file TKinFitter.h.
Referenced by addMeasParticle(), addMeasParticles(), applyDeltaY(), applyVFit(), calcB(), calcC(), calcV(), countMeasParams(), get4Vec(), getMeasParticle(), nbMeasParticles(), print(), reset(), and resetParams().
|
private |
Definition at line 149 of file TKinFitter.h.
Referenced by calcDeltaA(), calcDeltaY(), fit(), getNbIter(), getS(), print(), reset(), and resetStatus().
|
private |
Definition at line 141 of file TKinFitter.h.
Referenced by calcA(), calcC(), calcC11(), calcC31(), calcC33(), calcVFit(), countUnmeasParams(), fit(), getNDF(), getNParA(), and reset().
|
private |
Definition at line 142 of file TKinFitter.h.
Referenced by calcB(), calcC(), calcV(), countMeasParams(), getNParB(), print(), reset(), and setCovMatrix().
|
private |
Definition at line 148 of file TKinFitter.h.
Referenced by calcV(), calcVA(), calcVB(), fit(), getStatus(), getStatusString(), print(), reset(), and resetStatus().
|
private |
Definition at line 146 of file TKinFitter.h.
Referenced by addUnmeasParticle(), addUnmeasParticles(), applyDeltaA(), applyVFit(), calcA(), calcC(), countUnmeasParams(), getUnmeasParticle(), nbUnmeasParticles(), print(), reset(), and resetParams().
|
private |
Definition at line 110 of file TKinFitter.h.
Referenced by calcC11(), calcC21(), calcC31(), calcV(), calcVB(), fit(), getCovMatrix(), reset(), and setCovMatrix().
|
private |
Definition at line 114 of file TKinFitter.h.
|
private |
|
private |
|
private |
Definition at line 113 of file TKinFitter.h.
|
private |
Definition at line 104 of file TKinFitter.h.
Referenced by calcB(), calcC(), fit(), getVerbosity(), reset(), and setVerbosity().
|
private |
Definition at line 111 of file TKinFitter.h.
|
private |
Definition at line 139 of file TKinFitter.h.
Referenced by applyVFit(), calcVFit(), getCovMatrixFit(), print(), and reset().