ATLAS Offline Software
Loading...
Searching...
No Matches
RoiUpdaterTool.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_ROIUPDATERTOOL_H
6#define DECISIONHANDLING_ROIUPDATERTOOL_H
7
9
14
21class RoiUpdaterTool: public extends<AthAlgTool, IRoiUpdaterTool>
22{
23public:
24
25 RoiUpdaterTool(const std::string& type, const std::string& name, const IInterface* parent);
26
27 virtual ~RoiUpdaterTool() = default;
28
29 virtual StatusCode initialize() override;
30
31 std::unique_ptr<TrigRoiDescriptor> execute( const EventContext& ctx ) const override;
32
33 std::unique_ptr<TrigRoiDescriptor> execute( const IRoiDescriptor* iroi, const EventContext& ctx ) const override;
34
38
42 Gaudi::Property<double> m_etaWidth { this, "EtaWidth", -999, "FS Roi eta half width" };
43 Gaudi::Property<double> m_phiWidth { this, "PhiWidth", -999, "FS Roi phi half width" };
44 Gaudi::Property<double> m_zedWidth { this, "ZedWidth", -999, "FS Roi zed half width" };
45
46 Gaudi::Property<bool> m_useBeamspot { this, "useBeamSpot", false, "use beamspot for zed width" };
48 Gaudi::Property<double> m_nsigma { this, "NSigma", 3, "width (in simga) for the beamspot Roi width" };
49 Gaudi::Property<double> m_fence { this, "Fance", 10, "fence width for the beamspot Roi width" };
50
51 SG::ReadCondHandleKey<InDet::BeamSpotData> m_beamspotKey { this, "BeamSpotKey", "BeamSpotData", "SG key for beam spot" };
52
53};
54
55#endif //> !DECISIONHANDLING_ROIUPDATERTOOL_H
Describes the API of the Region of Ineterest geometry.
bool m_update
whether to update the RoiDescritor or not - determiuned from whether any of update parameters are set
Gaudi::Property< double > m_fence
RoiUpdaterTool(const std::string &type, const std::string &name, const IInterface *parent)
Gaudi::Property< double > m_zedWidth
Gaudi::Property< double > m_etaWidth
don't want these parameters used if not set
std::unique_ptr< TrigRoiDescriptor > execute(const EventContext &ctx) const override
Gaudi::Property< double > m_nsigma
default settings - should be retuned with data
SG::ReadCondHandleKey< InDet::BeamSpotData > m_beamspotKey
do we need an mm unit here ?
virtual ~RoiUpdaterTool()=default
Gaudi::Property< double > m_phiWidth
Gaudi::Property< bool > m_useBeamspot
virtual StatusCode initialize() override