Project
Loading...
Searching...
No Matches
test_RootTreeWriter.cxx File Reference
#include <catch_amalgamated.hpp>
#include "Framework/RootSerializationSupport.h"
#include <iomanip>
#include "Headers/DataHeader.h"
#include <fairmq/Message.h>
#include <fairmq/TransportFactory.h>
#include "Framework/DataProcessingHeader.h"
#include "Framework/InputRecord.h"
#include "Framework/InputSpan.h"
#include "Framework/DataRef.h"
#include "Framework/DataRefUtils.h"
#include "DPLUtils/RootTreeWriter.h"
#include "DPLUtils/MakeRootTreeWriterSpec.h"
#include "../../Core/test/TestClasses.h"
#include <vector>
#include <memory>
#include <iostream>
#include <type_traits>
#include <TClass.h>
#include <TFile.h>
#include <TTree.h>
#include <TBranch.h>
#include <TSystem.h>

Go to the source code of this file.

Classes

struct  o2::test::TrivialStruct
 test struct without ROOT dictionary, used to provoke raising of runtime_error More...
 
struct  o2::test::BranchContent< T >
 

Namespaces

namespace  o2
 a couple of static helper functions to create timestamp values for CCDB queries or override obsolete objects
 
namespace  o2::test
 

Macros

#define CHECK_MESSAGE(cond, msg)
 
#define REQUIRE_MESSAGE(cond, msg)
 

Typedefs

using DataHeader = o2::header::DataHeader
 
template<typename T >
using o2::test::BranchDefinition = MakeRootTreeWriterSpec::BranchDefinition< T >
 
template<typename T >
using o2::test::Trait = RootTreeWriter::StructureElementTypeTrait< T >
 
template<typename T >
using o2::test::BinaryBranchStoreType = RootTreeWriter::BinaryBranchStoreType< T >
 

Functions

template<typename T >
bool o2::test::checkBranch (TTree &tree, BranchContent< T > &&content)
 
template<typename T , typename... Args>
bool o2::test::checkBranch (TTree &tree, BranchContent< T > &&content, Args &&... args)
 
template<typename... Args>
bool o2::test::checkTree (const char *filename, const char *treename, Args &&... args)
 
 o2::test::TEST_CASE ("test_RootTreeWriter")
 
 o2::test::TEST_CASE ("test_MakeRootTreeWriterSpec")
 
 o2::test::TEST_CASE ("test_ThrowOnMissingDictionary")
 
 o2::test::TEST_CASE ("test_RootTreeWriterSpec_store_types")
 
 o2::test::TEST_CASE ("TestCanAssign")
 

Macro Definition Documentation

◆ CHECK_MESSAGE

#define CHECK_MESSAGE (   cond,
  msg 
)
Value:
do { \
INFO(msg); \
CHECK(cond); \
} while ((void)0, 0)
uint64_t const void const *restrict const msg
Definition x9.h:153

Definition at line 36 of file test_RootTreeWriter.cxx.

◆ REQUIRE_MESSAGE

#define REQUIRE_MESSAGE (   cond,
  msg 
)
Value:
do { \
INFO(msg); \
REQUIRE(cond); \
} while ((void)0, 0)

Definition at line 41 of file test_RootTreeWriter.cxx.

Typedef Documentation

◆ DataHeader

Definition at line 48 of file test_RootTreeWriter.cxx.