source: trunk/Mars/mreport/MReportFileReadCC.h@ 18679

Last change on this file since 18679 was 8955, checked in by tbretz, 17 years ago
*** empty log message ***
File size: 853 bytes
Line 
1#ifndef MARS_MReportFileReadCC
2#define MARS_MReportFileReadCC
3
4#ifndef MARS_MReportFileRead
5#include "MReportFileRead.h"
6#endif
7
8class MReportFileReadCC : public MReportFileRead
9{
10private:
11 Int_t fTelescope;
12 Int_t fRunNumber;
13 Int_t fFileNumber;
14
15 Int_t GetRunNumber(const TString &str) const;
16 Int_t GetVersion(const TString &str) const;
17 Int_t GetTelescope(const TString &str) const;
18 Int_t GetFileNumber(const TString &str) const;
19
20 Int_t CheckFileHeader();
21
22public:
23 MReportFileReadCC(const char *filename, const char *name=NULL, const char *title=NULL);
24
25 void SetTelescope(Int_t num) { fTelescope = num; }
26 void SetRunNumber(Int_t run) { fRunNumber = run; }
27 void SetFileNumber(Int_t run) { fFileNumber = run; }
28
29 ClassDef(MReportFileReadCC, 0)// Task to read the central control report file
30};
31
32#endif
Note: See TracBrowser for help on using the repository browser.