ATLAS Offline Software
Loading...
Searching...
No Matches
ViewCreatorCentredOnClusterROITool.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_VIEWCREATORCENTREDONCLUSTERROITOOL_H
6#define DECISIONHANDLING_VIEWCREATORCENTREDONCLUSTERROITOOL_H
7
13
26class ViewCreatorCentredOnClusterROITool: public extends<AthAlgTool, IViewCreatorROITool>
27{
28public:
29 ViewCreatorCentredOnClusterROITool(const std::string& type, const std::string& name, const IInterface* parent);
30
32
33 virtual StatusCode initialize() override;
34
38 virtual StatusCode attachROILinks(TrigCompositeUtils::DecisionContainer& decisions, const EventContext& ctx) const override;
39
41 "Name of the ROI collection produced by this tool."};
42
43 Gaudi::Property< std::string > m_clusterLinkName{this,"ClusterLinkName","feature",
44 "Name of linked Cluster object to centre the new ROI on. Normally the 'feature' from the previous Step."};
45
46 Gaudi::Property< bool > m_allowMultipleClusters{this, "AllowMultipleClusters", true,
47 "If true, the tool will not take the highest energy cluster. Instead it will add them all to a superRoI"};
48
49 Gaudi::Property< double > m_roiEtaWidth{this,"RoIEtaWidth",0.05,
50 "Extent of the ROI in eta from its centre"};
51
52 Gaudi::Property< double > m_roiPhiWidth{this,"RoIPhiWidth",0.05,
53 "Extent of the ROI in phi from its centre"};
54
55 Gaudi::Property< double > m_roiZedWidth{this,"RoIZedWidth",0.0,
56 "Extent of the ROI in zed from its centre"};
57
58};
59
60#endif //> !DECISIONHANDLING_VIEWCREATORCENTREDONCLUSTERROITOOL_H
Property holding a SG store/key/clid from which a WriteHandle is made.
ViewCreatorCentredOnClusterROITool(const std::string &type, const std::string &name, const IInterface *parent)
virtual StatusCode attachROILinks(TrigCompositeUtils::DecisionContainer &decisions, const EventContext &ctx) const override
Tool interface method.
SG::WriteHandleKey< TrigRoiDescriptorCollection > m_roisWriteHandleKey
virtual ~ViewCreatorCentredOnClusterROITool()=default