ATLAS Offline Software
Loading...
Searching...
No Matches
xAODTestReadDecor.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-2017 CERN for the benefit of the ATLAS collaboration.
4 */
5// $Id$
12
13
14#ifndef DATAMODELTESTDATACOMMON_XAODTESTREADDECOR_H
15#define DATAMODELTESTDATACOMMON_XAODTESTREADDECOR_H
16
17
22
23
24namespace DMTest {
25
26
32{
33public:
39 xAODTestReadDecor (const std::string &name, ISvcLocator *pSvcLocator);
40
41
45 virtual StatusCode initialize() override;
46
47
51 virtual StatusCode execute (const EventContext& ctx) const override;
52
53
57 virtual StatusCode finalize() override;
58
59
60private:
62 std::string m_readPrefix;
63
65 std::string m_decorName;
66
68 std::string m_cvecName;
69 std::string m_cinfoName;
70
76};
77
78
79} // namespace DMTest
80
81
82#endif // not DATAMODELTESTDATACOMMON_XAODTESTREADDECOR_H
Class used for testing xAOD data reading/writing.
Class used for testing xAOD data reading/writing.
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
An algorithm that can be simultaneously executed in multiple threads.
xAODTestReadDecor(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
std::string m_readPrefix
Parameter: Prefix for names read from SG.
SG::ReadDecorHandleKey< C > m_cinfoDecorKey
virtual StatusCode execute(const EventContext &ctx) const override
Algorithm event processing.
virtual StatusCode finalize() override
Algorithm finalization; called at the end of the job.
std::string m_decorName
Parameter: Name of the decoration.
virtual StatusCode initialize() override
Algorithm initialization; called at the beginning of the job.
SG::ReadDecorHandleKey< SG::AuxElement > m_objDecorKey
SG::ReadDecorHandleKey< CVec > m_cvecDecorKey
Handles for reading decorations.
std::string m_cvecName
Parameter: Root names of the objects.
SG::ReadDecorHandleKey< C > m_cinfoBaseDecorKey
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Definition B.h:23