ATLAS Offline Software
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  */
13 #ifndef DATAMODELTESTDATACOMMON_XAODTESTTHINCVEC_H
14 #define DATAMODELTESTDATACOMMON_XAODTESTTHINCVEC_H
15 
16 
20 
21 
22 namespace DMTest {
23 
24 
29  : public AthReentrantAlgorithm
30 {
31 public:
33 
34 
38  virtual StatusCode initialize() override;
39 
40 
44  virtual StatusCode execute (const EventContext& ctx) const override;
45 
46 
47 private:
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
DMTest::xAODTestThinCVec::execute
virtual StatusCode execute(const EventContext &ctx) const override
Algorithm event processing.
Definition: xAODTestThinCVec.cxx:32
DMTest::xAODTestThinCVec::m_cvecKey
SG::ThinningHandleKey< DMTest::CVec > m_cvecKey
Definition: xAODTestThinCVec.h:49
SG::ThinningHandleKey
HandleKey object for adding thinning to an object.
Definition: ThinningHandleKey.h:38
DMTest::xAODTestThinCVec::initialize
virtual StatusCode initialize() override
Algorithm initialization; called at the beginning of the job.
Definition: xAODTestThinCVec.cxx:22
DMTest::xAODTestThinCVec::m_stream
StringProperty m_stream
Definition: xAODTestThinCVec.h:52
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
CVec.h
Class used for testing xAOD data reading/writing.
AthReentrantAlgorithm::AthReentrantAlgorithm
AthReentrantAlgorithm()
Default constructor:
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthReentrantAlgorithm.h
DMTest::xAODTestThinCVec
Thin CVec objects.
Definition: xAODTestThinCVec.h:30
ThinningHandleKey.h
HandleKey object for adding thinning to an object.
DMTest::xAODTestThinCVec::m_mask
UnsignedIntegerProperty m_mask
Definition: xAODTestThinCVec.h:55
DMTest
Definition: B.h:23