MINT2
|
#include <FitAmpPair.h>
Public Member Functions | |
FitAmpPair () | |
FitAmpPair (FitAmplitude &a1, FitAmplitude &a2) | |
FitAmpPair (const FitAmpPair &other) | |
bool | add (const FitAmpPair &other) |
const std::string & | name () const |
const std::string & | name () |
const std::string & | dirName () const |
const std::string & | dirName () |
bool | save (const std::string &asSubdirOf=".") const |
bool | retrieve (const std::string &asSubdirOf=".") |
bool | isSingleAmp () const |
bool | hasMatchingPattern () const |
double | reAdd (IDalitzEvent &evt, double weight=1, double efficiency=1) |
double | add (IDalitzEvent &evt, double weight=1, double efficiency=1) |
double | add (IDalitzEvent *evt, double weight=1, double efficiency=1) |
double | add (const MINT::counted_ptr< IDalitzEvent > &evt, double weight=1, double efficiency=1) |
std::complex< double > | valNoFitPars () const |
std::complex< double > | complexVal () const |
double | integral () const |
double | variance () const |
double | weightSum () const |
long int | N () const |
void | reset () |
bool | needToReIntegrate () const |
void | startReIntegration () |
void | startIntegration () |
void | endIntegration () |
bool | acceptEvents () const |
std::complex< double > | lastEntry () const |
DalitzHistoSet | histoSetRe () const |
DalitzHistoSet | histoSetIm () const |
DalitzHistoSet | histoSet () const |
FitAmplitude & | fitAmp1 () |
FitAmplitude & | fitAmp2 () |
const FitAmplitude & | fitAmp1 () const |
const FitAmplitude & | fitAmp2 () const |
Amplitude & | rawAmp1 () |
Amplitude & | rawAmp2 () |
const Amplitude & | rawAmp1 () const |
const Amplitude & | rawAmp2 () const |
void | setSlow () |
void | setFast () |
bool | slow () const |
bool | fast () const |
virtual void | print (std::ostream &os=std::cout) const |
virtual | ~FitAmpPair () |
FitAmpPair & | operator+= (const FitAmpPair &other) |
FitAmpPair | operator+ (const FitAmpPair &other) const |
Public Member Functions inherited from MINT::FitParDependent | |
virtual unsigned int | size () const |
virtual const FitParRef & | operator[] (unsigned int i) const |
virtual FitParRef & | operator[] (unsigned int i) |
virtual bool | changedSinceLastCall () const |
virtual void | rememberFitParValues () |
virtual bool | registerFitParDependence (const IFitParDependent &fpd) |
bool | registerFitParDependence (const FitParRef &fpr) |
void | removeAllFitParDependencies () |
FitParDependent (IFitParRegister *daddy=0) | |
FitParDependent (const FitParDependent &other, IFitParRegister *newDaddy=0) | |
void | listFitParDependencies (std::ostream &os=std::cout) const |
Public Member Functions inherited from MINT::PolymorphVector< FitParRef > | |
PolymorphVector () | |
PolymorphVector (unsigned int N) | |
PolymorphVector (unsigned int N, const FitParRef &c) | |
PolymorphVector (const PolymorphVector &other) | |
PolymorphVector (const typename std::vector< FitParRef > &other) | |
virtual | ~PolymorphVector () |
std::vector< FitParRef > & | theVector () |
const std::vector< FitParRef > & | theVector () const |
FitParRef & | operator[] (unsigned int i) |
const FitParRef & | operator[] (unsigned int i) const |
FitParRef & | at (unsigned int i) |
const FitParRef & | at (unsigned int i) const |
std::vector< FitParRef >::iterator | begin () |
std::vector< FitParRef >::const_iterator | begin () const |
std::vector< FitParRef >::iterator | end () |
std::vector< FitParRef >::const_iterator | end () const |
std::vector< FitParRef >::iterator | find (const FitParRef &c) |
std::vector< FitParRef >::const_iterator | find (const FitParRef &c) const |
FitParRef & | front () |
const FitParRef & | front () const |
FitParRef & | back () |
const FitParRef & | back () const |
unsigned int | size () const |
bool | empty () const |
void | push_back (const FitParRef &c) |
void | pop_back () |
void | erase (typename std::vector< FitParRef >::iterator pos) |
void | erase (typename std::vector< FitParRef >::iterator first, typename std::vector< FitParRef >::iterator last) |
PolymorphVector< FitParRef > & | operator= (const PolymorphVector< FitParRef > &other) |
void | clear () |
void | resize (unsigned int N) |
void | resize (unsigned int N, const FitParRef &c) |
operator const typename std::vector< FitParRef > & () const | |
operator typename std::vector< FitParRef > & () | |
bool | operator== (const MINT::PolymorphVector< FitParRef > &v2) const |
bool | operator!= (const MINT::PolymorphVector< FitParRef > &v2) const |
bool | operator< (const MINT::PolymorphVector< FitParRef > &v2) const |
bool | operator> (const MINT::PolymorphVector< FitParRef > &v2) const |
Private Member Functions | |
std::complex< double > | ampValue (IDalitzEvent &evtPtr) |
std::complex< double > | fitParValue () const |
int | oneOrTwo () const |
const DalitzHistoSet & | histosRe () const |
const DalitzHistoSet & | histosIm () const |
DalitzHistoSet & | histosRe () |
DalitzHistoSet & | histosIm () |
void | addToHistograms (IDalitzEvent *evtPtr, const std::complex< double > &c) |
const std::string & | makeName () |
const std::string & | makeDirName () |
bool | makeDirectory (const std::string &asSubdirOf=".") const |
std::string | valueFileName (const std::string &asSubdirOf) const |
std::string | histoReFileName (const std::string &asSubdirOf) const |
std::string | histoImFileName (const std::string &asSubdirOf) const |
bool | saveValues (const std::string &asSubdirOf=".") const |
bool | retrieveValues (const std::string &fromDirectory=".") |
bool | saveHistos (const std::string &asSubdirOf=".") const |
bool | retrieveHistos (const std::string &asSubdirOf=".") |
bool | isCompatibleWith (const FitAmpPair &other) const |
void | rememberEventDependentParameters () |
Private Attributes | |
FitAmplitude * | _fitA1 |
FitAmplitude * | _fitA2 |
bool | _slow |
bool | _beingIntegrated |
MINT::FitParDependent | _eventDependentParameters |
std::complex< double > | _sum |
std::string | _sumName |
std::complex< double > | _sumsq |
std::string | _sumSqName |
long int | _Nevents |
std::string | _NName |
double | _weightSum |
std::string | _weightSumName |
DalitzHistoSet | _hsRe |
DalitzHistoSet | _hsIm |
std::string | _name |
std::string | _dirName |
std::complex< double > | _lastEntry |
Friends | |
class | FitAmpPairCovariance |
Additional Inherited Members | |
Protected Attributes inherited from MINT::PolymorphVector< FitParRef > | |
std::vector< FitParRef > | _vec |
Definition at line 22 of file FitAmpPair.h.
FitAmpPair::FitAmpPair | ( | ) |
Definition at line 24 of file FitAmpPair.cpp.
FitAmpPair::FitAmpPair | ( | FitAmplitude & | a1, |
FitAmplitude & | a2 | ||
) |
Definition at line 46 of file FitAmpPair.cpp.
FitAmpPair::FitAmpPair | ( | const FitAmpPair & | other | ) |
Definition at line 83 of file FitAmpPair.cpp.
|
inlinevirtual |
Definition at line 184 of file FitAmpPair.h.
bool FitAmpPair::acceptEvents | ( | ) | const |
Definition at line 520 of file FitAmpPair.cpp.
bool FitAmpPair::add | ( | const FitAmpPair & | other | ) |
Definition at line 110 of file FitAmpPair.cpp.
double FitAmpPair::add | ( | IDalitzEvent & | evt, |
double | weight = 1 , |
||
double | efficiency = 1 |
||
) |
Definition at line 343 of file FitAmpPair.cpp.
double FitAmpPair::add | ( | IDalitzEvent * | evt, |
double | weight = 1 , |
||
double | efficiency = 1 |
||
) |
Definition at line 336 of file FitAmpPair.cpp.
double FitAmpPair::add | ( | const MINT::counted_ptr< IDalitzEvent > & | evt, |
double | weight = 1 , |
||
double | efficiency = 1 |
||
) |
Definition at line 437 of file FitAmpPair.cpp.
|
private |
Definition at line 129 of file FitAmpPair.cpp.
|
inlineprivate |
Definition at line 51 of file FitAmpPair.h.
|
inline |
Definition at line 126 of file FitAmpPair.h.
const std::string & FitAmpPair::dirName | ( | ) | const |
Definition at line 613 of file FitAmpPair.cpp.
const std::string & FitAmpPair::dirName | ( | ) |
Definition at line 609 of file FitAmpPair.cpp.
void FitAmpPair::endIntegration | ( | ) |
Definition at line 515 of file FitAmpPair.cpp.
|
inline |
Definition at line 180 of file FitAmpPair.h.
|
inline |
Definition at line 153 of file FitAmpPair.h.
|
inline |
Definition at line 167 of file FitAmpPair.h.
|
inline |
Definition at line 160 of file FitAmpPair.h.
|
inline |
Definition at line 168 of file FitAmpPair.h.
|
inlineprivate |
Definition at line 58 of file FitAmpPair.h.
bool FitAmpPair::hasMatchingPattern | ( | ) | const |
Definition at line 594 of file FitAmpPair.cpp.
|
private |
Definition at line 240 of file FitAmpPair.cpp.
|
private |
Definition at line 237 of file FitAmpPair.cpp.
|
inline |
Definition at line 151 of file FitAmpPair.h.
DalitzHistoSet FitAmpPair::histoSetIm | ( | ) | const |
Definition at line 551 of file FitAmpPair.cpp.
DalitzHistoSet FitAmpPair::histoSetRe | ( | ) | const |
Definition at line 529 of file FitAmpPair.cpp.
|
inlineprivate |
Definition at line 74 of file FitAmpPair.h.
|
inlineprivate |
Definition at line 76 of file FitAmpPair.h.
|
inlineprivate |
Definition at line 73 of file FitAmpPair.h.
|
inlineprivate |
Definition at line 75 of file FitAmpPair.h.
double FitAmpPair::integral | ( | ) | const |
Definition at line 476 of file FitAmpPair.cpp.
|
private |
Definition at line 106 of file FitAmpPair.cpp.
bool FitAmpPair::isSingleAmp | ( | ) | const |
Definition at line 590 of file FitAmpPair.cpp.
complex< double > FitAmpPair::lastEntry | ( | ) | const |
Definition at line 443 of file FitAmpPair.cpp.
|
private |
Definition at line 171 of file FitAmpPair.cpp.
|
private |
Definition at line 140 of file FitAmpPair.cpp.
|
private |
Definition at line 135 of file FitAmpPair.cpp.
long int FitAmpPair::N | ( | ) | const |
Definition at line 485 of file FitAmpPair.cpp.
const std::string & FitAmpPair::name | ( | ) | const |
Definition at line 605 of file FitAmpPair.cpp.
const std::string & FitAmpPair::name | ( | ) |
Definition at line 599 of file FitAmpPair.cpp.
bool FitAmpPair::needToReIntegrate | ( | ) | const |
Definition at line 500 of file FitAmpPair.cpp.
|
inlineprivate |
Definition at line 65 of file FitAmpPair.h.
FitAmpPair FitAmpPair::operator+ | ( | const FitAmpPair & | other | ) | const |
Definition at line 666 of file FitAmpPair.cpp.
FitAmpPair & FitAmpPair::operator+= | ( | const FitAmpPair & | other | ) |
Definition at line 662 of file FitAmpPair.cpp.
|
virtual |
Definition at line 634 of file FitAmpPair.cpp.
|
inline |
Definition at line 170 of file FitAmpPair.h.
|
inline |
Definition at line 172 of file FitAmpPair.h.
|
inline |
Definition at line 171 of file FitAmpPair.h.
|
inline |
Definition at line 173 of file FitAmpPair.h.
double FitAmpPair::reAdd | ( | IDalitzEvent & | evt, |
double | weight = 1 , |
||
double | efficiency = 1 |
||
) |
Definition at line 389 of file FitAmpPair.cpp.
|
private |
Definition at line 503 of file FitAmpPair.cpp.
void FitAmpPair::reset | ( | ) |
Definition at line 489 of file FitAmpPair.cpp.
bool FitAmpPair::retrieve | ( | const std::string & | asSubdirOf = "." | ) |
Definition at line 218 of file FitAmpPair.cpp.
|
private |
Definition at line 250 of file FitAmpPair.cpp.
|
private |
Definition at line 299 of file FitAmpPair.cpp.
bool FitAmpPair::save | ( | const std::string & | asSubdirOf = "." | ) | const |
Definition at line 206 of file FitAmpPair.cpp.
|
private |
Definition at line 244 of file FitAmpPair.cpp.
|
private |
Definition at line 257 of file FitAmpPair.cpp.
|
inline |
Definition at line 177 of file FitAmpPair.h.
|
inline |
Definition at line 176 of file FitAmpPair.h.
|
inline |
Definition at line 179 of file FitAmpPair.h.
void FitAmpPair::startIntegration | ( | ) |
Definition at line 511 of file FitAmpPair.cpp.
void FitAmpPair::startReIntegration | ( | ) |
Definition at line 507 of file FitAmpPair.cpp.
std::complex< double > FitAmpPair::valNoFitPars | ( | ) | const |
Definition at line 447 of file FitAmpPair.cpp.
|
private |
Definition at line 234 of file FitAmpPair.cpp.
double FitAmpPair::variance | ( | ) | const |
Definition at line 574 of file FitAmpPair.cpp.
double FitAmpPair::weightSum | ( | ) | const |
Definition at line 480 of file FitAmpPair.cpp.
|
friend |
Definition at line 189 of file FitAmpPair.h.
|
private |
Definition at line 28 of file FitAmpPair.h.
|
private |
Definition at line 47 of file FitAmpPair.h.
|
private |
Definition at line 29 of file FitAmpPair.h.
|
private |
Definition at line 24 of file FitAmpPair.h.
|
private |
Definition at line 25 of file FitAmpPair.h.
|
private |
Definition at line 44 of file FitAmpPair.h.
|
private |
Definition at line 43 of file FitAmpPair.h.
|
private |
Definition at line 49 of file FitAmpPair.h.
|
private |
Definition at line 46 of file FitAmpPair.h.
|
private |
Definition at line 37 of file FitAmpPair.h.
|
private |
Definition at line 38 of file FitAmpPair.h.
|
private |
Definition at line 27 of file FitAmpPair.h.
|
private |
Definition at line 31 of file FitAmpPair.h.
|
private |
Definition at line 32 of file FitAmpPair.h.
|
private |
Definition at line 34 of file FitAmpPair.h.
|
private |
Definition at line 35 of file FitAmpPair.h.
|
private |
Definition at line 40 of file FitAmpPair.h.
|
private |
Definition at line 41 of file FitAmpPair.h.