MINT2
|
#include <DalitzEvent.h>
Public Member Functions | |
DalitzEvent () | |
DalitzEvent (const DalitzEventPattern &pat, const std::vector< TLorentzVector > &mumAndDgtr_p4) | |
DalitzEvent (const DalitzEventPattern &pat, double t01_in, double s12_in, double s23_in, double s34_in, double t40_in) | |
Constructor for a 4-body decay at a given point in phase space. More... | |
DalitzEvent (const DalitzEventPattern &pat, const double s13, const double s23) | |
Constructor for a 3-body decay at a given point in phase space. More... | |
DalitzEvent (const DalitzEventPattern &pat, const std::vector< TVector3 > &mumAndDgtr_p3) | |
DalitzEvent (const DalitzEventPattern &pat) | |
DalitzEvent (const DalitzEventPattern &pat, TRandom *rnd) | |
DalitzEvent (TNtupleD *ntp) | |
DalitzEvent (const IDalitzEvent &ievt) | |
DalitzEvent (const IDalitzEvent *ievt) | |
DalitzEvent (const DalitzEvent *other) | |
DalitzEvent (const DalitzEvent &other) | |
virtual | ~DalitzEvent () |
IDalitzEvent * | clone () const |
virtual double | getWeight () const |
virtual void | setWeight (double w) |
virtual void | setGeneratorPdfRelativeToPhaseSpace (double gpdf) |
virtual double | getGeneratorPdfRelativeToPhaseSpace () const |
virtual const std::vector< double > & | getVectorOfValues () const |
virtual std::vector< double > & | getVectorOfValues () |
virtual const std::vector< double > & | getVectorOfWeights () const |
virtual std::vector< double > & | getVectorOfWeights () |
virtual void | setValueInVector (unsigned int i, double value) |
virtual void | setWeightInVector (unsigned int i, double weight) |
virtual double | getValueFromVector (unsigned int i) const |
virtual double | getWeightFromVector (unsigned int i) const |
virtual void | P_conjugateYourself () |
virtual void | C_conjugateYourself () |
virtual void | CP_conjugateYourself () |
bool | resetST () |
const Permutation & | currentPermutation () const |
void | setPermutationIndex (int i) |
int | numPermutations () const |
int | permutationIndex () const |
bool | fromTree (TTree *tree) |
bool | fromNtuple (TNtupleD *ntp) |
bool | fromParasTree (TTree *ntp) |
bool | fromParasTreeOld (TTree *ntp) |
virtual void | setAValue (double a) |
virtual double | getAValue () const |
virtual const DalitzEventPattern & | eventPattern () const |
virtual const TLorentzVector & | p (unsigned int i) const |
virtual TLorentzVector & | p (unsigned int i) |
virtual double | s (unsigned int i, unsigned int j) const |
virtual double | t (unsigned int i, unsigned int j) const |
virtual double | sij (const std::vector< int > &indices) const |
virtual double | sij (const MINT::PolymorphVector< int > &indices) const |
virtual void | setMothers3Momentum (const TVector3 &mp3) |
virtual double | phaseSpace () const |
virtual bool | retrieveValue (int i, std::complex< double > &value, long int configNumber=1) |
virtual void | setValue (int i, const std::complex< double > &value, long int configNumber=1) |
virtual bool | retrieveValue (int i, double value, long int configNumber=1) |
virtual void | setValue (int i, double value, long int configNumber=1) |
double | sijMin (const std::vector< int > &indices) const |
double | sijMin (const MINT::PolymorphVector< int > &indices) const |
double | sijMax (const std::vector< int > &indices) const |
double | sijMax (const MINT::PolymorphVector< int > &indices) const |
int | nDgtr () const |
double | m (unsigned int i) const |
double | m2 (unsigned int i) const |
TLorentzVector | p_dgtr_sum () const |
bool | kinematicallyAllowed (double epsilon=1.e-9) const |
void | print (std::ostream &os=std::cout) const |
void | generateThisToPhaseSpace (TRandom *rnd=0) |
void | generateThisToPhaseSpace (double p_of_D, TRandom *rnd=0) |
void | generateThisToPhaseSpace (const TVector3 &pVec_of_D, TRandom *rnd=0) |
std::string | makeNtupleVarnames () const |
bool | fillNtupleVarArray (std::vector< Double_t > &array) const |
unsigned int | ntupleVarArraySize () const |
Calculate4BodyProps | makeCalculate4BodyProps () const |
Public Member Functions inherited from IDalitzEvent | |
virtual | ~IDalitzEvent () |
Static Public Member Functions | |
static long int | assignUniqueRememberNumber () |
static long int | eventCounter () |
Protected Member Functions | |
const TLorentzVector & | p_intern (unsigned int i) const |
TLorentzVector & | p_intern (unsigned int i) |
double | s_intern (unsigned int i, unsigned int j) const |
double | t_intern (unsigned int i, unsigned int j) const |
double | evalsij_intern (const std::vector< int > &intern_indices) const |
double | sijMap_intern (const std::vector< int > &intern_indices) const |
double | sijMap (const std::vector< int > &indices) const |
bool | shoutAndKill () |
double | BDet () const |
double | Delta4 () const |
double | phaseSpace3 (double epsilon=1.e-9) const |
double | phaseSpace4 () const |
bool | setMomenta (const std::vector< TLorentzVector > &mumAndDgtr_p4) |
bool | setMomenta (const std::vector< TVector3 > &mumAndDgtr_p3) |
void | setP (unsigned int i, const TLorentzVector &p4) |
Protected Member Functions inherited from IDalitzEvent | |
IDalitzEvent () | |
Static Protected Member Functions | |
static std::string | prtToNtpName (const std::string &s_in) |
static std::string | ntpToPrtName (const std::string &s_in) |
static int | singleParticleNtpArraySize () |
static bool | parseNtpEntryName (const std::string &entry, std::string &part1, std::string &part2) |
Protected Attributes | |
DalitzEventPattern | _pat |
std::vector< TLorentzVector > | _p |
double | _rememberPhaseSpace |
RememberAnythingFast< std::complex< double > > | _rememberComplexFast |
RememberAnythingFast< double > | _rememberDoubleFast |
double | _aValue |
double | _weight |
double | _generatorPdfRelativeToPhaseSpace |
std::vector< double > | _vectorOfValues |
std::vector< double > | _vectorOfWeights |
std::vector< std::vector< double > > | _s |
std::vector< std::vector< double > > | _t |
std::map< std::vector< int >, double > | _sijMap |
int | _permutationIndex |
Permutator | _perm |
Static Protected Attributes | |
static const char | ntpNameChars [] = { '#', '~', '\0' } |
static const char | prtNameChars [] = { '+', '-', '\0' } |
static long int | _eventCounter =0 |
static long int | _rememberVectorCounter =0 |
Definition at line 27 of file DalitzEvent.h.
DalitzEvent::DalitzEvent | ( | ) |
Definition at line 33 of file DalitzEvent.cpp.
DalitzEvent::DalitzEvent | ( | const DalitzEventPattern & | pat, |
const std::vector< TLorentzVector > & | mumAndDgtr_p4 | ||
) |
Definition at line 45 of file DalitzEvent.cpp.
DalitzEvent::DalitzEvent | ( | const DalitzEventPattern & | pat, |
double | t01_in, | ||
double | s12_in, | ||
double | s23_in, | ||
double | s34_in, | ||
double | t40_in | ||
) |
Constructor for a 4-body decay at a given point in phase space.
Definition at line 66 of file DalitzEvent.cpp.
DalitzEvent::DalitzEvent | ( | const DalitzEventPattern & | pat, |
const double | s13, | ||
const double | s23 | ||
) |
Constructor for a 3-body decay at a given point in phase space.
Definition at line 129 of file DalitzEvent.cpp.
DalitzEvent::DalitzEvent | ( | const DalitzEventPattern & | pat, |
const std::vector< TVector3 > & | mumAndDgtr_p3 | ||
) |
Definition at line 212 of file DalitzEvent.cpp.
DalitzEvent::DalitzEvent | ( | const DalitzEventPattern & | pat | ) |
Definition at line 232 of file DalitzEvent.cpp.
DalitzEvent::DalitzEvent | ( | const DalitzEventPattern & | pat, |
TRandom * | rnd | ||
) |
Definition at line 251 of file DalitzEvent.cpp.
DalitzEvent::DalitzEvent | ( | TNtupleD * | ntp | ) |
Definition at line 365 of file DalitzEvent.cpp.
DalitzEvent::DalitzEvent | ( | const IDalitzEvent & | ievt | ) |
Definition at line 293 of file DalitzEvent.cpp.
DalitzEvent::DalitzEvent | ( | const IDalitzEvent * | ievt | ) |
Definition at line 270 of file DalitzEvent.cpp.
DalitzEvent::DalitzEvent | ( | const DalitzEvent * | other | ) |
Definition at line 315 of file DalitzEvent.cpp.
DalitzEvent::DalitzEvent | ( | const DalitzEvent & | other | ) |
Definition at line 340 of file DalitzEvent.cpp.
|
virtual |
Definition at line 382 of file DalitzEvent.cpp.
|
static |
Definition at line 29 of file DalitzEvent.cpp.
|
protected |
|
virtual |
Definition at line 808 of file DalitzEvent.cpp.
|
virtual |
|
virtual |
Definition at line 811 of file DalitzEvent.cpp.
|
inline |
Definition at line 148 of file DalitzEvent.h.
|
protected |
Definition at line 914 of file DalitzEvent.cpp.
|
protected |
Definition at line 699 of file DalitzEvent.cpp.
|
inlinestatic |
Definition at line 125 of file DalitzEvent.h.
|
inlinevirtual |
bool DalitzEvent::fillNtupleVarArray | ( | std::vector< Double_t > & | array | ) | const |
Definition at line 1014 of file DalitzEvent.cpp.
bool DalitzEvent::fromNtuple | ( | TNtupleD * | ntp | ) |
Definition at line 1061 of file DalitzEvent.cpp.
bool DalitzEvent::fromParasTree | ( | TTree * | ntp | ) |
Definition at line 1271 of file DalitzEvent.cpp.
bool DalitzEvent::fromParasTreeOld | ( | TTree * | ntp | ) |
Definition at line 1144 of file DalitzEvent.cpp.
bool DalitzEvent::fromTree | ( | TTree * | tree | ) |
Definition at line 1047 of file DalitzEvent.cpp.
void DalitzEvent::generateThisToPhaseSpace | ( | TRandom * | rnd = 0 | ) |
Definition at line 546 of file DalitzEvent.cpp.
void DalitzEvent::generateThisToPhaseSpace | ( | double | p_of_D, |
TRandom * | rnd = 0 |
||
) |
Definition at line 549 of file DalitzEvent.cpp.
void DalitzEvent::generateThisToPhaseSpace | ( | const TVector3 & | pVec_of_D, |
TRandom * | rnd = 0 |
||
) |
Definition at line 553 of file DalitzEvent.cpp.
|
inlinevirtual |
|
virtual |
Implements IDalitzEvent.
Definition at line 396 of file DalitzEvent.cpp.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Implements IDalitzEvent.
Definition at line 390 of file DalitzEvent.cpp.
|
virtual |
bool DalitzEvent::kinematicallyAllowed | ( | double | epsilon = 1.e-9 | ) | const |
Definition at line 466 of file DalitzEvent.cpp.
double DalitzEvent::m | ( | unsigned int | i | ) | const |
Definition at line 433 of file DalitzEvent.cpp.
double DalitzEvent::m2 | ( | unsigned int | i | ) | const |
Definition at line 445 of file DalitzEvent.cpp.
Calculate4BodyProps DalitzEvent::makeCalculate4BodyProps | ( | ) | const |
Definition at line 751 of file DalitzEvent.cpp.
std::string DalitzEvent::makeNtupleVarnames | ( | ) | const |
Definition at line 987 of file DalitzEvent.cpp.
|
inline |
Definition at line 222 of file DalitzEvent.h.
|
staticprotected |
Definition at line 979 of file DalitzEvent.cpp.
unsigned int DalitzEvent::ntupleVarArraySize | ( | ) | const |
Definition at line 1032 of file DalitzEvent.cpp.
|
virtual |
|
virtual |
Implements IDalitzEvent.
Definition at line 673 of file DalitzEvent.cpp.
|
virtual |
Definition at line 682 of file DalitzEvent.cpp.
|
virtual |
Definition at line 795 of file DalitzEvent.cpp.
TLorentzVector DalitzEvent::p_dgtr_sum | ( | ) | const |
Definition at line 457 of file DalitzEvent.cpp.
|
protected |
Definition at line 623 of file DalitzEvent.cpp.
|
protected |
Definition at line 635 of file DalitzEvent.cpp.
|
staticprotected |
Definition at line 1260 of file DalitzEvent.cpp.
|
inlinevirtual |
|
virtual |
Implements IDalitzEvent.
Definition at line 510 of file DalitzEvent.cpp.
|
protected |
Definition at line 952 of file DalitzEvent.cpp.
|
protected |
Definition at line 917 of file DalitzEvent.cpp.
|
virtual |
|
staticprotected |
Definition at line 972 of file DalitzEvent.cpp.
bool DalitzEvent::resetST | ( | ) |
Definition at line 816 of file DalitzEvent.cpp.
|
inlinevirtual |
Implements IDalitzEvent.
Definition at line 187 of file DalitzEvent.h.
|
inlinevirtual |
Implements IDalitzEvent.
Definition at line 206 of file DalitzEvent.h.
|
virtual |
Implements IDalitzEvent.
Definition at line 691 of file DalitzEvent.cpp.
|
protected |
Definition at line 647 of file DalitzEvent.cpp.
|
inlinevirtual |
|
virtual |
Implements IDalitzEvent.
Definition at line 399 of file DalitzEvent.cpp.
|
protected |
Definition at line 847 of file DalitzEvent.cpp.
|
protected |
Definition at line 859 of file DalitzEvent.cpp.
|
virtual |
|
protected |
Definition at line 874 of file DalitzEvent.cpp.
|
virtual |
|
inlinevirtual |
Implements IDalitzEvent.
Definition at line 201 of file DalitzEvent.h.
|
inlinevirtual |
Implements IDalitzEvent.
Definition at line 209 of file DalitzEvent.h.
|
virtual |
|
virtual |
Implements IDalitzEvent.
Definition at line 393 of file DalitzEvent.cpp.
|
virtual |
|
protected |
Definition at line 787 of file DalitzEvent.cpp.
|
virtual |
Definition at line 709 of file DalitzEvent.cpp.
|
inlinevirtual |
Implements IDalitzEvent.
Definition at line 179 of file DalitzEvent.h.
|
protected |
Definition at line 665 of file DalitzEvent.cpp.
|
protected |
Definition at line 655 of file DalitzEvent.cpp.
double DalitzEvent::sijMax | ( | const std::vector< int > & | indices | ) | const |
Definition at line 733 of file DalitzEvent.cpp.
|
inlinevirtual |
Implements IDalitzEvent.
Definition at line 219 of file DalitzEvent.h.
double DalitzEvent::sijMin | ( | const std::vector< int > & | indices | ) | const |
Definition at line 730 of file DalitzEvent.cpp.
|
inlinevirtual |
Implements IDalitzEvent.
Definition at line 215 of file DalitzEvent.h.
|
staticprotected |
Definition at line 1011 of file DalitzEvent.cpp.
|
virtual |
Implements IDalitzEvent.
Definition at line 694 of file DalitzEvent.cpp.
|
protected |
Definition at line 651 of file DalitzEvent.cpp.
|
protected |
Definition at line 50 of file DalitzEvent.h.
|
staticprotected |
Definition at line 37 of file DalitzEvent.h.
|
protected |
Definition at line 52 of file DalitzEvent.h.
|
protected |
Definition at line 43 of file DalitzEvent.h.
|
protected |
Definition at line 42 of file DalitzEvent.h.
|
protected |
Definition at line 63 of file DalitzEvent.h.
|
protected |
Definition at line 62 of file DalitzEvent.h.
|
protected |
Definition at line 47 of file DalitzEvent.h.
|
protected |
Definition at line 48 of file DalitzEvent.h.
|
mutableprotected |
Definition at line 45 of file DalitzEvent.h.
|
staticprotected |
Definition at line 39 of file DalitzEvent.h.
|
mutableprotected |
Definition at line 57 of file DalitzEvent.h.
|
mutableprotected |
Definition at line 59 of file DalitzEvent.h.
|
mutableprotected |
Definition at line 58 of file DalitzEvent.h.
|
protected |
Definition at line 54 of file DalitzEvent.h.
|
protected |
Definition at line 55 of file DalitzEvent.h.
|
protected |
Definition at line 51 of file DalitzEvent.h.
|
staticprotected |
Definition at line 30 of file DalitzEvent.h.
|
staticprotected |
Definition at line 31 of file DalitzEvent.h.