ATLAS Offline Software
TRT_RIO_Maker.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
12 #ifndef TRT_RIO_Maker_H
13 #define TRT_RIO_Maker_H
14 
15 //STL
16 #include <string>
17 
18 //Gaudi
19 #include "GaudiKernel/ToolHandle.h"
20 
21 // Base class
24 
25 //InDet
26 // no forward declare (typedef?)
32 
33 //fwd declarations
34 class ISvcLocator;
35 
36 namespace InDet{
37 
43  public:
45  TRT_RIO_Maker(const std::string &name, ISvcLocator *pSvcLocator);
47  virtual ~TRT_RIO_Maker() ;
50  virtual StatusCode initialize () override;
51  virtual StatusCode execute(const EventContext& ctx) const override;
52  virtual StatusCode finalize () override;
54  private:
55 
57  TRT_RIO_Maker() = delete;
58  TRT_RIO_Maker(const TRT_RIO_Maker&) = delete;
60 
63  this, "TRTRDOLocation", "TRT_RDOs"};
65  this, "RoIs", "", "RoIs to read in"};
66 
67  ToolHandle<ITRT_DriftCircleTool> m_driftcircle_tool{
68  this, "TRT_DriftCircleTool", "InDet::TRT_DriftCircleTool"};
69  ToolHandle<IRegSelTool> m_regionSelector {
70  this, "RegSelTool", "RegSelTool/RegSelTool_TRT" };
71 
72  IntegerProperty m_mode_rio_production{this, "ModeRIOProduction", 0};
73  BooleanProperty m_trtBadChannels{
74  this, "TRTBadChannels", true,
75  "selection of the TRT bad channels(true/false)"};
76  BooleanProperty m_roiSeeded{this, "isRoI_Seeded", false, "Use RoI"};
77  BooleanProperty m_useDataPoolWithCache{
78  this, "useDataPoolWithCache", false, "use DataPool With Cache"};
79 
81  this, "TRTRIOLocation", "TRT_DriftCircles"};
83  m_rioContainerCacheKey{this, "TRT_DriftCircleCache", ""};
84 
85 
86  };
87 }//end of namespace
88 #endif // TRT_RIO_Maker_H
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
InDet::TRT_RIO_Maker::m_driftcircle_tool
ToolHandle< ITRT_DriftCircleTool > m_driftcircle_tool
Definition: TRT_RIO_Maker.h:67
IRegSelTool.h
TRT_RDO_Container.h
SG::UpdateHandleKey< InDet::TRT_DriftCircleContainerCache >
InDet::TRT_RIO_Maker::m_rioContainerKey
SG::WriteHandleKey< InDet::TRT_DriftCircleContainer > m_rioContainerKey
Definition: TRT_RIO_Maker.h:80
InDet::TRT_RIO_Maker::m_regionSelector
ToolHandle< IRegSelTool > m_regionSelector
region selector tool
Definition: TRT_RIO_Maker.h:69
InDet::TRT_RIO_Maker::m_rdoContainerKey
SG::ReadHandleKey< TRT_RDO_Container > m_rdoContainerKey
Definition: TRT_RIO_Maker.h:62
InDet::TRT_RIO_Maker::m_mode_rio_production
IntegerProperty m_mode_rio_production
Definition: TRT_RIO_Maker.h:72
InDet
Primary Vertex Finder.
Definition: VP1ErrorUtils.h:36
InDet::TRT_RIO_Maker::~TRT_RIO_Maker
virtual ~TRT_RIO_Maker()
no-op destructor
InDet::TRT_RIO_Maker
TRT_DriftCircleContainer production algorithm Top Algorithm for InDetRawDataContainer<TRT_RDORawData>...
Definition: TRT_RIO_Maker.h:42
ITRT_DriftCircleTool.h
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
InDet::TRT_RIO_Maker::m_trtBadChannels
BooleanProperty m_trtBadChannels
Definition: TRT_RIO_Maker.h:73
InDet::TRT_RIO_Maker::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition: TRT_RIO_Maker.cxx:60
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
SG::WriteHandleKey< InDet::TRT_DriftCircleContainer >
InDet::TRT_RIO_Maker::m_useDataPoolWithCache
BooleanProperty m_useDataPoolWithCache
Definition: TRT_RIO_Maker.h:77
InDet::TRT_RIO_Maker::m_pTRTHelper
const TRT_ID * m_pTRTHelper
Definition: TRT_RIO_Maker.h:61
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
InDet::TRT_RIO_Maker::TRT_RIO_Maker
TRT_RIO_Maker(const TRT_RIO_Maker &)=delete
InDet::TRT_RIO_Maker::operator=
TRT_RIO_Maker & operator=(const TRT_RIO_Maker &)=delete
InDet::TRT_RIO_Maker::m_roiCollectionKey
SG::ReadHandleKey< TrigRoiDescriptorCollection > m_roiCollectionKey
Definition: TRT_RIO_Maker.h:64
AthReentrantAlgorithm.h
TRT_DriftCircleContainer.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
InDet::TRT_RIO_Maker::m_rioContainerCacheKey
SG::UpdateHandleKey< InDet::TRT_DriftCircleContainerCache > m_rioContainerCacheKey
Definition: TRT_RIO_Maker.h:83
InDet::TRT_RIO_Maker::initialize
virtual StatusCode initialize() override
Definition: TRT_RIO_Maker.cxx:35
TRT_ID
Definition: TRT_ID.h:84
InDet::TRT_RIO_Maker::finalize
virtual StatusCode finalize() override
Definition: TRT_RIO_Maker.cxx:137
InDet::TRT_RIO_Maker::m_roiSeeded
BooleanProperty m_roiSeeded
Definition: TRT_RIO_Maker.h:76
TrigRoiDescriptorCollection.h
InDet::TRT_RIO_Maker::TRT_RIO_Maker
TRT_RIO_Maker()=delete