MINT2
|
#include <FitAmpPairList.h>
Public Member Functions | |
FitAmpPairList () | |
FitAmpPairList (const FitAmpPairList &other) | |
virtual | ~FitAmpPairList () |
MINT::counted_ptr< IIntegrationCalculator > | clone_IIntegrationCalculator () const |
virtual void | addAmps (FitAmplitude *a1, FitAmplitude *a2) |
virtual void | addAmps (FitAmplitude &a1, FitAmplitude &a2) |
virtual void | addEvent (IDalitzEvent *evtPtr, double weight=1) |
virtual void | addEvent (IDalitzEvent &evt, double weight=1) |
virtual void | addEvent (MINT::counted_ptr< IDalitzEvent > evtPtr, double weight=1) |
virtual void | reAddEvent (IDalitzEvent &evt, double weight=1) |
bool | isCompatibleWith (const FitAmpPairList &other) const |
virtual bool | add (const FitAmpPairList &otherList) |
virtual bool | add (const FitAmpPairList *otherListPtr) |
virtual bool | add (MINT::const_counted_ptr< FitAmpPairList > otherListPtr) |
virtual bool | append (const FitAmpPairList &otherListPtr) |
virtual bool | append (const FitAmpPairList *otherListPtr) |
virtual bool | append (MINT::const_counted_ptr< FitAmpPairList > otherListPtr) |
virtual int | numEvents () const |
virtual double | integral () const |
std::complex< double > | ComplexIntegralForTags (int tag1, int tag2) const |
double | integralForMatchingPatterns (bool match, int pattern_sign) const |
std::complex< double > | ComplexSumForMatchingPatterns (bool match) const |
virtual double | variance () const |
virtual double | sumOfVariances () const |
virtual std::complex< double > | ComplexSum () const |
virtual void | Gradient (MINT::MinuitParameterSet *mps, std::vector< double > &grad) |
virtual void | GradientForLasso (MINT::MinuitParameterSet *mps, std::vector< double > &grad) |
double | sumOfSqrtFitFractions () |
double | absSumOfInterferenceFractions () |
double | absSumOfSqrtInterferenceFractions () |
double | sumOfFitFractions () |
int | numberOfFitFractionsLargerThanThreshold (double threshold) |
FitFractionList | getFractions () const |
FitFractionList | getInterferenceTerms () const |
bool | doFractions () |
void | setEfficiency (MINT::counted_ptr< MINT::IReturnRealForEvent< IDalitzEvent > > eff) |
void | unsetEfficiency () |
double | efficiency (IDalitzEvent *evtPtr) |
bool | haveEfficiency () const |
virtual bool | makeAndStoreFractions (MINT::Minimiser *mini=0) |
virtual bool | makeAndStoreFractions (const std::string &fname, const std::string &fnameROOT, MINT::Minimiser *min=0) |
virtual double | getFractionChi2 () const |
virtual DalitzHistoSet | histoSet () const |
virtual DalitzHistoSet | un_normalised_histoSetRe () const |
virtual DalitzHistoSet | un_normalised_histoSetIm () const |
void | saveEachAmpsHistograms (const std::string &prefix) const |
std::vector< DalitzHistoSet > | GetEachAmpsHistograms () |
DalitzHistoSet | interferenceHistoSet () const |
void | saveInterferenceHistograms (const std::string &prefix) const |
std::vector< DalitzHistoSet > | GetInterferenceHistograms () |
virtual void | doFinalStats (MINT::Minimiser *min=0) |
virtual void | doFinalStatsAndSave (MINT::Minimiser *min=0, const std::string &fname="FitAmpResults.txt", const std::string &fnameROOT="fitFractions.root") |
virtual bool | save (const std::string &asSubdirOf=".") const |
virtual bool | retrieve (const std::string &asSubdirOf=".") |
virtual void | print (std::ostream &os=std::cout) const |
bool | needToReIntegrate () const |
void | startIntegration () |
void | startReIntegration () |
void | startForcedReIntegration () |
void | endIntegration () |
void | setSlow () |
void | setFast () |
bool | slow () const |
bool | fast () const |
FitAmpPairList & | operator+= (const FitAmpPairList &other) |
FitAmpPairList | operator+ (const FitAmpPairList &other) const |
Public Member Functions inherited from MINT::PolymorphVector< FitAmpPair > | |
PolymorphVector () | |
PolymorphVector (unsigned int N) | |
PolymorphVector (unsigned int N, const FitAmpPair &c) | |
PolymorphVector (const PolymorphVector &other) | |
PolymorphVector (const typename std::vector< FitAmpPair > &other) | |
virtual | ~PolymorphVector () |
std::vector< FitAmpPair > & | theVector () |
const std::vector< FitAmpPair > & | theVector () const |
FitAmpPair & | operator[] (unsigned int i) |
const FitAmpPair & | operator[] (unsigned int i) const |
FitAmpPair & | at (unsigned int i) |
const FitAmpPair & | at (unsigned int i) const |
std::vector< FitAmpPair >::iterator | begin () |
std::vector< FitAmpPair >::const_iterator | begin () const |
std::vector< FitAmpPair >::iterator | end () |
std::vector< FitAmpPair >::const_iterator | end () const |
std::vector< FitAmpPair >::iterator | find (const FitAmpPair &c) |
std::vector< FitAmpPair >::const_iterator | find (const FitAmpPair &c) const |
FitAmpPair & | front () |
const FitAmpPair & | front () const |
FitAmpPair & | back () |
const FitAmpPair & | back () const |
unsigned int | size () const |
bool | empty () const |
void | push_back (const FitAmpPair &c) |
void | pop_back () |
void | erase (typename std::vector< FitAmpPair >::iterator pos) |
void | erase (typename std::vector< FitAmpPair >::iterator first, typename std::vector< FitAmpPair >::iterator last) |
PolymorphVector< FitAmpPair > & | operator= (const PolymorphVector< FitAmpPair > &other) |
void | clear () |
void | resize (unsigned int N) |
void | resize (unsigned int N, const FitAmpPair &c) |
operator const typename std::vector< FitAmpPair > & () const | |
operator typename std::vector< FitAmpPair > & () | |
bool | operator== (const MINT::PolymorphVector< FitAmpPair > &v2) const |
bool | operator!= (const MINT::PolymorphVector< FitAmpPair > &v2) const |
bool | operator< (const MINT::PolymorphVector< FitAmpPair > &v2) const |
bool | operator> (const MINT::PolymorphVector< FitAmpPair > &v2) const |
Public Member Functions inherited from IIntegrationCalculator | |
virtual | ~IIntegrationCalculator () |
Private Member Functions | |
void | applyHistoOption () |
double | phaseSpaceIntegral () const |
std::string | dirName () const |
bool | makeDirectory (const std::string &asSubdirOf=".") const |
virtual double | oldVariance () const |
bool | reset () |
Private Attributes | |
MINT::NamedParameter< std::string > | HistoOption |
int | _Nevents |
double | _sum |
double | _sumsq |
double | _psSum |
double | _psSumSq |
bool | _slow |
FitAmpPairCovariance | _cov |
MINT::counted_ptr< MINT::IReturnRealForEvent< IDalitzEvent > > | _efficiency |
FitFractionList | _singleAmpFractions |
FitFractionList | _interferenceFractions |
Additional Inherited Members | |
Protected Attributes inherited from MINT::PolymorphVector< FitAmpPair > | |
std::vector< FitAmpPair > | _vec |
Definition at line 27 of file FitAmpPairList.h.
FitAmpPairList::FitAmpPairList | ( | ) |
Definition at line 50 of file FitAmpPairList.cpp.
FitAmpPairList::FitAmpPairList | ( | const FitAmpPairList & | other | ) |
Definition at line 64 of file FitAmpPairList.cpp.
|
inlinevirtual |
Definition at line 60 of file FitAmpPairList.h.
double FitAmpPairList::absSumOfInterferenceFractions | ( | ) |
Definition at line 430 of file FitAmpPairList.cpp.
double FitAmpPairList::absSumOfSqrtInterferenceFractions | ( | ) |
Definition at line 422 of file FitAmpPairList.cpp.
|
virtual |
Definition at line 177 of file FitAmpPairList.cpp.
|
virtual |
Definition at line 165 of file FitAmpPairList.cpp.
|
virtual |
Definition at line 171 of file FitAmpPairList.cpp.
|
virtual |
Definition at line 85 of file FitAmpPairList.cpp.
|
virtual |
Definition at line 93 of file FitAmpPairList.cpp.
|
virtual |
Implements IIntegrationCalculator.
Definition at line 98 of file FitAmpPairList.cpp.
|
virtual |
Definition at line 103 of file FitAmpPairList.cpp.
|
virtual |
Implements IIntegrationCalculator.
Definition at line 137 of file FitAmpPairList.cpp.
|
virtual |
Definition at line 207 of file FitAmpPairList.cpp.
|
virtual |
Definition at line 204 of file FitAmpPairList.cpp.
|
virtual |
Definition at line 201 of file FitAmpPairList.cpp.
|
private |
Definition at line 45 of file FitAmpPairList.cpp.
|
virtual |
std::complex< double > FitAmpPairList::ComplexIntegralForTags | ( | int | tag1, |
int | tag2 | ||
) | const |
Definition at line 242 of file FitAmpPairList.cpp.
|
virtual |
Definition at line 281 of file FitAmpPairList.cpp.
std::complex< double > FitAmpPairList::ComplexSumForMatchingPatterns | ( | bool | match | ) | const |
Definition at line 269 of file FitAmpPairList.cpp.
|
private |
Definition at line 1099 of file FitAmpPairList.cpp.
|
virtual |
Implements IIntegrationCalculator.
Definition at line 653 of file FitAmpPairList.cpp.
|
inlinevirtual |
Definition at line 129 of file FitAmpPairList.h.
bool FitAmpPairList::doFractions | ( | ) |
Definition at line 660 of file FitAmpPairList.cpp.
double FitAmpPairList::efficiency | ( | IDalitzEvent * | evtPtr | ) |
Definition at line 529 of file FitAmpPairList.cpp.
void FitAmpPairList::endIntegration | ( | ) |
Definition at line 1218 of file FitAmpPairList.cpp.
|
inline |
Definition at line 150 of file FitAmpPairList.h.
std::vector< DalitzHistoSet > FitAmpPairList::GetEachAmpsHistograms | ( | ) |
Definition at line 576 of file FitAmpPairList.cpp.
|
virtual |
Implements IIntegrationCalculator.
Definition at line 1067 of file FitAmpPairList.cpp.
|
inlinevirtual |
Implements IIntegrationCalculator.
Definition at line 104 of file FitAmpPairList.h.
std::vector< DalitzHistoSet > FitAmpPairList::GetInterferenceHistograms | ( | ) |
Definition at line 627 of file FitAmpPairList.cpp.
|
inline |
Definition at line 105 of file FitAmpPairList.h.
|
virtual |
Definition at line 291 of file FitAmpPairList.cpp.
|
virtual |
Definition at line 366 of file FitAmpPairList.cpp.
|
inline |
Definition at line 111 of file FitAmpPairList.h.
|
virtual |
Implements IIntegrationCalculator.
Definition at line 540 of file FitAmpPairList.cpp.
|
virtual |
Implements IIntegrationCalculator.
Definition at line 234 of file FitAmpPairList.cpp.
double FitAmpPairList::integralForMatchingPatterns | ( | bool | match, |
int | pattern_sign | ||
) | const |
Definition at line 256 of file FitAmpPairList.cpp.
DalitzHistoSet FitAmpPairList::interferenceHistoSet | ( | ) | const |
Definition at line 597 of file FitAmpPairList.cpp.
bool FitAmpPairList::isCompatibleWith | ( | const FitAmpPairList & | other | ) | const |
Definition at line 158 of file FitAmpPairList.cpp.
|
inlinevirtual |
Implements IIntegrationCalculator.
Definition at line 113 of file FitAmpPairList.h.
|
virtual |
latex table
Definition at line 726 of file FitAmpPairList.cpp.
|
private |
Definition at line 1155 of file FitAmpPairList.cpp.
bool FitAmpPairList::needToReIntegrate | ( | ) | const |
Definition at line 1197 of file FitAmpPairList.cpp.
int FitAmpPairList::numberOfFitFractionsLargerThanThreshold | ( | double | threshold | ) |
Definition at line 438 of file FitAmpPairList.cpp.
|
virtual |
Implements IIntegrationCalculator.
Definition at line 230 of file FitAmpPairList.cpp.
|
privatevirtual |
Definition at line 500 of file FitAmpPairList.cpp.
FitAmpPairList FitAmpPairList::operator+ | ( | const FitAmpPairList & | other | ) | const |
Definition at line 1241 of file FitAmpPairList.cpp.
FitAmpPairList & FitAmpPairList::operator+= | ( | const FitAmpPairList & | other | ) |
Definition at line 1237 of file FitAmpPairList.cpp.
|
private |
Definition at line 450 of file FitAmpPairList.cpp.
|
virtual |
Implements IIntegrationCalculator.
Definition at line 1190 of file FitAmpPairList.cpp.
|
virtual |
Definition at line 141 of file FitAmpPairList.cpp.
|
private |
Definition at line 218 of file FitAmpPairList.cpp.
|
virtual |
Implements IIntegrationCalculator.
Definition at line 1125 of file FitAmpPairList.cpp.
|
virtual |
Implements IIntegrationCalculator.
Definition at line 1102 of file FitAmpPairList.cpp.
|
virtual |
Implements IIntegrationCalculator.
Definition at line 558 of file FitAmpPairList.cpp.
void FitAmpPairList::saveInterferenceHistograms | ( | const std::string & | prefix | ) | const |
Definition at line 609 of file FitAmpPairList.cpp.
void FitAmpPairList::setEfficiency | ( | MINT::counted_ptr< MINT::IReturnRealForEvent< IDalitzEvent > > | eff | ) |
Definition at line 534 of file FitAmpPairList.cpp.
void FitAmpPairList::setFast | ( | ) |
Definition at line 1230 of file FitAmpPairList.cpp.
void FitAmpPairList::setSlow | ( | ) |
Definition at line 1224 of file FitAmpPairList.cpp.
|
inline |
Definition at line 149 of file FitAmpPairList.h.
void FitAmpPairList::startForcedReIntegration | ( | ) |
Definition at line 1213 of file FitAmpPairList.cpp.
void FitAmpPairList::startIntegration | ( | ) |
Definition at line 1203 of file FitAmpPairList.cpp.
void FitAmpPairList::startReIntegration | ( | ) |
Definition at line 1208 of file FitAmpPairList.cpp.
double FitAmpPairList::sumOfFitFractions | ( | ) |
Definition at line 414 of file FitAmpPairList.cpp.
double FitAmpPairList::sumOfSqrtFitFractions | ( | ) |
Definition at line 406 of file FitAmpPairList.cpp.
|
virtual |
Definition at line 493 of file FitAmpPairList.cpp.
|
virtual |
Definition at line 550 of file FitAmpPairList.cpp.
|
virtual |
Definition at line 543 of file FitAmpPairList.cpp.
void FitAmpPairList::unsetEfficiency | ( | ) |
Definition at line 537 of file FitAmpPairList.cpp.
|
virtual |
Implements IIntegrationCalculator.
Definition at line 456 of file FitAmpPairList.cpp.
|
mutableprivate |
Definition at line 44 of file FitAmpPairList.h.
|
private |
Definition at line 46 of file FitAmpPairList.h.
|
private |
Definition at line 48 of file FitAmpPairList.h.
|
private |
Definition at line 35 of file FitAmpPairList.h.
|
private |
Definition at line 39 of file FitAmpPairList.h.
|
private |
Definition at line 40 of file FitAmpPairList.h.
|
private |
Definition at line 48 of file FitAmpPairList.h.
|
private |
Definition at line 42 of file FitAmpPairList.h.
|
private |
Definition at line 36 of file FitAmpPairList.h.
|
private |
Definition at line 37 of file FitAmpPairList.h.
|
private |
Definition at line 32 of file FitAmpPairList.h.