er
dev
Main Page
Related Pages
Classes
Files
File List
base
ERMCApplication.cxx
1
#include "ERMCApplication.h"
2
3
#include<iostream>
4
5
#include <iostream>
6
using namespace
std
;
7
8
ERMCApplication::ERMCApplication
(
const
char
* name,
const
char
* title, TObjArray* ModList,
const
char
* MatName):
9
FairMCApplication(name, title,ModList,MatName),
10
fDecayer(NULL)
11
{
12
13
}
14
17
ERMCApplication::ERMCApplication
(){
18
19
}
22
ERMCApplication::~ERMCApplication
(){
23
24
}
25
27
void
ERMCApplication::Stepping
(){
28
FairMCApplication::Stepping();
29
if
(fDecayer){
30
if
(!fDecayer->Stepping())
31
std::cerr <<
"Fatal problem in ER decayer!"
<< std::endl;
32
}
33
}
34
36
void
ERMCApplication::BeginEvent
(){
// MC Application
37
FairMCApplication::BeginEvent();
38
if
(fDecayer)
39
fDecayer->BeginEvent();
40
}
42
void
ERMCApplication::FinishEvent
(){
// MC Application
43
FairMCApplication::FinishEvent();
44
if
(fDecayer)
45
fDecayer->FinishEvent();
46
}
47
48
ClassImp(
ERMCApplication
)
ERMCApplication::FinishEvent
virtual void FinishEvent()
Definition:
ERMCApplication.cxx:42
ERMCApplication
Definition:
ERMCApplication.h:12
ERMCApplication::~ERMCApplication
virtual ~ERMCApplication()
Definition:
ERMCApplication.cxx:22
ERMCApplication::ERMCApplication
ERMCApplication()
Definition:
ERMCApplication.cxx:17
std
ERMCApplication::Stepping
virtual void Stepping()
Definition:
ERMCApplication.cxx:27
ERMCApplication::BeginEvent
virtual void BeginEvent()
Definition:
ERMCApplication.cxx:36
Generated on Tue Dec 7 2021 13:58:45 for er by
1.8.11