MINT2
|
#include <DalitzBoxSet_Method2.h>
Public Member Functions | |
DalitzBoxSet_Method2 (const DalitzEventPattern &pat, TRandom *rnd=gRandom) | |
DalitzBoxSet_Method2 (const DalitzBoxSet &boxSet, const DalitzEventPattern &pat) | |
DalitzBoxSet_Method2 (const DalitzBoxSet_Method2 &other) | |
double | maxHeight () const |
virtual MINT::counted_ptr< DalitzEvent > | tryEvent () |
virtual MINT::counted_ptr< DalitzEvent > | tryWeightedEvent () |
virtual MINT::counted_ptr< IDalitzEvent > | newEvent () |
virtual bool | exhausted () const |
virtual | ~DalitzBoxSet_Method2 () |
Public Member Functions inherited from DalitzBoxSet | |
void | makeRelations () |
void | removeDuplicates () |
void | sortYourself () |
void | callSortYourselfForDebug () |
DalitzBoxSet (TRandom *rnd=gRandom) | |
DalitzBoxSet (const DalitzBoxSet &other) | |
void | add (const DalitzBox &box) |
void | add (const MINT::PolymorphVector< DalitzBox > &boxes) |
void | add (const DalitzBoxSet &boxes) |
void | setPDF (MINT::IReturnRealForEvent< IDalitzEvent > *amps) |
DalitzBoxSet | split (unsigned int nWays) const |
DalitzBoxSet | splitIfWiderThan (double maxWidth) const |
virtual MINT::counted_ptr< DalitzEvent > | generateEventForOwner () |
virtual DalitzEvent | generateEvent () |
virtual void | print (std::ostream &os=std::cout) const |
bool | setRnd (TRandom *rnd) |
virtual bool | ensureFreshEvents () |
virtual | ~DalitzBoxSet () |
Public Member Functions inherited from MINT::PolymorphVector< DalitzBox > | |
PolymorphVector () | |
PolymorphVector (unsigned int N) | |
PolymorphVector (unsigned int N, const DalitzBox &c) | |
PolymorphVector (const PolymorphVector &other) | |
PolymorphVector (const typename std::vector< DalitzBox > &other) | |
virtual | ~PolymorphVector () |
std::vector< DalitzBox > & | theVector () |
const std::vector< DalitzBox > & | theVector () const |
DalitzBox & | operator[] (unsigned int i) |
const DalitzBox & | operator[] (unsigned int i) const |
DalitzBox & | at (unsigned int i) |
const DalitzBox & | at (unsigned int i) const |
std::vector< DalitzBox >::iterator | begin () |
std::vector< DalitzBox >::const_iterator | begin () const |
std::vector< DalitzBox >::iterator | end () |
std::vector< DalitzBox >::const_iterator | end () const |
std::vector< DalitzBox >::iterator | find (const DalitzBox &c) |
std::vector< DalitzBox >::const_iterator | find (const DalitzBox &c) const |
DalitzBox & | front () |
const DalitzBox & | front () const |
DalitzBox & | back () |
const DalitzBox & | back () const |
unsigned int | size () const |
bool | empty () const |
void | push_back (const DalitzBox &c) |
void | pop_back () |
void | erase (typename std::vector< DalitzBox >::iterator pos) |
void | erase (typename std::vector< DalitzBox >::iterator first, typename std::vector< DalitzBox >::iterator last) |
PolymorphVector< DalitzBox > & | operator= (const PolymorphVector< DalitzBox > &other) |
void | clear () |
void | resize (unsigned int N) |
void | resize (unsigned int N, const DalitzBox &c) |
operator const typename std::vector< DalitzBox > & () const | |
operator typename std::vector< DalitzBox > & () | |
bool | operator== (const MINT::PolymorphVector< DalitzBox > &v2) const |
bool | operator!= (const MINT::PolymorphVector< DalitzBox > &v2) const |
bool | operator< (const MINT::PolymorphVector< DalitzBox > &v2) const |
bool | operator> (const MINT::PolymorphVector< DalitzBox > &v2) const |
Public Member Functions inherited from MINT::IEventGenerator< IDalitzEvent > | |
virtual | ~IEventGenerator () |
Private Member Functions | |
void | setBoxesToFlat () |
void | getMaxHeight () |
void | setEmptyBoxesHeight () |
virtual void | getReady () |
double | eventsPDF (DalitzEvent &evt) |
Private Attributes | |
DalitzEventPattern | _pat |
double | _maxHeight |
Additional Inherited Members | |
Protected Member Functions inherited from DalitzBoxSet | |
double | VolumeSum () const |
double | AreaSum () const |
void | makeVolumeProbIntervals () |
int | pickRandomVolume () |
void | setBoxPDFs () |
void | setBoxRnds () |
void | getBoxesReady () |
Protected Attributes inherited from DalitzBoxSet | |
bool | _ready |
MINT::PolymorphVector< double > | _volumeProbs |
MINT::IReturnRealForEvent< IDalitzEvent > * | _amps |
TRandom * | _rnd |
Protected Attributes inherited from MINT::PolymorphVector< DalitzBox > | |
std::vector< DalitzBox > | _vec |
Definition at line 12 of file DalitzBoxSet_Method2.h.
DalitzBoxSet_Method2::DalitzBoxSet_Method2 | ( | const DalitzEventPattern & | pat, |
TRandom * | rnd = gRandom |
||
) |
Definition at line 16 of file DalitzBoxSet_Method2.cpp.
DalitzBoxSet_Method2::DalitzBoxSet_Method2 | ( | const DalitzBoxSet & | boxSet, |
const DalitzEventPattern & | pat | ||
) |
Definition at line 23 of file DalitzBoxSet_Method2.cpp.
DalitzBoxSet_Method2::DalitzBoxSet_Method2 | ( | const DalitzBoxSet_Method2 & | other | ) |
Definition at line 9 of file DalitzBoxSet_Method2.cpp.
|
inlinevirtual |
Definition at line 45 of file DalitzBoxSet_Method2.h.
|
private |
Definition at line 74 of file DalitzBoxSet_Method2.cpp.
|
inlinevirtual |
Reimplemented from DalitzBoxSet.
Definition at line 44 of file DalitzBoxSet_Method2.h.
|
private |
Definition at line 44 of file DalitzBoxSet_Method2.cpp.
|
privatevirtual |
Reimplemented from DalitzBoxSet.
Definition at line 65 of file DalitzBoxSet_Method2.cpp.
double DalitzBoxSet_Method2::maxHeight | ( | ) | const |
Definition at line 61 of file DalitzBoxSet_Method2.cpp.
|
virtual |
Reimplemented from DalitzBoxSet.
Definition at line 88 of file DalitzBoxSet_Method2.cpp.
|
private |
Definition at line 38 of file DalitzBoxSet_Method2.cpp.
|
private |
Definition at line 52 of file DalitzBoxSet_Method2.cpp.
|
virtual |
Reimplemented from DalitzBoxSet.
Definition at line 103 of file DalitzBoxSet_Method2.cpp.
|
virtual |
|
private |
Definition at line 19 of file DalitzBoxSet_Method2.h.
|
private |
Definition at line 17 of file DalitzBoxSet_Method2.h.