ATLAS Offline Software
TRTRawDataProvider.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // Top algorithm to decode the TRT BS
8 
9 #ifndef TRT_RAWDATABYTESTREAMCNV_TRTRAWDATAPROVIDER_H
10 #define TRT_RAWDATABYTESTREAMCNV_TRTRAWDATAPROVIDER_H
11 
12 // Base class
13 #include "GaudiKernel/ServiceHandle.h"
14 #include "GaudiKernel/ToolHandle.h"
16 #include "InDetIdentifier/TRT_ID.h"
22 
24 
26 
27 #include <string>
28 
30 class TRT_CablingSvc;
31 
32 
34 {
35 public:
36 
38  TRTRawDataProvider(const std::string &name, ISvcLocator *pSvcLocator);
39 
41  virtual StatusCode initialize();
42 
44  virtual StatusCode execute(const EventContext& ctx) const;
45 
47  virtual StatusCode finalize()
48  { return StatusCode::SUCCESS;}
49 
51  virtual ~TRTRawDataProvider() = default;
52 
53 private:
54  ToolHandle<IRegSelTool> m_regionSelector{this, "RegSelTool",
55  "RegSelTool/RegSelTool_TRT"};
56  Gaudi::Property<bool> m_useDataPoolWithCache{this, "useDataPoolWithCache",
57  false, "use DataPool With Cache"};
59  ToolHandle<ITRTRawDataProviderTool> m_rawDataTool;
61  const TRT_ID* m_trt_id;
62 
68 
69 };
70 
71 #endif
72 
73 
IRegSelTool.h
TRTRawDataProvider::~TRTRawDataProvider
virtual ~TRTRawDataProvider()=default
Destructor.
TRTRawDataProvider::m_rdoContainerKey
SG::WriteHandleKey< TRT_RDO_Container > m_rdoContainerKey
Definition: TRTRawDataProvider.h:65
TRT_RDO_Container.h
SG::UpdateHandleKey
Property holding a SG store/key/clid from which an UpdateHandle is made.
Definition: UpdateHandleKey.h:40
TRT_CablingSvc
Definition: TRT_CablingSvc.h:37
TRTRawDataProvider::m_rdoCacheKey
SG::UpdateHandleKey< TRT_RDO_Cache > m_rdoCacheKey
Definition: TRTRawDataProvider.h:67
TRTRawDataProvider::initialize
virtual StatusCode initialize()
Initialize.
Definition: TRTRawDataProvider.cxx:33
TRTRawDataProvider::TRTRawDataProvider
TRTRawDataProvider(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition: TRTRawDataProvider.cxx:13
TRT_ID.h
This is an Identifier helper class for the TRT subdetector. This class is a factory for creating comp...
TRTRawDataProvider
Definition: TRTRawDataProvider.h:34
SG::ReadHandleKey< TrigRoiDescriptorCollection >
TRTRawDataProvider::m_roiCollectionKey
SG::ReadHandleKey< TrigRoiDescriptorCollection > m_roiCollectionKey
Definition: TRTRawDataProvider.h:64
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
TRTRawDataProvider::m_CablingSvc
ServiceHandle< ITRT_CablingSvc > m_CablingSvc
Definition: TRTRawDataProvider.h:60
TRTRawDataProvider::execute
virtual StatusCode execute(const EventContext &ctx) const
Execute.
Definition: TRTRawDataProvider.cxx:65
TRTRawDataProvider::m_trt_id
const TRT_ID * m_trt_id
Definition: TRTRawDataProvider.h:61
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition: StoreGate/StoreGate/WriteHandleKey.h:40
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
TRT_BSErrContainer.h
AthReentrantAlgorithm.h
ITRT_CablingSvc.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
ITRTRawDataProviderTool.h
TRTRawDataProviderTool
Definition: TRTRawDataProviderTool.h:29
TRT_ID
Definition: TRT_ID.h:84
TRTRawDataProvider::finalize
virtual StatusCode finalize()
Finalize.
Definition: TRTRawDataProvider.h:47
TRTRawDataProvider::m_regionSelector
ToolHandle< IRegSelTool > m_regionSelector
Definition: TRTRawDataProvider.h:54
TRTRawDataProvider::m_bsErrContKey
SG::WriteHandleKey< TRT_BSErrContainer > m_bsErrContKey
Definition: TRTRawDataProvider.h:66
TRTRawDataProvider::m_roiSeeded
bool m_roiSeeded
Definition: TRTRawDataProvider.h:63
TRTRawDataProvider::m_useDataPoolWithCache
Gaudi::Property< bool > m_useDataPoolWithCache
Definition: TRTRawDataProvider.h:56
TRTRawDataProvider::m_robDataProvider
ServiceHandle< IROBDataProviderSvc > m_robDataProvider
Definition: TRTRawDataProvider.h:58
TRTRawDataProvider::m_rawDataTool
ToolHandle< ITRTRawDataProviderTool > m_rawDataTool
Definition: TRTRawDataProvider.h:59
TrigRoiDescriptorCollection.h
IROBDataProviderSvc.h
ServiceHandle< IROBDataProviderSvc >