39 ,
const std::string& prefix=
"" 40 ,
const std::string& lineshapePrefix=
"" 41 ,
const std::string& opt=
"" 46 ,
const std::string& prefix=
"" 47 ,
const std::string& lineshapePrefix=
"" 48 ,
const std::string& opt=
"" 52 ,
const std::string& prefix
53 ,
const std::string& lineshapePrefix=
"" 54 ,
const std::string& opt=
"" 82 , TRandom* rnd=gRandom){
101 std::complex<double> res =
getVal(evt);
102 return res.real()*res.real() + res.imag()*res.imag();
133 virtual void print(std::ostream& os=std::cout)
const;
134 virtual void printNonZero(std::ostream& os=std::cout)
const;
FitAmpSum operator+(const FitAmpSum &other) const
virtual DalitzBoxSet makeBoxes(const DalitzEventPattern &pat, double nSigma=2)
virtual MINT::counted_ptr< FitAmpListBase > GetCloneOfSubsetSameFitParameters(std::string name) const
virtual void print(std::ostream &os=std::cout) const
DalitzBWBoxSet makeBWBoxes(const DalitzEventPattern &pat, MINT::IReturnRealForEvent< IDalitzEvent > *pdf, TRandom *rnd=gRandom)
virtual MINT::counted_ptr< FitAmpPairList > makeFitAmpPairList()
DalitzBoxSet makeBoxes(const DalitzEventPattern &pat, MINT::IReturnRealForEvent< IDalitzEvent > *pdf, double nSigma=2)
virtual MINT::counted_ptr< FitAmpListBase > GetCloneSameFitParameters() const
virtual void Gradient(IDalitzEvent &evt, std::vector< double > &grad, MINT::MinuitParameterSet *mps)
FitAmpSum & operator=(const FitAmpSum &other)
virtual std::complex< double > ComplexVal(IDalitzEvent &evt)
virtual bool useAnalyticGradient()
virtual std::complex< double > getVal(IDalitzEvent &evt)
virtual double Prob(IDalitzEvent &evt)
MINT::NamedParameter< int > _useAnalyticGradient
FitAmpSum(const DalitzEventPattern &pat, const char *fname=0, MINT::MinuitParameterSet *pset=0, const std::string &prefix="", const std::string &lineshapePrefix="", const std::string &opt="")
virtual MINT::counted_ptr< MINT::IUnweightedEventGenerator< IDalitzEvent > > makeEventGenerator(const DalitzEventPattern &pat, TRandom *rnd=gRandom)
virtual DalitzBWBoxSet makeBWBoxes(const DalitzEventPattern &pat, TRandom *rnd=gRandom)
virtual MINT::counted_ptr< IntegCalculator > makeIntegCalculator()
FitAmpSum & operator+=(const FitAmpSum &other)
virtual MINT::counted_ptr< IIntegrationCalculator > makeIntegrationCalculator()
virtual void printNonZero(std::ostream &os=std::cout) const
virtual void printValues(IDalitzEvent &evt, std::ostream &os=std::cout)
double getAmpSqr(IDalitzEvent &evt, std::vector< std::string > ampNames, bool CC=false)
FitAmpSum operator *(double r) const
FitAmpSum & operator *=(double r)
virtual double RealVal(IDalitzEvent &evt)
FitAmpSum operator *(double r, const FitAmpSum &rhs)