ATLAS Offline Software
Loading...
Searching...
No Matches
xAODTestThinCVec.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-2019 CERN for the benefit of the ATLAS collaboration
4 */
11
12
13#ifndef DATAMODELTESTDATACOMMON_XAODTESTTHINCVEC_H
14#define DATAMODELTESTDATACOMMON_XAODTESTTHINCVEC_H
15
16
20
21
22namespace DMTest {
23
24
30{
31public:
32 using AthReentrantAlgorithm::AthReentrantAlgorithm;
33
34
38 virtual StatusCode initialize() override;
39
40
44 virtual StatusCode execute (const EventContext& ctx) const override;
45
46
47private:
49 { this, "CVecKey", "cvec", "Object being thinned" };
50
51 StringProperty m_stream
52 { this, "Stream", "STREAM", "Stream for which to apply thinning" };
53
54 UnsignedIntegerProperty m_mask
55 { this, "Mask", 0, "Mask to apply to event number when thinning" };
56};
57
58
59} // namespace DMTest
60
61
62#endif // not DATAMODELTESTDATACOMMON_XAODTESTTHINCVEC_H
Class used for testing xAOD data reading/writing.
HandleKey object for adding thinning to an object.
An algorithm that can be simultaneously executed in multiple threads.
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
HandleKey object for adding thinning to an object.
Definition B.h:23