|
ATLAS Offline Software
|
Go to the documentation of this file.
13 #ifndef STOREGATE_THINNINGHANDLEBASE_H
14 #define STOREGATE_THINNINGHANDLEBASE_H
44 const std::string&
sgkey,
45 const EventContext& ctx);
59 void thin (
size_t ndx);
67 void keep (
size_t ndx);
148 #endif // not STOREGATE_THINNINGHANDLEBASE_H
void thinAll()
Mark that all elements should be thinned away.
void keepAll()
Mark that all elements should be kept (not thinned).
Hold thinning decisions for one container.
Handle class for recording to StoreGate.
void keep(size_t ndx)
Mark that index ndx in the container should be kept (not thinned away).
Property holding a SG store/key/clid from which a WriteHandle is made.
Hold thinning decisions for one container.
ThinningHandleBase(const WriteHandleKey< ThinningDecision > &dkey, const std::string &sgkey, const EventContext &ctx)
Constructor.
Hold thinning decisions for one container.
const ThinningDecision & decision() const
Return the thinning object we're building.
Handle for requesting thinning: factor out type-independent code.
std::unique_ptr< ThinningDecision > m_decision
The thinning object we're building.
void thin(size_t ndx)
Mark that index ndx in the container should be thinned away.
~ThinningHandleBase()
Destructor.
HandleKey object for adding thinning to an object.
WriteHandle< ThinningDecision > m_decisionHandle
Handle for writing the decision object.