|
ATLAS Offline Software
|
Go to the documentation of this file.
8 #ifndef XAODROOTACCESS_TOOLS_UTILS_H
9 #define XAODROOTACCESS_TOOLS_UTILS_H
20 #include <TDataType.h>
26 #include <ROOT/RNTupleReader.hxx>
53 std::string
getTypeName(
const std::type_info& ti );
61 const std::string& pre );
72 #endif // XAODROOTACCESS_TOOLS_UTILS_H
std::string dynFieldPrefix(const std::string &key)
This function is used to figure out what to name dynamic auxiliary field coming from a container call...
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
std::string dynBranchPrefix(const std::string &key)
This function is used to figure out what to name dynamic auxiliary branches coming from a container c...
std::string getFirstFieldMatch(RNTupleReader &ntupleReader, const std::string &pre)
This function is used to search for a field in an RNTupleReader that contains a given substring.
std::string getTypeName(const std::type_info &ti)
This function is necessary in order to create type names that ROOT can understand.
::Bool_t fieldExists(std::string fieldName, RNTupleReader &ntupleReader)
This function is used to check if a field exists in an RNTupleReader.
uint32_t sgkey_t
Type used for hashed StoreGate key+CLID pairs.
const std::type_info & getTypeInfo(EDataType type)
This function is used when reading a primitive branch from an input file without the user explicitly ...
Define the type used for hashed StoreGate key+CLID pairs.
std::string getFirstBranchMatch(TTree *tree, const std::string &pre)
This function is used to search for a branch in a TTree that contains a given substring.
SG::sgkey_t hash(const std::string &name)
This function provides a hashed version of the key (branch) names used in the xAOD file,...
char rootType(char typeidType)
This function is used internally in the code when creating primitive dynamic auxiliary branches.
ROOT::Experimental::RNTupleReader RNTupleReader