ATLAS Offline Software
ViewCreatorJetSuperROITool.h
Go to the documentation of this file.
1 /*
2 Copyright (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 {
28 public:
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
ViewCreatorJetSuperROITool::m_featureLinkName
Gaudi::Property< std::string > m_featureLinkName
Definition: ViewCreatorJetSuperROITool.h:47
IViewCreatorROITool.h
ViewCreatorJetSuperROITool::m_roiEtaWidth
Gaudi::Property< double > m_roiEtaWidth
Definition: ViewCreatorJetSuperROITool.h:57
ViewCreatorJetSuperROITool::attachROILinks
virtual StatusCode attachROILinks(TrigCompositeUtils::DecisionContainer &decisions, const EventContext &ctx) const override
Tool interface method.
Definition: ViewCreatorJetSuperROITool.cxx:27
SG::WriteHandleKey< TrigRoiDescriptorCollection >
ViewCreatorJetSuperROITool::m_jetMinPt
Gaudi::Property< double > m_jetMinPt
Definition: ViewCreatorJetSuperROITool.h:50
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ViewCreatorJetSuperROITool::m_roiZWidth
Gaudi::Property< double > m_roiZWidth
Definition: ViewCreatorJetSuperROITool.h:64
ViewCreatorJetSuperROITool::m_jetMaxAbsEta
Gaudi::Property< double > m_jetMaxAbsEta
Definition: ViewCreatorJetSuperROITool.h:54
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:81
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
ViewCreatorJetSuperROITool::ViewCreatorJetSuperROITool
ViewCreatorJetSuperROITool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: ViewCreatorJetSuperROITool.cxx:13
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
ViewCreatorJetSuperROITool::m_roisWriteHandleKey
SG::WriteHandleKey< TrigRoiDescriptorCollection > m_roisWriteHandleKey
Definition: ViewCreatorJetSuperROITool.h:44
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
ViewCreatorJetSuperROITool::initialize
virtual StatusCode initialize() override
Definition: ViewCreatorJetSuperROITool.cxx:20
GeV
#define GeV
Definition: CaloTransverseBalanceVecMon.cxx:30
ViewCreatorJetSuperROITool::m_roiPhiWidth
Gaudi::Property< double > m_roiPhiWidth
Definition: ViewCreatorJetSuperROITool.h:60
TrigRoiDescriptorCollection.h
ViewCreatorJetSuperROITool::~ViewCreatorJetSuperROITool
virtual ~ViewCreatorJetSuperROITool()=default
ViewCreatorJetSuperROITool
Definition: ViewCreatorJetSuperROITool.h:27