Line | |
---|
1 | #ifndef MARS_MReadScanFile
|
---|
2 | #define MARS_MReadScanFile
|
---|
3 |
|
---|
4 | #ifndef MARS_MReadFiles
|
---|
5 | #include "MReadFiles.h"
|
---|
6 | #endif
|
---|
7 |
|
---|
8 | class MParList;
|
---|
9 |
|
---|
10 | class MReadScanFile : public MReadFiles
|
---|
11 | {
|
---|
12 | private:
|
---|
13 | TList fList;
|
---|
14 |
|
---|
15 | Int_t fLength;
|
---|
16 |
|
---|
17 | Bool_t IsDelimiter(const TString &str) const;
|
---|
18 | Bool_t ReadDelimiter();
|
---|
19 |
|
---|
20 | Bool_t AnalyzeHeader(MParList &plist);
|
---|
21 | Bool_t ReadHeader();
|
---|
22 | Int_t ReadEvent();
|
---|
23 |
|
---|
24 | public:
|
---|
25 | MReadScanFile(const char *filename=NULL, const char *name=NULL,
|
---|
26 | const char *title=NULL) : MReadFiles(filename, name, title), fLength(-1) { }
|
---|
27 |
|
---|
28 | UInt_t GetEntries();
|
---|
29 |
|
---|
30 | ClassDef(MReadScanFile, 0) // Reads files written with TTree::Scan
|
---|
31 | };
|
---|
32 |
|
---|
33 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.