00001 #ifndef PLOTINTEGRALS_H_ 00002 #define PLOTINTEGRALS_H_ 00003 00004 #include "BaseModule.h" 00005 #include <map> 00006 class TGlobalData; 00007 class TSetupData; 00008 class TH1F; 00009 namespace modules {class options;} 00010 namespace IDs {class source;} 00011 00025 class PlotTAP_Integral : public BaseModule { 00026 00027 public: 00032 PlotTAP_Integral(modules::options* opts); 00035 ~PlotTAP_Integral(); 00036 00037 private: 00043 virtual int ProcessEntry(TGlobalData *gData, const TSetupData *gSetup); 00049 virtual int BeforeFirstEntry(TGlobalData* gData,const TSetupData *setup); 00055 virtual int AfterLastEntry(TGlobalData* gData,const TSetupData *setup); 00056 00057 private: 00058 typedef std::map<IDs::source,TH1F*> PlotList_t; 00059 PlotList_t fPlots; 00060 00061 }; 00062 00063 #endif //PLOTINTEGRALS_H_