ATLAS Offline Software
Loading...
Searching...
No Matches
ViewCreatorDVROITool.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_VIEWCREATORDVROITOOL_H
6#define DECISIONHANDLING_VIEWCREATORDVROITOOL_H
7
8#include "GaudiKernel/SystemOfUnits.h"
13
26
27class ViewCreatorDVROITool : public extends<AthAlgTool, IViewCreatorROITool>
28{
29public:
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
41public:
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
Property holding a SG store/key/clid from which a WriteHandle is made.
Gaudi::Property< double > m_roiPhiWidth
ViewCreatorDVROITool(const std::string &type, const std::string &name, const IInterface *parent)
Gaudi::Property< double > m_roiZWidth
SG::WriteHandleKey< TrigRoiDescriptorCollection > m_roisWriteHandleKey
virtual StatusCode initialize() override
Gaudi::Property< std::string > m_featureLinkName
virtual StatusCode attachROILinks(TrigCompositeUtils::DecisionContainer &decisions, const EventContext &ctx) const override
Tool interface method.
virtual ~ViewCreatorDVROITool()=default
Gaudi::Property< double > m_roiEtaWidth