27 for(
int i=0; i <=
_order; i++){
33 for(
int thisOrder = 0; thisOrder <=
_order; thisOrder++){
34 for(
int tord = 0; tord <= thisOrder; tord++){
35 int sord = thisOrder - tord;
39 double guessError = 1.0/(10*pow(3.0, thisOrder));
41 for(
unsigned int ti = 0; ti < tTermsTord.
size(); ti++){
42 for(
unsigned int si = 0; si < sTermsSord.
size(); si++){
79 os <<
"Eff4piSymmetric: Centre: " 84 os <<
"... and widths: " 104 for(
unsigned int i=0; i <
_allTerms.size(); i++){
105 if(0 != i) os <<
"\n\t + ";
111 ,
double s34,
double t40)
const{
134 for(
unsigned int i=0; i <
_allTerms.size(); i++){
152 ,
const std::string& prefix
167 return _prefix +
"_" + _t1.name() +
"_" + _t2.name();
175 , initValue, guessError, 0, 0
176 ,
_pset, NamedParameterBase::QUIET)
184 os <<
"(" << _fp->name() <<
")*(" << _t1 <<
") * (" << _t2 <<
")";
190 ,
const std::vector<double* >& t2_coords
193 return ((
double) (*_fp)) * _t1.eval(t1_coords) * _t2.eval(t2_coords);
double sijMax(const MINT::PolymorphVector< int > &indices) const
virtual double getVal(double t01, double s12, double s23, double s34, double t40) const
std::vector< double * > _sijVec
virtual double t(unsigned int i, unsigned int j) const =0
virtual double RealVal(IDalitzEvent &evt)
ProdWithFitParameter(const symPolyTerm &p1, const symPolyTerm &p2, const std::string &prefix, double initValue, double guessError, MINT::MinuitParameterSet *pset=0)
double getVal(const std::vector< double * > &t1_coords, const std::vector< double * > &t2_coords) const
std::vector< double * > _tijVec
std::vector< symMultiPolyTerm > _sTerms
std::vector< MINT::counted_ptr< ProdWithFitParameter > > _allTerms
double sijMin(const MINT::PolymorphVector< int > &indices) const
std::vector< symMultiPolyTerm > _tTerms
void print(std::ostream &os=std::cout) const
virtual double getValFromSavedCoordinates() const
void print(std::ostream &os=std::cout) const
Eff4piSymmetric(int order, const DalitzEventPattern &pat, MINT::MinuitParameterSet *pset=0)
unsigned int size() const
std::ostream & operator<<(std::ostream &os, const Eff4piSymmetric::ProdWithFitParameter &pwfp)
bool makeFitParameter(double initVal, double guessError)
virtual double s(unsigned int i, unsigned int j) const =0
MINT::MinuitParameterSet * _pset
bool setCentreAndTypicalVal()
void printCentreAndTypicalVal(std::ostream &os=std::cout) const