ATLAS Offline Software
HanUtils.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #include "TCollection.h"
6 #include "TNamed.h"
7 
8 #include <mutex>
9 
10 class TSeqCollection;
11 class TKey;
12 class TDirectory;
13 
14 namespace dqi {
15  TSeqCollection* newTList( const char *name, TObject *obj = 0 );
16  TSeqCollection* newTObjArray( const char *name, TObject *obj = 0, Int_t size = TCollection::kInitCapacity);
17  TKey* getObjKey( TDirectory* dir, const std::string& path );
18  void dolsr(const TDirectory* dir, std::vector<std::string>& hists, const TDirectory* topdir = nullptr);
19 
20  class HanHistogramLink : public TNamed {
21  public:
22  HanHistogramLink(TDirectory* dir, const std::string& path);
23  TObject* getObject();
24  private:
25  TDirectory* m_dir;
26  std::string m_path;
27  };
28 
29 
31  public:
34  private:
35  std::unique_lock<std::mutex> m_lock;
37  };
38 }
dqi::dolsr
void dolsr(const TDirectory *dir, std::vector< std::string > &hists, const TDirectory *topdir=nullptr)
Definition: HanUtils.cxx:80
athena.path
path
python interpreter configuration --------------------------------------—
Definition: athena.py:128
dqi::DisableMustClean::m_lock
std::unique_lock< std::mutex > m_lock
Definition: HanUtils.h:35
dqi::DisableMustClean
Definition: HanUtils.h:30
python.setupRTTAlg.size
int size
Definition: setupRTTAlg.py:39
dqi::DisableMustClean::m_useRecursiveDelete
bool m_useRecursiveDelete
Definition: HanUtils.h:36
MakeTH3DFromTH2Ds.hists
hists
Definition: MakeTH3DFromTH2Ds.py:72
dqi::DisableMustClean::DisableMustClean
DisableMustClean()
Definition: HanUtils.cxx:67
beamspotman.dir
string dir
Definition: beamspotman.py:623
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
dqi::newTList
TSeqCollection * newTList(const char *name, TObject *obj=0)
Definition: HanUtils.cxx:18
dqi::newTObjArray
TSeqCollection * newTObjArray(const char *name, TObject *obj=0, Int_t size=TCollection::kInitCapacity)
Definition: HanUtils.cxx:27
python.PyAthena.obj
obj
Definition: PyAthena.py:132
dqi
Definition: CompositeAlgorithm.h:16
dqi::getObjKey
TKey * getObjKey(TDirectory *dir, const std::string &path)
Definition: HanUtils.cxx:36
dqi::DisableMustClean::~DisableMustClean
~DisableMustClean()
Definition: HanUtils.cxx:74