ATLAS Offline Software
ViewCreatorFetchFromViewROITool.h
Go to the documentation of this file.
1 /*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef DECISIONHANDLING_VIEWCREATORFETCHFROMVIEWROITOOL_H
6 #define DECISIONHANDLING_VIEWCREATORFETCHFROMVIEWROITOOL_H
7 
12 
25 class ViewCreatorFetchFromViewROITool: public extends<AthAlgTool, IViewCreatorROITool>
26 {
27 public:
28  ViewCreatorFetchFromViewROITool(const std::string& type, const std::string& name, const IInterface* parent);
29 
30  virtual ~ViewCreatorFetchFromViewROITool() = default;
31 
32  virtual StatusCode initialize() override;
33 
37  virtual StatusCode attachROILinks(TrigCompositeUtils::DecisionContainer& decisions, const EventContext& ctx) const override;
38 
40  "Name of the ROI collection produced by this tool."};
41 
43  "Name of the ROI collection within the most recent EventView of the input Decision objects"};
44 
45  Gaudi::Property< std::string > m_viewToFetchFrom {this,"ViewToFetchFrom","",
46  "Optional name of EventView to fetch ROI from. Must be in the history of the DecisionObject. If not supplied, the most recent EventView will be used."};
47 
48  Gaudi::Property< bool > m_doResize{this,"doResize",false,
49  "Resize RoI if updated widths are given."};
50 
51  Gaudi::Property< double > m_roiEtaWidth{this,"RoIEtaWidth",-1.0,
52  "New extent of the ROI in eta from its centre"};
53 
54  Gaudi::Property< double > m_roiPhiWidth{this,"RoIPhiWidth",-1.0,
55  "New extent of the ROI in phi from its centre"};
56 
57  Gaudi::Property< double > m_roiZedWidth{this,"RoIZedWidth",-1.0,
58  "New extent of the ROI in zed from its centre"};
59 
60  private:
62 };
63 
64 #endif //> !DECISIONHANDLING_VIEWCREATORFETCHFROMVIEWROITOOL_H
ViewCreatorFetchFromViewROITool::m_viewToFetchFrom
Gaudi::Property< std::string > m_viewToFetchFrom
Definition: ViewCreatorFetchFromViewROITool.h:45
ViewCreatorFetchFromViewROITool::m_viewToFetchFromProbe
std::string m_viewToFetchFromProbe
Definition: ViewCreatorFetchFromViewROITool.h:61
IViewCreatorROITool.h
SG::ReadHandleKey< TrigRoiDescriptorCollection >
ViewCreatorFetchFromViewROITool::ViewCreatorFetchFromViewROITool
ViewCreatorFetchFromViewROITool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: ViewCreatorFetchFromViewROITool.cxx:12
SG::WriteHandleKey< TrigRoiDescriptorCollection >
ViewCreatorFetchFromViewROITool::m_roisWriteHandleKey
SG::WriteHandleKey< TrigRoiDescriptorCollection > m_roisWriteHandleKey
Definition: ViewCreatorFetchFromViewROITool.h:39
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ViewCreatorFetchFromViewROITool
Definition: ViewCreatorFetchFromViewROITool.h:26
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
ViewCreatorFetchFromViewROITool::m_roiEtaWidth
Gaudi::Property< double > m_roiEtaWidth
Definition: ViewCreatorFetchFromViewROITool.h:51
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.
ViewCreatorFetchFromViewROITool::attachROILinks
virtual StatusCode attachROILinks(TrigCompositeUtils::DecisionContainer &decisions, const EventContext &ctx) const override
Tool interface method.
Definition: ViewCreatorFetchFromViewROITool.cxx:27
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
ViewCreatorFetchFromViewROITool::m_roiZedWidth
Gaudi::Property< double > m_roiZedWidth
Definition: ViewCreatorFetchFromViewROITool.h:57
ViewCreatorFetchFromViewROITool::m_roiPhiWidth
Gaudi::Property< double > m_roiPhiWidth
Definition: ViewCreatorFetchFromViewROITool.h:54
ViewCreatorFetchFromViewROITool::m_doResize
Gaudi::Property< bool > m_doResize
Definition: ViewCreatorFetchFromViewROITool.h:48
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
ViewCreatorFetchFromViewROITool::~ViewCreatorFetchFromViewROITool
virtual ~ViewCreatorFetchFromViewROITool()=default
ViewCreatorFetchFromViewROITool::initialize
virtual StatusCode initialize() override
Definition: ViewCreatorFetchFromViewROITool.cxx:17
TrigRoiDescriptorCollection.h
ViewCreatorFetchFromViewROITool::m_inViewRoIKey
SG::ReadHandleKey< TrigRoiDescriptorCollection > m_inViewRoIKey
Definition: ViewCreatorFetchFromViewROITool.h:42