MINT2
|
#include <DalitzHistoSet.h>
Public Member Functions | |
DalitzHistoSet () | |
DalitzHistoSet (const DalitzHistoSet &other) | |
virtual | ~DalitzHistoSet () |
void | add (const DalitzHistogram &histo, double weight=1) |
void | add (const DalitzHistoSet &hL, double weight=1) |
void | multiply (const DalitzHistogram &hL) |
void | multiply (const DalitzHistoSet &hL) |
void | divide (const DalitzHistogram &hL) |
void | divide (const DalitzHistoSet &hL) |
void | addEvent (const IDalitzEvent &evt, double weight=1) |
void | scale (double sf) |
void | setNormFactor (double sf=1) |
void | clearAllHistos () |
const std::string & | name () const |
const std::string & | dirName () const |
std::string | fullDirListFname (const std::string &asSubdirOf=".") const |
bool | saveAsDir (const std::string &asSubdirOf=".") const |
bool | retrieveFromDir (const std::string &asSubDirOf=".") |
bool | save (const std::string &filename="DalitzHistos.root") const |
bool | draw (const std::string &baseName="", const std::string &drawOpt="", const std::string &format="eps") const |
bool | drawWithFit (const DalitzHistoSet &fit, const std::string &baseName="", const std::string &format="eps", const std::string &fitDrawOpt="HIST C SAME") const |
bool | drawWithFitAndEachAmps (DalitzHistoSet &data, DalitzHistoSet &fit, std::vector< DalitzHistoSet > &s, const std::string &baseName="", const std::string &format="eps", const std::string &fitDrawOpt="HIST C SAME") const |
bool | drawWithFitAndEachAmpsAndInterference (DalitzHistoSet &data, DalitzHistoSet &fit, DalitzHistoSet &interference, std::vector< DalitzHistoSet > &s, const std::string &baseName="", const std::string &format="eps", const std::string &fitDrawOpt="HIST C SAME") const |
bool | drawWithFitNorm (const DalitzHistoSet &fit, const std::string &baseName="", const std::string &format="eps", const std::string &fitDrawOpt="HIST C SAME") const |
void | setTitle (const std::string &title) |
void | setFillColour (Color_t fcolor) |
void | setLineColour (Color_t fcolor) |
double | integral () const |
DalitzHistoSet & | operator *= (double sf) |
DalitzHistoSet | operator * (double sf) const |
DalitzHistoSet & | operator/= (double sf) |
DalitzHistoSet | operator/ (double sf) const |
DalitzHistoSet & | operator+= (const DalitzHistoSet &rhs) |
DalitzHistoSet | operator+ (const DalitzHistoSet &rhs) const |
DalitzHistoSet & | operator-= (const DalitzHistoSet &rhs) |
DalitzHistoSet | operator- (const DalitzHistoSet &rhs) const |
DalitzHistoSet & | operator *= (const DalitzHistoSet &rhs) |
DalitzHistoSet | operator * (const DalitzHistoSet &rhs) const |
DalitzHistoSet & | operator/= (const DalitzHistoSet &rhs) |
DalitzHistoSet | operator/ (const DalitzHistoSet &rhs) const |
Public Member Functions inherited from MINT::PolymorphMap< DalitzCoordSet, DalitzHistogram > | |
PolymorphMap () | |
PolymorphMap (const PolymorphMap &other) | |
PolymorphMap (const typename std::map< DalitzCoordSet, DalitzHistogram > &other) | |
virtual | ~PolymorphMap () |
std::map< DalitzCoordSet, DalitzHistogram > & | theMap () |
const std::map< DalitzCoordSet, DalitzHistogram > & | theMap () const |
DalitzHistogram & | operator[] (const DalitzCoordSet &k) |
const DalitzHistogram & | operator[] (const DalitzCoordSet &k) const |
std::map< DalitzCoordSet, DalitzHistogram >::iterator | begin () |
std::map< DalitzCoordSet, DalitzHistogram >::const_iterator | begin () const |
std::map< DalitzCoordSet, DalitzHistogram >::iterator | end () |
std::map< DalitzCoordSet, DalitzHistogram >::const_iterator | end () const |
std::map< DalitzCoordSet, DalitzHistogram >::iterator | find (const DalitzCoordSet &c) |
std::map< DalitzCoordSet, DalitzHistogram >::const_iterator | find (const DalitzCoordSet &c) const |
void | insert (typename std::map< DalitzCoordSet, DalitzHistogram >::const_iterator first, typename std::map< DalitzCoordSet, DalitzHistogram >::const_iterator last) |
unsigned int | size () const |
bool | empty () const |
PolymorphMap< DalitzCoordSet, DalitzHistogram > & | operator= (const PolymorphMap &other) |
void | clear () |
void | resize (unsigned int N) |
void | resize (unsigned int N, const DalitzHistogram &c) |
operator const typename std::map< DalitzCoordSet, DalitzHistogram > & () const | |
operator typename std::map< DalitzCoordSet, DalitzHistogram > & () | |
bool | operator== (const MINT::PolymorphMap< DalitzCoordSet, DalitzHistogram > &v2) const |
bool | operator!= (const MINT::PolymorphMap< DalitzCoordSet, DalitzHistogram > &v2) const |
bool | operator< (const MINT::PolymorphMap< DalitzCoordSet, DalitzHistogram > &v2) const |
bool | operator> (const MINT::PolymorphMap< DalitzCoordSet, DalitzHistogram > &v2) const |
Private Member Functions | |
void | makeHistograms (const DalitzEventPattern &pat) |
bool | makeDirectory (const std::string &asSubdirOf) const |
const std::string & | makeName () |
Private Attributes | |
std::string | _name |
std::map< DalitzCoordSet, DalitzHistogram > | _theMap |
Additional Inherited Members | |
Protected Attributes inherited from MINT::PolymorphMap< DalitzCoordSet, DalitzHistogram > | |
std::map< DalitzCoordSet, DalitzHistogram > | _map |
Definition at line 20 of file DalitzHistoSet.h.
DalitzHistoSet::DalitzHistoSet | ( | ) |
Definition at line 21 of file DalitzHistoSet.cpp.
DalitzHistoSet::DalitzHistoSet | ( | const DalitzHistoSet & | other | ) |
Definition at line 27 of file DalitzHistoSet.cpp.
|
virtual |
Definition at line 34 of file DalitzHistoSet.cpp.
void DalitzHistoSet::add | ( | const DalitzHistogram & | histo, |
double | weight = 1 |
||
) |
Definition at line 52 of file DalitzHistoSet.cpp.
void DalitzHistoSet::add | ( | const DalitzHistoSet & | hL, |
double | weight = 1 |
||
) |
Definition at line 56 of file DalitzHistoSet.cpp.
void DalitzHistoSet::addEvent | ( | const IDalitzEvent & | evt, |
double | weight = 1 |
||
) |
Definition at line 89 of file DalitzHistoSet.cpp.
void DalitzHistoSet::clearAllHistos | ( | ) |
Definition at line 158 of file DalitzHistoSet.cpp.
const std::string & DalitzHistoSet::dirName | ( | ) | const |
Definition at line 178 of file DalitzHistoSet.cpp.
void DalitzHistoSet::divide | ( | const DalitzHistogram & | hL | ) |
Definition at line 76 of file DalitzHistoSet.cpp.
void DalitzHistoSet::divide | ( | const DalitzHistoSet & | hL | ) |
Definition at line 80 of file DalitzHistoSet.cpp.
bool DalitzHistoSet::draw | ( | const std::string & | baseName = "" , |
const std::string & | drawOpt = "" , |
||
const std::string & | format = "eps" |
||
) | const |
Definition at line 310 of file DalitzHistoSet.cpp.
bool DalitzHistoSet::drawWithFit | ( | const DalitzHistoSet & | fit, |
const std::string & | baseName = "" , |
||
const std::string & | format = "eps" , |
||
const std::string & | fitDrawOpt = "HIST C SAME" |
||
) | const |
Definition at line 324 of file DalitzHistoSet.cpp.
bool DalitzHistoSet::drawWithFitAndEachAmps | ( | DalitzHistoSet & | data, |
DalitzHistoSet & | fit, | ||
std::vector< DalitzHistoSet > & | amps, | ||
const std::string & | baseName = "" , |
||
const std::string & | format = "eps" , |
||
const std::string & | fitDrawOpt = "HIST C SAME" |
||
) | const |
Definition at line 342 of file DalitzHistoSet.cpp.
bool DalitzHistoSet::drawWithFitAndEachAmpsAndInterference | ( | DalitzHistoSet & | data, |
DalitzHistoSet & | fit, | ||
DalitzHistoSet & | interference, | ||
std::vector< DalitzHistoSet > & | amps, | ||
const std::string & | baseName = "" , |
||
const std::string & | format = "eps" , |
||
const std::string & | fitDrawOpt = "HIST C SAME" |
||
) | const |
Definition at line 466 of file DalitzHistoSet.cpp.
bool DalitzHistoSet::drawWithFitNorm | ( | const DalitzHistoSet & | fit, |
const std::string & | baseName = "" , |
||
const std::string & | format = "eps" , |
||
const std::string & | fitDrawOpt = "HIST C SAME" |
||
) | const |
Definition at line 592 of file DalitzHistoSet.cpp.
std::string DalitzHistoSet::fullDirListFname | ( | const std::string & | asSubdirOf = "." | ) | const |
Definition at line 231 of file DalitzHistoSet.cpp.
double DalitzHistoSet::integral | ( | ) | const |
Definition at line 603 of file DalitzHistoSet.cpp.
|
private |
Definition at line 196 of file DalitzHistoSet.cpp.
|
private |
Definition at line 38 of file DalitzHistoSet.cpp.
|
private |
Definition at line 169 of file DalitzHistoSet.cpp.
void DalitzHistoSet::multiply | ( | const DalitzHistogram & | hL | ) |
Definition at line 64 of file DalitzHistoSet.cpp.
void DalitzHistoSet::multiply | ( | const DalitzHistoSet & | hL | ) |
Definition at line 68 of file DalitzHistoSet.cpp.
const std::string & DalitzHistoSet::name | ( | ) | const |
Definition at line 174 of file DalitzHistoSet.cpp.
DalitzHistoSet DalitzHistoSet::operator * | ( | double | sf | ) | const |
Definition at line 612 of file DalitzHistoSet.cpp.
DalitzHistoSet DalitzHistoSet::operator * | ( | const DalitzHistoSet & | rhs | ) | const |
Definition at line 656 of file DalitzHistoSet.cpp.
DalitzHistoSet & DalitzHistoSet::operator *= | ( | double | sf | ) |
Definition at line 608 of file DalitzHistoSet.cpp.
DalitzHistoSet & DalitzHistoSet::operator *= | ( | const DalitzHistoSet & | rhs | ) |
Definition at line 652 of file DalitzHistoSet.cpp.
DalitzHistoSet DalitzHistoSet::operator+ | ( | const DalitzHistoSet & | rhs | ) | const |
Definition at line 637 of file DalitzHistoSet.cpp.
DalitzHistoSet & DalitzHistoSet::operator+= | ( | const DalitzHistoSet & | rhs | ) |
Definition at line 633 of file DalitzHistoSet.cpp.
DalitzHistoSet DalitzHistoSet::operator- | ( | const DalitzHistoSet & | rhs | ) | const |
Definition at line 646 of file DalitzHistoSet.cpp.
DalitzHistoSet & DalitzHistoSet::operator-= | ( | const DalitzHistoSet & | rhs | ) |
Definition at line 642 of file DalitzHistoSet.cpp.
DalitzHistoSet DalitzHistoSet::operator/ | ( | double | sf | ) | const |
Definition at line 627 of file DalitzHistoSet.cpp.
DalitzHistoSet DalitzHistoSet::operator/ | ( | const DalitzHistoSet & | rhs | ) | const |
Definition at line 665 of file DalitzHistoSet.cpp.
DalitzHistoSet & DalitzHistoSet::operator/= | ( | double | sf | ) |
Definition at line 623 of file DalitzHistoSet.cpp.
DalitzHistoSet & DalitzHistoSet::operator/= | ( | const DalitzHistoSet & | rhs | ) |
Definition at line 661 of file DalitzHistoSet.cpp.
bool DalitzHistoSet::retrieveFromDir | ( | const std::string & | asSubDirOf = "." | ) |
Definition at line 282 of file DalitzHistoSet.cpp.
bool DalitzHistoSet::save | ( | const std::string & | filename = "DalitzHistos.root" | ) | const |
Definition at line 182 of file DalitzHistoSet.cpp.
bool DalitzHistoSet::saveAsDir | ( | const std::string & | asSubdirOf = "." | ) | const |
Definition at line 235 of file DalitzHistoSet.cpp.
void DalitzHistoSet::scale | ( | double | sf | ) |
Definition at line 102 of file DalitzHistoSet.cpp.
void DalitzHistoSet::setFillColour | ( | Color_t | fcolor | ) |
Definition at line 134 of file DalitzHistoSet.cpp.
void DalitzHistoSet::setLineColour | ( | Color_t | fcolor | ) |
Definition at line 144 of file DalitzHistoSet.cpp.
void DalitzHistoSet::setNormFactor | ( | double | sf = 1 | ) |
Definition at line 113 of file DalitzHistoSet.cpp.
void DalitzHistoSet::setTitle | ( | const std::string & | title | ) |
Definition at line 124 of file DalitzHistoSet.cpp.
|
private |
Definition at line 22 of file DalitzHistoSet.h.
|
private |
Definition at line 27 of file DalitzHistoSet.h.