![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
32 ISvcLocator *pSvcLocator)
34 m_cvecKey (
"cvec_renamed"),
50 return StatusCode::SUCCESS;
63 auto vecnew = std::make_unique<CVec>();
64 auto store = std::make_unique<CAuxContainer>();
65 vecnew->setStore (
store.get());
66 for (
size_t i = 0;
i < cvec->
size();
i+=2) {
67 vecnew->push_back (
new C);
68 *vecnew->back() = *(*cvec)[
i];
72 for (
C*
c : *vecnew) {
73 cEL(*c).toIndexedElement (*vecnew, vecnew->size()-1-
i);
79 return StatusCode::SUCCESS;
88 return StatusCode::SUCCESS;
Helper class to provide type-safe access to aux data.
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
SG::WriteHandleKey< DMTest::CVec > m_writeKey
SG::ReadHandleKey< DMTest::CVec > m_cvecKey
Class used for testing xAOD data reading/writing.
virtual StatusCode initialize() override
Algorithm initialization; called at the beginning of the job.
virtual StatusCode execute(const EventContext &ctx) const override
Algorithm event processing.
An algorithm that can be simultaneously executed in multiple threads.
Handle class for recording to StoreGate.
Class used for testing xAOD data reading/writing.
Algorithm to test filtering xAOD data.
::StatusCode StatusCode
StatusCode definition for legacy code.
Class used for testing xAOD data reading/writing.
virtual StatusCode finalize() override
Algorithm finalization; called at the end of the job.
StatusCode record(std::unique_ptr< T > data)
Record a const object to the store.
Handle class for reading from StoreGate.
xAODTestFilterCVec(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
size_type size() const noexcept
Returns the number of elements in the collection.