ATLAS Offline Software
Loading...
Searching...
No Matches
L1MMDefinitions.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_L1MMDEFINITIONS_H
6#define L1MUONNSW_L1MMDEFINITIONS_H
7
8#include <ostream>
9
18namespace L1Muon::L1MM {
19
21 enum class SideType : int { A = 1, C = -1, Undefined = 0 };
22
23 inline std::ostream& operator<<(std::ostream& os, const SideType& side) {
24 return os << (side == SideType::A ? 'A' : (side == SideType::C ? 'C' : '-'));
25 }
26
28 enum class LayerType : int { X, U, V, Undefined };
29
31 constexpr int kPlanes = 8;
33 constexpr int kStripsPerVMM = 64;
35 constexpr int kVMMsPerMMFE8 = 8;
39 constexpr int kMMFE8sEta1 = 10;
41 constexpr int kMMFE8sPerLayer = 16;
43 constexpr int kPCBsPerLayer = kMMFE8sPerLayer / 2;
53 constexpr int kARTsPerLayer = 4;
55 constexpr int kMaxHitsPerART = 8;
56
57} // namespace L1Muon::L1MM
58
59#endif // L1MUONNSW_L1MMDEFINITIONS_H
@ Undefined
struct color C
Definitions shared by the classes of the MM trigger processor emulation.
constexpr int kStripsEta1
Nominal strips of one layer of the |stationEta| = 1 module (5120).
SideType
Detector side. The value is the sign of z, so that it can be used as a sign (e.g. Acts::copySign).
constexpr int kStripsPerLayer
Nominal strips of one sector layer, both modules (8192).
constexpr int kMaxHitsPerART
Hits that one ART ASIC can forward per bunch crossing.
constexpr int kStripsPerVMM
Strips read out by one VMM.
constexpr int kStripsPerMMFE8
Strips read out by one MMFE8 board.
constexpr int kMMFE8sPerLayer
MMFE8 boards of one sector layer (8 PCBs x 2: 10 for |stationEta| = 1, 6 for |stationEta| = 2).
constexpr int kMMFE8sEta1
MMFE8 boards of one layer of the |stationEta| = 1 module (5 PCBs x 2).
constexpr int kVMMsPerMMFE8
VMMs on one MMFE8 board.
constexpr int kARTsPerLayer
ART ASICs of one sector layer (2 ADDC cards x 2 ART ASICs).
constexpr int kVMMsPerLayer
VMMs of one sector layer (128).
LayerType
Type of an MM layer: X (eta strips), U (stereo +1.5 deg) or V (stereo -1.5 deg).
constexpr int kPlanes
Planes of the MM octuplet (2 multilayers x 4 gas gaps).
constexpr int kMMFE8sPerHalfLayer
MMFE8 boards in each radial half of the layer (inner: 0-7, outer: 8-15).
constexpr int kPCBsPerLayer
PCBs of one sector layer (2 MMFE8 boards per PCB).
std::ostream & operator<<(std::ostream &os, const SideType &side)
hold the test vectors and ease the comparison