ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Control
DataModelTest
DataModelTestDataCommon
src
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
17
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
18
#include "
DataModelTestDataCommon/CVec.h
"
19
#include "
StoreGate/ThinningHandleKey.h
"
20
21
22
namespace
DMTest
{
23
24
28
class
xAODTestThinCVec
29
:
public
AthReentrantAlgorithm
30
{
31
public
:
32
using
AthReentrantAlgorithm::AthReentrantAlgorithm;
33
34
38
virtual
StatusCode
initialize
()
override
;
39
40
44
virtual
StatusCode
execute
(
const
EventContext& ctx)
const override
;
45
46
47
private
:
48
SG::ThinningHandleKey<DMTest::CVec>
m_cvecKey
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
AthReentrantAlgorithm.h
CVec.h
Class used for testing xAOD data reading/writing.
ThinningHandleKey.h
HandleKey object for adding thinning to an object.
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
DMTest::xAODTestThinCVec
Thin CVec objects.
Definition
xAODTestThinCVec.h:30
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
DMTest::xAODTestThinCVec::initialize
virtual StatusCode initialize() override
Algorithm initialization; called at the beginning of the job.
Definition
xAODTestThinCVec.cxx:22
DMTest::xAODTestThinCVec::m_mask
UnsignedIntegerProperty m_mask
Definition
xAODTestThinCVec.h:55
DMTest::xAODTestThinCVec::m_stream
StringProperty m_stream
Definition
xAODTestThinCVec.h:52
SG::ThinningHandleKey
HandleKey object for adding thinning to an object.
Definition
ThinningHandleKey.h:39
DMTest
Definition
B.h:23
Generated on
for ATLAS Offline Software by
1.17.0