29 :
TAbsFitConstraint(name, title), _constraint(constraint), _component(thecomponent) {}
34 :
TAbsFitConstraint(), _particles(0), _constraint(constraint), _component(thecomponent) {
53 :
TAbsFitConstraint(name, title), _particles(0), _constraint(constraint), _component(thecomponent) {
119 TMatrixD* DerivativeMatrix =
new TMatrixD(1, 4);
120 (*DerivativeMatrix) *= 0.;
122 return DerivativeMatrix;
128 Double_t InitValue(0);
130 for (
unsigned int i = 0;
i < Npart;
i++) {
131 const TLorentzVector* FourVec =
_particles[
i]->getIni4Vec();
141 Double_t CurrentValue(0);
143 for (
unsigned int i = 0;
i < Npart;
i++) {
144 const TLorentzVector* FourVec =
_particles[
i]->getCurr4Vec();
154 std::stringstream
info;
155 info << std::scientific << std::setprecision(6);
157 info <<
"__________________________" << std::endl << std::endl;
158 info <<
"OBJ: " << IsA()->GetName() <<
"\t" << GetName() <<
"\t" << GetTitle() << std::endl;
160 info <<
"initial value: " <<
getInitValue() << std::endl;
162 info <<
"component: " <<
_component << std::endl;
163 info <<
"constraint: " <<
_constraint << std::endl;
Log< level::Info, true > LogVerbatim
TMatrixD * getDerivative(TAbsFitParticle *particle) override
Double_t getInitValue() override
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
void addParticle(TAbsFitParticle *particle)
TString getInfoString() override
TFitConstraintEp::component _component
~TFitConstraintEp() override
std::vector< TAbsFitParticle * > _particles