ATLAS Offline Software
Loading...
Searching...
No Matches
ViewCreatorCentredOnIParticleROITool.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_VIEWCREATORCENTREDONIPARTICLEROITOOL_H
6#define DECISIONHANDLING_VIEWCREATORCENTREDONIPARTICLEROITOOL_H
7
12#include "xAODMuon/Muon.h"
13
24class ViewCreatorCentredOnIParticleROITool: public extends<AthAlgTool, IViewCreatorROITool>
25{
26public:
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
Property holding a SG store/key/clid from which a WriteHandle is made.
SG::WriteHandleKey< TrigRoiDescriptorCollection > m_roisWriteHandleKey
virtual ~ViewCreatorCentredOnIParticleROITool()=default
virtual StatusCode attachROILinks(TrigCompositeUtils::DecisionContainer &decisions, const EventContext &ctx) const override
Tool interface method.
ViewCreatorCentredOnIParticleROITool(const std::string &type, const std::string &name, const IInterface *parent)