Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

DecayMode Class Reference

#include <DecayMode.h>

List of all members.

Public Member Functions

float BF () const
float BF () const
const vector< PdtEntry * > * childList () const
const vector< PdtEntry * > * childList () const
virtual const CLID & clID () const
virtual const CLID & clID () const
 DecayMode (float bf, vector< PdtEntry * > *l)
 DecayMode (float bf, vector< PdtEntry * > *l)
 DecayMode ()
 DecayMode ()
void getData (int *data, unsigned int size)
void getData (int *data, unsigned int size)
bool operator== (const DecayMode &other)
bool operator== (const DecayMode &other)
void printOn (std::ostream &os) const
void printOn (std::ostream &os) const
void putData (int *data, unsigned int size)
void putData (int *data, unsigned int size)
virtual ~DecayMode ()
virtual ~DecayMode ()
virtual ~DecayMode ()
virtual ~DecayMode ()

Static Public Member Functions

const CLID & classID ()
const CLID & classID ()

Protected Attributes

float _branchingFraction
vector< PdtEntry * > * _children
vector< PdtEntry * > * _children

Private Member Functions

bool values_ok (unsigned int size)
bool values_ok (unsigned int size)

Private Attributes

int m_data [m_size]

Static Private Attributes

const unsigned int m_size = 10


Constructor & Destructor Documentation

DecayMode::DecayMode  )  [inline]
 

00012   {
00013     for (unsigned int index=0; index<m_size; index++)
00014       m_data[index] = 0;
00015   }

DecayMode::~DecayMode  )  [inline, virtual]
 

00016 {;}

DecayMode::DecayMode  )  [inline]
 

00012   {
00013     for (unsigned int index=0; index<m_size; index++)
00014       m_data[index] = 0;
00015   }

virtual DecayMode::~DecayMode  )  [inline, virtual]
 

00016 {;}

DecayMode::DecayMode float  bf,
vector< PdtEntry * > *  l
 

00019                                                     {
00020   _branchingFraction = bf;
00021   _children = l;
00022 }

virtual DecayMode::~DecayMode  )  [virtual]
 

DecayMode::DecayMode float  bf,
vector< PdtEntry * > *  l
 

virtual DecayMode::~DecayMode  )  [virtual]
 


Member Function Documentation

float DecayMode::BF  )  const [inline]
 

00033 { return _branchingFraction; }

float DecayMode::BF  )  const [inline]
 

00033 { return _branchingFraction; }

const vector<PdtEntry*>* DecayMode::childList  )  const [inline]
 

00034 { return _children; }

const vector<PdtEntry*>* DecayMode::childList  )  const [inline]
 

00034 { return _children; }

const CLID& DecayMode::classID  )  [inline, static]
 

00020 { return CLID_DecayMode; }

const CLID& DecayMode::classID  )  [inline, static]
 

00020 { return CLID_DecayMode; }

virtual const CLID& DecayMode::clID  )  const [inline, virtual]
 

00019 { return  DecayMode::classID();}

virtual const CLID& DecayMode::clID  )  const [inline, virtual]
 

00019 { return  DecayMode::classID();}

void DecayMode::getData int *  data,
unsigned int  size
 

void DecayMode::getData int *  data,
unsigned int  size
 

00003                                                      {
00004   for (unsigned int index=0; index<m_size; index++) {
00005      data[index] = m_data[index];
00006   }
00007 }

bool DecayMode::operator== const DecayMode other  )  [inline]
 

00037 { return this == &other; }

bool DecayMode::operator== const DecayMode other  )  [inline]
 

00037 { return this == &other; }

void DecayMode::printOn std::ostream os  )  const
 

void DecayMode::printOn std::ostream os  )  const
 

00036                                     {
00037   os <<   "               " << setw(5) << setprecision(3)
00038     << _branchingFraction
00039     << " ->";
00040   int l = _children->size();
00041   for(int i=0; i<l; i++)
00042     os << " " << (*_children)[i]->name();
00043   os << '\n';
00044 } 

void DecayMode::putData int *  data,
unsigned int  size
 

void DecayMode::putData int *  data,
unsigned int  size
 

00009                                                      {
00010   assert(size); 
00011   for (unsigned int index=0; index<m_size; index++) {
00012     m_data[index] = data[index];
00013   }
00014 }

bool DecayMode::values_ok unsigned int  size  )  [private]
 

bool DecayMode::values_ok unsigned int  size  )  [private]
 

00016                                             {
00017   if (size > m_size) {
00018     std::cout << " DecayMode:: error: size beyond the range!" <<std::endl;
00019     return false;
00020   } else {
00021     return true;
00022   }
00023 }


Member Data Documentation

float DecayMode::_branchingFraction [protected]
 

vector<PdtEntry*>* DecayMode::_children [protected]
 

vector<PdtEntry*>* DecayMode::_children [protected]
 

int DecayMode::m_data [private]
 

const unsigned int DecayMode::m_size = 10 [static, private]
 


The documentation for this class was generated from the following files:
Generated on Wed Feb 2 15:56:59 2011 for BOSS6.5.5 by  doxygen 1.3.9.1