00001
00002
00003
00004
00005
00006
00007
00008 #ifndef JOBC_JOB_H
00009 #define JOBC_JOB_H
00010 #include <string>
00011 #ifndef JOBC_SEQUENCE_H
00012 #include "JobControl/Sequence.h"
00013 #endif
00014 namespace edm { class EventHandle; }
00015
00016 namespace jobc {
00018 class Job : public Sequence {
00019 public:
00020 Job(const char* name);
00021 int Run(int nevent=0);
00022
00023 public:
00024 void CheckStatus(const std::string& s, const edm::EventHandle* evt);
00025
00026 private:
00027 bool fInit;
00028 int fCurrentRun;
00029 int fCurrentSubrun;
00030 std::string fCurrentFile;
00031 };
00032 }
00033 #endif
00034