ATLAS Offline Software
ViewCreatorMuonSuperROITool.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_VIEWCREATORMUONSUPERROITOOL_H
6 #define DECISIONHANDLING_VIEWCREATORMUONSUPERROITOOL_H
7 
8 #include "GaudiKernel/SystemOfUnits.h"
13 
25  class ViewCreatorMuonSuperROITool : public extends<AthAlgTool, IViewCreatorROITool>
26 {
27 public:
28  ViewCreatorMuonSuperROITool(const std::string& type, const std::string& name, const IInterface* parent);
29 
30  virtual ~ViewCreatorMuonSuperROITool() = default;
31 
32  virtual StatusCode initialize() override;
33 
37  virtual StatusCode attachROILinks(TrigCompositeUtils::DecisionContainer& decisions, const EventContext& ctx) const override;
38 
39 
40  public:
42  "Name of the ROI collection produced by this tool."};
43 
44  // JK Need to change this
45  // Gaudi::Property< std::string > m_featureLinkName{this,"FeatureLinkName","PreselMuons",
46  // "The name of the decoration holding the list of muons used for bmumux"};
47 
48  Gaudi::Property< std::string > m_iParticleLinkName{this,"IParticleLinkName","feature",
49  "Name of linked IParticle object to centre the new ROI on. Normally the 'feature' from the previous Step."};
50 
51 
52 //JK Gaudi::Property< double > m_jetMinPt{this,"JetMinPt",20*Gaudi::Units::GeV,
53 //JK "Minimum jet pT used for RoI creation"};
54 
55  // Use rapidity?
56  //JK Gaudi::Property< double > m_jetMaxAbsEta{this,"JetMaxAbsEta",2.5,
57  //JK "Maximum absolute jet pseudorapidity used for RoI creation"};
58 
59  Gaudi::Property< double > m_roiEtaWidth{this,"RoIEtaWidth",0.5,
60  "Extent of the ROI in eta from its centre"};
61 
62  Gaudi::Property< double > m_roiPhiWidth{this,"RoIPhiWidth",0.5,
63  "Extent of the ROI in phi from its centre"};
64 
65  // Need to get beamspot position from somewhere to recentre?
66  Gaudi::Property< double > m_roiZedWidth {this,"RoIZedWidth",50.0,
67  "Z Half Width in mm"};
68 
69 };
70 
71 #endif //> !DECISIONHANDLING_VIEWCREATORMUONSUPERROITOOL_H
IViewCreatorROITool.h
ViewCreatorMuonSuperROITool::initialize
virtual StatusCode initialize() override
Definition: ViewCreatorMuonSuperROITool.cxx:21
ViewCreatorMuonSuperROITool::m_roiZedWidth
Gaudi::Property< double > m_roiZedWidth
Definition: ViewCreatorMuonSuperROITool.h:66
ViewCreatorMuonSuperROITool::m_roiPhiWidth
Gaudi::Property< double > m_roiPhiWidth
Definition: ViewCreatorMuonSuperROITool.h:62
SG::WriteHandleKey< TrigRoiDescriptorCollection >
ViewCreatorMuonSuperROITool::m_roisWriteHandleKey
SG::WriteHandleKey< TrigRoiDescriptorCollection > m_roisWriteHandleKey
Definition: ViewCreatorMuonSuperROITool.h:41
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
ViewCreatorMuonSuperROITool
Definition: ViewCreatorMuonSuperROITool.h:26
DataVector
Derived DataVector<T>.
Definition: DataVector.h:794
xAOD::decisions
decisions
Definition: TrigComposite_v1.cxx:101
ViewCreatorMuonSuperROITool::ViewCreatorMuonSuperROITool
ViewCreatorMuonSuperROITool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: ViewCreatorMuonSuperROITool.cxx:14
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
ViewCreatorMuonSuperROITool::m_iParticleLinkName
Gaudi::Property< std::string > m_iParticleLinkName
Definition: ViewCreatorMuonSuperROITool.h:48
ViewCreatorMuonSuperROITool::~ViewCreatorMuonSuperROITool
virtual ~ViewCreatorMuonSuperROITool()=default
ViewCreatorMuonSuperROITool::attachROILinks
virtual StatusCode attachROILinks(TrigCompositeUtils::DecisionContainer &decisions, const EventContext &ctx) const override
Tool interface method.
Definition: ViewCreatorMuonSuperROITool.cxx:28
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
ViewCreatorMuonSuperROITool::m_roiEtaWidth
Gaudi::Property< double > m_roiEtaWidth
Definition: ViewCreatorMuonSuperROITool.h:59
TrigRoiDescriptorCollection.h