ROOTPWA
|
#include <event.h>
Public Member Functions | |
event () | |
event (const event &) | |
virtual | ~event () |
event & | operator= (const event &e) |
event & | addfinal (const particle &) |
event & | addinitial (const particle &p) |
event & | erase () |
bool | isValid () |
particle | beam () const |
particle | target () const |
event & | beam (const particle &) |
event & | target (const particle &) |
int | OK (const double epsilon=1e-6) const |
fourVec | getPartPFinal (const std::string &name, const int charge, const int index, const int debug=0) const |
fourVec | getPartPInitial (const std::string &name, const int charge, const int index) const |
int | f_charge () const |
double | f_mass () const |
std::list< particle > | f_mesons () const |
std::list< particle > | f_baryons () const |
std::list< particle > | f_particles () const |
particle | f_particle (const std::string &name, const int charge, const int index) const |
void | set_f_mesons (const std::list< particle > &l) |
int | i_charge () const |
std::list< particle > | i_mesons () const |
std::list< particle > | i_baryons () const |
std::list< particle > | i_particles () const |
particle | i_particle (const std::string &name, const int charge, const int index) const |
threeVec | mesonPlane () const |
threeVec | baryonPlane () const |
void | print () const |
std::ostream & | write1 (std::ostream &os) const |
std::ostream & | write2 (std::ostream &os) const |
std::istream & | read1 (std::istream &is) |
std::istream & | read2 (std::istream &is) |
event & | setIOVersion (const int ver) |
Protected Attributes | |
std::list< particle > | _initial |
std::list< particle > | _final |
particle * | _beam |
particle * | _target |
int | _ioversion |
Friends | |
event | operator* (const lorentzTransform &, const event &) |
std::ostream & | operator<< (std::ostream &os, const event &e) |
std::istream & | operator>> (std::istream &is, event &e) |
event::event | ( | const event & | e | ) |
threeVec event::baryonPlane | ( | ) | const |
Definition at line 382 of file event.cc.
References D(), f_baryons(), i, i_baryons(), threeVec::len(), and p.
|
inline |
Definition at line 32 of file event.h.
References _beam.
Referenced by wave::fill(), operator*(), read1(), read2(), Tgamp::toGottfriedJackson(), and yyparse().
event & event::erase | ( | ) |
list< particle > event::f_baryons | ( | ) | const |
int event::f_charge | ( | ) | const |
double event::f_mass | ( | ) | const |
Definition at line 225 of file event.cc.
References _final, fourVec::len(), and p.
Referenced by rpwa::partialWaveWeight::weight().
list< particle > event::f_mesons | ( | ) | const |
Definition at line 242 of file event.cc.
Referenced by mesonPlane(), Tgamp::mirrorEvent(), Tgamp::reflectEvent(), and Tgamp::toGottfriedJackson().
|
inline |
Definition at line 51 of file event.h.
References _final.
Referenced by rpwa::partialWaveWeight::prodAmp().
list< particle > event::i_baryons | ( | ) | const |
int event::i_charge | ( | ) | const |
list< particle > event::i_mesons | ( | ) | const |
|
inline |
threeVec event::mesonPlane | ( | ) | const |
Definition at line 357 of file event.cc.
References A, f_mesons(), i, i_mesons(), threeVec::len(), and p.
int event::OK | ( | const double | epsilon = 1e-6 | ) | const |
void event::print | ( | ) | const |
Definition at line 408 of file event.cc.
References _beam, _final, _target, particle::get4P(), p, and fourVec::print().
istream & event::read1 | ( | std::istream & | is | ) |
Definition at line 519 of file event.cc.
References addfinal(), beam(), erase(), particleDataTable::get(), i, id2name(), PDGtable, q(), particle::set4P(), particleData::setName(), and target().
Referenced by operator>>().
istream & event::read2 | ( | std::istream & | is | ) |
Definition at line 545 of file event.cc.
References addfinal(), addinitial(), beam(), erase(), particleDataTable::get(), id2name(), PDGtable, q(), particle::set4P(), and target().
Referenced by operator>>().
void event::set_f_mesons | ( | const std::list< particle > & | l | ) |
Definition at line 579 of file event.cc.
References _ioversion.
|
inline |
Definition at line 33 of file event.h.
References _target.
Referenced by wave::fill(), operator*(), read1(), and read2().
ostream & event::write1 | ( | std::ostream & | os | ) | const |
Definition at line 441 of file event.cc.
References _beam, _final, particle::Charge(), particle::get4P(), particleData::Name(), name2id(), fourVec::t(), fourVec::x(), fourVec::y(), and fourVec::z().
Referenced by operator<<().
ostream & event::write2 | ( | std::ostream & | os | ) | const |
Definition at line 468 of file event.cc.
References _beam, _final, _target, particle::Charge(), particle::get4P(), particleData::Name(), name2id(), fourVec::t(), fourVec::x(), fourVec::y(), and fourVec::z().
Referenced by operator<<().
|
friend |
|
friend |
|
friend |
|
protected |
|
protected |
Definition at line 82 of file event.h.
Referenced by addfinal(), erase(), event(), f_baryons(), f_charge(), f_mass(), f_mesons(), f_particle(), f_particles(), getPartPFinal(), isValid(), OK(), operator*(), operator=(), print(), set_f_mesons(), write1(), and write2().
|
protected |
Definition at line 81 of file event.h.
Referenced by addinitial(), beam(), erase(), event(), getPartPInitial(), i_baryons(), i_charge(), i_mesons(), i_particle(), i_particles(), OK(), operator*(), operator=(), and target().
|
protected |
Definition at line 85 of file event.h.
Referenced by event(), operator<<(), operator=(), operator>>(), and setIOVersion().
|
protected |