ROOTPWA
Public Member Functions | Protected Attributes | Friends | List of all members
event Class Reference

#include <event.h>

Public Member Functions

 event ()
 event (const event &)
virtual ~event ()
eventoperator= (const event &e)
eventaddfinal (const particle &)
eventaddinitial (const particle &p)
eventerase ()
bool isValid ()
particle beam () const
particle target () const
eventbeam (const particle &)
eventtarget (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< particlef_mesons () const
std::list< particlef_baryons () const
std::list< particlef_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< particlei_mesons () const
std::list< particlei_baryons () const
std::list< particlei_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)
eventsetIOVersion (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)

Detailed Description

Definition at line 14 of file event.h.

Constructor & Destructor Documentation

event::event ( )

Definition at line 13 of file event.cc.

event::event ( const event e)

Definition at line 27 of file event.cc.

References _beam, _final, _initial, _ioversion, and _target.

event::~event ( )
virtual

Definition at line 37 of file event.cc.

References _beam, and _target.

Member Function Documentation

event & event::addfinal ( const particle p)

Definition at line 84 of file event.cc.

References _final.

Referenced by read1(), and read2().

event & event::addinitial ( const particle p)

Definition at line 92 of file event.cc.

References _initial.

Referenced by read2().

threeVec event::baryonPlane ( ) const

Definition at line 382 of file event.cc.

References D(), f_baryons(), i, i_baryons(), threeVec::len(), and p.

particle event::beam ( ) const
inline

Definition at line 32 of file event.h.

References _beam.

Referenced by wave::fill(), operator*(), read1(), read2(), Tgamp::toGottfriedJackson(), and yyparse().

event & event::beam ( const particle p)

Definition at line 111 of file event.cc.

References _beam, _initial, and p.

event & event::erase ( )

Definition at line 100 of file event.cc.

References _final, and _initial.

Referenced by read1(), and read2().

list< particle > event::f_baryons ( ) const

Definition at line 256 of file event.cc.

References _final, and p.

Referenced by baryonPlane().

int event::f_charge ( ) const

Definition at line 212 of file event.cc.

References _final, p, and q().

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.

References _final, and p.

Referenced by mesonPlane(), Tgamp::mirrorEvent(), Tgamp::reflectEvent(), and Tgamp::toGottfriedJackson().

particle event::f_particle ( const std::string &  name,
const int  charge,
const int  index 
) const

Definition at line 270 of file event.cc.

References _final, i, and p.

std::list<particle> event::f_particles ( ) const
inline

Definition at line 51 of file event.h.

References _final.

Referenced by rpwa::partialWaveWeight::prodAmp().

fourVec event::getPartPFinal ( const std::string &  name,
const int  charge,
const int  index,
const int  debug = 0 
) const

Definition at line 163 of file event.cc.

References _final, i, and p.

Referenced by decay::fill().

fourVec event::getPartPInitial ( const std::string &  name,
const int  charge,
const int  index 
) const

Definition at line 197 of file event.cc.

References _initial, i, and p.

list< particle > event::i_baryons ( ) const

Definition at line 324 of file event.cc.

References _initial, and p.

Referenced by baryonPlane().

int event::i_charge ( ) const

Definition at line 297 of file event.cc.

References _initial, p, and q().

list< particle > event::i_mesons ( ) const

Definition at line 310 of file event.cc.

References _initial, and p.

Referenced by mesonPlane().

particle event::i_particle ( const std::string &  name,
const int  charge,
const int  index 
) const

Definition at line 338 of file event.cc.

References _initial, i, and p.

std::list<particle> event::i_particles ( ) const
inline

Definition at line 60 of file event.h.

References _initial.

bool event::isValid ( )

Definition at line 21 of file event.cc.

References _beam, and _final.

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

Definition at line 135 of file event.cc.

References _final, _initial, and p.

event & event::operator= ( const event e)

Definition at line 47 of file event.cc.

References _beam, _final, _initial, _ioversion, and _target.

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)
istream & event::read2 ( std::istream &  is)
void event::set_f_mesons ( const std::list< particle > &  l)

Definition at line 289 of file event.cc.

References _final.

event & event::setIOVersion ( const int  ver)

Definition at line 579 of file event.cc.

References _ioversion.

particle event::target ( ) const
inline

Definition at line 33 of file event.h.

References _target.

Referenced by wave::fill(), operator*(), read1(), and read2().

event & event::target ( const particle p)

Definition at line 123 of file event.cc.

References _initial, _target, and p.

ostream & event::write1 ( std::ostream &  os) const
ostream & event::write2 ( std::ostream &  os) const

Friends And Related Function Documentation

event operator* ( const lorentzTransform L,
const event e 
)
friend

Definition at line 63 of file event.cc.

std::ostream& operator<< ( std::ostream &  os,
const event e 
)
friend

Definition at line 425 of file event.cc.

std::istream& operator>> ( std::istream &  is,
event e 
)
friend

Definition at line 503 of file event.cc.

Member Data Documentation

particle* event::_beam
protected

Definition at line 83 of file event.h.

Referenced by beam(), event(), isValid(), operator=(), print(), write1(), write2(), and ~event().

std::list<particle> event::_final
protected
std::list<particle> event::_initial
protected
int event::_ioversion
protected

Definition at line 85 of file event.h.

Referenced by event(), operator<<(), operator=(), operator>>(), and setIOVersion().

particle* event::_target
protected

Definition at line 84 of file event.h.

Referenced by event(), operator=(), print(), target(), write2(), and ~event().


The documentation for this class was generated from the following files: