|
ATLAS Offline Software
|
Go to the documentation of this file.
35 return StatusCode::SUCCESS;
50 std::ostringstream
ost;
51 ost <<
" pInt: " <<
p->pInt()
54 ost <<
" dpInt1: " << dpInt1(*
p);
58 const std::vector<int>& pvi =
p->pvInt();
66 const std::vector<float>& pvf =
p->pvFloat();
75 const std::vector<float>& pvf = dpvFloat(*
p);
76 ost <<
" dpvFloat: [";
86 auto vecnew = std::make_unique<PVec>();
87 auto store = std::make_unique<PAuxContainer>();
88 vecnew->setStore (
store.get());
89 for (
size_t i = 0;
i <
pvec->size();
i++) {
90 vecnew->push_back (
new P);
91 *vecnew->back() = *(*pvec)[
i];
97 return StatusCode::SUCCESS;
Class used for testing xAOD data reading/writing with packed containers.
Class used for testing xAOD data reading/writing with packed containers.
SG::WriteHandleKey< DMTest::PVec > m_writeKey
Class used for testing xAOD data reading/writing with packed containers.
SG::ReadHandleKey< DMTest::PVec > m_pvecKey
Class used for testing xAOD data reading/writing with packed containers.
Handle class for recording to StoreGate.
::StatusCode StatusCode
StatusCode definition for legacy code.
virtual StatusCode initialize() override
Algorithm initialization; called at the beginning of the job.
virtual StatusCode execute(const EventContext &ctx) const override
Algorithm event processing.
StatusCode record(std::unique_ptr< T > data)
Record a const object to the store.
bool isAvailable(const ELT &e) const
Test to see if this variable exists in the store.
Helper class to provide constant type-safe access to aux data.
Handle class for reading from StoreGate.