1 #ifndef FITAMPLITUDE_HH 2 #define FITAMPLITUDE_HH 54 "protoFitAmplitudeFile.txt" 84 FitAmplitude(
const std::string& StandardisedDecayTreeName
85 ,
const std::string& prefix =
"" 86 ,
const std::string& linshapePrefix =
"" 90 FitAmplitude(
const std::string& StandardisedDecayTreeName
91 ,
const std::string& prefix
92 ,
const std::string& linshapePrefix
133 return (
double)
_tag;
177 , TRandom* rnd=gRandom
205 std::complex<double> z =
getVal(evt);
206 return z.real()*z.real() + z.imag()*z.imag();
219 void multiply(
const std::complex<double>& z);
232 void print(std::ostream& os = std::cout)
const;
std::complex< double > AmpPhase() const
DalitzEventPattern getTreePattern() const
static void AutogenerateFitFile(const std::string &fname="protoFitAmplitudeFile.txt", const DalitzEventPattern &pat=DalitzEventPattern::NoPattern)
FitAmplitude GetCConjugateFinalStateSameFitParameters() const
FitAmplitude GetDifferentLSameFitParameters(int L) const
bool canBeIgnored() const
virtual std::complex< double > getVal(IDalitzEvent &evt)
bool CPConjugateSameFitParameters()
virtual DalitzBoxSet MakeBoxes(const DalitzEventPattern &pat, double nSigma=3)
DalitzBoxSet MakeBoxes(const DalitzEventPattern &pat, double nSigma=3)
FitAmplitude(const FitAmplitude &other, IFitParRegister *newDaddy=0)
FitAmplitude & operator *=(double r)
std::complex< double > ComplexVal()
virtual double RealVal(IDalitzEvent &evt)
MINT::counted_ptr< MINT::FitComplex > _FitAmpPhase
bool CConjugateInitialStateSameFitParameters()
virtual std::complex< double > getValWithoutFitParameters(IDalitzEvent &evt)
DecayTree theBareDecay() const
const MINT::FitComplex & FitAmpPhase() const
MINT::ComplexProduct _preFactors
virtual std::complex< double > getVal(IDalitzEvent &evt)
virtual double boxFactor()
MINT::FitComplex & FitAmpPhase()
bool CConjugateFinalStateSameFitParameters()
double getFraction() const
virtual bool isZero() const
bool setLSameFitParameters(int L)
DalitzEventPattern getTreePattern() const
DalitzBWBoxSet MakeBWBoxes(const DalitzEventPattern &pat, TRandom *rnd=gRandom)
void setFraction(double fr)
MINT::NamedParameter< double > _fitFraction
MINT::ComplexProductForEvent< IDalitzEvent > _evt_dep_preFactors
static const DalitzEventPattern NoPattern
FitAmplitude GetCopySameFitParameters() const
static std::string longestNameInList()
virtual std::complex< double > getNewOnePermutationsVal(IDalitzEvent &evt)
MINT::ComplexProductForEvent< IDalitzEvent > & eventDependentPrefactors()
std::complex< double > preFactors() const
virtual std::complex< double > ComplexVal(IDalitzEvent &evt)
double Prob(IDalitzEvent &evt)
const Amplitude & amp() const
FitAmplitude GetCPConjugateSameFitParameters() const
std::ostream & operator<<(std::ostream &os, const FitAmplitude &fa)
DecayTree theBareDecay() const
const MINT::ComplexProductForEvent< IDalitzEvent > & eventDependentPrefactors() const
virtual DalitzBWBoxSet MakeBWBoxes(const DalitzEventPattern &pat, TRandom *rnd=gRandom)
virtual double boxFactor()
FitAmplitude GetCConjugateInitialStateSameFitParameters() const
void print(std::ostream &os=std::cout) const