#include <TFitConstraintM.h>
Public Member Functions | |
void | addParticle1 (TAbsFitParticle *particle) |
void | addParticle2 (TAbsFitParticle *particle) |
void | addParticles1 (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) |
void | addParticles2 (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 | CalcMass (std::vector< TAbsFitParticle * > *List, Bool_t IniVal) |
Double_t | getCurrentValue () override |
TMatrixD * | getDerivative (TAbsFitParticle *particle) override |
TString | getInfoString () override |
Double_t | getInitValue () override |
Bool_t | OnList (std::vector< TAbsFitParticle * > *List, TAbsFitParticle *particle) |
void | print () override |
void | setMassConstraint (Double_t Mass) |
TFitConstraintM () | |
TFitConstraintM (std::vector< TAbsFitParticle * > *ParList1, std::vector< TAbsFitParticle * > *ParList2, Double_t Mass=0) | |
TFitConstraintM (const TString &name, const TString &title, std::vector< TAbsFitParticle * > *ParList1, std::vector< TAbsFitParticle * > *ParList2, Double_t Mass=0) | |
~TFitConstraintM () 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 | |
Protected Attributes | |
std::vector< TAbsFitParticle * > | _ParList1 |
std::vector< TAbsFitParticle * > | _ParList2 |
Double_t | _TheMassConstraint |
Protected Attributes inherited from TAbsFitConstraint | |
TMatrixD | _covMatrix |
TMatrixD | _covMatrixDeltaAlpha |
TMatrixD | _covMatrixFit |
TMatrixD | _iniparameters |
Int_t | _nPar |
TMatrixD | _parameters |
Additional Inherited Members | |
Protected Member Functions inherited from TAbsFitConstraint | |
void | calcCovMatrixDeltaAlpha () |
Definition at line 11 of file TFitConstraintM.h.
TFitConstraintM::TFitConstraintM | ( | ) |
Definition at line 24 of file TFitConstraintM.cc.
TFitConstraintM::TFitConstraintM | ( | std::vector< TAbsFitParticle * > * | ParList1, |
std::vector< TAbsFitParticle * > * | ParList2, | ||
Double_t | Mass = 0 |
||
) |
Definition at line 33 of file TFitConstraintM.cc.
References _ParList1, _ParList2, _TheMassConstraint, and bwdGsfElectronPropagator_cff::Mass.
TFitConstraintM::TFitConstraintM | ( | const TString & | name, |
const TString & | title, | ||
std::vector< TAbsFitParticle * > * | ParList1, | ||
std::vector< TAbsFitParticle * > * | ParList2, | ||
Double_t | Mass = 0 |
||
) |
Definition at line 60 of file TFitConstraintM.cc.
References _ParList1, _ParList2, _TheMassConstraint, and bwdGsfElectronPropagator_cff::Mass.
|
override |
Definition at line 145 of file TFitConstraintM.cc.
void TFitConstraintM::addParticle1 | ( | TAbsFitParticle * | particle | ) |
Definition at line 87 of file TFitConstraintM.cc.
References _ParList1.
Referenced by addParticles1(), TSLToyGen::doToyExperiments(), CandMassKinFitter::set(), and StKinFitter::setupFitter().
void TFitConstraintM::addParticle2 | ( | TAbsFitParticle * | particle | ) |
Definition at line 95 of file TFitConstraintM.cc.
References _ParList2.
Referenced by addParticles2().
void TFitConstraintM::addParticles1 | ( | 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 103 of file TFitConstraintM.cc.
References addParticle1().
Referenced by TSLToyGen::doToyExperiments(), and StKinFitter::setupFitter().
void TFitConstraintM::addParticles2 | ( | 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 122 of file TFitConstraintM.cc.
References addParticle2().
Referenced by TSLToyGen::doToyExperiments().
Double_t TFitConstraintM::CalcMass | ( | std::vector< TAbsFitParticle * > * | List, |
Bool_t | IniVal | ||
) |
Definition at line 238 of file TFitConstraintM.cc.
References mps_fire::i.
Referenced by TFitConstraintMGaus::getCurrentValue(), getCurrentValue(), TFitConstraintMGaus::getInitValue(), getInitValue(), and setMassConstraint().
|
overridevirtual |
Implements TAbsFitConstraint.
Reimplemented in TFitConstraintMGaus.
Definition at line 216 of file TFitConstraintM.cc.
References _ParList1, _ParList2, _TheMassConstraint, and CalcMass().
Referenced by TSLToyGen::doToyExperiments(), getInfoString(), and setMassConstraint().
|
overridevirtual |
Implements TAbsFitConstraint.
Definition at line 152 of file TFitConstraintM.cc.
References _ParList1, _ParList2, mps_fire::i, and OnList().
Referenced by setMassConstraint().
|
overridevirtual |
Reimplemented from TAbsFitConstraint.
Reimplemented in TFitConstraintMGaus.
Definition at line 254 of file TFitConstraintM.cc.
References _TheMassConstraint, getCurrentValue(), getInitValue(), and info().
Referenced by print(), and setMassConstraint().
|
overridevirtual |
Implements TAbsFitConstraint.
Reimplemented in TFitConstraintMGaus.
Definition at line 208 of file TFitConstraintM.cc.
References _ParList1, _ParList2, _TheMassConstraint, and CalcMass().
Referenced by getInfoString(), and setMassConstraint().
Bool_t TFitConstraintM::OnList | ( | std::vector< TAbsFitParticle * > * | List, |
TAbsFitParticle * | particle | ||
) |
Definition at line 225 of file TFitConstraintM.cc.
References mps_fire::i, and convertSQLiteXML::ok.
Referenced by getDerivative(), and setMassConstraint().
|
overridevirtual |
Reimplemented from TAbsFitConstraint.
Reimplemented in TFitConstraintMGaus.
Definition at line 272 of file TFitConstraintM.cc.
References getInfoString().
Referenced by setMassConstraint().
|
inline |
Definition at line 34 of file TFitConstraintM.h.
References _TheMassConstraint, CalcMass(), getCurrentValue(), getDerivative(), getInfoString(), getInitValue(), bwdGsfElectronPropagator_cff::Mass, OnList(), and print().
|
protected |
Definition at line 50 of file TFitConstraintM.h.
Referenced by addParticle1(), TFitConstraintMGaus::getCurrentValue(), getCurrentValue(), getDerivative(), TFitConstraintMGaus::getInitValue(), getInitValue(), and TFitConstraintM().
|
protected |
Definition at line 51 of file TFitConstraintM.h.
Referenced by addParticle2(), TFitConstraintMGaus::getCurrentValue(), getCurrentValue(), getDerivative(), TFitConstraintMGaus::getInitValue(), getInitValue(), and TFitConstraintM().
|
protected |
Definition at line 52 of file TFitConstraintM.h.
Referenced by TFitConstraintMGaus::getCurrentValue(), getCurrentValue(), TFitConstraintMGaus::getDerivativeAlpha(), TFitConstraintMGaus::getInfoString(), getInfoString(), TFitConstraintMGaus::getInitValue(), getInitValue(), TFitConstraintMGaus::setMassConstraint(), setMassConstraint(), and TFitConstraintM().