ATLAS Offline Software
Loading...
Searching...
No Matches
ThinningDecision.cxx
Go to the documentation of this file.
1/*
2 * Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration.
3 */
10
11
13
14
15namespace SG {
16
17
25 : m_link (link)
26{
27 if (!m_link.isValid()) {
28 throw SG::ExcInvalidThinningTarget (link.classID(), link.dataID());
29 }
30 resize (m_link->size_v());
31}
32
33
40ThinningDecision::ThinningDecision (const std::string& key)
42{
43}
44
45
53
54
64
65
66} // namespace SG
Hold thinning decisions for one container.
Manage index tracking and synchronization of auxiliary data.
void buildIndexMap()
Build the index map.
void resize(const size_t size)
Change the number of elements.
ThinningDecision(const DataLink< SG::AuxVectorBase > &link)
Constructor.
const DataLink< SG::AuxVectorBase > & link() const
Return link to object being thinned.
DataLink< SG::AuxVectorBase > m_link
Link to the object being thinned.
virtual void lock() override
Called when the object is locked in SG.
Forward declaration.