37 ,_constraint(constraint)
38 ,_component(thecomponent)
54 std::vector<TAbsFitParticle*>* particles,
59 ,_constraint(constraint)
60 ,_component(thecomponent)
114 TMatrixD* DerivativeMatrix =
new TMatrixD(1,4);
115 (*DerivativeMatrix) *= 0.;
117 return DerivativeMatrix;
124 Double_t InitValue(0) ;
126 for (
unsigned int i=0;
i<Npart;
i++) {
127 const TLorentzVector* FourVec =
_particles[
i]->getIni4Vec();
137 Double_t CurrentValue(0);
139 for (
unsigned int i=0;
i<Npart;
i++) {
140 const TLorentzVector* FourVec =
_particles[
i]->getCurr4Vec();
150 std::stringstream
info;
151 info << std::scientific << std::setprecision(6);
153 info <<
"__________________________" << std::endl
155 info <<
"OBJ: " << IsA()->GetName() <<
"\t" << GetName() <<
"\t" << GetTitle() << std::endl;
157 info <<
"initial value: " <<
getInitValue() << std::endl;
159 info <<
"component: " <<
_component << std::endl;
160 info <<
"constraint: " <<
_constraint << std::endl;
void addParticles(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, TAbsFitParticle *p10=0)
virtual Double_t getCurrentValue()
virtual Double_t getInitValue()
void addParticle(TAbsFitParticle *particle)
virtual TString getInfoString()
virtual ~TFitConstraintEp()
TFitConstraintEp::component _component
virtual TMatrixD * getDerivative(TAbsFitParticle *particle)
std::vector< TAbsFitParticle * > _particles