ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigT1
Muon
L1MuonNSW
src
Muon/L1MuonNSW/src/MMT_Hit.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_MMT_HIT_H
6
#define L1MUONNSW_MMT_HIT_H
7
8
#include "
GeoPrimitives/GeoPrimitives.h
"
9
#include "Identifier/Identifier.h"
10
#include "
MuonIdHelpers/MmIdHelper.h
"
11
#include "
MuonReadoutGeometryR4/MuonDetectorManager.h
"
12
#include "
MuonReadoutGeometryR4/MmReadoutElement.h
"
13
#include "
ActsGeometryInterfaces/GeometryContext.h
"
14
15
#include "
L1MMDefinitions.h
"
16
17
#include <cmath>
18
19
namespace
L1Muon::L1MM
{
20
39
class
MMT_Hit
{
40
public
:
41
MMT_Hit
(
const
Identifier
&
id
,
const
float
stripTime,
const
int
BC,
42
const
MuonGMR4::MuonDetectorManager
* detManager,
43
const
ActsTrk::GeometryContext
& gctx);
44
45
~MMT_Hit
() =
default
;
46
47
// Getters
48
int
getART
()
const
{
return
m_ART_ASIC
; }
49
int
getAge
()
const
{
return
m_age
; }
50
int
getBC
()
const
{
return
m_BC_time
; }
51
int
getChannel
()
const
{
return
m_strip
; }
53
int
getGlobalStrip
()
const
{
return
m_globalStrip
; }
54
int
getPlane
()
const
{
return
m_plane
; }
55
char
getSector
()
const
{
return
m_sector
; }
56
double
getRZSlope
()
const
{
return
m_RZslope
; }
57
int
getVMM
()
const
{
return
m_VMM_chip
; }
58
double
getShift
()
const
{
return
m_shift
; }
59
int
getStationEta
()
const
{
return
m_station_eta
; }
60
int
getStationPhi
()
const
{
return
m_station_phi
; }
61
int
getSectorPhi
()
const
{
return
m_sector_phi
; }
62
double
getR
()
const
{
return
m_R
; }
63
double
getRp
()
const
{
return
m_Rp
; }
64
double
getZ
()
const
{
return
m_Z
; }
65
double
getPitchOverZ
()
const
{
return
m_PitchOverZ
; }
66
float
getTime
()
const
{
return
m_time
; }
67
LayerType
getType
()
const
{
return
m_type
; }
68
bool
isX
()
const
{
return
m_type
==
LayerType::X
; }
69
bool
isU
()
const
{
return
m_type
==
LayerType::U
; }
70
bool
isV
()
const
{
return
m_type
==
LayerType::V
; }
71
bool
infSlope
()
const
{
return
std::isinf(
m_RZslope
); }
72
73
// Debug getters (new w.r.t. Run 3): reference quantities entering m_Rp / m_shift
75
double
getRefR0
()
const
{
return
m_refR0
; }
77
double
getRefZ0
()
const
{
return
m_refZ0
; }
78
79
// Setters
80
void
setAge
(
int
age) {
m_age
= age; }
81
82
private
:
83
double
m_RZslope
{-1};
84
double
m_Rp
{-1};
85
double
m_Z
{-1};
86
double
m_R
{-1};
87
double
m_PitchOverZ
{-1};
88
double
m_shift
{-1};
89
double
m_refR0
{-1};
90
double
m_refZ0
{-1};
91
float
m_time
{-1.f};
92
int
m_VMM_chip
{-1};
93
int
m_ART_ASIC
{-1};
94
int
m_plane
{-1};
95
int
m_station_eta
{0};
96
int
m_station_phi
{0};
97
int
m_sector_phi
{0};
98
int
m_strip
{-1};
99
int
m_globalStrip
{-1};
100
int
m_BC_time
{-1};
101
int
m_age
{-1};
102
char
m_sector
{
'-'
};
103
LayerType
m_type
{
LayerType::Undefined
};
104
};
105
106
}
// namespace L1Muon::L1MM
107
108
#endif
// L1MUONNSW_MMT_HIT_H
GeoPrimitives.h
GeometryContext.h
L1MMDefinitions.h
MmIdHelper.h
MmReadoutElement.h
MuonDetectorManager.h
ActsTrk::GeometryContext
Definition
GeometryContext.h:30
L1Muon::L1MM::MMT_Hit::getShift
double getShift() const
Definition
Muon/L1MuonNSW/src/MMT_Hit.h:58
L1Muon::L1MM::MMT_Hit::m_strip
int m_strip
Definition
Muon/L1MuonNSW/src/MMT_Hit.h:98
L1Muon::L1MM::MMT_Hit::getStationPhi
int getStationPhi() const
Definition
Muon/L1MuonNSW/src/MMT_Hit.h:60
L1Muon::L1MM::MMT_Hit::m_R
double m_R
Definition
Muon/L1MuonNSW/src/MMT_Hit.h:86
L1Muon::L1MM::MMT_Hit::getZ
double getZ() const
Definition
Muon/L1MuonNSW/src/MMT_Hit.h:64
L1Muon::L1MM::MMT_Hit::m_plane
int m_plane
Definition
Muon/L1MuonNSW/src/MMT_Hit.h:94
L1Muon::L1MM::MMT_Hit::isU
bool isU() const
Definition
Muon/L1MuonNSW/src/MMT_Hit.h:69
L1Muon::L1MM::MMT_Hit::m_shift
double m_shift
Definition
Muon/L1MuonNSW/src/MMT_Hit.h:88
L1Muon::L1MM::MMT_Hit::m_refZ0
double m_refZ0
Definition
Muon/L1MuonNSW/src/MMT_Hit.h:90
L1Muon::L1MM::MMT_Hit::m_type
LayerType m_type
Definition
Muon/L1MuonNSW/src/MMT_Hit.h:103
L1Muon::L1MM::MMT_Hit::m_BC_time
int m_BC_time
Definition
Muon/L1MuonNSW/src/MMT_Hit.h:100
L1Muon::L1MM::MMT_Hit::getAge
int getAge() const
Definition
Muon/L1MuonNSW/src/MMT_Hit.h:49
L1Muon::L1MM::MMT_Hit::m_RZslope
double m_RZslope
Definition
Muon/L1MuonNSW/src/MMT_Hit.h:83
L1Muon::L1MM::MMT_Hit::infSlope
bool infSlope() const
Definition
Muon/L1MuonNSW/src/MMT_Hit.h:71
L1Muon::L1MM::MMT_Hit::m_station_eta
int m_station_eta
Definition
Muon/L1MuonNSW/src/MMT_Hit.h:95
L1Muon::L1MM::MMT_Hit::m_ART_ASIC
int m_ART_ASIC
Definition
Muon/L1MuonNSW/src/MMT_Hit.h:93
L1Muon::L1MM::MMT_Hit::isX
bool isX() const
Definition
Muon/L1MuonNSW/src/MMT_Hit.h:68
L1Muon::L1MM::MMT_Hit::setAge
void setAge(int age)
Definition
Muon/L1MuonNSW/src/MMT_Hit.h:80
L1Muon::L1MM::MMT_Hit::getRefR0
double getRefR0() const
radius of the bottom edge of the eta=1 module
Definition
Muon/L1MuonNSW/src/MMT_Hit.h:75
L1Muon::L1MM::MMT_Hit::m_sector_phi
int m_sector_phi
Definition
Muon/L1MuonNSW/src/MMT_Hit.h:97
L1Muon::L1MM::MMT_Hit::getSectorPhi
int getSectorPhi() const
Definition
Muon/L1MuonNSW/src/MMT_Hit.h:61
L1Muon::L1MM::MMT_Hit::m_refR0
double m_refR0
Definition
Muon/L1MuonNSW/src/MMT_Hit.h:89
L1Muon::L1MM::MMT_Hit::getStationEta
int getStationEta() const
Definition
Muon/L1MuonNSW/src/MMT_Hit.h:59
L1Muon::L1MM::MMT_Hit::m_VMM_chip
int m_VMM_chip
Definition
Muon/L1MuonNSW/src/MMT_Hit.h:92
L1Muon::L1MM::MMT_Hit::getRefZ0
double getRefZ0() const
z of the first active strip, multilayer 1, gas gap 1
Definition
Muon/L1MuonNSW/src/MMT_Hit.h:77
L1Muon::L1MM::MMT_Hit::getGlobalStrip
int getGlobalStrip() const
Strip index on the sector layer: (|stationEta|-1)*kStripsEta1 + channel.
Definition
Muon/L1MuonNSW/src/MMT_Hit.h:53
L1Muon::L1MM::MMT_Hit::m_PitchOverZ
double m_PitchOverZ
Definition
Muon/L1MuonNSW/src/MMT_Hit.h:87
L1Muon::L1MM::MMT_Hit::getRp
double getRp() const
Definition
Muon/L1MuonNSW/src/MMT_Hit.h:63
L1Muon::L1MM::MMT_Hit::getART
int getART() const
Definition
Muon/L1MuonNSW/src/MMT_Hit.h:48
L1Muon::L1MM::MMT_Hit::MMT_Hit
MMT_Hit(const Identifier &id, const float stripTime, const int BC, const MuonGMR4::MuonDetectorManager *detManager, const ActsTrk::GeometryContext &gctx)
Definition
Muon/L1MuonNSW/src/MMT_Hit.cxx:12
L1Muon::L1MM::MMT_Hit::m_age
int m_age
Definition
Muon/L1MuonNSW/src/MMT_Hit.h:101
L1Muon::L1MM::MMT_Hit::m_station_phi
int m_station_phi
Definition
Muon/L1MuonNSW/src/MMT_Hit.h:96
L1Muon::L1MM::MMT_Hit::m_Rp
double m_Rp
Definition
Muon/L1MuonNSW/src/MMT_Hit.h:84
L1Muon::L1MM::MMT_Hit::m_sector
char m_sector
Definition
Muon/L1MuonNSW/src/MMT_Hit.h:102
L1Muon::L1MM::MMT_Hit::getChannel
int getChannel() const
Definition
Muon/L1MuonNSW/src/MMT_Hit.h:51
L1Muon::L1MM::MMT_Hit::m_time
float m_time
Definition
Muon/L1MuonNSW/src/MMT_Hit.h:91
L1Muon::L1MM::MMT_Hit::getSector
char getSector() const
Definition
Muon/L1MuonNSW/src/MMT_Hit.h:55
L1Muon::L1MM::MMT_Hit::~MMT_Hit
~MMT_Hit()=default
L1Muon::L1MM::MMT_Hit::getBC
int getBC() const
Definition
Muon/L1MuonNSW/src/MMT_Hit.h:50
L1Muon::L1MM::MMT_Hit::m_Z
double m_Z
Definition
Muon/L1MuonNSW/src/MMT_Hit.h:85
L1Muon::L1MM::MMT_Hit::getPlane
int getPlane() const
Definition
Muon/L1MuonNSW/src/MMT_Hit.h:54
L1Muon::L1MM::MMT_Hit::getRZSlope
double getRZSlope() const
Definition
Muon/L1MuonNSW/src/MMT_Hit.h:56
L1Muon::L1MM::MMT_Hit::getR
double getR() const
Definition
Muon/L1MuonNSW/src/MMT_Hit.h:62
L1Muon::L1MM::MMT_Hit::getVMM
int getVMM() const
Definition
Muon/L1MuonNSW/src/MMT_Hit.h:57
L1Muon::L1MM::MMT_Hit::getTime
float getTime() const
Definition
Muon/L1MuonNSW/src/MMT_Hit.h:66
L1Muon::L1MM::MMT_Hit::isV
bool isV() const
Definition
Muon/L1MuonNSW/src/MMT_Hit.h:70
L1Muon::L1MM::MMT_Hit::m_globalStrip
int m_globalStrip
Definition
Muon/L1MuonNSW/src/MMT_Hit.h:99
L1Muon::L1MM::MMT_Hit::getType
LayerType getType() const
Definition
Muon/L1MuonNSW/src/MMT_Hit.h:67
L1Muon::L1MM::MMT_Hit::getPitchOverZ
double getPitchOverZ() const
Definition
Muon/L1MuonNSW/src/MMT_Hit.h:65
MuonGMR4::MuonDetectorManager
Definition
MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/MuonDetectorManager.h:62
Identifier
Definition
IdentifierFieldParser.cxx:14
L1Muon::L1MM
Definitions shared by the classes of the MM trigger processor emulation.
Definition
IL1MMTriggerTool.h:16
L1Muon::L1MM::LayerType
LayerType
Type of an MM layer: X (eta strips), U (stereo +1.5 deg) or V (stereo -1.5 deg).
Definition
L1MMDefinitions.h:28
L1Muon::L1MM::LayerType::X
@ X
Definition
L1MMDefinitions.h:28
L1Muon::L1MM::LayerType::U
@ U
Definition
L1MMDefinitions.h:28
L1Muon::L1MM::LayerType::V
@ V
Definition
L1MMDefinitions.h:28
L1Muon::L1MM::LayerType::Undefined
@ Undefined
Definition
L1MMDefinitions.h:28
Generated on
for ATLAS Offline Software by
1.17.0