source: trunk/MagicSoft/Mars/mjobs/MSequence.h@ 4693

Last change on this file since 4693 was 4609, checked in by tbretz, 20 years ago
*** empty log message ***
File size: 1.0 KB
Line 
1#ifndef MARS_MSequence
2#define MARS_MSequence
3
4#ifndef ROOT_TArrayI
5#include <TArrayI.h>
6#endif
7
8#ifndef MARS_MTime
9#include "MTime.h"
10#endif
11
12class MDirIter;
13
14class MSequence : public MParContainer
15{
16private:
17 UInt_t fSequence;
18
19 MTime fStart;
20
21 UInt_t fLastRun;
22 UInt_t fNumEvents;
23
24 UInt_t fPeriod;
25 MTime fNight;
26
27 TString fProject;
28 TString fSource;
29 TString fTriggerTable;
30 TString fHvSettings;
31
32 TArrayI fRuns;
33 TArrayI fCalRuns;
34 TArrayI fPedRuns;
35 TArrayI fDatRuns;
36
37 void Split(TString &runs, TArrayI &data) const;
38 void SetupRuns(MDirIter &iter, const TArrayI &arr) const;
39
40public:
41 MSequence(const char *fname);
42
43 void Print(Option_t *o="") const;
44
45 void SetupPedRuns(MDirIter &iter) const;
46 void SetupDatRuns(MDirIter &iter) const;
47 void SetupAllRuns(MDirIter &iter) const;
48 void SetupCalRuns(MDirIter &iter) const;
49
50 // Getter
51 UInt_t GetSequence() const { return fSequence; }
52 UInt_t GetLastRun() const { return fLastRun; }
53
54 ClassDef(MSequence, 0)
55};
56
57#endif
Note: See TracBrowser for help on using the repository browser.