BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
BmnTask.h
Go to the documentation of this file.
1#ifndef BMN_ONLINE_TASK_H
2#define BMN_ONLINE_TASK_H
3
4#include <FairField.h>
5#include <FairTask.h>
6#include <TTree.h>
7
8/**
9 * @brief BmnTask
10 *
11 */
12class BmnTask : public FairTask
13{
14 public:
15 /** Default constructor **/
17
18 /** Standard constructor
19 *@param name Name of task
20 *@param iVerbose Verbosity level
21 **/
22 BmnTask(const char* name, Int_t iVerbose = 1);
23
24 /**
25 * @brief Destroy the BmnTask object
26 *
27 */
28 virtual ~BmnTask();
29
30 /**
31 * @brief Write task resul to tree
32 *
33 * @param resultTree
34 */
35 virtual void OnlineWrite(const std::unique_ptr<TTree>& resultTree) {}
36
37 BmnTask(const BmnTask&) = delete;
38 BmnTask& operator=(const BmnTask&) = delete;
39
40 ClassDef(BmnTask, 1);
41};
42
43#endif // BMN_ONLINE_TASK_H
int Int_t
#define ClassDef(name, id)
BmnTask.
Definition BmnTask.h:13
virtual void OnlineWrite(const std::unique_ptr< TTree > &resultTree)
Write task resul to tree.
Definition BmnTask.h:35
BmnTask()
Default constructor.
BmnTask(const BmnTask &)=delete
BmnTask(const char *name, Int_t iVerbose=1)
Standard constructor.
BmnTask & operator=(const BmnTask &)=delete
virtual ~BmnTask()
Destroy the BmnTask object.