![]() |
Project
|
#include <AnalysisHelpers.h>
Public Types | |
| using | obj_t = T |
Public Member Functions | |
| OutputObj (T &&t, OutputObjHandlingPolicy policy_=OutputObjHandlingPolicy::AnalysisObject, OutputObjSourceType sourceType_=OutputObjSourceType::OutputObjSource) | |
| OutputObj (std::string const &label_, OutputObjHandlingPolicy policy_=OutputObjHandlingPolicy::AnalysisObject, OutputObjSourceType sourceType_=OutputObjSourceType::OutputObjSource) | |
| void | setObject (T const &t) |
| void | setObject (T &&t) |
| void | setObject (T *t) |
| void | setObject (std::shared_ptr< T > t) |
| void | setHash (uint32_t hash) |
| OutputSpec const | spec () |
| T * | operator-> () |
| T & | operator* () |
| OutputRef | ref (uint16_t index, uint16_t max) |
Public Attributes | |
| std::shared_ptr< T > | object |
| std::string | label |
| OutputObjHandlingPolicy | policy |
| OutputObjSourceType | sourceType |
| uint32_t | mTaskHash |
| InputSpec | spec |
| bool | isdangling |
a task with rewritten origin, if running together with a task with the default, will have a different name and thus its output would be routed separately This helper class allows you to declare things which will be created by a given analysis task. Currently wrapped objects are limited to be TNamed descendants. Objects will be written to a ROOT file at the end of the workflow, in directories, corresponding to the task they were declared in. Each object has associated handling policy, which is used by the framework to determine the target file, e.g. analysis result, QA or control histogram, etc.
Definition at line 880 of file AnalysisHelpers.h.
| using o2::framework::OutputObj< T >::obj_t = T |
Definition at line 881 of file AnalysisHelpers.h.
|
inline |
Definition at line 883 of file AnalysisHelpers.h.
|
inline |
Definition at line 892 of file AnalysisHelpers.h.
|
inline |
Definition at line 949 of file AnalysisHelpers.h.
|
inline |
Definition at line 944 of file AnalysisHelpers.h.
|
inline |
Definition at line 954 of file AnalysisHelpers.h.
|
inline |
Definition at line 925 of file AnalysisHelpers.h.
|
inline |
Definition at line 919 of file AnalysisHelpers.h.
|
inline |
Definition at line 907 of file AnalysisHelpers.h.
|
inline |
Definition at line 913 of file AnalysisHelpers.h.
|
inline |
Definition at line 901 of file AnalysisHelpers.h.
|
inline |
Definition at line 931 of file AnalysisHelpers.h.
| bool o2::framework::OutputObj< T >::isdangling |
Definition at line 148 of file WorkflowHelpers.h.
| std::string o2::framework::OutputObj< T >::label |
Definition at line 961 of file AnalysisHelpers.h.
| uint32_t o2::framework::OutputObj< T >::mTaskHash |
Definition at line 964 of file AnalysisHelpers.h.
| std::shared_ptr<T> o2::framework::OutputObj< T >::object |
Definition at line 960 of file AnalysisHelpers.h.
| OutputObjHandlingPolicy o2::framework::OutputObj< T >::policy |
Definition at line 962 of file AnalysisHelpers.h.
| OutputObjSourceType o2::framework::OutputObj< T >::sourceType |
Definition at line 963 of file AnalysisHelpers.h.
| InputSpec o2::framework::OutputObj< T >::spec |
Definition at line 147 of file WorkflowHelpers.h.