ATLAS Offline Software
ViewCreatorExtraPrefetchROITool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 #ifndef DECISIONHANDLING_VIEWCREATOREXTRAPREFETCHROITOOL_H
5 #define DECISIONHANDLING_VIEWCREATOREXTRAPREFETCHROITOOL_H
6 
9 
13 
21 class ViewCreatorExtraPrefetchROITool : public extends<AthAlgTool, IViewCreatorROITool> {
22 public:
23  ViewCreatorExtraPrefetchROITool(const std::string& type, const std::string& name, const IInterface* parent);
24  virtual StatusCode initialize() override;
25  virtual StatusCode attachROILinks(TrigCompositeUtils::DecisionContainer& decisions, const EventContext& eventContext) const override;
26 
27 private:
29  this, "ExtraPrefetchRoIsKey", "", "Name of the extra RoI collection to be used for prefetching"};
30  Gaudi::Property<std::string> m_extraRoiLinkName{
31  this, "PrefetchRoIsLinkName", "prefetchRoI", "Name of the link from a decision object to the RoI for prefetching"};
32  Gaudi::Property<bool> m_mergeWithOriginal{
33  this, "MergeWithOriginal", true, "Make the output RoI be a super-RoI combining the original and updated ones"};
34 
35  ToolHandle<IViewCreatorROITool> m_roiCreator { this, "RoiCreator", "", "The main RoI creator tool" };
36  ToolHandle<IRoiUpdaterTool> m_roiUpdater { this, "RoiUpdater", "", "RoI Updater" };
37 };
38 
39 #endif // DECISIONHANDLING_VIEWCREATOREXTRAPREFETCHROITOOL_H
ViewCreatorExtraPrefetchROITool::m_roiCreator
ToolHandle< IViewCreatorROITool > m_roiCreator
Definition: ViewCreatorExtraPrefetchROITool.h:35
IViewCreatorROITool.h
ViewCreatorExtraPrefetchROITool
Definition: ViewCreatorExtraPrefetchROITool.h:21
SG::WriteHandleKey< TrigRoiDescriptorCollection >
ViewCreatorExtraPrefetchROITool::m_mergeWithOriginal
Gaudi::Property< bool > m_mergeWithOriginal
Definition: ViewCreatorExtraPrefetchROITool.h:32
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
IRoiUpdaterTool.h
AthAlgTool.h
ViewCreatorExtraPrefetchROITool::ViewCreatorExtraPrefetchROITool
ViewCreatorExtraPrefetchROITool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: ViewCreatorExtraPrefetchROITool.cxx:6
test_pyathena.parent
parent
Definition: test_pyathena.py:15
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
xAOD::decisions
decisions
Definition: TrigComposite_v1.cxx:101
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
ViewCreatorExtraPrefetchROITool::m_roiUpdater
ToolHandle< IRoiUpdaterTool > m_roiUpdater
Definition: ViewCreatorExtraPrefetchROITool.h:36
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
ViewCreatorExtraPrefetchROITool::m_extraRoiLinkName
Gaudi::Property< std::string > m_extraRoiLinkName
Definition: ViewCreatorExtraPrefetchROITool.h:30
ViewCreatorExtraPrefetchROITool::attachROILinks
virtual StatusCode attachROILinks(TrigCompositeUtils::DecisionContainer &decisions, const EventContext &eventContext) const override
Definition: ViewCreatorExtraPrefetchROITool.cxx:16
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
ViewCreatorExtraPrefetchROITool::initialize
virtual StatusCode initialize() override
Definition: ViewCreatorExtraPrefetchROITool.cxx:9
ViewCreatorExtraPrefetchROITool::m_extraRoiWHK
SG::WriteHandleKey< TrigRoiDescriptorCollection > m_extraRoiWHK
Definition: ViewCreatorExtraPrefetchROITool.h:28
TrigRoiDescriptorCollection.h