|
ATLAS Offline Software
|
Go to the documentation of this file.
14 ISvcLocator *pSvcLocator)
16 m_robDataProvider(
"ROBDataProviderSvc",
name)
27 return StatusCode::SUCCESS;
33 return StatusCode::SUCCESS;
40 return StatusCode::SUCCESS;
45 auto container = std::make_unique<AFP_RawContainer>();
48 std::vector<const OFFLINE_FRAGMENTS_NAMESPACE::ROBFragment *> listOfRobf;
52 ATH_MSG_DEBUG(
" Number of ROB fragments is " << listOfRobf.size());
54 if (
m_rawDataTool->convert(listOfRobf, container.get()).isFailure()) {
56 return StatusCode::FAILURE;
58 ATH_MSG_DEBUG(
" Number of time-of-flight collections in container is "
59 << container->collectionsToF().size());
60 ATH_MSG_DEBUG(
" Number of silicon collections in container is "
61 << container->collectionsSi().size());
65 StatusCode recordSC = writeHandle.record(std::move(container));
66 if (recordSC.isFailure()) {
68 return StatusCode::SUCCESS;
73 return StatusCode::SUCCESS;
SG::WriteHandleKey< AFP_RawContainer > m_AFP_RawContainerKey
name used to store AFP_RawContainer in StoreGate
An algorithm that can be simultaneously executed in multiple threads.
::StatusCode StatusCode
StatusCode definition for legacy code.
virtual StatusCode initialize()
Initialise tool and service.
virtual StatusCode execute(const EventContext &ctx) const
Creates raw objects from bytestream.
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
ServiceHandle< IROBDataProviderSvc > m_robDataProvider
ToolHandle< AFP_RawDataProviderTool > m_rawDataTool
#define ATH_MSG_WARNING(x)
virtual ~AFP_RawDataProvider()
Does nothing.
const std::vector< unsigned int > m_robIDs
vector of robIDs from which data should be processed
AFP_RawDataProvider(const std::string &name, ISvcLocator *pSvcLocator)