ROOTPWA
|
#include <particle.h>
Public Member Functions | |
particle () | |
particle (const particle &p) | |
particle (const particleData &data, const int charge) | |
virtual | ~particle () |
particle & | operator= (const particle &p) |
int | operator== (const particle &p) |
int | operator!= (const particle &p) |
int | operator< (const particle &p) |
particle & | operator*= (const lorentzTransform &L) |
particle & | setCharge (const int charge) |
particle & | set4P (const fourVec &p4) |
particle & | set3P (const threeVec &p3) |
particle & | Index (const int i) |
particle & | setDecay (const decay &d) |
particle & | setMassDep (massDep *md) |
decay * | Decay () const |
int | Stable () const |
threeVec | get3P () const |
int | Index () const |
int | Charge () const |
fourVec | get4P () const |
fourVec * | get4P (particle *p, const int debug=0) |
std::list< int > & | helicities () |
particle & | addHelicity (const int lam) |
int | is (const std::string &name) const |
fourVec | setupFrames (const int debug=0) |
double | q () const |
double | q0 () const |
std::complex< double > | breitWigner () const |
std::complex< double > | decayAmp (const int lambda, const int debug=0) |
std::string | sprint (const std::string &space=" ") const |
void | print () const |
void | printFrames () const |
int | OK () const |
particleData & | setName (const std::string &) |
particleData & | setMass (double m) |
particleData & | setWidth (double w) |
particleData & | setI (int i) |
particleData & | setG (int g) |
particleData & | setJ (int j) |
particleData & | setP (int p) |
particleData & | setC (int c) |
std::string | Name () const |
double | Mass () const |
double | Width () const |
int | I () const |
int | G () const |
int | J () const |
int | P () const |
int | C () const |
void | dump () const |
Static Public Member Functions | |
static void | debug (const int d=1) |
Private Attributes | |
int | _lambda |
int | _charge |
fourVec | _p |
decay * | _decay |
int | _index |
std::list< int > | _helicities |
int | _inRestFrame |
massDep * | _massDep |
Static Private Attributes | |
static int | _particle_debug = 0 |
Friends | |
particle | operator* (const lorentzTransform &L, const particle &p) |
Definition at line 19 of file pwa2000/libpp/particle.h.
particle::particle | ( | ) |
Definition at line 20 of file pwa2000/libpp/particle.cc.
References _particle_debug.
particle::particle | ( | const particle & | p | ) |
Definition at line 35 of file pwa2000/libpp/particle.cc.
References _charge, _decay, _helicities, _index, _inRestFrame, _lambda, _massDep, _p, _particle_debug, massDep::clone(), and particleData::Name().
particle::particle | ( | const particleData & | data, |
const int | charge | ||
) |
Definition at line 58 of file pwa2000/libpp/particle.cc.
References _particle_debug, and particleData::Name().
|
virtual |
Definition at line 75 of file pwa2000/libpp/particle.cc.
References _decay, _massDep, _particle_debug, and particleData::Name().
Definition at line 217 of file pwa2000/libpp/particle.cc.
References _helicities.
Referenced by yyparse().
complex< double > particle::breitWigner | ( | ) | const |
Definition at line 342 of file pwa2000/libpp/particle.cc.
References _decay, F(), get4P(), i, decay::L(), particleData::Mass(), q(), q0(), and particleData::Width().
|
inlineinherited |
Definition at line 93 of file particleData.h.
References particleData::_cparity.
Referenced by wave::print(), and wave::printFrames().
|
inline |
Definition at line 47 of file pwa2000/libpp/particle.h.
References _charge.
Referenced by decayAmp(), get4P(), setupFrames(), sprint(), event::write1(), and event::write2().
|
inlinestatic |
Reimplemented from particleData.
Definition at line 71 of file pwa2000/libpp/particle.h.
References _particle_debug, and d.
|
inline |
Definition at line 43 of file pwa2000/libpp/particle.h.
References _decay.
Referenced by wave::decayAmp(), wave::fill(), wave::print(), wave::printFrames(), wave::setupFrames(), wave::sprint(), breitWigner::val(), and rhoPrime::val().
Definition at line 358 of file pwa2000/libpp/particle.cc.
References _decay, _massDep, a, decay::amp(), Charge(), Index(), particleData::J(), MAXPRECISION, particleData::Name(), ptab(), Stable(), and massDep::val().
Referenced by decay::amp(), and decay::expt_amp().
|
inherited |
Definition at line 121 of file particleData.cc.
Referenced by tableEntry::dump().
|
inlineinherited |
Definition at line 90 of file particleData.h.
References particleData::_gparity.
Referenced by wave::print(), and wave::printFrames().
|
inline |
Definition at line 45 of file pwa2000/libpp/particle.h.
References _p, and fourVec::V().
Referenced by decay::amp().
|
inline |
Definition at line 48 of file pwa2000/libpp/particle.h.
References _p.
Referenced by decay::amp(), breitWigner(), wave::fill(), wave::print(), event::print(), wave::printFrames(), q(), q0(), wave::setupFrames(), Tgamp::toGottfriedJackson(), breitWigner::val(), rhoPrime::val(), flatRange::val(), AMP_M::val(), AMP_ves::val(), AMP_LASS::val(), event::write1(), event::write2(), and yyparse().
Definition at line 184 of file pwa2000/libpp/particle.cc.
References _decay, _p, Charge(), decay::get4P(), Index(), and particleData::Name().
list< int > & particle::helicities | ( | ) |
Definition at line 207 of file pwa2000/libpp/particle.cc.
References _helicities, and particleData::J().
Referenced by decay::amp(), and decay::expt_amp().
|
inlineinherited |
Definition at line 89 of file particleData.h.
References particleData::_isospin.
Referenced by wave::print(), and wave::printFrames().
|
inline |
Definition at line 46 of file pwa2000/libpp/particle.h.
References _index.
Referenced by decayAmp(), get4P(), and setupFrames().
int particle::is | ( | const std::string & | name | ) | const |
Definition at line 225 of file pwa2000/libpp/particle.cc.
References particleData::Name().
|
inlineinherited |
Definition at line 91 of file particleData.h.
References particleData::_spin.
Referenced by decay::amp(), wave::decayAmp(), decayAmp(), decay::expt_amp(), helicities(), wave::print(), wave::printFrames(), and wave::sprint().
|
inlineinherited |
Definition at line 87 of file particleData.h.
References particleData::_mass.
Referenced by breitWigner(), main(), operator!=(), operator<(), operator==(), q0(), set3P(), breitWigner::val(), AMP_M::val(), and AMP_ves::val().
|
inherited |
Definition at line 95 of file particleData.cc.
Referenced by decay::amp(), decayAmp(), decay::expt_amp(), get4P(), decay::get4P(), is(), particleDataTable::List(), operator=(), particleData::operator=(), particle(), particleData::particleData(), setupFrames(), sprint(), event::write1(), event::write2(), and ~particle().
|
inherited |
Definition at line 30 of file pwa2000/libpp/particle.h.
References particleData::Mass().
particle & particle::operator*= | ( | const lorentzTransform & | L | ) |
Reimplemented in wave.
Definition at line 114 of file pwa2000/libpp/particle.cc.
Definition at line 31 of file pwa2000/libpp/particle.h.
References particleData::Mass().
Definition at line 85 of file pwa2000/libpp/particle.cc.
References _charge, _decay, _helicities, _index, _inRestFrame, _lambda, _massDep, _p, _particle_debug, massDep::clone(), and particleData::Name().
Definition at line 29 of file pwa2000/libpp/particle.h.
References particleData::Mass().
|
inlineinherited |
Definition at line 92 of file particleData.h.
References particleData::_parity.
Referenced by wave::print(), wave::printFrames(), and wave::sprint().
void particle::print | ( | ) | const |
Reimplemented from particleData.
Reimplemented in wave.
Definition at line 382 of file pwa2000/libpp/particle.cc.
References _charge, _decay, _index, _massDep, _p, addtab(), massDep::print(), fourVec::print(), decay::print(), ptab(), and subtab().
Referenced by tableEntry::print(), and printFrames().
void particle::printFrames | ( | ) | const |
Reimplemented in wave.
Definition at line 402 of file pwa2000/libpp/particle.cc.
References _charge, _decay, _index, _p, addtab(), print(), fourVec::print(), decay::printFrames(), ptab(), and subtab().
double particle::q | ( | ) | const |
Definition at line 284 of file pwa2000/libpp/particle.cc.
References decay::_children, _decay, _inRestFrame, _p, get4P(), lambda(), and fourVec::lenSq().
Referenced by breitWigner(), main(), breitWigner::val(), rhoPrime::val(), and AMP_LASS::val().
double particle::q0 | ( | ) | const |
!! this is wrong! q_0 should be a constant and should not depend !! on the actual but on the nominal masses of the daughters
Definition at line 305 of file pwa2000/libpp/particle.cc.
References decay::_children, _decay, get4P(), lambda(), fourVec::lenSq(), and particleData::Mass().
Referenced by breitWigner(), breitWigner::val(), rhoPrime::val(), and AMP_LASS::val().
Definition at line 150 of file pwa2000/libpp/particle.cc.
References _p, threeVec::lenSq(), and particleData::Mass().
Definition at line 142 of file pwa2000/libpp/particle.cc.
References _p.
Referenced by wave::fill(), main(), event::read1(), and event::read2().
|
inlineinherited |
Definition at line 79 of file particleData.h.
References particleData::_cparity.
Referenced by main().
Definition at line 166 of file pwa2000/libpp/particle.cc.
References _decay.
|
inlineinherited |
Definition at line 61 of file particleData.h.
References particleData::_gparity.
Referenced by main().
|
inlineinherited |
Definition at line 55 of file particleData.h.
References particleData::_isospin, and i.
|
inlineinherited |
Definition at line 67 of file particleData.h.
References particleData::_spin.
Referenced by yyparse().
|
inlineinherited |
Definition at line 176 of file pwa2000/libpp/particle.cc.
References _massDep.
Referenced by yyparse().
|
inherited |
Definition at line 102 of file particleData.cc.
Referenced by event::read1().
|
inlineinherited |
Definition at line 73 of file particleData.h.
References particleData::_parity, and p.
Referenced by yyparse().
Reimplemented in wave.
Definition at line 235 of file pwa2000/libpp/particle.cc.
References _decay, _inRestFrame, _p, Charge(), Index(), particleData::Name(), threeVec::phi(), fourVec::print(), rotation::set(), lorentzTransform::set(), decay::setupFrames(), signof, threeVec::theta(), fourVec::theta(), fourVec::V(), and fourVec::x().
|
inlineinherited |
Definition at line 49 of file particleData.h.
References particleData::_width.
Referenced by main().
string particle::sprint | ( | const std::string & | space = " " | ) | const |
Reimplemented in wave.
Definition at line 326 of file pwa2000/libpp/particle.cc.
References decay::_children, _decay, _index, Charge(), chargetos(), i, decay::L(), particleData::Name(), and decay::S().
|
inline |
Definition at line 44 of file pwa2000/libpp/particle.h.
References _decay.
Referenced by wave::decayAmp(), decayAmp(), wave::print(), wave::printFrames(), and wave::setupFrames().
|
inlineinherited |
Definition at line 88 of file particleData.h.
References particleData::_width.
Referenced by breitWigner(), main(), and breitWigner::val().
|
friend |
Definition at line 124 of file pwa2000/libpp/particle.cc.
|
private |
Definition at line 77 of file pwa2000/libpp/particle.h.
Referenced by Charge(), operator=(), particle(), print(), printFrames(), and setCharge().
|
private |
Definition at line 79 of file pwa2000/libpp/particle.h.
Referenced by breitWigner(), Decay(), decayAmp(), get4P(), operator*=(), operator=(), particle(), print(), printFrames(), q(), q0(), setDecay(), setupFrames(), sprint(), Stable(), and ~particle().
|
private |
Definition at line 81 of file pwa2000/libpp/particle.h.
Referenced by addHelicity(), helicities(), operator=(), and particle().
|
private |
Definition at line 80 of file pwa2000/libpp/particle.h.
Referenced by Index(), operator=(), particle(), print(), printFrames(), and sprint().
|
private |
Definition at line 82 of file pwa2000/libpp/particle.h.
Referenced by operator=(), particle(), q(), and setupFrames().
|
private |
Definition at line 76 of file pwa2000/libpp/particle.h.
Referenced by operator=(), and particle().
|
private |
Definition at line 83 of file pwa2000/libpp/particle.h.
Referenced by decayAmp(), operator=(), particle(), print(), setMassDep(), and ~particle().
|
private |
Definition at line 78 of file pwa2000/libpp/particle.h.
Referenced by get3P(), get4P(), operator*(), operator*=(), operator=(), particle(), print(), printFrames(), q(), set3P(), set4P(), and setupFrames().
|
staticprivate |
Definition at line 75 of file pwa2000/libpp/particle.h.
Referenced by debug(), operator=(), particle(), and ~particle().