ATLAS Offline Software
Loading...
Searching...
No Matches
ViewCreatorCentredOnJetWithPVConstraintROITool.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_VIEWCREATORCENTREDONJETWITHPVCONSTRAINTROITOOL_H
6#define DECISIONHANDLING_VIEWCREATORCENTREDONJETWITHPVCONSTRAINTROITOOL_H
7
12
15
26 class ViewCreatorCentredOnJetWithPVConstraintROITool : public extends<AthAlgTool, IViewCreatorROITool>
27{
28public:
29 ViewCreatorCentredOnJetWithPVConstraintROITool(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
40
41 protected:
43
44 public:
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
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
Property holding a SG store/key/clid from which a WriteHandle is made.
Property holding a SG store/key/clid from which a ReadHandle is made.
const xAOD::Vertex * getPrimaryVertex(const xAOD::VertexContainer *) const
SG::WriteHandleKey< TrigRoiDescriptorCollection > m_roisWriteHandleKey
ViewCreatorCentredOnJetWithPVConstraintROITool(const std::string &type, const std::string &name, const IInterface *parent)
virtual ~ViewCreatorCentredOnJetWithPVConstraintROITool()=default
virtual StatusCode attachROILinks(TrigCompositeUtils::DecisionContainer &decisions, const EventContext &ctx) const override
Tool interface method.
VertexContainer_v1 VertexContainer
Definition of the current "Vertex container version".
Vertex_v1 Vertex
Define the latest version of the vertex class.