ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigSteer
DecisionHandling
src
ViewCreatorCentredOnJetWithPVConstraintROITool.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_VIEWCREATORCENTREDONJETWITHPVCONSTRAINTROITOOL_H
6
#define DECISIONHANDLING_VIEWCREATORCENTREDONJETWITHPVCONSTRAINTROITOOL_H
7
8
#include "
AthenaBaseComps/AthAlgTool.h
"
9
#include "
StoreGate/WriteHandleKey.h
"
10
#include "
DecisionHandling/IViewCreatorROITool.h
"
11
#include "
TrigSteeringEvent/TrigRoiDescriptorCollection.h
"
12
13
#include "
xAODTracking/VertexContainer.h
"
14
#include "
xAODTracking/VertexAuxContainer.h
"
15
26
class
ViewCreatorCentredOnJetWithPVConstraintROITool
:
public
extends<AthAlgTool, IViewCreatorROITool>
27
{
28
public
:
29
ViewCreatorCentredOnJetWithPVConstraintROITool
(
const
std::string&
type
,
const
std::string& name,
const
IInterface* parent);
30
31
virtual
~ViewCreatorCentredOnJetWithPVConstraintROITool
() =
default
;
32
33
virtual
StatusCode
initialize
()
override
;
34
38
virtual
StatusCode
attachROILinks
(
TrigCompositeUtils::DecisionContainer
& decisions,
const
EventContext& ctx)
const override
;
39
40
41
protected
:
42
const
xAOD::Vertex
*
getPrimaryVertex
(
const
xAOD::VertexContainer
* )
const
;
43
44
public
:
45
SG::WriteHandleKey< TrigRoiDescriptorCollection >
m_roisWriteHandleKey
{
this
,
"RoisWriteHandleKey"
,
""
,
46
"Name of the ROI collection produced by this tool."
};
47
48
Gaudi::Property< double >
m_roiEtaWidth
{
this
,
"RoIEtaWidth"
,0.4,
49
"Extent of the ROI in eta from its centre"
};
50
51
Gaudi::Property< double >
m_roiPhiWidth
{
this
,
"RoIPhiWidth"
,0.4,
52
"Extent of the ROI in phi from its centre"
};
53
54
Gaudi::Property< double >
m_roiZWidth
{
this
,
"RoIZWidth"
,10.0,
55
"Z Half Width in mm"
};
56
57
SG::ReadHandleKey< xAOD::VertexContainer >
m_vertexReadHandleKey
{
this
,
"VertexReadHandleKey"
,
""
,
58
"Name of the Vertex collection required as input for constructing the ROI"
};
59
60
Gaudi::Property< std::string >
m_prmVtxLink
{
this
,
"PrmVtxLink"
,
""
,
61
"PrmVtx link to attach to the output decision"
};
62
63
};
64
65
#endif
//> !DECISIONHANDLING_VIEWCREATORCENTREDONJETWITHPVCONSTRAINTROITOOL_H
AthAlgTool.h
IViewCreatorROITool.h
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
TrigRoiDescriptorCollection.h
VertexAuxContainer.h
VertexContainer.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 >
ViewCreatorCentredOnJetWithPVConstraintROITool::m_roiPhiWidth
Gaudi::Property< double > m_roiPhiWidth
Definition
ViewCreatorCentredOnJetWithPVConstraintROITool.h:51
ViewCreatorCentredOnJetWithPVConstraintROITool::m_roiZWidth
Gaudi::Property< double > m_roiZWidth
Definition
ViewCreatorCentredOnJetWithPVConstraintROITool.h:54
ViewCreatorCentredOnJetWithPVConstraintROITool::getPrimaryVertex
const xAOD::Vertex * getPrimaryVertex(const xAOD::VertexContainer *) const
Definition
ViewCreatorCentredOnJetWithPVConstraintROITool.cxx:109
ViewCreatorCentredOnJetWithPVConstraintROITool::m_roisWriteHandleKey
SG::WriteHandleKey< TrigRoiDescriptorCollection > m_roisWriteHandleKey
Definition
ViewCreatorCentredOnJetWithPVConstraintROITool.h:45
ViewCreatorCentredOnJetWithPVConstraintROITool::initialize
virtual StatusCode initialize() override
Definition
ViewCreatorCentredOnJetWithPVConstraintROITool.cxx:20
ViewCreatorCentredOnJetWithPVConstraintROITool::m_prmVtxLink
Gaudi::Property< std::string > m_prmVtxLink
Definition
ViewCreatorCentredOnJetWithPVConstraintROITool.h:60
ViewCreatorCentredOnJetWithPVConstraintROITool::ViewCreatorCentredOnJetWithPVConstraintROITool
ViewCreatorCentredOnJetWithPVConstraintROITool(const std::string &type, const std::string &name, const IInterface *parent)
Definition
ViewCreatorCentredOnJetWithPVConstraintROITool.cxx:13
ViewCreatorCentredOnJetWithPVConstraintROITool::~ViewCreatorCentredOnJetWithPVConstraintROITool
virtual ~ViewCreatorCentredOnJetWithPVConstraintROITool()=default
ViewCreatorCentredOnJetWithPVConstraintROITool::m_roiEtaWidth
Gaudi::Property< double > m_roiEtaWidth
Definition
ViewCreatorCentredOnJetWithPVConstraintROITool.h:48
ViewCreatorCentredOnJetWithPVConstraintROITool::attachROILinks
virtual StatusCode attachROILinks(TrigCompositeUtils::DecisionContainer &decisions, const EventContext &ctx) const override
Tool interface method.
Definition
ViewCreatorCentredOnJetWithPVConstraintROITool.cxx:33
ViewCreatorCentredOnJetWithPVConstraintROITool::m_vertexReadHandleKey
SG::ReadHandleKey< xAOD::VertexContainer > m_vertexReadHandleKey
Definition
ViewCreatorCentredOnJetWithPVConstraintROITool.h:57
TrigCompositeUtils::DecisionContainer
xAOD::TrigCompositeContainer DecisionContainer
Definition
TrigCompositeContainer.h:21
xAOD::VertexContainer
VertexContainer_v1 VertexContainer
Definition of the current "Vertex container version".
Definition
VertexContainer.h:14
xAOD::Vertex
Vertex_v1 Vertex
Define the latest version of the vertex class.
Definition
Event/xAOD/xAODTracking/xAODTracking/Vertex.h:16
type
Generated on
for ATLAS Offline Software by
1.17.0