1 #ifndef COHERENCE_FACTOR_STORE_AND_EVALUATE_HH 2 #define COHERENCE_FACTOR_STORE_AND_EVALUATE_HH 54 if(0 == evtPtr)
return 0;
59 if(0 == evtPtr)
return 0;
70 std::complex<double>
complexVar(std::complex<double>
s 71 , std::complex<double> s_sq
82 std::complex<double>
Rval()
const;
86 if(0 == evtPtr)
return 0;
94 ,
double CSPhase = 0.0
97 std::complex<double>
var()
const;
98 std::complex<double>
sigma()
const;
105 void printLong(std::ostream& os = std::cout)
const;
106 void print(std::ostream& os = std::cout,
const std::string& pref=
"")
const;
111 std::complex<double>
getCVal();
122 bool saveHistos(
const std::string& fname =
"CoherenceFactorHistos")
const;
123 bool drawHistos(
const std::string& fname =
"CoherenceFactorHistos")
const;
125 ,
const std::string& fname =
"CoherenceFactorHistosWith" 126 ,
double sf=1)
const;
128 ,
const std::string& fname =
"CoherenceFactorHistosWith" 129 ,
double sf=1)
const;
std::complex< double > sigma() const
std::complex< double > Abar_Value(IDalitzEvent &evt)
double sigmaAngleDeg() const
void setPrecision(double prec)
std::complex< double > complexVar(std::complex< double > s, std::complex< double > s_sq) const
bool drawHistoRatios(const CoherenceFactorStoreAndEvaluate &other, const std::string &fname="CoherenceFactorHistosWith", double sf=1) const
void printLong(std::ostream &os=std::cout) const
MINT::IReturnComplexForEvent< IDalitzEvent > * A()
const DalitzHistoSet & getHistoBoth() const
double estimatedPrecision() const
const DalitzHistoSet & getHistoAbar() const
std::complex< double > _sumAxAbarStarSquared
double getEff(MINT::counted_ptr< IDalitzEvent > evtPtr)
std::complex< double > A_Value(IDalitzEvent *evtPtr)
std::complex< double > cvarAxAbarStar() const
std::complex< double > Rval() const
DalitzHistoSet _histoBoth
double getEff(IDalitzEvent &evt)
std::complex< double > integAxAbarStar() const
void print(std::ostream &os=std::cout, const std::string &pref="") const
double sigmaAngle() const
std::complex< double > A_Value(IDalitzEvent &evt)
double realAorAbarVar(double s, double sq) const
double varAngleDeg() const
std::complex< double > var() const
CoherenceFactorStoreAndEvaluate(FitAmpSum &A, FitAmpSum &Abar, double CSAbs=1, double CSPhase=0.0, MINT::IReturnRealForEvent< IDalitzEvent > *eff=0, double prec=1.e-3)
bool addEvent(MINT::counted_ptr< IDalitzEvent > &evtPtr)
MINT::IReturnRealForEvent< IDalitzEvent > * _eff
std::complex< double > Abar_Value(IDalitzEvent *evtPtr)
const DalitzHistoSet & getHistoA() const
MINT::IReturnComplexForEvent< IDalitzEvent > * Abar()
bool drawHistosWith(const CoherenceFactorStoreAndEvaluate &other, const std::string &fname="CoherenceFactorHistosWith", double sf=1) const
bool saveHistos(const std::string &fname="CoherenceFactorHistos") const
std::complex< double > _sumAxAbarStar
std::complex< double > getCVal()
bool drawHistos(const std::string &fname="CoherenceFactorHistos") const
double integAbarSq() const
void scaleHistos(double sf=1)
DalitzHistoSet _histoAbar