00001 #ifndef TPCDEDX_H
00002 #define TPCDEDX_H
00003 #include "JobControl/Module.h"
00004
00005 namespace edm { class EventHandle; }
00006 namespace cfg { class Config; }
00007
00008 class TPCdEdx : public jobc::Module
00009 {
00010 public:
00011 TPCdEdx(const char* version);
00012 ~TPCdEdx();
00013
00014 jobc::Result Reco(edm::EventHandle& evt);
00015 jobc::Result Ana(const edm::EventHandle& evt);
00016
00017 void NewFile(const char* filename);
00018 void EndFile(const char* filename);
00019
00020 void NewRun(int run, int subrun);
00021 void EndRun(int run, int subrun);
00022
00023 void NewSubrun(int run, int subrun);
00024 void EndSubrun(int run, int subrun);
00025
00026 void Update(const cfg::Config& c);
00027 private:
00028 float fRlow;
00029 float fRhigh;
00030 };
00031 #endif // TPCDEDX_H