7 ERDecayer::ERDecayer(){
10 ERDecayer::~ERDecayer(){
13 Bool_t ERDecayer::Stepping(){
14 for (vector<ERDecay*>::iterator it = fDecays.begin(); it != fDecays.end(); ++it){
16 if (!decay->Stepping())
22 Bool_t ERDecayer::Init(){
23 for (vector<ERDecay*>::iterator it = fDecays.begin(); it != fDecays.end(); ++it){
25 cout <<
"Decay " << decay->GetName() <<
" initialized!" << endl;
32 void ERDecayer::BeginEvent(){
33 for (vector<ERDecay*>::iterator it = fDecays.begin(); it != fDecays.end(); ++it){
39 void ERDecayer::FinishEvent(){
40 for (vector<ERDecay*>::iterator it = fDecays.begin(); it != fDecays.end(); ++it){
46 void ERDecayer::AddDecay(
ERDecay* decay) {
47 cout <<
"Decay " << decay->GetName() <<
" added!" << endl;
48 fDecays.push_back(decay);