PODIO v00-16-03
An Event-Data-Model Toolkit for High Energy Physics Experiments
Loading...
Searching...
No Matches
rootUtils.h File Reference
#include "podio/CollectionBase.h"
#include "podio/CollectionBranches.h"
#include "podio/CollectionBuffers.h"
#include "podio/CollectionIDTable.h"
#include "TBranch.h"
#include "TChain.h"
#include "TClass.h"
#include "TTree.h"
#include <iostream>
#include <string>
#include <string_view>
#include <tuple>
#include <vector>

Go to the source code of this file.

Namespaces

namespace  podio
 
namespace  podio::root_utils
 

Macros

#define PODIO_ROOT_UTILS_H
 

Typedefs

using podio::root_utils::CollectionInfoT = std::tuple< int, std::string, bool >
 

Functions

std::string podio::root_utils::idTableName (const std::string &category)
 
std::string podio::root_utils::collInfoName (const std::string &category)
 
template<class Tree >
TBranch * podio::root_utils::getBranch (Tree *chain, const char *name)
 
template<typename Tree >
TBranch * podio::root_utils::getBranch (Tree *chain, const std::string &name)
 
std::string podio::root_utils::refBranch (const std::string &name, size_t index)
 
std::string podio::root_utils::vecBranch (const std::string &name, size_t index)
 
template<typename BufferT >
void podio::root_utils::setCollectionAddresses (const BufferT &collBuffers, const CollectionBranches &branches)
 
void podio::root_utils::readBranchesData (const CollectionBranches &branches, Long64_t entry)
 
auto podio::root_utils::reconstructCollectionInfo (TTree *eventTree, podio::CollectionIDTable const &idTable)
 

Macro Definition Documentation

◆ PODIO_ROOT_UTILS_H

#define PODIO_ROOT_UTILS_H

Definition at line 2 of file rootUtils.h.