Loading [MathJax]/extensions/tex2jax.js
 |
ATLAS Offline Software
|
Go to the documentation of this file.
14 return StatusCode::SUCCESS;
24 std::unique_ptr<ITkPixelRDO_Container> itkpixelrdocontainer = std::make_unique<ITkPixelRDO_Container>(
m_pixelId->
wafer_hash_max());
25 for (
const auto& coll : *rdoContainerHandle){
26 std::unique_ptr<InDetRawDataCollection< ITkPixelRDORawData >> itkColl = std::make_unique<InDetRawDataCollection< ITkPixelRDORawData >>(coll->identifyHash());
27 for (
const auto& rdo : *coll){
28 std::unique_ptr<ITkPixel1RawData> itkrdo = std::make_unique<ITkPixel1RawData>(rdo->identify(), rdo->getWord());
29 itkColl->push_back(itkrdo.release());
35 ATH_CHECK(itkRDOContainerHandle.
record(std::move(itkpixelrdocontainer)));
36 return StatusCode::SUCCESS;
def retrieve(aClass, aKey=None)
virtual StatusCode execute(const EventContext &ctx) const override
utility to translate InDet RDO into ITk RDO and record it back to SG
virtual StatusCode addCollection(const T *coll, IdentifierHash hashId) override final
insert collection into container with id hash if IDC should not take ownership of collection,...
SG::ReadHandleKey< PixelRDO_Container > m_pixelRDOKey
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
const PixelID * m_pixelId
::StatusCode StatusCode
StatusCode definition for legacy code.
virtual StatusCode initialize() override
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
SG::WriteHandleKey< ITkPixelRDO_Container > m_itkPixelRDOKey
size_type wafer_hash_max(void) const
StatusCode record(std::unique_ptr< T > data)
Record a const object to the store.
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...