Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | File Members | Related Pages

TMidasFile.h

Go to the documentation of this file.
00001 // TMidasFile.h.
00002 // author  JEP, J. Chuma, K.Olchanski.
00003 // brief   MIDAS-file class for reading MIDAS .mid files.
00004 // version 1.2.
00005 // date    August 2003.
00006 //
00007 #ifndef TMIDASFILE_H
00008 #define TMIDASFILE_H
00009 
00010 #include <fstream>
00011 #include <string>
00012 
00013 class TMidasEvent;
00014 
00015 using std::ifstream;
00016 using std::string;
00017 
00018 class TMidasFile : public ifstream {
00019 public:
00020   TMidasFile();
00021   ~TMidasFile();
00022   const Char_t * GetFilename() const;
00023   Bool_t Open(const Char_t *);
00024   Bool_t Read(TMidasEvent *);
00025   void Close();
00026 
00027 private:
00030   string fFileName;
00034   Bool_t fByteSwap;
00035 };
00036 
00037 #endif // TMidasFile.h

Generated on Mon Jan 8 11:54:31 2007 for DragonRoot by  doxygen 1.3.9.1