ATLAS Offline Software
Loading...
Searching...
No Matches
PixelRawDataProvider.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3*/
4
6// Top algorithm to decode the Pixel BS
8
9#ifndef PIXELRAWDATABYTESTREAMCNV_PIXELRAWDATAPROVIDER_H
10#define PIXELRAWDATABYTESTREAMCNV_PIXELRAWDATAPROVIDER_H
11
12// Base class
14#include "GaudiKernel/ServiceHandle.h"
15#include "GaudiKernel/ToolHandle.h"
21#include <string>
22
28
29// Forward declarations
30class PixelID;
31
33
34 public:
35
37 PixelRawDataProvider(const std::string &name, ISvcLocator *pSvcLocator);
38
40 StatusCode initialize() override;
42 StatusCode execute(const EventContext& ctx) const override;
44
45
48
49private:
50 const PixelID* m_pixel_id { nullptr };
51
52 ToolHandle<IRegSelTool> m_regionSelector { this, "RegSelTool", "RegSelTool/RegSelTool_Pixel" };
53 ServiceHandle<IROBDataProviderSvc> m_robDataProvider { this, "ROBDataProvider", "ROBDataProviderSvc" };
54 ToolHandle<IPixelRawDataProviderTool> m_rawDataTool { this, "ProviderTool", "PixelRawDataProviderTool"};
55 Gaudi::Property<bool> m_roiSeeded { this, "isRoI_Seeded", false, "Use RoI" }; // TODO, doubled information, empty RoIs collection name would be sufficent
56 SG::ReadHandleKey<TrigRoiDescriptorCollection> m_roiCollectionKey { this, "RoIs", "", "If RoI driven unpacking to be used, this is the key"};
59 SG::WriteHandleKey<IDCInDetBSErrContainer> m_bsErrorsKey { this, "BSErrorsKey", "PixelByteStreamErrs"};
61 SG::ReadCondHandleKey<PixelCablingCondData> m_condCablingKey { this, "PixelCablingCondData", "PixelCablingCondData", "Pixel cabling key"};
62
63};
64
65#endif
66
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
An algorithm that can be simultaneously executed in multiple threads.
This is an Identifier helper class for the Pixel subdetector.
Definition PixelID.h:67
SG::ReadHandleKey< TrigRoiDescriptorCollection > m_roiCollectionKey
StatusCode execute(const EventContext &ctx) const override
Execute.
ServiceHandle< IROBDataProviderSvc > m_robDataProvider
~PixelRawDataProvider()
Don't need to override Finalize.
StatusCode initialize() override
Initialize.
SG::WriteHandleKey< IDCInDetBSErrContainer > m_bsErrorsKey
PixelRawDataProvider(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
SG::WriteHandleKey< PixelRDO_Container > m_rdoContainerKey
Gaudi::Property< bool > m_roiSeeded
SG::UpdateHandleKey< IDCInDetBSErrContainer_Cache > m_bsErrorsCacheKey
SG::ReadCondHandleKey< PixelCablingCondData > m_condCablingKey
SG::UpdateHandleKey< PixelRDO_Cache > m_rdoCacheKey
ToolHandle< IPixelRawDataProviderTool > m_rawDataTool
ToolHandle< IRegSelTool > m_regionSelector
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which an UpdateHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.