MINT2
|
#include <AmpPair.h>
Public Member Functions | |
AmpPair (Amplitude *a1=0, Amplitude *a2=0) | |
AmpPair (const AmpPair &other) | |
bool | add (const AmpPair &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 |
std::complex< double > | add (IDalitzEvent *evt, double weight=1, double efficiency=1) |
std::complex< double > | add (const MINT::counted_ptr< IDalitzEvent > &evt, double weight=1, double efficiency=1) |
std::complex< double > | integral () const |
std::complex< double > | variance () const |
double | weightSum () const |
long int | N () const |
std::complex< double > | lastEntry () const |
DalitzHistoSet | histoSet () const |
Amplitude * | amp1 () |
Amplitude * | amp2 () |
const Amplitude * | amp1 () const |
const Amplitude * | amp2 () const |
virtual void | print (std::ostream &os=std::cout) const |
virtual | ~AmpPair () |
AmpPair & | operator+= (const AmpPair &other) |
AmpPair | operator+ (const AmpPair &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) |
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 AmpPair &other) const |
Private Attributes | |
Amplitude * | _a1 |
Amplitude * | _a2 |
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 |
Additional Inherited Members | |
Protected Attributes inherited from MINT::PolymorphVector< FitParRef > | |
std::vector< FitParRef > | _vec |
Definition at line 24 of file AmpPair.cpp.
AmpPair::AmpPair | ( | const AmpPair & | other | ) |
Definition at line 63 of file AmpPair.cpp.
bool AmpPair::add | ( | const AmpPair & | other | ) |
Definition at line 91 of file AmpPair.cpp.
std::complex< double > AmpPair::add | ( | IDalitzEvent * | evt, |
double | weight = 1 , |
||
double | efficiency = 1 |
||
) |
Definition at line 323 of file AmpPair.cpp.
std::complex< double > AmpPair::add | ( | const MINT::counted_ptr< IDalitzEvent > & | evt, |
double | weight = 1 , |
||
double | efficiency = 1 |
||
) |
Definition at line 369 of file AmpPair.cpp.
|
private |
Definition at line 110 of file AmpPair.cpp.
|
private |
Definition at line 378 of file AmpPair.cpp.
const std::string & AmpPair::dirName | ( | ) | const |
Definition at line 472 of file AmpPair.cpp.
const std::string & AmpPair::dirName | ( | ) |
Definition at line 468 of file AmpPair.cpp.
bool AmpPair::hasMatchingPattern | ( | ) | const |
Definition at line 453 of file AmpPair.cpp.
|
private |
Definition at line 228 of file AmpPair.cpp.
|
private |
Definition at line 225 of file AmpPair.cpp.
DalitzHistoSet AmpPair::histoSet | ( | ) | const |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
std::complex< double > AmpPair::integral | ( | ) | const |
Definition at line 396 of file AmpPair.cpp.
|
private |
Definition at line 87 of file AmpPair.cpp.
bool AmpPair::isSingleAmp | ( | ) | const |
Definition at line 449 of file AmpPair.cpp.
complex< double > AmpPair::lastEntry | ( | ) | const |
Definition at line 375 of file AmpPair.cpp.
|
private |
Definition at line 159 of file AmpPair.cpp.
|
private |
Definition at line 128 of file AmpPair.cpp.
|
private |
Definition at line 116 of file AmpPair.cpp.
long int AmpPair::N | ( | ) | const |
Definition at line 429 of file AmpPair.cpp.
const std::string & AmpPair::name | ( | ) | const |
Definition at line 464 of file AmpPair.cpp.
const std::string & AmpPair::name | ( | ) |
Definition at line 458 of file AmpPair.cpp.
|
private |
Definition at line 391 of file AmpPair.cpp.
Definition at line 525 of file AmpPair.cpp.
Definition at line 521 of file AmpPair.cpp.
|
virtual |
Definition at line 493 of file AmpPair.cpp.
bool AmpPair::retrieve | ( | const std::string & | asSubdirOf = "." | ) |
Definition at line 206 of file AmpPair.cpp.
|
private |
Definition at line 238 of file AmpPair.cpp.
|
private |
Definition at line 287 of file AmpPair.cpp.
bool AmpPair::save | ( | const std::string & | asSubdirOf = "." | ) | const |
Definition at line 194 of file AmpPair.cpp.
|
private |
Definition at line 232 of file AmpPair.cpp.
|
private |
Definition at line 245 of file AmpPair.cpp.
|
private |
Definition at line 222 of file AmpPair.cpp.
std::complex< double > AmpPair::variance | ( | ) | const |
Definition at line 433 of file AmpPair.cpp.
double AmpPair::weightSum | ( | ) | const |
Definition at line 424 of file AmpPair.cpp.
|
private |
|
private |