ROOTPWA
Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | Friends | List of all members
particleData Class Reference

#include <particleData.h>

Inheritance diagram for particleData:
particle wave

Public Member Functions

 particleData ()
 particleData (const particleData &)
 particleData (const std::string &n, double m, double w, int i, int g, int j, int p, int c)
virtual ~particleData ()
int OK () const
particleDatasetName (const std::string &)
particleDatasetMass (double m)
particleDatasetWidth (double w)
particleDatasetI (int i)
particleDatasetG (int g)
particleDatasetJ (int j)
particleDatasetP (int p)
particleDatasetC (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 print () const
void dump () const
particleDataoperator= (const particleData &p)
void debug (int d=1)

Private Member Functions

void _init (const std::string &, double, double, int, int, int, int, int)

Private Attributes

std::string _name
double _mass
double _width
int _isospin
int _gparity
int _spin
int _parity
int _cparity

Static Private Attributes

static int _particle_data_count = 0
static int _particle_data_debug = 0

Friends

std::ostream & operator<< (std::ostream &out, particleData &p)

Detailed Description

Definition at line 16 of file particleData.h.

Constructor & Destructor Documentation

particleData::particleData ( )

Definition at line 36 of file particleData.cc.

particleData::particleData ( const particleData p)

Definition at line 46 of file particleData.cc.

References _cparity, _gparity, _isospin, _mass, _name, _parity, _spin, _width, and Name().

particleData::particleData ( const std::string &  n,
double  m,
double  w,
int  i,
int  g,
int  j,
int  p,
int  c 
)

Definition at line 56 of file particleData.cc.

particleData::~particleData ( )
virtual

Definition at line 85 of file particleData.cc.

Member Function Documentation

void particleData::_init ( const std::string &  nm,
double  m,
double  w,
int  i,
int  g,
int  j,
int  p,
int  c 
)
private

Definition at line 16 of file particleData.cc.

References i, and p.

int particleData::C ( ) const
inline

Definition at line 93 of file particleData.h.

References _cparity.

Referenced by wave::print(), and wave::printFrames().

void particleData::debug ( int  d = 1)
inline

Reimplemented in particle.

Definition at line 100 of file particleData.h.

References _particle_data_debug, and d.

void particleData::dump ( ) const

Definition at line 121 of file particleData.cc.

Referenced by tableEntry::dump().

int particleData::G ( ) const
inline

Definition at line 90 of file particleData.h.

References _gparity.

Referenced by wave::print(), and wave::printFrames().

int particleData::I ( ) const
inline

Definition at line 89 of file particleData.h.

References _isospin.

Referenced by wave::print(), and wave::printFrames().

int particleData::J ( ) const
inline
double particleData::Mass ( ) const
inline
string particleData::Name ( ) const
int particleData::OK ( ) const
particleData & particleData::operator= ( const particleData p)

Definition at line 75 of file particleData.cc.

References _cparity, _gparity, _isospin, _mass, _name, _parity, _spin, _width, and Name().

int particleData::P ( ) const
inline

Definition at line 92 of file particleData.h.

References _parity.

Referenced by wave::print(), wave::printFrames(), and wave::sprint().

void particleData::print ( ) const

Reimplemented in particle, and wave.

Definition at line 110 of file particleData.cc.

References getsign, and ptab().

particleData& particleData::setC ( int  c)
inline

Definition at line 79 of file particleData.h.

References _cparity.

Referenced by main().

particleData& particleData::setG ( int  g)
inline

Definition at line 61 of file particleData.h.

References _gparity.

Referenced by main().

particleData& particleData::setI ( int  i)
inline

Definition at line 55 of file particleData.h.

References _isospin, and i.

particleData& particleData::setJ ( int  j)
inline

Definition at line 67 of file particleData.h.

References _spin.

Referenced by yyparse().

particleData& particleData::setMass ( double  m)
inline

Definition at line 43 of file particleData.h.

References _mass.

Referenced by main().

particleData & particleData::setName ( const std::string &  nm)

Definition at line 102 of file particleData.cc.

Referenced by event::read1().

particleData& particleData::setP ( int  p)
inline

Definition at line 73 of file particleData.h.

References _parity, and p.

Referenced by yyparse().

particleData& particleData::setWidth ( double  w)
inline

Definition at line 49 of file particleData.h.

References _width.

Referenced by main().

double particleData::Width ( ) const
inline

Definition at line 88 of file particleData.h.

References _width.

Referenced by particle::breitWigner(), main(), and breitWigner::val().

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  out,
particleData p 
)
friend

Member Data Documentation

int particleData::_cparity
private

Definition at line 29 of file particleData.h.

Referenced by C(), operator=(), particleData(), and setC().

int particleData::_gparity
private

Definition at line 26 of file particleData.h.

Referenced by G(), operator=(), particleData(), and setG().

int particleData::_isospin
private

Definition at line 25 of file particleData.h.

Referenced by I(), operator=(), particleData(), and setI().

double particleData::_mass
private

Definition at line 23 of file particleData.h.

Referenced by Mass(), operator=(), particleData(), and setMass().

std::string particleData::_name
private

Definition at line 22 of file particleData.h.

Referenced by operator=(), and particleData().

int particleData::_parity
private

Definition at line 28 of file particleData.h.

Referenced by operator=(), P(), particleData(), and setP().

int particleData::_particle_data_count = 0
staticprivate

Definition at line 20 of file particleData.h.

int particleData::_particle_data_debug = 0
staticprivate

Definition at line 21 of file particleData.h.

Referenced by debug().

int particleData::_spin
private

Definition at line 27 of file particleData.h.

Referenced by J(), operator=(), particleData(), and setJ().

double particleData::_width
private

Definition at line 24 of file particleData.h.

Referenced by operator=(), particleData(), setWidth(), and Width().


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