00001 00002 // $Id: DigitListModule.h,v 1.10 2007/03/24 20:40:30 gmieg Exp $ 00003 // 00004 // A JobControl Module for filling raw CandDigitList from RawData. 00005 // 00006 // G. Irwin 5/2000 00008 00009 #ifndef DIGITLISTMODULE_H 00010 #define DIGITLISTMODULE_H 00011 00012 #include "TObject.h" 00013 #include "TString.h" 00014 00015 #include "JobControl/JobCModule.h" 00016 00017 class JobCommand; 00018 class MomNavigator; 00019 00020 class DigitListModule : public JobCModule, public TObject 00021 { 00022 00023 public: 00024 enum EListTypes { 00025 kDataList = BIT(0), 00026 kMCList = BIT(1), 00027 kDataAndMC = (kDataList | kMCList) 00028 }; 00029 00030 DigitListModule(); 00031 ~DigitListModule(); 00032 00033 void BeginJob(); 00034 void Config(const Registry& r); 00035 const Registry& DefaultConfig() const; 00036 JobCResult Get(MomNavigator *mom); 00037 JobCResult Reco(MomNavigator *mom); 00038 00039 // These are not implemented by this module 00040 // void EndJob(); 00041 // void BeginFile(); 00042 // void EndFile(); 00043 // void BeginRun(); 00044 // void EndRun(); 00045 // void HandleCommand(JobCommand *command); 00046 // JobC::Result Put(const MomNavigator *mom); 00047 // JobC::Result Ana(const MomNavigator *mom); 00048 // void Help(); 00049 // void Report(); 00050 // void Reset(); 00051 00052 ClassDef(DigitListModule,0) // DigitListModule version 0 00053 }; 00054 00055 #endif // DIGITLISTMODULE_H