ATLAS Offline Software
T2pMap.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #include "SGTools/T2pMap.h"
6 using namespace SG;
7 std::vector<const DataProxy*> T2pMap::pacReport() const {
8  std::vector<const DataProxy*> notAccessed;
9  if (m_pac) {
10  std::lock_guard<std::mutex> lock (m_mutex);
11  t2p::const_iterator i(m_t2p.begin()), e(m_t2p.end());
12  while (i != e) {
13  if (!m_pac->accessed(i->first)) notAccessed.push_back(i->second);
14  ++i;
15  }
16  }
17  return notAccessed;
18 }
AllowedVariables::e
e
Definition: AsgElectronSelectorTool.cxx:37
SG
Forward declaration.
Definition: CaloCellPacker_400_500.h:32
IPageAccessControlSvc::accessed
virtual bool accessed(const void *address) const =0
has this pointer been accessed (read/written)
python.RatesEmulationExample.lock
lock
Definition: RatesEmulationExample.py:148
SG::T2pMap::m_t2p
t2p m_t2p
Definition: T2pMap.h:72
lumiFormat.i
int i
Definition: lumiFormat.py:85
SG::T2pMap::m_mutex
std::mutex m_mutex
Definition: T2pMap.h:73
SG::T2pMap::m_pac
IPageAccessControlSvc * m_pac
Definition: T2pMap.h:71
SG::T2pMap::pacReport
std::vector< const DataProxy * > pacReport() const
request an access control report, i.e. a list of proxies that have not been accessed since under cont...
Definition: T2pMap.cxx:7
T2pMap.h