ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigT1
Muon
L1MuonNSW
src
Muon/L1MuonNSW/src/MMTriggerTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef L1MUONNSW_MMTRIGGERTOOL_H
6
#define L1MUONNSW_MMTRIGGERTOOL_H
7
8
#include "
AthenaBaseComps/AthAlgTool.h
"
9
#include "GaudiKernel/ServiceHandle.h"
10
#include "
StoreGate/ReadHandleKey.h
"
11
12
#include "
MuonIdHelpers/IMuonIdHelperSvc.h
"
13
#include "
MuonDigitContainer/MmDigitContainer.h
"
14
#include "
MuonReadoutGeometryR4/MuonDetectorManager.h
"
15
#include "
ActsGeometryInterfaces/GeometryContext.h
"
16
17
#include "
IL1MMTriggerTool.h
"
18
#include "
MMT_Diamond.h
"
19
20
#include <memory>
21
22
namespace
L1Muon::L1MM
{
23
33
class
MMTriggerTool
:
public
extends<AthAlgTool, IL1MMTriggerTool> {
34
public
:
35
using
base_class::base_class;
36
virtual
~MMTriggerTool
() =
default
;
37
38
virtual
StatusCode
initialize
()
override
;
39
virtual
StatusCode
runTrigger
(
const
EventContext& ctx, std::vector<MMCandidate>& candidates,
40
MMDebugInfo
*
debug
)
const override
;
41
42
private
:
43
SG::ReadHandleKey<MmDigitContainer>
m_keyMmDigit
{
this
,
"MMDigits"
,
"MM_DIGITS"
,
44
"Input MM digit container"
};
45
46
ActsTrk::GeoContextReadKey_t
m_geoCtxKey
{
this
,
"AlignmentKey"
,
"ActsAlignment"
,
47
"Geometry context with the alignment"
};
48
ServiceHandle<Muon::IMuonIdHelperSvc>
m_idHelperSvc
{
this
,
"MuonIdHelperSvc"
,
49
"Muon::MuonIdHelperSvc/MuonIdHelperSvc"
};
50
51
// Parameters of the Diamond Road algorithm (same names and defaults as Run 3)
52
Gaudi::Property<int>
m_diamRoadSize
{
this
,
"DiamondRoadSize"
, 8,
"Number of strips to create a road"
};
53
Gaudi::Property<bool>
m_uv
{
this
,
"DiamondUV"
,
true
,
"Include Stereo planes for tracking"
};
54
Gaudi::Property<int>
m_diamXthreshold
{
this
,
"DiamondEtaThreshold"
, 3,
55
"Number of Eta planes for coincidences"
};
56
Gaudi::Property<int>
m_diamUVthreshold
{
this
,
"DiamondStereoThreshold"
, 3,
57
"Number of Stereo planes for coincidences"
};
58
Gaudi::Property<int>
m_diamOverlapEtaUp
{
this
,
"DiamondEtaUpOverlap"
, 4,
59
"Number of Eta strips for upper road overlap"
};
60
Gaudi::Property<int>
m_diamOverlapEtaDown
{
this
,
"DiamondEtaDownOverlap"
, 0,
61
"Number of Eta strips for lower road overlap"
};
62
Gaudi::Property<int>
m_diamOverlapStereoUp
{
this
,
"DiamondStereoUpOverlap"
, 4,
63
"Number of Stereo strips for upper road overlap"
};
64
Gaudi::Property<int>
m_diamOverlapStereoDown
{
this
,
"DiamondStereoDownOverlap"
, 0,
65
"Number of Stereo strips for lower road overlap"
};
66
67
const
MuonGMR4::MuonDetectorManager
*
m_detMgr
{
nullptr
};
68
std::unique_ptr<MMT_Diamond>
m_diamond
;
69
};
70
71
}
// namespace L1Muon::L1MM
72
73
#endif
// L1MUONNSW_MMTRIGGERTOOL_H
AthAlgTool.h
GeometryContext.h
IL1MMTriggerTool.h
IMuonIdHelperSvc.h
debug
const bool debug
Definition
MakeUncertaintyPlots.cxx:53
MmDigitContainer.h
MuonDetectorManager.h
MMT_Diamond.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
L1Muon::L1MM::MMTriggerTool
Run 4 emulation of the MM trigger processor.
Definition
Muon/L1MuonNSW/src/MMTriggerTool.h:33
L1Muon::L1MM::MMTriggerTool::m_diamOverlapEtaUp
Gaudi::Property< int > m_diamOverlapEtaUp
Definition
Muon/L1MuonNSW/src/MMTriggerTool.h:58
L1Muon::L1MM::MMTriggerTool::m_diamUVthreshold
Gaudi::Property< int > m_diamUVthreshold
Definition
Muon/L1MuonNSW/src/MMTriggerTool.h:56
L1Muon::L1MM::MMTriggerTool::m_geoCtxKey
ActsTrk::GeoContextReadKey_t m_geoCtxKey
Phase-II geometry context, carrying the alignment (same key as L1MuonMDT and L1MuonS1RPC).
Definition
Muon/L1MuonNSW/src/MMTriggerTool.h:46
L1Muon::L1MM::MMTriggerTool::initialize
virtual StatusCode initialize() override
Definition
Muon/L1MuonNSW/src/MMTriggerTool.cxx:27
L1Muon::L1MM::MMTriggerTool::m_diamOverlapStereoUp
Gaudi::Property< int > m_diamOverlapStereoUp
Definition
Muon/L1MuonNSW/src/MMTriggerTool.h:62
L1Muon::L1MM::MMTriggerTool::~MMTriggerTool
virtual ~MMTriggerTool()=default
L1Muon::L1MM::MMTriggerTool::runTrigger
virtual StatusCode runTrigger(const EventContext &ctx, std::vector< MMCandidate > &candidates, MMDebugInfo *debug) const override
Definition
Muon/L1MuonNSW/src/MMTriggerTool.cxx:40
L1Muon::L1MM::MMTriggerTool::m_detMgr
const MuonGMR4::MuonDetectorManager * m_detMgr
Definition
Muon/L1MuonNSW/src/MMTriggerTool.h:67
L1Muon::L1MM::MMTriggerTool::m_diamOverlapStereoDown
Gaudi::Property< int > m_diamOverlapStereoDown
Definition
Muon/L1MuonNSW/src/MMTriggerTool.h:64
L1Muon::L1MM::MMTriggerTool::m_keyMmDigit
SG::ReadHandleKey< MmDigitContainer > m_keyMmDigit
Definition
Muon/L1MuonNSW/src/MMTriggerTool.h:43
L1Muon::L1MM::MMTriggerTool::m_diamRoadSize
Gaudi::Property< int > m_diamRoadSize
Definition
Muon/L1MuonNSW/src/MMTriggerTool.h:52
L1Muon::L1MM::MMTriggerTool::m_idHelperSvc
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Definition
Muon/L1MuonNSW/src/MMTriggerTool.h:48
L1Muon::L1MM::MMTriggerTool::m_diamOverlapEtaDown
Gaudi::Property< int > m_diamOverlapEtaDown
Definition
Muon/L1MuonNSW/src/MMTriggerTool.h:60
L1Muon::L1MM::MMTriggerTool::m_uv
Gaudi::Property< bool > m_uv
Definition
Muon/L1MuonNSW/src/MMTriggerTool.h:53
L1Muon::L1MM::MMTriggerTool::m_diamXthreshold
Gaudi::Property< int > m_diamXthreshold
Definition
Muon/L1MuonNSW/src/MMTriggerTool.h:54
L1Muon::L1MM::MMTriggerTool::m_diamond
std::unique_ptr< MMT_Diamond > m_diamond
Definition
Muon/L1MuonNSW/src/MMTriggerTool.h:68
MuonGMR4::MuonDetectorManager
Definition
MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/MuonDetectorManager.h:62
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
ServiceHandle
Definition
ClusterMakerTool.h:36
ActsTrk::GeoContextReadKey_t
SG::ReadHandleKey< GeometryContext > GeoContextReadKey_t
Abrivate the ReadHandleKey to declare the data dependency on the Geometry context.
Definition
GeometryContext.h:64
L1Muon::L1MM
Definitions shared by the classes of the MM trigger processor emulation.
Definition
IL1MMTriggerTool.h:16
L1Muon::L1MM::MMDebugInfo
Extra information returned by runTrigger on request (used by the validation algorithm).
Definition
IL1MMTriggerTool.h:75
Generated on
for ATLAS Offline Software by
1.17.0