Project
Loading...
Searching...
No Matches
o2::framework::Produces< T > Struct Template Reference

#include <AnalysisHelpers.h>

Inherits o2::framework::WritingCursor< T >.

Additional Inherited Members

- Public Types inherited from o2::framework::WritingCursor< T >
using persistent_table_t = decltype([]() { if constexpr(soa::is_iterator< T >) { return typename T::parent_t{nullptr}
 
using cursor_t = decltype(std::declval< TableBuilder >().cursor< persistent_table_t >())
 
- Public Member Functions inherited from o2::framework::WritingCursor< T >
template<typename... Ts>
requires (sizeof...(Ts) == framework::pack_size(typename persistent_table_t::persistent_columns_t{}))
void operator() (Ts &&... args)
 
int64_t lastIndex ()
 Last index inserted in the table.
 
bool resetCursor (LifetimeHolder< TableBuilder > builder)
 
void setLabel (const char *label)
 
void reserve (int64_t size)
 
void release ()
 
- Static Public Member Functions inherited from o2::framework::WritingCursor< T >
static OutputSpec updateOutputSpec (header::DataOrigin const &newOrigin=header::DataOrigin{"AOD"})
 
- Public Attributes inherited from o2::framework::WritingCursor< T >
 else { return T{nullptr}
 
OutputSpec outputSpec {soa::tableRef2OutputSpec<persistent_table_t::ref>()}
 
decltype(FFL(std::declval< cursor_t >())) cursor
 

Detailed Description

template<is_producable T>
struct o2::framework::Produces< T >

For the table-producing category of templates

  • In a multi-origin case the origin is provided by the type
  • In a rewritten origin case, we need to modify the output designation This helper class allows you to declare things which will be created by a given analysis task. Notice how the actual cursor is implemented by the means of the WritingCursor helper class, from which produces actually derives.

Definition at line 634 of file AnalysisHelpers.h.


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