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 | Int_t PostProcess();
|
---|
24 |
|
---|
25 | public:
|
---|
26 | MReadScanFile(const char *filename=NULL, const char *name=NULL,
|
---|
27 | const char *title=NULL) : MReadFiles(filename, name, title), fLength(-1) { }
|
---|
28 |
|
---|
29 | UInt_t GetEntries();
|
---|
30 |
|
---|
31 | ClassDef(MReadScanFile, 0) // Reads files written with TTree::Scan
|
---|
32 | };
|
---|
33 |
|
---|
34 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.