ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigAlgorithms
TrigL2MuonSA
src
TgcRoadDefiner.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef TRIGL2MUONSA_TGCROADDEFINER_H
6
#define TRIGL2MUONSA_TGCROADDEFINER_H
7
8
#include "
AthenaBaseComps/AthAlgTool.h
"
9
#include "GaudiKernel/ServiceHandle.h"
10
#include "GaudiKernel/ToolHandle.h"
11
12
#include "
TrigMuonToolInterfaces/ITrigMuonBackExtrapolator.h
"
13
#include "
PtEndcapLUTSvc.h
"
14
#include "
PtEndcapLUT.h
"
15
#include "
TgcFit.h
"
16
#include "
TgcData.h
"
17
#include "
MuonRoad.h
"
18
#include "
TrigSteeringEvent/TrigRoiDescriptor.h
"
19
#include "
IRegionSelector/IRegSelTool.h
"
20
#include "
MuonIdHelpers/IMuonIdHelperSvc.h
"
21
22
namespace
TrigL2MuonSA
{
23
24
// --------------------------------------------------------------------------------
25
// --------------------------------------------------------------------------------
26
27
class
TgcRoadDefiner
:
public
AthAlgTool
28
{
29
public
:
30
TgcRoadDefiner
(
const
std::string&
type
,
31
const
std::string& name,
32
const
IInterface* parent);
33
34
virtual
StatusCode
initialize
()
override
;
35
36
StatusCode
defineRoad
(
const
EventContext& ctx,
37
const
TrigRoiDescriptor
* p_roids,
38
const
bool
insideOut,
39
const
TrigL2MuonSA::TgcHits
& tgcHits,
40
TrigL2MuonSA::MuonRoad
& muonRoad,
41
TrigL2MuonSA::TgcFitResult
& tgcFitResult)
const
;
42
43
void
setPtLUT
(
const
TrigL2MuonSA::PtEndcapLUTSvc
* ptEndcapLUTSvc) {
m_ptEndcapLUT
= ptEndcapLUTSvc->
ptEndcapLUT
(); };
44
void
setRoadWidthForFailure
(
double
rWidth_TGC_Failed) {
m_rWidth_TGC_Failed
= rWidth_TGC_Failed; };
45
void
setExtrapolatorTool
(ToolHandle<ITrigMuonBackExtrapolator>* backExtrapolator) {
m_backExtrapolatorTool
= backExtrapolator; };
46
47
bool
prepareTgcPoints
(
const
TrigL2MuonSA::TgcHits
& tgcHits,
48
TrigL2MuonSA::TgcFit::PointArray
& tgcStripInnPoints,
49
TrigL2MuonSA::TgcFit::PointArray
& tgcWireInnPoints,
50
TrigL2MuonSA::TgcFit::PointArray
& tgcStripMidPoints,
51
TrigL2MuonSA::TgcFit::PointArray
& tgcWireMidPoints)
const
;
52
53
private
:
54
// set in MuFastSteering::hltInitialize, setExtrapolatorTool
55
const
ToolHandle<ITrigMuonBackExtrapolator>*
m_backExtrapolatorTool
{
nullptr
};
56
// set in MuFastSteering::hltInitialize, setMCFlag
57
const
ToolHandle<PtEndcapLUT>*
m_ptEndcapLUT
{
nullptr
};
58
59
ToolHandle<TgcFit>
m_tgcFit
{
"TrigL2MuonSA::TgcFit"
};
60
61
double
m_rWidth_TGC_Failed
{0};
62
63
ToolHandle<IRegSelTool>
m_regionSelector
{
this
,
"RegionSelectionTool"
,
"RegSelTool/RegSelTool_MDT"
,
"MDT Region Selector Tool"
};
64
ServiceHandle<Muon::IMuonIdHelperSvc>
m_idHelperSvc
{
this
,
"MuonIdHelperSvc"
,
"Muon::MuonIdHelperSvc/MuonIdHelperSvc"
};
65
66
};
67
68
// --------------------------------------------------------------------------------
69
// --------------------------------------------------------------------------------
70
}
71
72
#endif
// TRIGL2MUONSA_TGCROADDEFINER_H
AthAlgTool.h
IMuonIdHelperSvc.h
IRegSelTool.h
ITrigMuonBackExtrapolator.h
MuonRoad.h
PtEndcapLUTSvc.h
PtEndcapLUT.h
TgcData.h
TgcFit.h
TrigRoiDescriptor.h
AthAlgTool::AthAlgTool
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Definition
AthAlgTool.cxx:16
ServiceHandle
Definition
ClusterMakerTool.h:36
TrigL2MuonSA::MuonRoad
Definition
MuonRoad.h:20
TrigL2MuonSA::PtEndcapLUTSvc
Definition
PtEndcapLUTSvc.h:20
TrigL2MuonSA::PtEndcapLUTSvc::ptEndcapLUT
const ToolHandle< PtEndcapLUT > * ptEndcapLUT(void) const
Definition
PtEndcapLUTSvc.h:46
TrigL2MuonSA::TgcFitResult
Definition
TgcFitResult.h:11
TrigL2MuonSA::TgcFit::PointArray
std::vector< Point > PointArray
Definition
TgcFit.h:86
TrigL2MuonSA::TgcRoadDefiner::setExtrapolatorTool
void setExtrapolatorTool(ToolHandle< ITrigMuonBackExtrapolator > *backExtrapolator)
Definition
TgcRoadDefiner.h:45
TrigL2MuonSA::TgcRoadDefiner::m_backExtrapolatorTool
const ToolHandle< ITrigMuonBackExtrapolator > * m_backExtrapolatorTool
Definition
TgcRoadDefiner.h:55
TrigL2MuonSA::TgcRoadDefiner::m_rWidth_TGC_Failed
double m_rWidth_TGC_Failed
Definition
TgcRoadDefiner.h:61
TrigL2MuonSA::TgcRoadDefiner::prepareTgcPoints
bool prepareTgcPoints(const TrigL2MuonSA::TgcHits &tgcHits, TrigL2MuonSA::TgcFit::PointArray &tgcStripInnPoints, TrigL2MuonSA::TgcFit::PointArray &tgcWireInnPoints, TrigL2MuonSA::TgcFit::PointArray &tgcStripMidPoints, TrigL2MuonSA::TgcFit::PointArray &tgcWireMidPoints) const
Definition
TgcRoadDefiner.cxx:425
TrigL2MuonSA::TgcRoadDefiner::m_tgcFit
ToolHandle< TgcFit > m_tgcFit
Definition
TgcRoadDefiner.h:59
TrigL2MuonSA::TgcRoadDefiner::m_idHelperSvc
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Definition
TgcRoadDefiner.h:64
TrigL2MuonSA::TgcRoadDefiner::TgcRoadDefiner
TgcRoadDefiner(const std::string &type, const std::string &name, const IInterface *parent)
Definition
TgcRoadDefiner.cxx:17
TrigL2MuonSA::TgcRoadDefiner::setPtLUT
void setPtLUT(const TrigL2MuonSA::PtEndcapLUTSvc *ptEndcapLUTSvc)
Definition
TgcRoadDefiner.h:43
TrigL2MuonSA::TgcRoadDefiner::defineRoad
StatusCode defineRoad(const EventContext &ctx, const TrigRoiDescriptor *p_roids, const bool insideOut, const TrigL2MuonSA::TgcHits &tgcHits, TrigL2MuonSA::MuonRoad &muonRoad, TrigL2MuonSA::TgcFitResult &tgcFitResult) const
Definition
TgcRoadDefiner.cxx:46
TrigL2MuonSA::TgcRoadDefiner::setRoadWidthForFailure
void setRoadWidthForFailure(double rWidth_TGC_Failed)
Definition
TgcRoadDefiner.h:44
TrigL2MuonSA::TgcRoadDefiner::m_ptEndcapLUT
const ToolHandle< PtEndcapLUT > * m_ptEndcapLUT
Definition
TgcRoadDefiner.h:57
TrigL2MuonSA::TgcRoadDefiner::m_regionSelector
ToolHandle< IRegSelTool > m_regionSelector
Definition
TgcRoadDefiner.h:63
TrigL2MuonSA::TgcRoadDefiner::initialize
virtual StatusCode initialize() override
Definition
TgcRoadDefiner.cxx:27
TrigRoiDescriptor
nope - should be used for standalone also, perhaps need to protect the class def bits ifndef XAOD_ANA...
Definition
TrigRoiDescriptor.h:48
TrigL2MuonSA
Definition
AlignmentBarrelLUT.h:13
TrigL2MuonSA::TgcHits
std::vector< TgcHitData > TgcHits
Definition
TgcData.h:43
type
Generated on
for ATLAS Offline Software by
1.17.0