ATLAS Offline Software
xAODTestThinPLinks.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_XAODTESTTHINPLINKS_H
14 #define DATAMODELTESTDATACOMMON_XAODTESTTHINPLINKS_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, "PLinksContainerKey", "plinksContainer", "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_XAODTESTTHINPLINKS_H
SG::ThinningHandleKey
HandleKey object for adding thinning to an object.
Definition: ThinningHandleKey.h:38
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
ThinningHandleKey.h
HandleKey object for adding thinning to an object.
DMTest
Definition: B.h:23