|
ATLAS Offline Software
|
Go to the documentation of this file.
26 std::string formEL (
const EL&
el)
28 std::ostringstream
ss;
29 ss <<
"(" <<
el.dataID() <<
":";
30 if (
static_cast<int>(
el.index()) == -1) {
55 return StatusCode::SUCCESS;
73 for (
const CLinks* clinks : *clinkscont) {
82 std::ostringstream ss1;
84 for (
const EL&
el : clinksaod->vel()) {
85 ss1 << formEL (
el) <<
" ";
89 std::ostringstream ss2;
91 for (
const EL el : clinksaod->elv()) {
92 ss2 << formEL (
el) <<
" ";
97 return StatusCode::SUCCESS;
106 std::ostringstream
ss;
107 ss <<
" link: " << formEL (clinks.
link()) <<
" links: ";
109 ss << formEL (
el) <<
" ";
112 return StatusCode::SUCCESS;
const std::vector< ElementLink< CVec > > & links() const
const std::string & key() const
Return the StoreGate ID for the referenced object.
bool empty() const
Test if the key is blank.
virtual StatusCode execute(const EventContext &ctx) const override
Algorithm event processing.
SG::ReadHandleKey< DMTest::CLinksAOD > m_clinksAODKey
virtual StatusCode initialize() override
Algorithm initialization; called at the beginning of the job.
::StatusCode StatusCode
StatusCode definition for legacy code.
SG::ReadHandleKey< DMTest::CLinks > m_clinksKey
This module defines the arguments passed from the BATCH driver to the BATCH worker.
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
ElementLink implementation for ROOT usage.
SG::ReadHandleKey< DMTest::CLinksContainer > m_clinksContainerKey
Read and dump CLinks/CLinksAOD objects.
const ElementLink< CVec > & link() const
StatusCode dumpCLinks(const CLinks &clinks) const
Dump a CLinks object.
For testing thinning of xAOD objects.
Handle class for reading from StoreGate.