ATTPCROOT
0.3.0-alpha
A ROOT-based framework for analyzing data from active target detectors
|
#include <AtMacroTask.h>
Public Member Functions | |
AtMacroTask ()=default | |
~AtMacroTask ()=default | |
void | Exec (Option_t *option) |
void | AddFunction (std::function< void()> function) |
ClassDef (AtMacroTask, 1) | |
A class to run a supplied function or list of functions, in the order provided, when the task is executed. This class is useful if there are user written functions stored in a header file that may be used in multiple macros. This class is also useful if wanting to use the data handling AtTabInfo classes from the viewer in general analysis.
Definition at line 16 of file AtMacroTask.h.
|
default |
|
default |
|
inline |
Adds a user defined function to the function list. Functions are executed in the order they were added when the task is executed.
Definition at line 30 of file AtMacroTask.h.
AtMacroTask::ClassDef | ( | AtMacroTask | , |
1 | |||
) |
void AtMacroTask::Exec | ( | Option_t * | option | ) |
Definition at line 5 of file AtMacroTask.cxx.