BmnRoot
26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Toggle main menu visibility
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
*/
12
class
BmnTask
:
public
FairTask
13
{
14
public
:
15
/** Default constructor **/
16
BmnTask
();
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_t
int Int_t
ClassDef
#define ClassDef(name, id)
TTree.h
BmnTask
BmnTask.
Definition
BmnTask.h:13
BmnTask::OnlineWrite
virtual void OnlineWrite(const std::unique_ptr< TTree > &resultTree)
Write task resul to tree.
Definition
BmnTask.h:35
BmnTask::BmnTask
BmnTask()
Default constructor.
BmnTask::BmnTask
BmnTask(const BmnTask &)=delete
BmnTask::BmnTask
BmnTask(const char *name, Int_t iVerbose=1)
Standard constructor.
BmnTask::operator=
BmnTask & operator=(const BmnTask &)=delete
BmnTask::~BmnTask
virtual ~BmnTask()
Destroy the BmnTask object.
FairTask
install
include
BmnTask.h
Generated on
for BmnRoot by
1.17.0