Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
Task.h
1/*
2 * Task.h
3 *
4 * Created on: 5 maj 2022
5 * Author: Daniel Wielanek
6 * E-mail: daniel.wielanek@gmail.com
7 * Warsaw University of Technology, Faculty of Physics
8 */
9#ifndef HAL_ANALYSIS_BASE_STEER_HALTASK_H_
10#define HAL_ANALYSIS_BASE_STEER_HALTASK_H_
11
12#include <TTask.h>
13
17namespace Hal {
18 class Package;
19 class Task : public TTask {
20 protected:
25 void GoToDir(TString name);
26
27 public:
28 enum class EInitFlag { kSUCCESS, kERROR, kFATAL };
32 Task();
37 virtual EInitFlag Init() { return EInitFlag::kSUCCESS; };
41 virtual void FinishTask() {};
42 virtual ~Task();
43 ClassDef(Task, 1)
44 };
45} // namespace Hal
46#endif /* HAL_ANALYSIS_BASE_STEER_HALTASK_H_ */
virtual EInitFlag Init()
Definition Task.h:37
void GoToDir(TString name)
Definition Task.cxx:28
virtual void FinishTask()
Definition Task.h:41