81 if(!
_init)
return false;
100 ,
const std::string& namePrefix=
"" 101 ,
const std::string& lineshapePrefix=
"" 103 ,
const std::string& opt=
"" 104 ,
const std::vector<double>& numOpt = std::vector<double>()
105 , IFitParRegister* daddy=0
109 , IFitParRegister* daddy=0
113 , IFitParRegister* newDaddy=0
134 std::complex<double> res =
getVal(evt);
135 return res.real()*res.real() + res.imag()*res.imag();
166 std::string
name()
const;
167 void print(std::ostream& out = std::cout)
const;
185 , TRandom* rnd=gRandom
188 , TRandom* rnd=gRandom
virtual std::complex< double > getNewVal(IDalitzEvent &evt)
std::complex< double > getOnePermutationsVal(IDalitzEvent &evt)
virtual std::complex< double > ComplexVal(IDalitzEvent &evt)
std::complex< double > getValWithCaching(IDalitzEvent &evt)
double Prob(IDalitzEvent &evt)
virtual DalitzBoxSet MakeBox(const DalitzEventPattern &pat, const Permutation &perm, double nSigma=3)
const std::string & prefix() const
bool initialiseIfNeeded(const DalitzEventPattern &pat)
ISpinFactor * spinFactor()
virtual DalitzBoxSet MakeBoxes(const DalitzEventPattern &pat, double nSigma=3)
DecayTree getBareTree() const
AssociatingDecayTree _associatingDecayTree
const DalitzEventPattern & getTreePattern() const
bool createLineshapes(const MINT::const_counted_ptr< AssociatedDecayTree > &counted_tree_ptr)
std::vector< ILineshape * > _LineshapeList
const std::string & lsPrefix() const
bool CConjugateFinalState()
virtual std::complex< double > getVal(IDalitzEvent &evt)
virtual double boxFactor()
bool resetTree(const DecayTree &dt)
bool addLineshape(ILineshape *ls)
bool initialise(const DalitzEventPattern &pat)
Amplitude(const DecayTree &decay, const std::string &namePrefix="", const std::string &lineshapePrefix="", char SPD_Wave='?', const std::string &opt="", const std::vector< double > &numOpt=std::vector< double >(), IFitParRegister *daddy=0)
DalitzEventPattern getTreePattern() const
std::vector< double > _numOpts
const AssociatedDecayTree & getTree(const DalitzEventPattern &pat) const
void CheckAndMatchPattern(IDalitzEvent &evt) const
virtual const DalitzEventPattern & eventPattern() const =0
const AssociatedDecayTree & theDecay(const DalitzEventPattern &pat) const
const AssociatedDecayTree & theDecay(IDalitzEvent &evt) const
virtual DalitzBWBox MakeBWBox(const DalitzEventPattern &pat, const Permutation &perm, TRandom *rnd=gRandom)
void print(std::ostream &out=std::cout) const
DecayTree theBareDecay() const
std::ostream & operator<<(std::ostream &out, const Amplitude &)
ISpinFactor * _spinFactor
void CheckAndMatchPattern(const DalitzEventPattern &pat) const
std::complex< double > SpinFactorValue(IDalitzEvent &evt)
virtual DalitzBWBoxSet MakeBWBoxes(const DalitzEventPattern &pat, TRandom *rnd=gRandom)
bool CConjugateInitialState()
std::complex< double > LineshapeProduct(IDalitzEvent &evt)