Project
Loading...
Searching...
No Matches
o2::framework::GenericRootTreeReader< KeyType >::BranchConfigurationElement< DataT, BASE > Class Template Reference

#include <RootTreeReader.h>

Inherits BASE.

Public Types

using PrevT = BASE
 
using value_type = DataT
 
using publish_type = void
 

Public Member Functions

 BranchConfigurationElement ()=default
 
 BranchConfigurationElement (ConstructorArgs const &args)
 
 ~BranchConfigurationElement () override=default
 
void exec (ProcessingContext &ctx, int entry, std::function< o2::header::Stack()> stackcreator) override
 
void setup (TTree &tree, SpecialPublishHook *publishhook=nullptr) override
 
void setupInstance (TTree &tree, SpecialPublishHook *publishhook=nullptr)
 
void process (ProcessingContext &context, int entry, std::function< o2::header::Stack()> &stackcreator)
 Run the reader, first recursively for all lower stages, and then the current stage.
 

Static Public Attributes

static const size_t STAGE = BASE::STAGE + 1
 

Detailed Description

template<typename KeyType>
template<typename DataT, typename BASE>
class o2::framework::GenericRootTreeReader< KeyType >::BranchConfigurationElement< DataT, BASE >

one element in the branch configuration structure it contains the previous element as base class and is bound to a data type.

a type information and the runtime configuration for the specific branch.

The purpose of this interface is to provide the foundation of the mixin class and the virtual interface for setup and exec to enter in the upper most stage of the mixin.

Definition at line 221 of file RootTreeReader.h.

Member Typedef Documentation

◆ PrevT

template<typename KeyType >
template<typename DataT , typename BASE >
using o2::framework::GenericRootTreeReader< KeyType >::BranchConfigurationElement< DataT, BASE >::PrevT = BASE

Definition at line 224 of file RootTreeReader.h.

◆ publish_type

template<typename KeyType >
template<typename DataT , typename BASE >
using o2::framework::GenericRootTreeReader< KeyType >::BranchConfigurationElement< DataT, BASE >::publish_type = void

Definition at line 226 of file RootTreeReader.h.

◆ value_type

template<typename KeyType >
template<typename DataT , typename BASE >
using o2::framework::GenericRootTreeReader< KeyType >::BranchConfigurationElement< DataT, BASE >::value_type = DataT

Definition at line 225 of file RootTreeReader.h.

Constructor & Destructor Documentation

◆ BranchConfigurationElement() [1/2]

template<typename KeyType >
template<typename DataT , typename BASE >
o2::framework::GenericRootTreeReader< KeyType >::BranchConfigurationElement< DataT, BASE >::BranchConfigurationElement ( )
default

◆ BranchConfigurationElement() [2/2]

template<typename KeyType >
template<typename DataT , typename BASE >
o2::framework::GenericRootTreeReader< KeyType >::BranchConfigurationElement< DataT, BASE >::BranchConfigurationElement ( ConstructorArgs const &  args)
inline

Definition at line 229 of file RootTreeReader.h.

◆ ~BranchConfigurationElement()

template<typename KeyType >
template<typename DataT , typename BASE >
o2::framework::GenericRootTreeReader< KeyType >::BranchConfigurationElement< DataT, BASE >::~BranchConfigurationElement ( )
overridedefault

Member Function Documentation

◆ exec()

template<typename KeyType >
template<typename DataT , typename BASE >
void o2::framework::GenericRootTreeReader< KeyType >::BranchConfigurationElement< DataT, BASE >::exec ( ProcessingContext ctx,
int  entry,
std::function< o2::header::Stack()>  stackcreator 
)
inlineoverride

Run the reader process This is the virtal overload entry point to the upper most stage of the branch configuration

Definition at line 237 of file RootTreeReader.h.

◆ process()

template<typename KeyType >
template<typename DataT , typename BASE >
void o2::framework::GenericRootTreeReader< KeyType >::BranchConfigurationElement< DataT, BASE >::process ( ProcessingContext context,
int  entry,
std::function< o2::header::Stack()> &  stackcreator 
)
inline

Run the reader, first recursively for all lower stages, and then the current stage.

Definition at line 296 of file RootTreeReader.h.

◆ setup()

template<typename KeyType >
template<typename DataT , typename BASE >
void o2::framework::GenericRootTreeReader< KeyType >::BranchConfigurationElement< DataT, BASE >::setup ( TTree &  tree,
SpecialPublishHook publishhook = nullptr 
)
inlineoverride

Setup branch configuration This is the virtal overload entry point to the upper most stage of the branch configuration

Definition at line 244 of file RootTreeReader.h.

◆ setupInstance()

template<typename KeyType >
template<typename DataT , typename BASE >
void o2::framework::GenericRootTreeReader< KeyType >::BranchConfigurationElement< DataT, BASE >::setupInstance ( TTree &  tree,
SpecialPublishHook publishhook = nullptr 
)
inline

Run the setup, first recursively for all lower stages, and then the current stage This fetches the branch corresponding to the configured name

Definition at line 251 of file RootTreeReader.h.

Member Data Documentation

◆ STAGE

template<typename KeyType >
template<typename DataT , typename BASE >
const size_t o2::framework::GenericRootTreeReader< KeyType >::BranchConfigurationElement< DataT, BASE >::STAGE = BASE::STAGE + 1
static

Definition at line 227 of file RootTreeReader.h.


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