ROOTPWA
|
#include <NParticleState.h>
Public Member Functions | |
NParticleState () | |
virtual | ~NParticleState () |
unsigned int | n () const |
int | q () const |
int | qabs () const |
TLorentzVector | p () const |
TLorentzVector | pfs (unsigned int i) const |
FSParticle * | getParticle (unsigned int i) const |
double | Q2 () const |
double | t () const |
TVector3 | vertex () const |
const TLorentzVector & | beam () const |
double | rapidity () const |
bool | Exclusive (double d=10) |
bool | addParticle (FSParticle *part) |
void | setBeam (const TLorentzVector &beam) |
bool | isSubstate (const NParticleState *motherstate) const |
bool | isDisjunctFrom (const NParticleState *isobar) const |
Private Attributes | |
unsigned int | _n |
int | _q |
TLorentzVector | _p |
TLorentzVector | _beam |
std::vector< FSParticle * > | _fspart |
Definition at line 50 of file NParticleState.h.
NParticleState::NParticleState | ( | ) |
Definition at line 51 of file NParticleState.cc.
|
virtual |
Definition at line 55 of file NParticleState.cc.
bool NParticleState::addParticle | ( | FSParticle * | part | ) |
Definition at line 59 of file NParticleState.cc.
References _fspart, _n, _p, _q, FSParticle::p(), and FSParticle::q().
Referenced by NParticleEvent::permute().
|
inline |
Definition at line 69 of file NParticleState.h.
References _beam.
Referenced by plotEvts(), Q2(), and setBeam().
bool NParticleState::Exclusive | ( | double | d = 10 | ) |
Definition at line 139 of file NParticleState.cc.
|
inline |
Definition at line 65 of file NParticleState.h.
References _fspart.
Referenced by calculateHelicityAngles(), isDisjunctFrom(), isSubstate(), and plotWeightedEvts_Kpipi().
bool NParticleState::isDisjunctFrom | ( | const NParticleState * | isobar | ) | const |
Definition at line 172 of file NParticleState.cc.
References _n, getParticle(), i, FSParticle::IsEqual(), and n().
bool NParticleState::isSubstate | ( | const NParticleState * | motherstate | ) | const |
Definition at line 147 of file NParticleState.cc.
References _n, getParticle(), i, FSParticle::IsEqual(), and n().
Referenced by plotWeightedEvts().
|
inline |
Definition at line 60 of file NParticleState.h.
References _n.
Referenced by isDisjunctFrom(), isSubstate(), plotEvts(), plotWeightedEvts(), plotWeightedEvts_3pin(), and plotWeightedEvts_Kpipi().
TLorentzVector NParticleState::p | ( | ) | const |
Definition at line 75 of file NParticleState.cc.
References _fspart, _n, i, and FSParticle::p().
Referenced by calculateHelicityAngles(), plotEvts(), plotWeightedEvts(), plotWeightedEvts_3pin(), and plotWeightedEvts_Kpipi().
TLorentzVector NParticleState::pfs | ( | unsigned int | i | ) | const |
Definition at line 108 of file NParticleState.cc.
|
inline |
Definition at line 61 of file NParticleState.h.
References _q.
Referenced by plotEvts(), plotWeightedEvts(), plotWeightedEvts_3pin(), and plotWeightedEvts_Kpipi().
double NParticleState::Q2 | ( | ) | const |
int NParticleState::qabs | ( | ) | const |
Definition at line 115 of file NParticleState.cc.
References _fspart, _n, i, and FSParticle::q().
Referenced by plotEvts().
double NParticleState::rapidity | ( | ) | const |
Definition at line 102 of file NParticleState.cc.
References _p.
void NParticleState::setBeam | ( | const TLorentzVector & | beam | ) |
Definition at line 69 of file NParticleState.cc.
Referenced by NParticleEvent::permute().
|
inline |
TVector3 NParticleState::vertex | ( | ) | const |
Definition at line 127 of file NParticleState.cc.
References _fspart, _n, i, and FSParticle::v().
|
private |
Definition at line 88 of file NParticleState.h.
Referenced by beam(), Exclusive(), Q2(), and setBeam().
|
private |
Definition at line 89 of file NParticleState.h.
Referenced by addParticle(), getParticle(), p(), pfs(), qabs(), and vertex().
|
private |
Definition at line 85 of file NParticleState.h.
Referenced by addParticle(), isDisjunctFrom(), isSubstate(), n(), p(), pfs(), qabs(), and vertex().
|
private |
Definition at line 87 of file NParticleState.h.
Referenced by addParticle(), Exclusive(), Q2(), and rapidity().
|
private |
Definition at line 86 of file NParticleState.h.
Referenced by addParticle(), and q().