39 |
class PamVMCApplication : public TVirtualMCApplication |
class PamVMCApplication : public TVirtualMCApplication |
40 |
{ |
{ |
41 |
public: |
public: |
42 |
PamVMCApplication(const char* name, const char *title); |
PamVMCApplication(const char* name, const char *title, const char *filename, UInt_t seed); |
43 |
PamVMCApplication(); |
PamVMCApplication(); |
44 |
virtual ~PamVMCApplication(); |
virtual ~PamVMCApplication(); |
45 |
|
|
47 |
static PamVMCApplication* Instance(); |
static PamVMCApplication* Instance(); |
48 |
|
|
49 |
// methods |
// methods |
50 |
void InitMC(const char *setup); |
void InitMC(const char *setup, const char *filename, UInt_t seed); |
51 |
void RunMC(Int_t nofEvents); |
void RunMC(Int_t nofEvents); |
52 |
void AddIons(); |
void AddIons(); |
53 |
|
|
93 |
#ifdef PAMFIELD |
#ifdef PAMFIELD |
94 |
// TrkLevel2 pamfield; |
// TrkLevel2 pamfield; |
95 |
#endif |
#endif |
96 |
ClassDef(PamVMCApplication,1) //Interface to MonteCarlo application |
ClassDef(PamVMCApplication,3) //Interface to MonteCarlo application |
97 |
}; |
}; |
98 |
|
|
99 |
// inline functions |
// inline functions |