1 #ifndef FIT_AMP_PAIR_HH 2 #define FIT_AMP_PAIR_HH 53 if(0.0 == c1)
return 0;
55 return (c1 * conj(c2));
60 if(0.0 == c1)
return 0;
89 std::string
valueFileName(
const std::string& asSubdirOf)
const;
92 bool saveValues(
const std::string& asSubdirOf =
".")
const;
94 bool saveHistos(
const std::string& asSubdirOf =
".")
const;
107 const std::string&
name()
const;
108 const std::string&
name();
109 const std::string&
dirName()
const;
112 bool save(
const std::string& asSubdirOf=
".")
const;
113 bool retrieve(
const std::string& asSubdirOf=
".");
155 std::cout <<
"ERROR in FitAmpPair::fitAmp1: zero pointer " << std::endl;
162 std::cout <<
"ERROR in FitAmpPair::fitAmp2: zero pointer " << std::endl;
182 virtual void print(std::ostream& os=std::cout)
const;
207 bool operator()(
const std::pair<FitAmpPair*, int>& a,
const std::pair<FitAmpPair*, int>& b)
const;
std::complex< double > AmpPhase() const
std::string histoReFileName(const std::string &asSubdirOf) const
bool acceptEvents() const
std::complex< double > fitParValue() const
DalitzHistoSet & histosRe()
virtual void print(std::ostream &os=std::cout) const
const DalitzHistoSet & histosRe() const
MINT::FitParDependent _eventDependentParameters
std::complex< double > _sumsq
const std::string & makeDirName()
std::complex< double > complexVal() const
bool add(const FitAmpPair &other)
std::complex< double > _lastEntry
bool operator()(const std::pair< FitAmpPair *, int > &a, const std::pair< FitAmpPair *, int > &b) const
bool operator()(const FitAmpPair &a, const FitAmpPair &b) const
DalitzHistoSet histoSet() const
std::string valueFileName(const std::string &asSubdirOf) const
const DalitzHistoSet & histosIm() const
bool retrieve(const std::string &asSubdirOf=".")
const FitAmplitude & fitAmp2() const
std::complex< double > lastEntry() const
const std::string & dirName() const
bool saveHistos(const std::string &asSubdirOf=".") const
std::ostream & operator<<(std::ostream &os, const FitAmpPair &fap)
const std::string & makeName()
DalitzHistoSet histoSetRe() const
std::string histoImFileName(const std::string &asSubdirOf) const
virtual std::complex< double > getVal(IDalitzEvent &evt)
bool retrieveHistos(const std::string &asSubdirOf=".")
bool operator()(const FitAmpPair *a, const FitAmpPair *b) const
DalitzHistoSet & histosIm()
const Amplitude & rawAmp2() const
bool hasMatchingPattern() const
DalitzHistoSet histoSetIm() const
const FitAmplitude & fitAmp1() const
const Amplitude & rawAmp1() const
bool retrieveValues(const std::string &fromDirectory=".")
bool needToReIntegrate() const
bool saveValues(const std::string &asSubdirOf=".") const
void rememberEventDependentParameters()
FitAmpPair & operator+=(const FitAmpPair &other)
std::string _weightSumName
void startReIntegration()
bool makeDirectory(const std::string &asSubdirOf=".") const
void addToHistograms(IDalitzEvent *evtPtr, const std::complex< double > &c)
std::complex< double > _sum
std::complex< double > valNoFitPars() const
const std::string & name() const
double reAdd(IDalitzEvent &evt, double weight=1, double efficiency=1)
bool isCompatibleWith(const FitAmpPair &other) const
std::complex< double > ampValue(IDalitzEvent &evtPtr)
bool save(const std::string &asSubdirOf=".") const
FitAmpPair operator+(const FitAmpPair &other) const