#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 (const TString &name, const TString &title, std::vector< TAbsFitParticle * > *ParList1, std::vector< TAbsFitParticle * > *ParList2, Double_t Mass=0) | |
TFitConstraintM (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 22 of file TFitConstraintM.cc.
TFitConstraintM::TFitConstraintM | ( | std::vector< TAbsFitParticle * > * | ParList1, |
std::vector< TAbsFitParticle * > * | ParList2, | ||
Double_t | Mass = 0 |
||
) |
Definition at line 24 of file TFitConstraintM.cc.
References _ParList1, _ParList2, _TheMassConstraint, and HLTSiStripMonitoring_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 48 of file TFitConstraintM.cc.
References _ParList1, _ParList2, _TheMassConstraint, and HLTSiStripMonitoring_cff::Mass.
|
override |
Definition at line 160 of file TFitConstraintM.cc.
void TFitConstraintM::addParticle1 | ( | TAbsFitParticle * | particle | ) |
Definition at line 73 of file TFitConstraintM.cc.
References _ParList1.
Referenced by addParticles1(), TSLToyGen::doToyExperiments(), and StKinFitter::setupFitter().
void TFitConstraintM::addParticle2 | ( | TAbsFitParticle * | particle | ) |
Definition at line 80 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 87 of file TFitConstraintM.cc.
References addParticle1(), p1, p2, p3, and p4.
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(), p1, p2, p3, and p4.
Referenced by TSLToyGen::doToyExperiments().
Double_t TFitConstraintM::CalcMass | ( | std::vector< TAbsFitParticle * > * | List, |
Bool_t | IniVal | ||
) |
Definition at line 244 of file TFitConstraintM.cc.
References mps_fire::i.
Referenced by TFitConstraintMGaus::getCurrentValue(), getCurrentValue(), TFitConstraintMGaus::getInitValue(), and getInitValue().
|
overridevirtual |
Implements TAbsFitConstraint.
Reimplemented in TFitConstraintMGaus.
Definition at line 223 of file TFitConstraintM.cc.
References _ParList1, _ParList2, _TheMassConstraint, and CalcMass().
Referenced by TSLToyGen::doToyExperiments(), and getInfoString().
|
overridevirtual |
Implements TAbsFitConstraint.
Definition at line 165 of file TFitConstraintM.cc.
References _ParList1, _ParList2, mps_fire::i, and OnList().
|
overridevirtual |
Reimplemented from TAbsFitConstraint.
Reimplemented in TFitConstraintMGaus.
Definition at line 260 of file TFitConstraintM.cc.
References _TheMassConstraint, getCurrentValue(), getInitValue(), and info().
Referenced by print().
|
overridevirtual |
Implements TAbsFitConstraint.
Reimplemented in TFitConstraintMGaus.
Definition at line 215 of file TFitConstraintM.cc.
References _ParList1, _ParList2, _TheMassConstraint, and CalcMass().
Referenced by getInfoString().
Bool_t TFitConstraintM::OnList | ( | std::vector< TAbsFitParticle * > * | List, |
TAbsFitParticle * | particle | ||
) |
Definition at line 231 of file TFitConstraintM.cc.
References mps_fire::i, and convertSQLiteXML::ok.
Referenced by getDerivative().
|
overridevirtual |
Reimplemented from TAbsFitConstraint.
Reimplemented in TFitConstraintMGaus.
Definition at line 276 of file TFitConstraintM.cc.
References getInfoString().
|
inline |
Definition at line 45 of file TFitConstraintM.h.
References _TheMassConstraint, and HLTSiStripMonitoring_cff::Mass.
|
protected |
Definition at line 61 of file TFitConstraintM.h.
Referenced by addParticle1(), TFitConstraintMGaus::getCurrentValue(), getCurrentValue(), getDerivative(), TFitConstraintMGaus::getInitValue(), getInitValue(), and TFitConstraintM().
|
protected |
Definition at line 63 of file TFitConstraintM.h.
Referenced by addParticle2(), TFitConstraintMGaus::getCurrentValue(), getCurrentValue(), getDerivative(), TFitConstraintMGaus::getInitValue(), getInitValue(), and TFitConstraintM().
|
protected |
Definition at line 64 of file TFitConstraintM.h.
Referenced by TFitConstraintMGaus::getCurrentValue(), getCurrentValue(), TFitConstraintMGaus::getDerivativeAlpha(), TFitConstraintMGaus::getInfoString(), getInfoString(), TFitConstraintMGaus::getInitValue(), getInitValue(), TFitConstraintMGaus::setMassConstraint(), setMassConstraint(), and TFitConstraintM().