| Line | |
|---|
| 1 | #ifndef MARS_MJSimulation
|
|---|
| 2 | #define MARS_MJSimulation
|
|---|
| 3 |
|
|---|
| 4 | #ifndef MARS_MJob
|
|---|
| 5 | #include "MJob.h"
|
|---|
| 6 | #endif
|
|---|
| 7 |
|
|---|
| 8 | class MHn;
|
|---|
| 9 | class MArgs;
|
|---|
| 10 | class MParList;
|
|---|
| 11 | class MWriteRootFile;
|
|---|
| 12 |
|
|---|
| 13 | class MJSimulation : public MJob
|
|---|
| 14 | {
|
|---|
| 15 | private:
|
|---|
| 16 | Bool_t fForceMode; // Force execution even if RUNE-section was not foundm
|
|---|
| 17 |
|
|---|
| 18 | Bool_t fCamera; // Switch on/off camera (for fast reflector processing)
|
|---|
| 19 | Bool_t fForceTrigger; // Force the use of the trigger "electronics"
|
|---|
| 20 |
|
|---|
| 21 | Bool_t WriteResult(const MParList &plist);
|
|---|
| 22 | Bool_t CheckEnvLocal();
|
|---|
| 23 |
|
|---|
| 24 | void SetupHist(MHn &hist) const;
|
|---|
| 25 | void SetupCommonFileStructure(MWriteRootFile &write) const;
|
|---|
| 26 |
|
|---|
| 27 | public:
|
|---|
| 28 | MJSimulation(const char *name=NULL, const char *title=NULL);
|
|---|
| 29 |
|
|---|
| 30 | void SetForceMode(Bool_t force=kTRUE) { fForceMode = force; }
|
|---|
| 31 |
|
|---|
| 32 | // Process
|
|---|
| 33 | Bool_t Process(const MArgs &args);
|
|---|
| 34 |
|
|---|
| 35 | ClassDef(MJSimulation, 0) // Job to run the simulation (ceres)
|
|---|
| 36 | };
|
|---|
| 37 |
|
|---|
| 38 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.