ATLAS Offline Software
Loading...
Searching...
No Matches
ThinningDecision.h
Go to the documentation of this file.
1// This file's extension implies that it's C, but it's really -*- C++ -*-.
2/*
3 * Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration.
4 */
11
12
13#ifndef ATHCONTAINERS_THINNINGDECISION_H
14#define ATHCONTAINERS_THINNINGDECISION_H
15#ifndef XAOD_STANDALONE
16
17
19#include "AthLinks/DataLink.h"
22#include "SGCore/ILockable.h"
23#include <vector>
24#include <string>
25
26
27namespace SG {
28
29
39 : public ThinningDecisionBase, public ILockable
40{
41public:
49
50
57 ThinningDecision (const std::string& key);
58
59
63 const DataLink<SG::AuxVectorBase>& link() const;
64
65
71 virtual void lock() override;
72
73
74private:
77};
78
79
80} // namespace SG
81
82
83CLASS_DEF( SG::ThinningDecision, 74079355, 1 )
84
85
86#endif // XAOD_STANDALONE
87#endif // not ATHCONTAINERS_THINNINGDECISION_H
Manage index tracking and synchronization of auxiliary data.
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Hold thinning decisions for one container.
Interface to allow an object to lock itself when made const in SG.
Definition ILockable.h:32
ThinningDecisionBase(size_t sz=0)
Constructor.
Hold thinning decisions for one container.
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.