ATLAS Offline Software
Loading...
Searching...
No Matches
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"
22
24
26
27#include <string>
28
30class TRT_CablingSvc;
31
32
34{
35public:
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
53private:
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;
62
68
69};
70
71#endif
72
73
This is an Identifier helper class for the TRT subdetector.
An algorithm that can be simultaneously executed in multiple threads.
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.
virtual ~TRTRawDataProvider()=default
Destructor.
TRTRawDataProvider(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
virtual StatusCode finalize()
Finalize.
SG::WriteHandleKey< TRT_BSErrContainer > m_bsErrContKey
SG::ReadHandleKey< TrigRoiDescriptorCollection > m_roiCollectionKey
ToolHandle< ITRTRawDataProviderTool > m_rawDataTool
ServiceHandle< IROBDataProviderSvc > m_robDataProvider
virtual StatusCode initialize()
Initialize.
virtual StatusCode execute(const EventContext &ctx) const
Execute.
SG::WriteHandleKey< TRT_RDO_Container > m_rdoContainerKey
const TRT_ID * m_trt_id
ToolHandle< IRegSelTool > m_regionSelector
SG::UpdateHandleKey< TRT_RDO_Cache > m_rdoCacheKey
Gaudi::Property< bool > m_useDataPoolWithCache
ServiceHandle< ITRT_CablingSvc > m_CablingSvc
for TRT Mapping
This is an Identifier helper class for the TRT subdetector.
Definition TRT_ID.h:82