MINT2
|
#include <Chi2BoxSet.h>
Public Member Functions | |
Chi2BoxSet () | |
Chi2BoxSet (const DalitzEventPattern &pat, const MINT::counted_ptr< IIntegrationCalculator > &integPtr=(MINT::counted_ptr< IIntegrationCalculator >) 0) | |
Chi2BoxSet (const DalitzArea &area, const MINT::counted_ptr< IIntegrationCalculator > &integPtr=(MINT::counted_ptr< IIntegrationCalculator >) 0) | |
Chi2BoxSet (const MINT::PolymorphVector< Chi2Box > &other) | |
Chi2BoxSet (const Chi2BoxSet &other) | |
virtual | ~Chi2BoxSet () |
void | setIIntegrationCalculator (MINT::counted_ptr< IIntegrationCalculator > fap) |
void | add (const Chi2Box &box) |
void | add (const Chi2BoxSet &boxSet) |
void | resetEventCounts () |
bool | addData (const IDalitzEvent &evt) |
bool | addData (const IDalitzEvent *evt) |
bool | addMC (IDalitzEvent &evt, double weight) |
bool | addMC (IDalitzEvent *evt, double weight) |
void | printBoxInfo (std::ostream &os=std::cout) const |
void | print (std::ostream &os=std::cout) const |
int | nData () const |
int | nMC () const |
double | weightedMC () const |
double | weightedMC2 () const |
double | rmsMC (int Ntotal) const |
void | setNormFactor (double nf) |
double | normFactor () const |
void | setHistoColour (Color_t fcolor) |
void | setFillColour (Color_t fcolor) |
void | setLineColour (Color_t fcolor) |
DalitzHistoSet & | histoData () |
const DalitzHistoSet & | histoData () const |
DalitzHistoSet & | histoMC () |
const DalitzHistoSet & | histoMC () const |
double | chi2 (double normFactorPassed=-1) const |
Public Member Functions inherited from MINT::PolymorphVector< Chi2Box > | |
PolymorphVector () | |
PolymorphVector (unsigned int N) | |
PolymorphVector (unsigned int N, const Chi2Box &c) | |
PolymorphVector (const PolymorphVector &other) | |
PolymorphVector (const typename std::vector< Chi2Box > &other) | |
virtual | ~PolymorphVector () |
std::vector< Chi2Box > & | theVector () |
const std::vector< Chi2Box > & | theVector () const |
Chi2Box & | operator[] (unsigned int i) |
const Chi2Box & | operator[] (unsigned int i) const |
Chi2Box & | at (unsigned int i) |
const Chi2Box & | at (unsigned int i) const |
std::vector< Chi2Box >::iterator | begin () |
std::vector< Chi2Box >::const_iterator | begin () const |
std::vector< Chi2Box >::iterator | end () |
std::vector< Chi2Box >::const_iterator | end () const |
std::vector< Chi2Box >::iterator | find (const Chi2Box &c) |
std::vector< Chi2Box >::const_iterator | find (const Chi2Box &c) const |
Chi2Box & | front () |
const Chi2Box & | front () const |
Chi2Box & | back () |
const Chi2Box & | back () const |
unsigned int | size () const |
bool | empty () const |
void | push_back (const Chi2Box &c) |
void | pop_back () |
void | erase (typename std::vector< Chi2Box >::iterator pos) |
void | erase (typename std::vector< Chi2Box >::iterator first, typename std::vector< Chi2Box >::iterator last) |
PolymorphVector< Chi2Box > & | operator= (const PolymorphVector< Chi2Box > &other) |
void | clear () |
void | resize (unsigned int N) |
void | resize (unsigned int N, const Chi2Box &c) |
operator const typename std::vector< Chi2Box > & () const | |
operator typename std::vector< Chi2Box > & () | |
bool | operator== (const MINT::PolymorphVector< Chi2Box > &v2) const |
bool | operator!= (const MINT::PolymorphVector< Chi2Box > &v2) const |
bool | operator< (const MINT::PolymorphVector< Chi2Box > &v2) const |
bool | operator> (const MINT::PolymorphVector< Chi2Box > &v2) const |
Private Attributes | |
MINT::counted_ptr< IIntegrationCalculator > | _integCalc |
DalitzHistoSet | _histoData |
DalitzHistoSet | _histoMC |
double | _normFactor |
Additional Inherited Members | |
Protected Attributes inherited from MINT::PolymorphVector< Chi2Box > | |
std::vector< Chi2Box > | _vec |
Definition at line 19 of file Chi2BoxSet.h.
Chi2BoxSet::Chi2BoxSet | ( | ) |
Definition at line 10 of file Chi2BoxSet.cpp.
Chi2BoxSet::Chi2BoxSet | ( | const DalitzEventPattern & | pat, |
const MINT::counted_ptr< IIntegrationCalculator > & | integPtr = (MINT::counted_ptr<IIntegrationCalculator>)0 |
||
) |
Definition at line 16 of file Chi2BoxSet.cpp.
Chi2BoxSet::Chi2BoxSet | ( | const DalitzArea & | area, |
const MINT::counted_ptr< IIntegrationCalculator > & | integPtr = (MINT::counted_ptr<IIntegrationCalculator>)0 |
||
) |
Definition at line 25 of file Chi2BoxSet.cpp.
Chi2BoxSet::Chi2BoxSet | ( | const MINT::PolymorphVector< Chi2Box > & | other | ) |
Definition at line 34 of file Chi2BoxSet.cpp.
Chi2BoxSet::Chi2BoxSet | ( | const Chi2BoxSet & | other | ) |
Definition at line 40 of file Chi2BoxSet.cpp.
|
inlinevirtual |
Definition at line 36 of file Chi2BoxSet.h.
void Chi2BoxSet::add | ( | const Chi2Box & | box | ) |
Definition at line 53 of file Chi2BoxSet.cpp.
void Chi2BoxSet::add | ( | const Chi2BoxSet & | boxSet | ) |
Definition at line 57 of file Chi2BoxSet.cpp.
bool Chi2BoxSet::addData | ( | const IDalitzEvent & | evt | ) |
Definition at line 68 of file Chi2BoxSet.cpp.
bool Chi2BoxSet::addData | ( | const IDalitzEvent * | evt | ) |
Definition at line 77 of file Chi2BoxSet.cpp.
bool Chi2BoxSet::addMC | ( | IDalitzEvent & | evt, |
double | weight | ||
) |
Definition at line 86 of file Chi2BoxSet.cpp.
bool Chi2BoxSet::addMC | ( | IDalitzEvent * | evt, |
double | weight | ||
) |
Definition at line 96 of file Chi2BoxSet.cpp.
double Chi2BoxSet::chi2 | ( | double | normFactorPassed = -1 | ) | const |
Definition at line 209 of file Chi2BoxSet.cpp.
DalitzHistoSet & Chi2BoxSet::histoData | ( | ) |
Definition at line 196 of file Chi2BoxSet.cpp.
const DalitzHistoSet & Chi2BoxSet::histoData | ( | ) | const |
Definition at line 199 of file Chi2BoxSet.cpp.
DalitzHistoSet & Chi2BoxSet::histoMC | ( | ) |
Definition at line 202 of file Chi2BoxSet.cpp.
const DalitzHistoSet & Chi2BoxSet::histoMC | ( | ) | const |
Definition at line 205 of file Chi2BoxSet.cpp.
int Chi2BoxSet::nData | ( | ) | const |
Definition at line 127 of file Chi2BoxSet.cpp.
int Chi2BoxSet::nMC | ( | ) | const |
Definition at line 134 of file Chi2BoxSet.cpp.
|
inline |
Definition at line 64 of file Chi2BoxSet.h.
|
inline |
Definition at line 53 of file Chi2BoxSet.h.
void Chi2BoxSet::printBoxInfo | ( | std::ostream & | os = std::cout | ) | const |
Definition at line 111 of file Chi2BoxSet.cpp.
void Chi2BoxSet::resetEventCounts | ( | ) |
Definition at line 63 of file Chi2BoxSet.cpp.
double Chi2BoxSet::rmsMC | ( | int | Ntotal | ) | const |
Definition at line 157 of file Chi2BoxSet.cpp.
void Chi2BoxSet::setFillColour | ( | Color_t | fcolor | ) |
Definition at line 187 of file Chi2BoxSet.cpp.
void Chi2BoxSet::setHistoColour | ( | Color_t | fcolor | ) |
Definition at line 183 of file Chi2BoxSet.cpp.
|
inline |
Definition at line 38 of file Chi2BoxSet.h.
void Chi2BoxSet::setLineColour | ( | Color_t | fcolor | ) |
Definition at line 191 of file Chi2BoxSet.cpp.
|
inline |
Definition at line 63 of file Chi2BoxSet.h.
double Chi2BoxSet::weightedMC | ( | ) | const |
Definition at line 141 of file Chi2BoxSet.cpp.
double Chi2BoxSet::weightedMC2 | ( | ) | const |
Definition at line 148 of file Chi2BoxSet.cpp.
|
private |
Definition at line 22 of file Chi2BoxSet.h.
|
private |
Definition at line 22 of file Chi2BoxSet.h.
|
private |
Definition at line 20 of file Chi2BoxSet.h.
|
private |
Definition at line 24 of file Chi2BoxSet.h.