ATLAS Offline Software
ViewCreatorDVROITool.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_VIEWCREATORDVROITOOL_H
6 #define DECISIONHANDLING_VIEWCREATORDVROITOOL_H
7 
8 #include "GaudiKernel/SystemOfUnits.h"
13 
27 class ViewCreatorDVROITool : public extends<AthAlgTool, IViewCreatorROITool>
28 {
29 public:
30  ViewCreatorDVROITool(const std::string& type, const std::string& name, const IInterface* parent);
31 
32  virtual ~ViewCreatorDVROITool() = default;
33 
34  virtual StatusCode initialize() override;
35 
39  virtual StatusCode attachROILinks(TrigCompositeUtils::DecisionContainer& decisions, const EventContext& ctx) const override;
40 
41 public:
43  "Name of the ROI collection produced by this tool."};
44 
45  Gaudi::Property< std::string > m_featureLinkName{this,"FeatureLinkName","HitDVSeedLink",
46  "The name of the decoration holding the list of jets used for preselection"};
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  // Need to get beamspot position from somewhere to recentre?
55  Gaudi::Property< double > m_roiZWidth {this,"RoIZWidth",1500.0,
56  "Z Half Width in mm"};
57 
58 };
59 
60 #endif //> !DECISIONHANDLING_VIEWCREATORDVROITOOL_H
ViewCreatorDVROITool::ViewCreatorDVROITool
ViewCreatorDVROITool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: ViewCreatorDVROITool.cxx:13
ViewCreatorDVROITool::m_roiEtaWidth
Gaudi::Property< double > m_roiEtaWidth
Definition: ViewCreatorDVROITool.h:48
IViewCreatorROITool.h
ViewCreatorDVROITool::m_roisWriteHandleKey
SG::WriteHandleKey< TrigRoiDescriptorCollection > m_roisWriteHandleKey
Definition: ViewCreatorDVROITool.h:42
SG::WriteHandleKey< TrigRoiDescriptorCollection >
ViewCreatorDVROITool::m_roiZWidth
Gaudi::Property< double > m_roiZWidth
Definition: ViewCreatorDVROITool.h:55
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
ViewCreatorDVROITool::attachROILinks
virtual StatusCode attachROILinks(TrigCompositeUtils::DecisionContainer &decisions, const EventContext &ctx) const override
Tool interface method.
Definition: ViewCreatorDVROITool.cxx:27
test_pyathena.parent
parent
Definition: test_pyathena.py:15
DataVector
Derived DataVector<T>.
Definition: DataVector.h:794
xAOD::decisions
decisions
Definition: TrigComposite_v1.cxx:101
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
ViewCreatorDVROITool
Definition: ViewCreatorDVROITool.h:28
ViewCreatorDVROITool::initialize
virtual StatusCode initialize() override
Definition: ViewCreatorDVROITool.cxx:20
ViewCreatorDVROITool::m_roiPhiWidth
Gaudi::Property< double > m_roiPhiWidth
Definition: ViewCreatorDVROITool.h:51
ViewCreatorDVROITool::~ViewCreatorDVROITool
virtual ~ViewCreatorDVROITool()=default
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
TrigRoiDescriptorCollection.h
ViewCreatorDVROITool::m_featureLinkName
Gaudi::Property< std::string > m_featureLinkName
Definition: ViewCreatorDVROITool.h:45