ana_base.hh

Go to the documentation of this file.
00001 
00015 #ifndef ANA_BASE_HH
00016 #define ANA_BASE_HH
00017 
00018 #include <TFile.h>
00019 #include "DataFormat-TypeDef.hh"
00020 
00026 class ana_base : public decoder_base{
00027 
00028 public:
00029 
00031   ana_base(){ _name="ana_base"; _fout=0;};
00032 
00034   virtual ~ana_base(){};
00035 
00037   virtual bool initialize()=0;
00038 
00040   virtual bool analyze(storage_manager* data)=0;
00041 
00043   virtual bool finalize()=0;
00044 
00046   void set_output_file(TFile* fout){_fout=fout;};
00047 
00048 protected:
00049 
00050   TFile* _fout; 
00051 };
00052 
00053 #endif
00054  // end of doxygen group 

Generated on Mon Apr 7 15:35:12 2014 for MyProject by  doxygen 1.4.7