ATLAS Offline Software
xAODTestThinJVec.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-2024 CERN for the benefit of the ATLAS collaboration.
4  */
13 #ifndef DATAMODELTESTDATACOMMON_XAODTESTTHINJVEC_H
14 #define DATAMODELTESTDATACOMMON_XAODTESTTHINJVEC_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, "JVecContainerKey", "jvecContainer", "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 
63 #endif // not DATAMODELTESTDATACOMMON_XAODTESTTHINJVEC_H
DMTest::xAODTestThinJVec::initialize
virtual StatusCode initialize() override
Algorithm initialization; called at the beginning of the job.
Definition: xAODTestThinJVec.cxx:22
DMTest::xAODTestThinJVec::m_stream
StringProperty m_stream
Definition: xAODTestThinJVec.h:52
SG::ThinningHandleKey
HandleKey object for adding thinning to an object.
Definition: ThinningHandleKey.h:38
DMTest::xAODTestThinJVec::execute
virtual StatusCode execute(const EventContext &ctx) const override
Algorithm event processing.
Definition: xAODTestThinJVec.cxx:32
DMTest::xAODTestThinJVec::m_mask
UnsignedIntegerProperty m_mask
Definition: xAODTestThinJVec.h:55
JVecContainer.h
For testing jagged vectors.
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
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::xAODTestThinJVec
Thin JVecContainer objects.
Definition: xAODTestThinJVec.h:30
ThinningHandleKey.h
HandleKey object for adding thinning to an object.
DMTest::xAODTestThinJVec::m_jvecContainerKey
SG::ThinningHandleKey< DMTest::JVecContainer > m_jvecContainerKey
Definition: xAODTestThinJVec.h:49
DMTest
Definition: B.h:23