Changeset View
Changeset View
Standalone View
Standalone View
src/LauKMatrixProdSVP.cc
Show First 20 Lines • Show All 88 Lines • ▼ Show 20 Lines | LauComplex LauKMatrixProdSVP::amplitude(const LauKinematics* kinematics) | ||||
if (useProdAdler_) {adlerZero = thePropagator_->getAdlerZero();} | if (useProdAdler_) {adlerZero = thePropagator_->getAdlerZero();} | ||||
amp.rescale(SVPTerm*adlerZero); | amp.rescale(SVPTerm*adlerZero); | ||||
return amp; | return amp; | ||||
} | } | ||||
const std::vector<LauParameter*>& LauKMatrixProdSVP::getFloatingParameters() | |||||
{ | |||||
this->clearFloatingParameters(); | |||||
Int_t nChannels = thePropagator_->getNChannels(); | |||||
for (int jChannel = 0 ; jChannel < nChannels ; jChannel++) | |||||
{ | |||||
LauParameter& par_f_ = thePropagator_->getScatteringParameter(channelIndex_, jChannel); | |||||
if ( !par_f_.fixed() ) | |||||
this->addFloatingParameter( &par_f_ ); | |||||
} | |||||
LauParameter& par_s0Prod_ = thePropagator_->gets0Prod(); | |||||
if ( !par_s0Prod_.fixed() ) | |||||
{ | |||||
this->addFloatingParameter( &par_s0Prod_ ); | |||||
} | |||||
return this->getParameters(); | |||||
} | |||||
No newline at end of file |