25 return StatusCode::SUCCESS;
36 unsigned int evt = ctx.evt();
39 for (
size_t i = 0; i < cvec->size(); i++) {
40 if (((evt ^
m_mask) & (1 << (i%4))) == 0) {
45 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
Handle for requesting thinning for a data object.
virtual StatusCode execute(const EventContext &ctx) const override
Algorithm event processing.
SG::ThinningHandleKey< DMTest::CVec > m_cvecKey
virtual StatusCode initialize() override
Algorithm initialization; called at the beginning of the job.
UnsignedIntegerProperty m_mask
void thin(size_t ndx)
Mark that index ndx in the container should be thinned away.
void keepAll()
Mark that all elements should be kept (not thinned).
Handle for requesting thinning for a data object.