ATLAS Offline Software
ViewCreatorCentredOnIParticleROITool.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_VIEWCREATORCENTREDONIPARTICLEROITOOL_H
6 #define DECISIONHANDLING_VIEWCREATORCENTREDONIPARTICLEROITOOL_H
7 
12 #include "xAODMuon/Muon.h"
13 
24 class ViewCreatorCentredOnIParticleROITool: public extends<AthAlgTool, IViewCreatorROITool>
25 {
26 public:
27  ViewCreatorCentredOnIParticleROITool(const std::string& type, const std::string& name, const IInterface* parent);
28 
30 
31  virtual StatusCode initialize() override;
32 
36  virtual StatusCode attachROILinks(TrigCompositeUtils::DecisionContainer& decisions, const EventContext& ctx) const override;
37 
39  "Name of the ROI collection produced by this tool."};
40 
41  Gaudi::Property< std::string > m_iParticleLinkName{this,"IParticleLinkName","feature",
42  "Name of linked IParticle object to centre the new ROI on. Normally the 'feature' from the previous Step."};
43 
44  Gaudi::Property< double > m_roiEtaWidth{this,"RoIEtaWidth",0.1,
45  "Extent of the ROI in eta from its centre"};
46 
47  Gaudi::Property< double > m_roiPhiWidth{this,"RoIPhiWidth",0.1,
48  "Extent of the ROI in phi from its centre"};
49 
50  Gaudi::Property< double > m_roiZedWidth{this,"RoIZedWidth",-999,
51  "Extent of the ROI in zed from its centre"};
52 
53  Gaudi::Property< double > m_roiZedSinThetaFlag{this,"RoIZedSinThetaFlag", false,
54  "use a delta zed/sin\theta width rather than just a zed width"};
55 
56  Gaudi::Property< bool > m_useZedPosition{this,"UseZedPosition", true,
57  "use IParticle z position"};
58 
59  Gaudi::Property< bool > m_useBeamspot{this,"UseBeamSpot", true,
60  "correct for the pointlessly adjusted average beamspot z"};
61 
62 };
63 
64 #endif //> !DECISIONHANDLING_VIEWCREATORCENTREDONIPARTICLEROITOOL_H
ViewCreatorCentredOnIParticleROITool
Definition: ViewCreatorCentredOnIParticleROITool.h:25
Muon.h
IViewCreatorROITool.h
ViewCreatorCentredOnIParticleROITool::m_iParticleLinkName
Gaudi::Property< std::string > m_iParticleLinkName
Definition: ViewCreatorCentredOnIParticleROITool.h:41
ViewCreatorCentredOnIParticleROITool::m_roiZedWidth
Gaudi::Property< double > m_roiZedWidth
Definition: ViewCreatorCentredOnIParticleROITool.h:50
ViewCreatorCentredOnIParticleROITool::m_useZedPosition
Gaudi::Property< bool > m_useZedPosition
Definition: ViewCreatorCentredOnIParticleROITool.h:56
SG::WriteHandleKey< TrigRoiDescriptorCollection >
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ViewCreatorCentredOnIParticleROITool::m_useBeamspot
Gaudi::Property< bool > m_useBeamspot
Definition: ViewCreatorCentredOnIParticleROITool.h:59
AthAlgTool.h
ViewCreatorCentredOnIParticleROITool::m_roiEtaWidth
Gaudi::Property< double > m_roiEtaWidth
Definition: ViewCreatorCentredOnIParticleROITool.h:44
test_pyathena.parent
parent
Definition: test_pyathena.py:15
ViewCreatorCentredOnIParticleROITool::initialize
virtual StatusCode initialize() override
Definition: ViewCreatorCentredOnIParticleROITool.cxx:19
ViewCreatorCentredOnIParticleROITool::ViewCreatorCentredOnIParticleROITool
ViewCreatorCentredOnIParticleROITool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: ViewCreatorCentredOnIParticleROITool.cxx:14
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.
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
ViewCreatorCentredOnIParticleROITool::~ViewCreatorCentredOnIParticleROITool
virtual ~ViewCreatorCentredOnIParticleROITool()=default
ViewCreatorCentredOnIParticleROITool::m_roiPhiWidth
Gaudi::Property< double > m_roiPhiWidth
Definition: ViewCreatorCentredOnIParticleROITool.h:47
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
ViewCreatorCentredOnIParticleROITool::attachROILinks
virtual StatusCode attachROILinks(TrigCompositeUtils::DecisionContainer &decisions, const EventContext &ctx) const override
Tool interface method.
Definition: ViewCreatorCentredOnIParticleROITool.cxx:25
ViewCreatorCentredOnIParticleROITool::m_roiZedSinThetaFlag
Gaudi::Property< double > m_roiZedSinThetaFlag
Definition: ViewCreatorCentredOnIParticleROITool.h:53
ViewCreatorCentredOnIParticleROITool::m_roisWriteHandleKey
SG::WriteHandleKey< TrigRoiDescriptorCollection > m_roisWriteHandleKey
Definition: ViewCreatorCentredOnIParticleROITool.h:38
TrigRoiDescriptorCollection.h