ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigSteer
DecisionHandling
src
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
8
#include "
AthenaBaseComps/AthAlgTool.h
"
9
#include "
StoreGate/WriteHandleKey.h
"
10
#include "
DecisionHandling/IViewCreatorROITool.h
"
11
#include "
TrigSteeringEvent/TrigRoiDescriptorCollection.h
"
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
29
virtual
~ViewCreatorCentredOnIParticleROITool
() =
default
;
30
31
virtual
StatusCode
initialize
()
override
;
32
36
virtual
StatusCode
attachROILinks
(
TrigCompositeUtils::DecisionContainer
& decisions,
const
EventContext& ctx)
const override
;
37
38
SG::WriteHandleKey< TrigRoiDescriptorCollection >
m_roisWriteHandleKey
{
this
,
"RoisWriteHandleKey"
,
""
,
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
AthAlgTool.h
Muon.h
IViewCreatorROITool.h
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
TrigRoiDescriptorCollection.h
SG::WriteHandleKey< TrigRoiDescriptorCollection >
ViewCreatorCentredOnIParticleROITool::m_roisWriteHandleKey
SG::WriteHandleKey< TrigRoiDescriptorCollection > m_roisWriteHandleKey
Definition
ViewCreatorCentredOnIParticleROITool.h:38
ViewCreatorCentredOnIParticleROITool::~ViewCreatorCentredOnIParticleROITool
virtual ~ViewCreatorCentredOnIParticleROITool()=default
ViewCreatorCentredOnIParticleROITool::m_useZedPosition
Gaudi::Property< bool > m_useZedPosition
Definition
ViewCreatorCentredOnIParticleROITool.h:56
ViewCreatorCentredOnIParticleROITool::m_roiZedSinThetaFlag
Gaudi::Property< double > m_roiZedSinThetaFlag
Definition
ViewCreatorCentredOnIParticleROITool.h:53
ViewCreatorCentredOnIParticleROITool::m_roiZedWidth
Gaudi::Property< double > m_roiZedWidth
Definition
ViewCreatorCentredOnIParticleROITool.h:50
ViewCreatorCentredOnIParticleROITool::m_roiEtaWidth
Gaudi::Property< double > m_roiEtaWidth
Definition
ViewCreatorCentredOnIParticleROITool.h:44
ViewCreatorCentredOnIParticleROITool::attachROILinks
virtual StatusCode attachROILinks(TrigCompositeUtils::DecisionContainer &decisions, const EventContext &ctx) const override
Tool interface method.
Definition
ViewCreatorCentredOnIParticleROITool.cxx:26
ViewCreatorCentredOnIParticleROITool::ViewCreatorCentredOnIParticleROITool
ViewCreatorCentredOnIParticleROITool(const std::string &type, const std::string &name, const IInterface *parent)
Definition
ViewCreatorCentredOnIParticleROITool.cxx:15
ViewCreatorCentredOnIParticleROITool::m_useBeamspot
Gaudi::Property< bool > m_useBeamspot
Definition
ViewCreatorCentredOnIParticleROITool.h:59
ViewCreatorCentredOnIParticleROITool::m_roiPhiWidth
Gaudi::Property< double > m_roiPhiWidth
Definition
ViewCreatorCentredOnIParticleROITool.h:47
ViewCreatorCentredOnIParticleROITool::m_iParticleLinkName
Gaudi::Property< std::string > m_iParticleLinkName
Definition
ViewCreatorCentredOnIParticleROITool.h:41
ViewCreatorCentredOnIParticleROITool::initialize
virtual StatusCode initialize() override
Definition
ViewCreatorCentredOnIParticleROITool.cxx:20
TrigCompositeUtils::DecisionContainer
xAOD::TrigCompositeContainer DecisionContainer
Definition
TrigCompositeContainer.h:21
type
Generated on
for ATLAS Offline Software by
1.17.0