|
ATLAS Offline Software
|
Go to the documentation of this file.
21 return StatusCode::SUCCESS;
23 template <
class ContainerType>
26 const ContainerType*& contToPush)
const {
30 return StatusCode::SUCCESS;
34 contToPush = readHandle.cptr();
35 return StatusCode::SUCCESS;
49 outContainer.insert(outContainer.end(), strips->begin(), strips->end());
52 outContainer.insert(outContainer.end(),wires->begin(), wires->end());
55 outContainer.insert(outContainer.end(), pads->begin(), pads->end());
57 std::sort(outContainer.begin(), outContainer.end(),
59 return a->identifier() < b->identifier();
63 ATH_CHECK(writeHandle.record(std::make_unique<xAOD::sTgcMeasContainer>(*outContainer.asDataVector())));
64 return StatusCode::SUCCESS;
StatusCode retrieveContainer(const EventContext &ctx, const SG::ReadHandleKey< ContainerType > &key, const ContainerType *&contToPush) const
Helper method to fetch data from StoreGate.
SG::ReadHandleKey< xAOD::sTgcStripContainer > m_readKeyStrip
@ VIEW_ELEMENTS
this data object is a view, it does not own its elmts
DataVector adapter that acts like it holds const pointers.
SG::WriteHandleKey< xAOD::sTgcMeasContainer > m_writeKey
SG::ReadHandleKey< xAOD::sTgcWireContainer > m_readKeyWire
#define ATH_MSG_VERBOSE(x)
SG::ReadHandleKey< xAOD::sTgcPadContainer > m_readKeyPad
An algorithm that can be simultaneously executed in multiple threads.
Handle class for recording to StoreGate.
::StatusCode StatusCode
StatusCode definition for legacy code.
StatusCode initialize() override
This header ties the generic definitions in this package.
StatusCode execute(const EventContext &ctx) const override
DataVector adapter that acts like it holds const pointers.
Handle class for reading from StoreGate.
sTgcMeasViewAlg(const std::string &name, ISvcLocator *pSvcLocator)