Project
Loading...
Searching...
No Matches
o2::framework::MakeRootTreeWriterSpec::TerminationCondition Struct Reference

#include <MakeRootTreeWriterSpec.h>

Public Types

enum struct  Action { DoProcessing , SkipProcessing }
 
using CheckProcessing = std::function< std::tuple< TerminationCondition::Action, bool >(framework::DataRef const &)>
 
using CheckReady = std::function< bool(o2::framework::DataRef const &)>
 

Public Attributes

std::variant< std::monostate, CheckReady, CheckProcessingcheck
 the actual evaluator
 

Detailed Description

Definition at line 208 of file MakeRootTreeWriterSpec.h.

Member Typedef Documentation

◆ CheckProcessing

Callback to be checked before processing of an input object, return value determines whether to process or skip inputs, and whether to consider an input as 'ready'

Parameters
datarefthe DPL DataRef object
Returns
std::tuple of <TerminationCondition::Action, bool>

Definition at line 221 of file MakeRootTreeWriterSpec.h.

◆ CheckReady

Callback to be checked after processing of an input object to check if process is ready

Parameters
datarefthe DPL DataRef object
Returns
true if ready

Definition at line 225 of file MakeRootTreeWriterSpec.h.

Member Enumeration Documentation

◆ Action

Enumerator
DoProcessing 

carry out processing of the input object

SkipProcessing 

skip processing of the input object

Definition at line 211 of file MakeRootTreeWriterSpec.h.

Member Data Documentation

◆ check

std::variant<std::monostate, CheckReady, CheckProcessing> o2::framework::MakeRootTreeWriterSpec::TerminationCondition::check

the actual evaluator

Definition at line 228 of file MakeRootTreeWriterSpec.h.


The documentation for this struct was generated from the following file: