ATLAS Offline Software
Namespaces | Functions
Control/xAODRootAccess/Root/Utils.cxx File Reference
#include <functional>
#include <regex>
#include <TError.h>
#include "AthContainers/tools/error.h"
#include "xAODRootAccess/tools/Message.h"
#include "xAODRootAccess/tools/Utils.h"
Include dependency graph for Control/xAODRootAccess/Root/Utils.cxx:

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
 

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...