ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigSteer
DecisionHandling
src
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
8
#include "
AthenaBaseComps/AthAlgTool.h
"
9
#include "
StoreGate/WriteHandleKey.h
"
10
#include "
DecisionHandling/IViewCreatorROITool.h
"
11
#include "
TrigSteeringEvent/TrigRoiDescriptorCollection.h
"
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
39
SG::WriteHandleKey< TrigRoiDescriptorCollection >
m_roisWriteHandleKey
{
this
,
"RoisWriteHandleKey"
,
""
,
40
"Name of the ROI collection produced by this tool."
};
41
42
SG::ReadHandleKey<TrigRoiDescriptorCollection>
m_inViewRoIKey
{
this
,
"InViewRoIs"
,
""
,
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
:
61
std::string
m_viewToFetchFromProbe
;
62
};
63
64
#endif
//> !DECISIONHANDLING_VIEWCREATORFETCHFROMVIEWROITOOL_H
AthAlgTool.h
IViewCreatorROITool.h
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
TrigRoiDescriptorCollection.h
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
SG::WriteHandleKey< TrigRoiDescriptorCollection >
ViewCreatorFetchFromViewROITool::m_viewToFetchFrom
Gaudi::Property< std::string > m_viewToFetchFrom
Definition
ViewCreatorFetchFromViewROITool.h:45
ViewCreatorFetchFromViewROITool::m_inViewRoIKey
SG::ReadHandleKey< TrigRoiDescriptorCollection > m_inViewRoIKey
Definition
ViewCreatorFetchFromViewROITool.h:42
ViewCreatorFetchFromViewROITool::m_doResize
Gaudi::Property< bool > m_doResize
Definition
ViewCreatorFetchFromViewROITool.h:48
ViewCreatorFetchFromViewROITool::initialize
virtual StatusCode initialize() override
Definition
ViewCreatorFetchFromViewROITool.cxx:17
ViewCreatorFetchFromViewROITool::~ViewCreatorFetchFromViewROITool
virtual ~ViewCreatorFetchFromViewROITool()=default
ViewCreatorFetchFromViewROITool::attachROILinks
virtual StatusCode attachROILinks(TrigCompositeUtils::DecisionContainer &decisions, const EventContext &ctx) const override
Tool interface method.
Definition
ViewCreatorFetchFromViewROITool.cxx:27
ViewCreatorFetchFromViewROITool::ViewCreatorFetchFromViewROITool
ViewCreatorFetchFromViewROITool(const std::string &type, const std::string &name, const IInterface *parent)
Definition
ViewCreatorFetchFromViewROITool.cxx:12
ViewCreatorFetchFromViewROITool::m_roiZedWidth
Gaudi::Property< double > m_roiZedWidth
Definition
ViewCreatorFetchFromViewROITool.h:57
ViewCreatorFetchFromViewROITool::m_viewToFetchFromProbe
std::string m_viewToFetchFromProbe
Definition
ViewCreatorFetchFromViewROITool.h:61
ViewCreatorFetchFromViewROITool::m_roisWriteHandleKey
SG::WriteHandleKey< TrigRoiDescriptorCollection > m_roisWriteHandleKey
Definition
ViewCreatorFetchFromViewROITool.h:39
ViewCreatorFetchFromViewROITool::m_roiPhiWidth
Gaudi::Property< double > m_roiPhiWidth
Definition
ViewCreatorFetchFromViewROITool.h:54
ViewCreatorFetchFromViewROITool::m_roiEtaWidth
Gaudi::Property< double > m_roiEtaWidth
Definition
ViewCreatorFetchFromViewROITool.h:51
TrigCompositeUtils::DecisionContainer
xAOD::TrigCompositeContainer DecisionContainer
Definition
TrigCompositeContainer.h:21
type
Generated on
for ATLAS Offline Software by
1.17.0