ATLAS Offline Software
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 
12 
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 
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
ViewCreatorCentredOnJetWithPVConstraintROITool::m_roiPhiWidth
Gaudi::Property< double > m_roiPhiWidth
Definition: ViewCreatorCentredOnJetWithPVConstraintROITool.h:51
IViewCreatorROITool.h
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
ViewCreatorCentredOnJetWithPVConstraintROITool::m_prmVtxLink
Gaudi::Property< std::string > m_prmVtxLink
Definition: ViewCreatorCentredOnJetWithPVConstraintROITool.h:60
ViewCreatorCentredOnJetWithPVConstraintROITool::m_roiEtaWidth
Gaudi::Property< double > m_roiEtaWidth
Definition: ViewCreatorCentredOnJetWithPVConstraintROITool.h:48
ViewCreatorCentredOnJetWithPVConstraintROITool::m_roisWriteHandleKey
SG::WriteHandleKey< TrigRoiDescriptorCollection > m_roisWriteHandleKey
Definition: ViewCreatorCentredOnJetWithPVConstraintROITool.h:45
SG::WriteHandleKey< TrigRoiDescriptorCollection >
ViewCreatorCentredOnJetWithPVConstraintROITool::initialize
virtual StatusCode initialize() override
Definition: ViewCreatorCentredOnJetWithPVConstraintROITool.cxx:20
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
xAOD::decisions
decisions
Definition: TrigComposite_v1.cxx:101
ViewCreatorCentredOnJetWithPVConstraintROITool::ViewCreatorCentredOnJetWithPVConstraintROITool
ViewCreatorCentredOnJetWithPVConstraintROITool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: ViewCreatorCentredOnJetWithPVConstraintROITool.cxx:13
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
ViewCreatorCentredOnJetWithPVConstraintROITool::m_vertexReadHandleKey
SG::ReadHandleKey< xAOD::VertexContainer > m_vertexReadHandleKey
Definition: ViewCreatorCentredOnJetWithPVConstraintROITool.h:57
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
ViewCreatorCentredOnJetWithPVConstraintROITool::getPrimaryVertex
const xAOD::Vertex * getPrimaryVertex(const xAOD::VertexContainer *) const
Definition: ViewCreatorCentredOnJetWithPVConstraintROITool.cxx:109
ViewCreatorCentredOnJetWithPVConstraintROITool::attachROILinks
virtual StatusCode attachROILinks(TrigCompositeUtils::DecisionContainer &decisions, const EventContext &ctx) const override
Tool interface method.
Definition: ViewCreatorCentredOnJetWithPVConstraintROITool.cxx:33
VertexContainer.h
ViewCreatorCentredOnJetWithPVConstraintROITool
Definition: ViewCreatorCentredOnJetWithPVConstraintROITool.h:27
xAOD::Vertex_v1
Class describing a Vertex.
Definition: Vertex_v1.h:42
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
ViewCreatorCentredOnJetWithPVConstraintROITool::~ViewCreatorCentredOnJetWithPVConstraintROITool
virtual ~ViewCreatorCentredOnJetWithPVConstraintROITool()=default
ViewCreatorCentredOnJetWithPVConstraintROITool::m_roiZWidth
Gaudi::Property< double > m_roiZWidth
Definition: ViewCreatorCentredOnJetWithPVConstraintROITool.h:54
TrigRoiDescriptorCollection.h
VertexAuxContainer.h