00001
00002
00003
00004
00005
00006 #ifndef IO_H
00007 #define IO_H
00008
00009 #include "TString.h"
00010 #include "TObject.h"
00011 #include <vector>
00012 #include <string>
00013 #include <list>
00014 #include <utility>
00015
00016
00017
00018 class TChain;
00019
00020 class IO : public TObject{
00021 public:
00022 IO(const char* dir="./", const char* match="st_physics", const char* ext=".root");
00023 ~IO();
00024
00025 void setNFile(int n) { mNFile = n; }
00026 void chain(TChain* chain);
00027 void createDb(const char* dbFile);
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038 private:
00039 int mNFile;
00040 TString mDir;
00041 TString mMatch;
00042 TString mExt;
00043
00044
00046
00047
00048
00049
00050 ClassDef(IO,1)
00051
00052 };
00053
00055
00056
00057 #endif