123456789101112131415161718192021222324252627282930313233 |
- #ifndef UTASK
- #define UTASK
- // ROOT headers
- #include "TTask.h"
- //_________________
- class UTask : public TTask {
- protected:
- Int_t fVerbose; // Verbosity level
- public:
- /// Default constructor
- UTask();
- /// Constructor with parameters
- UTask(const char *name,
- Int_t verbose = 1);
- /// Destructor
- virtual ~UTask();
- virtual void Init() = 0;
- virtual void Exec(Option_t *option = "") = 0;
- virtual void Finish() = 0;
- inline void SetVerbose(Int_t verbose) {fVerbose = verbose;}
- ClassDef(UTask, 1);
- };
- #endif
|