#include <DecayMode.h>
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 |
|
00012 { 00013 for (unsigned int index=0; index<m_size; index++) 00014 m_data[index] = 0; 00015 }
|
|
00016 {;}
|
|
00012 { 00013 for (unsigned int index=0; index<m_size; index++) 00014 m_data[index] = 0; 00015 }
|
|
00016 {;}
|
|
00019 { 00020 _branchingFraction = bf; 00021 _children = l; 00022 }
|
|
|
|
|
|
|
|
00033 { return _branchingFraction; }
|
|
00033 { return _branchingFraction; }
|
|
00034 { return _children; }
|
|
00034 { return _children; }
|
|
00020 { return CLID_DecayMode; }
|
|
00020 { return CLID_DecayMode; }
|
|
00019 { return DecayMode::classID();}
|
|
00019 { return DecayMode::classID();}
|
|
|
|
00003 { 00004 for (unsigned int index=0; index<m_size; index++) { 00005 data[index] = m_data[index]; 00006 } 00007 }
|
|
00037 { return this == &other; }
|
|
00037 { return this == &other; }
|
|
|
|
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 }
|
|
|
|
00009 { 00010 assert(size); 00011 for (unsigned int index=0; index<m_size; index++) { 00012 m_data[index] = data[index]; 00013 } 00014 }
|
|
|
|
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 }
|
|
|
|
|
|
|
|
|
|
|