ATLAS Offline Software
Namespaces | Functions
Control/xAODRootAccess/xAODRootAccess/tools/Utils.h File Reference
#include <string>
#include <typeinfo>
#include <stdint.h>
#include <TDataType.h>
#include <TTree.h>
#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
 

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...
 
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)
 Search for branches, returns search term on no result. More...