source: trunk/MagicSoft/Mars/mjobs/MJSimulation.h@ 9428

Last change on this file since 9428 was 9343, checked in by tbretz, 16 years ago
*** empty log message ***
File size: 899 bytes
Line 
1#ifndef MARS_MJSimulation
2#define MARS_MJSimulation
3
4#ifndef MARS_MJob
5#include "MJob.h"
6#endif
7
8class MHn;
9class MArgs;
10class MParList;
11class MWriteRootFile;
12
13class MJSimulation : public MJob
14{
15private:
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
27public:
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.