28 const std::string& sgkey,
29 const EventContext& ctx)
43 StatusCode
sc = StatusCode::FAILURE;
47 catch (
const GaudiException&) {
48 sc = StatusCode::FAILURE;
53 <<
"Can't record SG::ThinningDecision object: "
Exceptions that can be thrown from StoreGate.
Handle for requesting thinning: factor out type-independent code.
Hold thinning decisions for one container.
Hold thinning decisions for one container.
void thin(size_t ndx)
Mark that index ndx in the container should be thinned away.
ThinningHandleBase(const WriteHandleKey< ThinningDecision > &dkey, const std::string &sgkey, const EventContext &ctx)
Constructor.
void thinAll()
Mark that all elements should be thinned away.
const ThinningDecision & decision() const
Return the thinning object we're building.
void keepAll()
Mark that all elements should be kept (not thinned).
std::unique_ptr< ThinningDecision > m_decision
The thinning object we're building.
void keep(size_t ndx)
Mark that index ndx in the container should be kept (not thinned away).
WriteHandle< ThinningDecision > m_decisionHandle
Handle for writing the decision object.
~ThinningHandleBase()
Destructor.
Property holding a SG store/key/clid from which a WriteHandle is made.
singleton-like access to IMessageSvc via open function and helper
IMessageSvc * getMessageSvc(bool quiet=false)