ATLAS Offline Software
Loading...
Searching...
No Matches
ViewCreatorJetSuperROITool.h
Go to the documentation of this file.
1/*
2Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef DECISIONHANDLING_VIEWCREATORJETSUPERROITOOL_H
6#define DECISIONHANDLING_VIEWCREATORJETSUPERROITOOL_H
7
8#include "GaudiKernel/SystemOfUnits.h"
13
26 class ViewCreatorJetSuperROITool : public extends<AthAlgTool, IViewCreatorROITool>
27{
28public:
29 ViewCreatorJetSuperROITool(const std::string& type, const std::string& name, const IInterface* parent);
30
31 virtual ~ViewCreatorJetSuperROITool() = default;
32
33 virtual StatusCode initialize() override;
34
38 virtual StatusCode attachROILinks(TrigCompositeUtils::DecisionContainer& decisions, const EventContext& ctx) const override;
39
40
41 protected:
42
43 public:
45 "Name of the ROI collection produced by this tool."};
46
47 Gaudi::Property< std::string > m_featureLinkName{this,"FeatureLinkName","PreselJets",
48 "The name of the decoration holding the list of jets used for preselection"};
49
50 Gaudi::Property< double > m_jetMinPt{this,"JetMinPt",20*Gaudi::Units::GeV,
51 "Minimum jet pT used for RoI creation"};
52
53 // Use rapidity?
54 Gaudi::Property< double > m_jetMaxAbsEta{this,"JetMaxAbsEta",2.5,
55 "Maximum absolute jet pseudorapidity used for RoI creation"};
56
57 Gaudi::Property< double > m_roiEtaWidth{this,"RoIEtaWidth",0.4,
58 "Extent of the ROI in eta from its centre"};
59
60 Gaudi::Property< double > m_roiPhiWidth{this,"RoIPhiWidth",0.4,
61 "Extent of the ROI in phi from its centre"};
62
63 // Need to get beamspot position from somewhere to recentre?
64 Gaudi::Property< double > m_roiZWidth {this,"RoIZWidth",-999,
65 "Z Half Width in mm"};
66
67};
68
69#endif //> !DECISIONHANDLING_VIEWCREATORJETSUPERROITOOL_H
Property holding a SG store/key/clid from which a WriteHandle is made.
Gaudi::Property< double > m_roiEtaWidth
Gaudi::Property< double > m_roiPhiWidth
virtual StatusCode initialize() override
virtual StatusCode attachROILinks(TrigCompositeUtils::DecisionContainer &decisions, const EventContext &ctx) const override
Tool interface method.
Gaudi::Property< double > m_jetMinPt
virtual ~ViewCreatorJetSuperROITool()=default
SG::WriteHandleKey< TrigRoiDescriptorCollection > m_roisWriteHandleKey
Gaudi::Property< std::string > m_featureLinkName
Gaudi::Property< double > m_roiZWidth
ViewCreatorJetSuperROITool(const std::string &type, const std::string &name, const IInterface *parent)
Gaudi::Property< double > m_jetMaxAbsEta