ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigSteer
HLTSeeding
src
RoiUpdaterTool.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_ROIUPDATERTOOL_H
6
#define DECISIONHANDLING_ROIUPDATERTOOL_H
7
8
#include "
AthenaBaseComps/AthAlgTool.h
"
9
10
#include "
TrigSteeringEvent/TrigRoiDescriptorCollection.h
"
11
#include "
BeamSpotConditionsData/BeamSpotData.h
"
12
#include "
StoreGate/ReadCondHandleKey.h
"
13
#include "
HLTSeeding/IRoiUpdaterTool.h
"
14
21
class
RoiUpdaterTool
:
public
extends<AthAlgTool, IRoiUpdaterTool>
22
{
23
public
:
24
25
RoiUpdaterTool
(
const
std::string&
type
,
const
std::string& name,
const
IInterface* parent);
26
27
virtual
~RoiUpdaterTool
() =
default
;
28
29
virtual
StatusCode
initialize
()
override
;
30
31
std::unique_ptr<TrigRoiDescriptor>
execute
(
const
EventContext& ctx )
const override
;
32
33
std::unique_ptr<TrigRoiDescriptor>
execute
(
const
IRoiDescriptor
* iroi,
const
EventContext& ctx )
const override
;
34
37
bool
m_update
;
38
42
Gaudi::Property<double>
m_etaWidth
{
this
,
"EtaWidth"
, -999,
"FS Roi eta half width"
};
43
Gaudi::Property<double>
m_phiWidth
{
this
,
"PhiWidth"
, -999,
"FS Roi phi half width"
};
44
Gaudi::Property<double>
m_zedWidth
{
this
,
"ZedWidth"
, -999,
"FS Roi zed half width"
};
45
46
Gaudi::Property<bool>
m_useBeamspot
{
this
,
"useBeamSpot"
,
false
,
"use beamspot for zed width"
};
48
Gaudi::Property<double>
m_nsigma
{
this
,
"NSigma"
, 3,
"width (in simga) for the beamspot Roi width"
};
49
Gaudi::Property<double>
m_fence
{
this
,
"Fance"
, 10,
"fence width for the beamspot Roi width"
};
50
51
SG::ReadCondHandleKey<InDet::BeamSpotData>
m_beamspotKey
{
this
,
"BeamSpotKey"
,
"BeamSpotData"
,
"SG key for beam spot"
};
52
53
};
54
55
#endif
//> !DECISIONHANDLING_ROIUPDATERTOOL_H
AthAlgTool.h
BeamSpotData.h
IRoiUpdaterTool.h
ReadCondHandleKey.h
TrigRoiDescriptorCollection.h
IRoiDescriptor
Describes the API of the Region of Ineterest geometry.
Definition
IRoiDescriptor.h:23
RoiUpdaterTool::m_update
bool m_update
whether to update the RoiDescritor or not - determiuned from whether any of update parameters are set
Definition
RoiUpdaterTool.h:37
RoiUpdaterTool::m_fence
Gaudi::Property< double > m_fence
Definition
RoiUpdaterTool.h:49
RoiUpdaterTool::RoiUpdaterTool
RoiUpdaterTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition
RoiUpdaterTool.cxx:11
RoiUpdaterTool::m_zedWidth
Gaudi::Property< double > m_zedWidth
Definition
RoiUpdaterTool.h:44
RoiUpdaterTool::m_etaWidth
Gaudi::Property< double > m_etaWidth
don't want these parameters used if not set
Definition
RoiUpdaterTool.h:42
RoiUpdaterTool::execute
std::unique_ptr< TrigRoiDescriptor > execute(const EventContext &ctx) const override
Definition
RoiUpdaterTool.cxx:58
RoiUpdaterTool::m_nsigma
Gaudi::Property< double > m_nsigma
default settings - should be retuned with data
Definition
RoiUpdaterTool.h:48
RoiUpdaterTool::m_beamspotKey
SG::ReadCondHandleKey< InDet::BeamSpotData > m_beamspotKey
do we need an mm unit here ?
Definition
RoiUpdaterTool.h:51
RoiUpdaterTool::~RoiUpdaterTool
virtual ~RoiUpdaterTool()=default
RoiUpdaterTool::m_phiWidth
Gaudi::Property< double > m_phiWidth
Definition
RoiUpdaterTool.h:43
RoiUpdaterTool::m_useBeamspot
Gaudi::Property< bool > m_useBeamspot
Definition
RoiUpdaterTool.h:46
RoiUpdaterTool::initialize
virtual StatusCode initialize() override
Definition
RoiUpdaterTool.cxx:17
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
type
Generated on
for ATLAS Offline Software by
1.17.0