#include <DecayMode.h>
Public Member Functions | |
DecayMode () | |
virtual | ~DecayMode () |
void | getData (int *data, unsigned int size) |
void | putData (int *data, unsigned int size) |
virtual const CLID & | clID () const |
DecayMode (float bf, vector< PdtEntry * > *l) | |
virtual | ~DecayMode () |
float | BF () const |
const vector< PdtEntry * > * | childList () const |
void | printOn (std::ostream &os) const |
bool | operator== (const DecayMode &other) |
Static Public Member Functions | |
static const CLID & | classID () |
Protected Attributes | |
float | _branchingFraction |
vector< PdtEntry * > * | _children |
Private Member Functions | |
bool | values_ok (unsigned int size) |
Private Attributes | |
int | m_data [m_size] |
Static Private Attributes | |
static const unsigned int | m_size = 10 |
Definition at line 8 of file DecayMode.h.
DecayMode::DecayMode | ( | ) | [inline] |
DecayMode::~DecayMode | ( | ) | [inline, virtual] |
DecayMode::DecayMode | ( | float | bf, | |
vector< PdtEntry * > * | l | |||
) |
Definition at line 19 of file DecayMode.cxx.
References _branchingFraction, and _children.
00019 { 00020 _branchingFraction = bf; 00021 _children = l; 00022 }
virtual DecayMode::~DecayMode | ( | ) | [virtual] |
float DecayMode::BF | ( | ) | const [inline] |
Definition at line 33 of file DecayMode.h.
References _branchingFraction.
00033 { return _branchingFraction; }
const vector<PdtEntry*>* DecayMode::childList | ( | ) | const [inline] |
static const CLID& DecayMode::classID | ( | ) | [inline, static] |
Definition at line 20 of file DecayMode.h.
References CLID_DecayMode.
Referenced by clID().
00020 { return CLID_DecayMode; }
virtual const CLID& DecayMode::clID | ( | ) | const [inline, virtual] |
Definition at line 19 of file DecayMode.h.
References classID().
00019 { return DecayMode::classID();}
void DecayMode::getData | ( | int * | data, | |
unsigned int | size | |||
) |
Definition at line 37 of file DecayMode.h.
References EvtCyclic3::other().
00037 { return this == &other; }
void DecayMode::printOn | ( | std::ostream & | os | ) | const |
void DecayMode::putData | ( | int * | data, | |
unsigned int | size | |||
) |
Definition at line 9 of file DecayMode.cxx.
References m_data, and m_size.
Referenced by BesGenModule::callGenerator(), and BesMcTruthWriter::SaveDecayMode().
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] |
Definition at line 16 of file DecayMode.cxx.
References m_size.
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 }
float DecayMode::_branchingFraction [protected] |
vector<PdtEntry*>* DecayMode::_children [protected] |
int DecayMode::m_data[m_size] [private] |
const unsigned int DecayMode::m_size = 10 [static, private] |
Definition at line 25 of file DecayMode.h.
Referenced by DecayMode(), getData(), putData(), and values_ok().