5#ifndef ANALYSISUTILS_AANTTREEMAP_H
6#define ANALYSISUTILS_AANTTREEMAP_H
20 std::scoped_lock lock (
s_mutex);
21 s_treeMap[stream] =
tree;
23 static TTree *
getTree (
const std::string &stream)
25 std::scoped_lock lock (
s_mutex);
26 return s_treeMap[stream];
Define macros for attributes used to control the static checker.
static std::mutex s_mutex
tree map
static void setTree(const std::string &stream, TTree *tree)
static TTree * getTree(const std::string &stream)
static std::map< std::string, TTree * > s_treeMap ATLAS_THREAD_SAFE