ATLAS Offline Software
ViewCreatorCentredOnClusterROITool.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_VIEWCREATORCENTREDONCLUSTERROITOOL_H
6 #define DECISIONHANDLING_VIEWCREATORCENTREDONCLUSTERROITOOL_H
7 
13 
26 class ViewCreatorCentredOnClusterROITool: public extends<AthAlgTool, IViewCreatorROITool>
27 {
28 public:
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
ViewCreatorCentredOnClusterROITool::~ViewCreatorCentredOnClusterROITool
virtual ~ViewCreatorCentredOnClusterROITool()=default
ViewCreatorCentredOnClusterROITool::m_roisWriteHandleKey
SG::WriteHandleKey< TrigRoiDescriptorCollection > m_roisWriteHandleKey
Definition: ViewCreatorCentredOnClusterROITool.h:40
IViewCreatorROITool.h
ViewCreatorCentredOnClusterROITool
Definition: ViewCreatorCentredOnClusterROITool.h:27
SG::WriteHandleKey< TrigRoiDescriptorCollection >
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ViewCreatorCentredOnClusterROITool::initialize
virtual StatusCode initialize() override
Definition: ViewCreatorCentredOnClusterROITool.cxx:17
ViewCreatorCentredOnClusterROITool::m_clusterLinkName
Gaudi::Property< std::string > m_clusterLinkName
Definition: ViewCreatorCentredOnClusterROITool.h:43
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
ViewCreatorCentredOnClusterROITool::ViewCreatorCentredOnClusterROITool
ViewCreatorCentredOnClusterROITool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: ViewCreatorCentredOnClusterROITool.cxx:12
ViewCreatorCentredOnClusterROITool::m_roiZedWidth
Gaudi::Property< double > m_roiZedWidth
Definition: ViewCreatorCentredOnClusterROITool.h:55
DataVector
Derived DataVector<T>.
Definition: DataVector.h:794
xAOD::decisions
decisions
Definition: TrigComposite_v1.cxx:101
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
TrigEMClusterContainer.h
ViewCreatorCentredOnClusterROITool::m_roiPhiWidth
Gaudi::Property< double > m_roiPhiWidth
Definition: ViewCreatorCentredOnClusterROITool.h:52
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
ViewCreatorCentredOnClusterROITool::m_roiEtaWidth
Gaudi::Property< double > m_roiEtaWidth
Definition: ViewCreatorCentredOnClusterROITool.h:49
ViewCreatorCentredOnClusterROITool::attachROILinks
virtual StatusCode attachROILinks(TrigCompositeUtils::DecisionContainer &decisions, const EventContext &ctx) const override
Tool interface method.
Definition: ViewCreatorCentredOnClusterROITool.cxx:23
ViewCreatorCentredOnClusterROITool::m_allowMultipleClusters
Gaudi::Property< bool > m_allowMultipleClusters
Definition: ViewCreatorCentredOnClusterROITool.h:46
TrigRoiDescriptorCollection.h