ATLAS Offline Software
DebugView.h
Go to the documentation of this file.
1 
3 /*
4  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 #ifndef ATHVIEWS_DEBUGVIEW_H
8 #define ATHVIEWS_DEBUGVIEW_H 1
9 
10 #include "AthViews/SimpleView.h"
12 #include "tbb/concurrent_unordered_set.h"
13 
14 namespace SG {
15  class DataProxy;
16  class View;
17 }
18 class DataObject;
19 
29 {
30  public:
31 
32  DebugView() = delete;
33  DebugView( std::string const& Name, bool AllowFallThrough = true, std::string const& storeName = "StoreGateSvc" );
34  virtual ~DebugView();
35 
36 
40  virtual void linkParent( const IProxyDict* parent );
41 
42 
46  virtual SG::DataProxy* proxy(const CLID& id, const std::string& key) const;
47 
48  virtual SG::DataProxy* findProxy( const CLID& id, const std::string& key, const bool allowFallThrough ) const;
49 
50  virtual SG::DataProxy* proxy(const void* const pTransient) const;
51 
52 
57  const std::string& key,
58  bool allowMods,
59  bool returnExisting);
60 
61 
62  protected:
63 
64  // List of data loaded via fallthrough
65  mutable tbb::concurrent_unordered_set< std::string > m_fallList ATLAS_THREAD_SAFE;
66 };
67 
68 #endif // ATHVIEW_DEBUGVIEW_H
SimpleView.h
DebugView::ATLAS_THREAD_SAFE
tbb::concurrent_unordered_set< std::string > m_fallList ATLAS_THREAD_SAFE
Definition: DebugView.h:65
SG
Forward declaration.
Definition: CaloCellPacker_400_500.h:32
DebugView::proxy
virtual SG::DataProxy * proxy(const CLID &id, const std::string &key) const
Definition: DebugView.cxx:45
IProxyDict
A proxy dictionary.
Definition: AthenaKernel/AthenaKernel/IProxyDict.h:47
SimpleView
Very simple pass-through implementation of IProxyDict.
Definition: SimpleView.h:35
DebugView::DebugView
DebugView()=delete
DataProxy
DataProxy provides the registry services for StoreGate.
Definition: DataProxy.h:32
test_pyathena.parent
parent
Definition: test_pyathena.py:15
AthMessaging
Class to provide easy MsgStream access and capabilities.
Definition: AthMessaging.h:55
DebugView
Very simple pass-through implementation of IProxyDict.
Definition: DebugView.h:29
CLID
uint32_t CLID
The Class ID type.
Definition: Event/xAOD/xAODCore/xAODCore/ClassID_traits.h:47
DebugView::~DebugView
virtual ~DebugView()
Definition: DebugView.cxx:15
Name
JetDumper::Name Name
Definition: JetDumper.cxx:19
DebugView::linkParent
virtual void linkParent(const IProxyDict *parent)
Definition: DebugView.cxx:24
AthMessaging.h
SG::DataObjectSharedPtr
Smart pointer to manage DataObject reference counts.
Definition: DataObjectSharedPtr.h:45
python.PyAthena.obj
obj
Definition: PyAthena.py:132
SG::DataProxy
Definition: DataProxy.h:45
DebugView::findProxy
virtual SG::DataProxy * findProxy(const CLID &id, const std::string &key, const bool allowFallThrough) const
Definition: DebugView.cxx:50
DebugView::recordObject
virtual SG::DataProxy * recordObject(SG::DataObjectSharedPtr< DataObject > obj, const std::string &key, bool allowMods, bool returnExisting)
Definition: DebugView.cxx:133
mapkey::key
key
Definition: TElectronEfficiencyCorrectionTool.cxx:37