ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigSteer
DecisionHandling
src
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
8
#include "
AthenaBaseComps/AthAlgTool.h
"
9
#include "
StoreGate/WriteHandleKey.h
"
10
#include "
DecisionHandling/IViewCreatorROITool.h
"
11
#include "
TrigSteeringEvent/TrigRoiDescriptorCollection.h
"
12
#include "
xAODTrigCalo/TrigEMClusterContainer.h
"
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
31
virtual
~ViewCreatorCentredOnClusterROITool
() =
default
;
32
33
virtual
StatusCode
initialize
()
override
;
34
38
virtual
StatusCode
attachROILinks
(
TrigCompositeUtils::DecisionContainer
& decisions,
const
EventContext& ctx)
const override
;
39
40
SG::WriteHandleKey< TrigRoiDescriptorCollection >
m_roisWriteHandleKey
{
this
,
"RoisWriteHandleKey"
,
""
,
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
AthAlgTool.h
TrigEMClusterContainer.h
IViewCreatorROITool.h
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
TrigRoiDescriptorCollection.h
SG::WriteHandleKey< TrigRoiDescriptorCollection >
ViewCreatorCentredOnClusterROITool::ViewCreatorCentredOnClusterROITool
ViewCreatorCentredOnClusterROITool(const std::string &type, const std::string &name, const IInterface *parent)
Definition
ViewCreatorCentredOnClusterROITool.cxx:12
ViewCreatorCentredOnClusterROITool::m_clusterLinkName
Gaudi::Property< std::string > m_clusterLinkName
Definition
ViewCreatorCentredOnClusterROITool.h:43
ViewCreatorCentredOnClusterROITool::initialize
virtual StatusCode initialize() override
Definition
ViewCreatorCentredOnClusterROITool.cxx:17
ViewCreatorCentredOnClusterROITool::attachROILinks
virtual StatusCode attachROILinks(TrigCompositeUtils::DecisionContainer &decisions, const EventContext &ctx) const override
Tool interface method.
Definition
ViewCreatorCentredOnClusterROITool.cxx:23
ViewCreatorCentredOnClusterROITool::m_roiPhiWidth
Gaudi::Property< double > m_roiPhiWidth
Definition
ViewCreatorCentredOnClusterROITool.h:52
ViewCreatorCentredOnClusterROITool::m_roisWriteHandleKey
SG::WriteHandleKey< TrigRoiDescriptorCollection > m_roisWriteHandleKey
Definition
ViewCreatorCentredOnClusterROITool.h:40
ViewCreatorCentredOnClusterROITool::m_roiZedWidth
Gaudi::Property< double > m_roiZedWidth
Definition
ViewCreatorCentredOnClusterROITool.h:55
ViewCreatorCentredOnClusterROITool::~ViewCreatorCentredOnClusterROITool
virtual ~ViewCreatorCentredOnClusterROITool()=default
ViewCreatorCentredOnClusterROITool::m_roiEtaWidth
Gaudi::Property< double > m_roiEtaWidth
Definition
ViewCreatorCentredOnClusterROITool.h:49
ViewCreatorCentredOnClusterROITool::m_allowMultipleClusters
Gaudi::Property< bool > m_allowMultipleClusters
Definition
ViewCreatorCentredOnClusterROITool.h:46
TrigCompositeUtils::DecisionContainer
xAOD::TrigCompositeContainer DecisionContainer
Definition
TrigCompositeContainer.h:21
type
Generated on
for ATLAS Offline Software by
1.17.0