ATLAS Offline Software
Loading...
Searching...
No Matches
ViewCreatorFetchFromViewROITool.h
Go to the documentation of this file.
1/*
2Copyright (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
25class ViewCreatorFetchFromViewROITool: public extends<AthAlgTool, IViewCreatorROITool>
26{
27public:
28 ViewCreatorFetchFromViewROITool(const std::string& type, const std::string& name, const IInterface* parent);
29
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
Property holding a SG store/key/clid from which a WriteHandle is made.
Property holding a SG store/key/clid from which a ReadHandle is made.
Gaudi::Property< std::string > m_viewToFetchFrom
SG::ReadHandleKey< TrigRoiDescriptorCollection > m_inViewRoIKey
virtual ~ViewCreatorFetchFromViewROITool()=default
virtual StatusCode attachROILinks(TrigCompositeUtils::DecisionContainer &decisions, const EventContext &ctx) const override
Tool interface method.
ViewCreatorFetchFromViewROITool(const std::string &type, const std::string &name, const IInterface *parent)
SG::WriteHandleKey< TrigRoiDescriptorCollection > m_roisWriteHandleKey