44 if(dbThis) cout <<
"FitAmpSum::GetCloneSameFitParameters()" << endl;
63 if(dbThis) cout <<
"cloning MultiTopHat " << newList->
size() << endl;
68 if(&other ==
this)
return *
this;
73 if(&other ==
this)
return *
this;
81 complex<double> sum(0.0, 0.0);
83 for(
unsigned int i=0; i< this->
size(); i++){
85 cout <<
"MultiTopHat::getVal()" 93 if(dbthis) cout <<
"MultiTopHat::getVal(evt):" 94 <<
" returning this: " << sum
107 for(
unsigned int i=0; i <
_fitAmps.size(); i++){
108 if(
_fitAmps[i]->canBeIgnored())
continue;
116 cout <<
"MultiTopHat: setting efficiency POINTER " 117 <<
" in integCalculator to " 120 cout <<
" (0 means no pointer, 100% efficiency).";
126 cout <<
"MultiTopHat::makeIntegCalculator(): returning " << endl;
134 for(
unsigned int i=0; i <
_fitAmps.size(); i++){
135 if(
_fitAmps[i]->canBeIgnored())
continue;
143 cout <<
"MultiTopHat: setting efficiency POINTER " 144 <<
" in integCalculator to " 147 cout <<
" (0 means no pointer, 100% efficiency).";
virtual bool append(const IntegCalculator &other)
virtual bool append(const FitAmpPairList &otherListPtr)
virtual int add(const FitAmpListBase &other, double factor=1)
virtual FitAmplitude * getAmpPtr(unsigned int i)
virtual MINT::counted_ptr< FitAmpPairList > makeFitAmpPairList()
virtual std::complex< double > getVal(IDalitzEvent &evt)
virtual void addAmps(FitAmplitude *a1, FitAmplitude *a2)
virtual void print(std::ostream &os=std::cout) const
DecayTree theBareDecay() const
virtual MINT::counted_ptr< IntegCalculator > makeIntegCalculator()
MINT::counted_ptr< MINT::IReturnRealForEvent< IDalitzEvent > > _efficiency
std::vector< FitAmplitude * > _fitAmps
void setEfficiency(MINT::counted_ptr< MINT::IReturnRealForEvent< IDalitzEvent > > eff)
double efficiency(IDalitzEvent &evt)
virtual void addAmps(FitAmplitude *a1, FitAmplitude *a2)
MultiTopHat & operator+=(const MultiTopHat &other)
MultiTopHat operator+(const MultiTopHat &other) const
std::vector< MINT::counted_ptr< FitAmpListBase > > _fitAmpLists
MultiTopHat & operator *=(double r)
MultiTopHat & operator=(const MultiTopHat &other)
virtual MINT::counted_ptr< FitAmpListBase > GetCloneSameFitParameters() const
std::complex< double > getVal(IDalitzEvent &evt)
virtual MINT::counted_ptr< IIntegrationCalculator > makeIntegrationCalculator()
void oneLiner(std::stringstream &seam, int generation=0) const
MultiTopHat operator *(double r) const
MultiTopHat operator *(double r, const MultiTopHat &rhs)
virtual unsigned int size() const
void setEfficiency(MINT::counted_ptr< MINT::IReturnRealForEvent< IDalitzEvent > > eff)
virtual void multiply(double r)