#include <TFitConstraintEp.h>
Public Types | |
enum | component { pX, pY, pZ, E } |
Public Member Functions | |
void | addParticle (TAbsFitParticle *particle) |
void | addParticles (TAbsFitParticle *p1, TAbsFitParticle *p2=nullptr, TAbsFitParticle *p3=nullptr, TAbsFitParticle *p4=nullptr, TAbsFitParticle *p5=nullptr, TAbsFitParticle *p6=nullptr, TAbsFitParticle *p7=nullptr, TAbsFitParticle *p8=nullptr, TAbsFitParticle *p9=nullptr, TAbsFitParticle *p10=nullptr) |
Double_t | getCurrentValue () override |
TMatrixD * | getDerivative (TAbsFitParticle *particle) override |
TString | getInfoString () override |
Double_t | getInitValue () override |
void | print () override |
void | setConstraint (Double_t constraint) |
TFitConstraintEp () | |
TFitConstraintEp (const TString &name, const TString &title, std::vector< TAbsFitParticle * > *particles, TFitConstraintEp::component thecomponent, Double_t constraint=0.) | |
TFitConstraintEp (const TString &name, const TString &title, TFitConstraintEp::component thecomponent, Double_t constraint=0.) | |
TFitConstraintEp (std::vector< TAbsFitParticle * > *particles, TFitConstraintEp::component thecomponent, Double_t constraint=0.) | |
~TFitConstraintEp () override | |
Public Member Functions inherited from TAbsFitConstraint | |
virtual void | applyDeltaAlpha (TMatrixD *corrMatrix) |
virtual const TMatrixD * | getCovMatrix () const |
virtual const TMatrixD * | getCovMatrixDeltaAlpha () |
virtual const TMatrixD * | getCovMatrixFit () const |
virtual TMatrixD * | getDerivativeAlpha () |
Int_t | getNPar () |
const TMatrixD * | getParCurr () |
const TMatrixD * | getParIni () |
virtual void | reset () |
virtual void | setCovMatrix (const TMatrixD *theCovMatrix) |
virtual void | setCovMatrixFit (const TMatrixD *theCovMatrixFit) |
void | setParIni (const TMatrixD *parini) |
TAbsFitConstraint () | |
TAbsFitConstraint (const TString &name, const TString &title) | |
~TAbsFitConstraint () override | |
Private Attributes | |
TFitConstraintEp::component | _component |
Double_t | _constraint |
std::vector< TAbsFitParticle * > | _particles |
Additional Inherited Members | |
Protected Member Functions inherited from TAbsFitConstraint | |
void | calcCovMatrixDeltaAlpha () |
Protected Attributes inherited from TAbsFitConstraint | |
TMatrixD | _covMatrix |
TMatrixD | _covMatrixDeltaAlpha |
TMatrixD | _covMatrixFit |
TMatrixD | _iniparameters |
Int_t | _nPar |
TMatrixD | _parameters |
Definition at line 9 of file TFitConstraintEp.h.
TFitConstraintEp::TFitConstraintEp | ( | ) |
Definition at line 22 of file TFitConstraintEp.cc.
TFitConstraintEp::TFitConstraintEp | ( | const TString & | name, |
const TString & | title, | ||
TFitConstraintEp::component | thecomponent, | ||
Double_t | constraint = 0. |
||
) |
Definition at line 25 of file TFitConstraintEp.cc.
TFitConstraintEp::TFitConstraintEp | ( | std::vector< TAbsFitParticle * > * | particles, |
TFitConstraintEp::component | thecomponent, | ||
Double_t | constraint = 0. |
||
) |
Definition at line 31 of file TFitConstraintEp.cc.
References _particles, and ecalTrigSettings_cff::particles.
TFitConstraintEp::TFitConstraintEp | ( | const TString & | name, |
const TString & | title, | ||
std::vector< TAbsFitParticle * > * | particles, | ||
TFitConstraintEp::component | thecomponent, | ||
Double_t | constraint = 0. |
||
) |
Definition at line 48 of file TFitConstraintEp.cc.
References _particles, and ecalTrigSettings_cff::particles.
|
override |
Definition at line 70 of file TFitConstraintEp.cc.
void TFitConstraintEp::addParticle | ( | TAbsFitParticle * | particle | ) |
Definition at line 72 of file TFitConstraintEp.cc.
References _particles.
Referenced by addParticles().
void TFitConstraintEp::addParticles | ( | TAbsFitParticle * | p1, |
TAbsFitParticle * | p2 = nullptr , |
||
TAbsFitParticle * | p3 = nullptr , |
||
TAbsFitParticle * | p4 = nullptr , |
||
TAbsFitParticle * | p5 = nullptr , |
||
TAbsFitParticle * | p6 = nullptr , |
||
TAbsFitParticle * | p7 = nullptr , |
||
TAbsFitParticle * | p8 = nullptr , |
||
TAbsFitParticle * | p9 = nullptr , |
||
TAbsFitParticle * | p10 = nullptr |
||
) |
Definition at line 78 of file TFitConstraintEp.cc.
References addParticle(), p1, p2, p3, and p4.
Referenced by TtSemiLepKinFitter::setupConstraints().
|
overridevirtual |
Implements TAbsFitConstraint.
Definition at line 138 of file TFitConstraintEp.cc.
References _component, _constraint, _particles, mps_fire::i, and createfilelist::int.
Referenced by getInfoString().
|
overridevirtual |
Implements TAbsFitConstraint.
Definition at line 115 of file TFitConstraintEp.cc.
References _component, and createfilelist::int.
|
overridevirtual |
Reimplemented from TAbsFitConstraint.
Definition at line 151 of file TFitConstraintEp.cc.
References _component, _constraint, getCurrentValue(), getInitValue(), and info().
Referenced by print().
|
overridevirtual |
Implements TAbsFitConstraint.
Definition at line 125 of file TFitConstraintEp.cc.
References _component, _constraint, _particles, mps_fire::i, and createfilelist::int.
Referenced by getInfoString().
|
overridevirtual |
Reimplemented from TAbsFitConstraint.
Definition at line 168 of file TFitConstraintEp.cc.
References getInfoString().
|
inline |
Definition at line 42 of file TFitConstraintEp.h.
References _constraint, and HLT_2018_cff::constraint.
Referenced by TtSemiLepKinFitter::fit().
|
private |
Definition at line 57 of file TFitConstraintEp.h.
Referenced by getCurrentValue(), getDerivative(), getInfoString(), and getInitValue().
|
private |
Definition at line 56 of file TFitConstraintEp.h.
Referenced by getCurrentValue(), getInfoString(), getInitValue(), and setConstraint().
|
private |
Definition at line 55 of file TFitConstraintEp.h.
Referenced by addParticle(), getCurrentValue(), getInitValue(), and TFitConstraintEp().