ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetEventCnv
PixelRawDataByteStreamCnv
src
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
13
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
14
#include "GaudiKernel/ServiceHandle.h"
15
#include "GaudiKernel/ToolHandle.h"
16
#include "
StoreGate/ReadHandleKey.h
"
17
#include "
StoreGate/WriteHandleKey.h
"
18
#include "
InDetRawData/PixelRDO_Container.h
"
19
#include "
InDetByteStreamErrors/IDCInDetBSErrContainer.h
"
20
#include "
TrigSteeringEvent/TrigRoiDescriptorCollection.h
"
21
#include <string>
22
23
#include "
PixelConditionsData/PixelCablingCondData.h
"
24
#include "
StoreGate/ReadCondHandleKey.h
"
25
#include "
ByteStreamCnvSvcBase/IROBDataProviderSvc.h
"
26
#include "
PixelRawDataByteStreamCnv/IPixelRawDataProviderTool.h
"
27
#include "
IRegionSelector/IRegSelTool.h
"
28
29
// Forward declarations
30
class
PixelID
;
31
32
class
PixelRawDataProvider
:
public
AthReentrantAlgorithm
{
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
47
~PixelRawDataProvider
();
48
49
private
:
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"
};
57
SG::WriteHandleKey<PixelRDO_Container>
m_rdoContainerKey
{
this
,
"RDOKey"
,
"PixelRDOs"
};
58
SG::UpdateHandleKey<PixelRDO_Cache>
m_rdoCacheKey
;
59
SG::WriteHandleKey<IDCInDetBSErrContainer>
m_bsErrorsKey
{
this
,
"BSErrorsKey"
,
"PixelByteStreamErrs"
};
60
SG::UpdateHandleKey<IDCInDetBSErrContainer_Cache>
m_bsErrorsCacheKey
;
61
SG::ReadCondHandleKey<PixelCablingCondData>
m_condCablingKey
{
this
,
"PixelCablingCondData"
,
"PixelCablingCondData"
,
"Pixel cabling key"
};
62
63
};
64
65
#endif
66
AthReentrantAlgorithm.h
IDCInDetBSErrContainer.h
IPixelRawDataProviderTool.h
IROBDataProviderSvc.h
IRegSelTool.h
PixelCablingCondData.h
PixelRDO_Container.h
ReadCondHandleKey.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
TrigRoiDescriptorCollection.h
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
PixelID
This is an Identifier helper class for the Pixel subdetector.
Definition
PixelID.h:69
PixelRawDataProvider::m_roiCollectionKey
SG::ReadHandleKey< TrigRoiDescriptorCollection > m_roiCollectionKey
Definition
PixelRawDataProvider.h:56
PixelRawDataProvider::execute
StatusCode execute(const EventContext &ctx) const override
Execute.
Definition
PixelRawDataProvider.cxx:74
PixelRawDataProvider::m_robDataProvider
ServiceHandle< IROBDataProviderSvc > m_robDataProvider
Definition
PixelRawDataProvider.h:53
PixelRawDataProvider::~PixelRawDataProvider
~PixelRawDataProvider()
Don't need to override Finalize.
Definition
PixelRawDataProvider.cxx:25
PixelRawDataProvider::initialize
StatusCode initialize() override
Initialize.
Definition
PixelRawDataProvider.cxx:31
PixelRawDataProvider::m_bsErrorsKey
SG::WriteHandleKey< IDCInDetBSErrContainer > m_bsErrorsKey
Definition
PixelRawDataProvider.h:59
PixelRawDataProvider::PixelRawDataProvider
PixelRawDataProvider(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
PixelRawDataProvider.cxx:16
PixelRawDataProvider::m_rdoContainerKey
SG::WriteHandleKey< PixelRDO_Container > m_rdoContainerKey
Definition
PixelRawDataProvider.h:57
PixelRawDataProvider::m_roiSeeded
Gaudi::Property< bool > m_roiSeeded
Definition
PixelRawDataProvider.h:55
PixelRawDataProvider::m_bsErrorsCacheKey
SG::UpdateHandleKey< IDCInDetBSErrContainer_Cache > m_bsErrorsCacheKey
Definition
PixelRawDataProvider.h:60
PixelRawDataProvider::m_condCablingKey
SG::ReadCondHandleKey< PixelCablingCondData > m_condCablingKey
Definition
PixelRawDataProvider.h:61
PixelRawDataProvider::m_rdoCacheKey
SG::UpdateHandleKey< PixelRDO_Cache > m_rdoCacheKey
Definition
PixelRawDataProvider.h:58
PixelRawDataProvider::m_rawDataTool
ToolHandle< IPixelRawDataProviderTool > m_rawDataTool
Definition
PixelRawDataProvider.h:54
PixelRawDataProvider::m_pixel_id
const PixelID * m_pixel_id
Definition
PixelRawDataProvider.h:50
PixelRawDataProvider::m_regionSelector
ToolHandle< IRegSelTool > m_regionSelector
Definition
PixelRawDataProvider.h:52
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
SG::UpdateHandleKey
Property holding a SG store/key/clid from which an UpdateHandle is made.
Definition
UpdateHandleKey.h:40
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition
StoreGate/StoreGate/WriteHandleKey.h:40
ServiceHandle
Definition
ClusterMakerTool.h:36
Generated on
for ATLAS Offline Software by
1.17.0