00001 #ifndef ANALYZER_HEADER 00002 #define ANALYZER_HEADER 00003 00004 #include <string> 00005 #include <vector> 00006 00007 #include "TTree.h" 00008 00009 #include "Interface.h" 00010 #include "Statistics.h" 00011 #include "Pattern.h" 00012 #include "PatternManager.h" 00013 00014 class Analyzer : public PatternManager { 00015 00016 protected: 00017 00018 Interface *fInterface; 00020 TFile *fOutFile; 00022 std::string fNetName; 00023 TTree *fVarTestTree; 00024 00025 public: 00026 00027 Analyzer(); 00028 Analyzer(TFile *file); 00029 Analyzer(Interface *fInterface); 00030 ~Analyzer(); 00031 00032 inline TFile *GetOutFile() { return fOutFile; } 00033 inline std::string GetNetName() { return fNetName; } 00034 inline void SetOutFile(TFile *file) { fOutFile = file; } 00035 inline void SetNetName(string name) { fNetName = name; } 00036 00037 vector<int> TestVariables(Double_t target1, Double_t target2, string type); 00038 00039 ClassDef(Analyzer, 1) 00040 }; 00041 00042 #endif