ATLAS Offline Software
Namespaces | Typedefs | Functions
Control/xAODRootAccess/xAODRootAccess/tools/Utils.h File Reference
#include <string>
#include <typeinfo>
#include <stdexcept>
#include <stdint.h>
#include <TDataType.h>
#include <TTree.h>
#include <ROOT/RNTupleReader.hxx>
#include "CxxUtils/sgkey_t.h"
Include dependency graph for Control/xAODRootAccess/xAODRootAccess/tools/Utils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 xAOD
 ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
 
 xAOD::Utils
 

Typedefs

using xAOD::Utils::RNTupleReader = ROOT::Experimental::RNTupleReader
 

Functions

SG::sgkey_t xAOD::Utils::hash (const std::string &name)
 This function provides a hashed version of the key (branch) names used in the xAOD file, similar to how Athena saves hashed numbers in persistent ElementLinks. More...
 
std::string xAOD::Utils::dynBranchPrefix (const std::string &key)
 This function is used to figure out what to name dynamic auxiliary branches coming from a container called key. More...
 
std::string xAOD::Utils::dynFieldPrefix (const std::string &key)
 This function is used to figure out what to name dynamic auxiliary field coming from a container called key. More...
 
const std::type_info & xAOD::Utils::getTypeInfo (EDataType type)
 This function is used when reading a primitive branch from an input file without the user explicitly asking for it. More...
 
char xAOD::Utils::rootType (char typeidType)
 This function is used internally in the code when creating primitive dynamic auxiliary branches. More...
 
std::string xAOD::Utils::getTypeName (const std::type_info &ti)
 This function is necessary in order to create type names that ROOT can understand. More...
 
std::string xAOD::Utils::getFirstBranchMatch (TTree *tree, const std::string &pre)
 This function is used to search for a branch in a TTree that contains a given substring. More...
 
std::string xAOD::Utils::getFirstFieldMatch (RNTupleReader &ntupleReader, const std::string &pre)
 This function is used to search for a field in an RNTupleReader that contains a given substring. More...
 
::Bool_t xAOD::Utils::fieldExists (std::string fieldName, RNTupleReader &ntupleReader)
 This function is used to check if a field exists in an RNTupleReader. More...