EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
dfe_io_root.hpp File Reference

Wrappers to simplify reading/writing ROOT TTree-based files. More...

#include <array>
#include <stdexcept>
#include <string>
#include <tuple>
#include <type_traits>
#include <TFile.h>
#include <TTree.h>
+ Include dependency graph for dfe_io_root.hpp:

Go to the source code of this file.

Classes

class  dfe::NamedTupleRootWriter< NamedTuple >
 Write records into a ROOT TTree. More...
 
class  dfe::NamedTupleRootReader< NamedTuple >
 Read records from a ROOT TTree. More...
 
struct  TypeCode< T, Enable >
 
struct  dfe::namedtuple_root_impl::TypeCodePlainImpl< Code >
 
struct  dfe::namedtuple_root_impl::TypeCode< bool >
 
struct  dfe::namedtuple_root_impl::TypeCode< float >
 
struct  dfe::namedtuple_root_impl::TypeCode< double >
 
struct  dfe::namedtuple_root_impl::TypeCodeIntImpl< T, Unsigned, Signed >
 
struct  dfe::namedtuple_root_impl::TypeCode< T, typename std::enable_if_t< is_integer_with_size_v< T, 1 > > >
 
struct  dfe::namedtuple_root_impl::TypeCode< T, typename std::enable_if_t< is_integer_with_size_v< T, 2 > > >
 
struct  dfe::namedtuple_root_impl::TypeCode< T, typename std::enable_if_t< is_integer_with_size_v< T, 4 > > >
 
struct  dfe::namedtuple_root_impl::TypeCode< T, typename std::enable_if_t< is_integer_with_size_v< T, 8 > > >
 

Namespaces

namespace  dfe
 
namespace  dfe::namedtuple_root_impl
 
namespace  dfe::io_root_impl
 

Functions

 dfe::io_root_impl::__attribute__ ((unused)) inline ULong64_t *get_address(uint64_t &x)
 bit shift for hit key
 
template<typename T >
Tdfe::io_root_impl::get_address (T &x)
 

Variables

template<typename T , std::size_t S>
constexpr bool dfe::namedtuple_root_impl::is_integer_with_size_v
 

Detailed Description

Wrappers to simplify reading/writing ROOT TTree-based files.

Author
Moritz Kiehn msmk@.nosp@m.cern.nosp@m..ch
Date
2019-04-00, Initial version

Definition in file dfe_io_root.hpp.