00001
00003 #ifndef BMNT_H
00004 #define BMNT_H
00005
00006 #include <TObject.h>
00007 #include <cstring>
00008
00009 class TTree;
00010 struct BmntImp;
00011 class Bmnt {
00012 BmntImp* fImp;
00013
00014 public:
00016 Bmnt();
00017
00019 Bmnt(const char* outfile);
00020
00022 ~Bmnt();
00023
00025 void ProcessFiles(const char** filenames);
00026
00027 void ProcessFile(const char* filename, int nentries=0);
00028
00033 void ProcessDirectory(const char* in_directory, const char* out_directory,
00034 bool skip_last=false);
00035
00036 TTree* GetTree();
00037 void Write();
00038 };
00039 void make_bmnt_one_per_dir(const char* indir, const char* outdir, bool skip_last=true);
00040 #endif // BMNT_H