MINT2
|
#include <MappedDalitzArea.h>
Public Member Functions | |
MappedDalitzArea () | |
MappedDalitzArea (const DalitzEventPattern &pat, TRandom *rnd=gRandom) | |
MappedDalitzArea (const DalitzEventPattern &pat, const DalitzCoordinate &oneLimit, TRandom *rnd=gRandom) | |
MappedDalitzArea (const DalitzEventPattern &pat, const DalitzCoordinate &oneLimit, const DalitzCoordinate &otherLimit, TRandom *rnd=gRandom) | |
MappedDalitzArea (const DalitzEventPattern &pat, const std::vector< DalitzCoordinate > &limits, TRandom *rnd=gRandom) | |
MappedDalitzArea (const MappedDalitzArea &other) | |
virtual | ~MappedDalitzArea () |
MINT::counted_ptr< DalitzEvent > | makeEventForOwner () const |
MINT::counted_ptr< DalitzEvent > | makeEventForOwner (double scale0, double scale1, double scale2, double scale3, double scale4) const |
std::vector< DalitzCoordinate > | centre () const |
bool | isInside (const DalitzEvent &evt) const |
bool | isInside (const DalitzCoordinate &dc) const |
bool | isInside (const std::vector< DalitzCoordinate > &dcList) const |
double | size () const |
void | print (std::ostream &os=std::cout) const |
void | encloseInPhaseSpaceArea () |
std::vector< MappedDalitzArea > | split (unsigned int nWays) const |
std::vector< MappedDalitzArea > | split (unsigned int limitIndex, unsigned int nWays) const |
std::vector< MappedDalitzArea > | splitIfWiderThan (double maxWidth) const |
std::vector< MappedDalitzArea > | splitIfWiderThan (unsigned int limitIndex, double maxWidth) const |
DalitzCoordinate | limit_s (const std::vector< int > &indices) const |
DalitzCoordinate | limit_s (int i, int j, int k=-1) const |
bool | setRnd (TRandom *rnd=gRandom) |
bool | similar (const MappedDalitzArea &ma) const |
bool | less (const MappedDalitzArea &ma) const |
MappedDalitzArea & | operator= (const MappedDalitzArea &other) |
bool | operator< (const MappedDalitzArea &rhs) const |
bool | operator<= (const MappedDalitzArea &rhs) const |
bool | operator> (const MappedDalitzArea &rhs) const |
bool | operator>= (const MappedDalitzArea &rhs) const |
bool | operator== (const MappedDalitzArea &ma) const |
bool | operator!= (const MappedDalitzArea &ma) const |
Private Member Functions | |
void | setup () |
void | findMapping () |
void | applyLimits () |
bool | allConsecutive () const |
bool | allStandardised () const |
Static Private Member Functions | |
static std::vector< TLorentzVector > | mapP4 (const DalitzEvent &evt, const Permutation &mapping) |
static std::vector< TLorentzVector > & | mapP4 (const DalitzEvent &evt, const Permutation &mapping, std::vector< TLorentzVector > &p4) |
Private Attributes | |
TRandom * | _rnd |
DalitzEventPattern | _pat |
DalitzEventPattern | _mappedPat |
DalitzArea | _area |
std::vector< DalitzCoordinate > | _limits |
Permutation | _mapping |
Permutation | _inverseMapping |
Definition at line 20 of file MappedDalitzArea.h.
MappedDalitzArea::MappedDalitzArea | ( | ) |
Definition at line 25 of file MappedDalitzArea.cpp.
MappedDalitzArea::MappedDalitzArea | ( | const DalitzEventPattern & | pat, |
TRandom * | rnd = gRandom |
||
) |
Definition at line 36 of file MappedDalitzArea.cpp.
MappedDalitzArea::MappedDalitzArea | ( | const DalitzEventPattern & | pat, |
const DalitzCoordinate & | oneLimit, | ||
TRandom * | rnd = gRandom |
||
) |
Definition at line 48 of file MappedDalitzArea.cpp.
MappedDalitzArea::MappedDalitzArea | ( | const DalitzEventPattern & | pat, |
const DalitzCoordinate & | oneLimit, | ||
const DalitzCoordinate & | otherLimit, | ||
TRandom * | rnd = gRandom |
||
) |
Definition at line 62 of file MappedDalitzArea.cpp.
MappedDalitzArea::MappedDalitzArea | ( | const DalitzEventPattern & | pat, |
const std::vector< DalitzCoordinate > & | limits, | ||
TRandom * | rnd = gRandom |
||
) |
Definition at line 88 of file MappedDalitzArea.cpp.
MappedDalitzArea::MappedDalitzArea | ( | const MappedDalitzArea & | other | ) |
Definition at line 102 of file MappedDalitzArea.cpp.
|
virtual |
Definition at line 124 of file MappedDalitzArea.cpp.
|
private |
Definition at line 127 of file MappedDalitzArea.cpp.
|
private |
|
private |
Definition at line 190 of file MappedDalitzArea.cpp.
std::vector< DalitzCoordinate > MappedDalitzArea::centre | ( | ) | const |
Definition at line 240 of file MappedDalitzArea.cpp.
|
inline |
Definition at line 81 of file MappedDalitzArea.h.
|
private |
Definition at line 139 of file MappedDalitzArea.cpp.
bool MappedDalitzArea::isInside | ( | const DalitzEvent & | evt | ) | const |
Definition at line 270 of file MappedDalitzArea.cpp.
bool MappedDalitzArea::isInside | ( | const DalitzCoordinate & | dc | ) | const |
Definition at line 279 of file MappedDalitzArea.cpp.
bool MappedDalitzArea::isInside | ( | const std::vector< DalitzCoordinate > & | dcList | ) | const |
Definition at line 282 of file MappedDalitzArea.cpp.
bool MappedDalitzArea::less | ( | const MappedDalitzArea & | ma | ) | const |
Definition at line 430 of file MappedDalitzArea.cpp.
DalitzCoordinate MappedDalitzArea::limit_s | ( | const std::vector< int > & | indices | ) | const |
Definition at line 388 of file MappedDalitzArea.cpp.
DalitzCoordinate MappedDalitzArea::limit_s | ( | int | i, |
int | j, | ||
int | k = -1 |
||
) | const |
Definition at line 402 of file MappedDalitzArea.cpp.
counted_ptr< DalitzEvent > MappedDalitzArea::makeEventForOwner | ( | ) | const |
Definition at line 228 of file MappedDalitzArea.cpp.
counted_ptr< DalitzEvent > MappedDalitzArea::makeEventForOwner | ( | double | scale0, |
double | scale1, | ||
double | scale2, | ||
double | scale3, | ||
double | scale4 | ||
) | const |
Definition at line 247 of file MappedDalitzArea.cpp.
|
staticprivate |
Definition at line 199 of file MappedDalitzArea.cpp.
|
staticprivate |
bool MappedDalitzArea::operator!= | ( | const MappedDalitzArea & | ma | ) | const |
Definition at line 472 of file MappedDalitzArea.cpp.
bool MappedDalitzArea::operator< | ( | const MappedDalitzArea & | rhs | ) | const |
Definition at line 451 of file MappedDalitzArea.cpp.
bool MappedDalitzArea::operator<= | ( | const MappedDalitzArea & | rhs | ) | const |
Definition at line 454 of file MappedDalitzArea.cpp.
MappedDalitzArea & MappedDalitzArea::operator= | ( | const MappedDalitzArea & | other | ) |
Definition at line 113 of file MappedDalitzArea.cpp.
bool MappedDalitzArea::operator== | ( | const MappedDalitzArea & | ma | ) | const |
Definition at line 464 of file MappedDalitzArea.cpp.
bool MappedDalitzArea::operator> | ( | const MappedDalitzArea & | rhs | ) | const |
Definition at line 457 of file MappedDalitzArea.cpp.
bool MappedDalitzArea::operator>= | ( | const MappedDalitzArea & | rhs | ) | const |
Definition at line 460 of file MappedDalitzArea.cpp.
void MappedDalitzArea::print | ( | std::ostream & | os = std::cout | ) | const |
Definition at line 477 of file MappedDalitzArea.cpp.
bool MappedDalitzArea::setRnd | ( | TRandom * | rnd = gRandom | ) |
Definition at line 488 of file MappedDalitzArea.cpp.
|
private |
Definition at line 180 of file MappedDalitzArea.cpp.
bool MappedDalitzArea::similar | ( | const MappedDalitzArea & | ma | ) | const |
Definition at line 410 of file MappedDalitzArea.cpp.
|
inline |
Definition at line 76 of file MappedDalitzArea.h.
std::vector< MappedDalitzArea > MappedDalitzArea::split | ( | unsigned int | nWays | ) | const |
Definition at line 318 of file MappedDalitzArea.cpp.
std::vector<MappedDalitzArea> MappedDalitzArea::split | ( | unsigned int | limitIndex, |
unsigned int | nWays | ||
) | const |
std::vector< MappedDalitzArea > MappedDalitzArea::splitIfWiderThan | ( | double | maxWidth | ) | const |
Definition at line 367 of file MappedDalitzArea.cpp.
std::vector<MappedDalitzArea> MappedDalitzArea::splitIfWiderThan | ( | unsigned int | limitIndex, |
double | maxWidth | ||
) | const |
|
private |
Definition at line 25 of file MappedDalitzArea.h.
|
private |
Definition at line 29 of file MappedDalitzArea.h.
|
private |
Definition at line 27 of file MappedDalitzArea.h.
|
private |
Definition at line 23 of file MappedDalitzArea.h.
|
private |
Definition at line 29 of file MappedDalitzArea.h.
|
private |
Definition at line 23 of file MappedDalitzArea.h.
|
private |
Definition at line 21 of file MappedDalitzArea.h.