ATLAS Offline Software
Namespaces | Enumerations | Functions | Variables
NSWSTGTPDecodeBitmaps.h File Reference
#include "MuonNSWCommonDecode/NSWDecodeHelper.h"
#include <stdexcept>
#include <cstddef>
Include dependency graph for NSWSTGTPDecodeBitmaps.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 Muon
 This class provides conversion from CSC RDO data to CSC Digits.
 
 Muon::nsw
 
 Muon::nsw::STGTPL1A
 
 Muon::nsw::STGTPPad
 
 Muon::nsw::STGTPSegments
 
 Muon::nsw::STGTPSegments::moduleIDBits
 

Enumerations

enum  Muon::nsw::STGTPSegments::MergedSegmentProperty {
  Muon::nsw::STGTPSegments::MergedSegmentProperty::Monitor = fill_bitmask<uint32_t>(0, size_output_segment_monitor), Muon::nsw::STGTPSegments::MergedSegmentProperty::Spare = fill_bitmask<uint32_t>(max_bit(Monitor) + 1, size_output_segment_spare), Muon::nsw::STGTPSegments::MergedSegmentProperty::lowRes = fill_bitmask<uint32_t>(max_bit(Spare) + 1, size_output_segment_lowRes), Muon::nsw::STGTPSegments::MergedSegmentProperty::phiRes = fill_bitmask<uint32_t>(max_bit(lowRes) + 1 , size_output_segment_phiRes),
  Muon::nsw::STGTPSegments::MergedSegmentProperty::dTheta = fill_bitmask<uint32_t>(max_bit(phiRes)+ 1, size_output_segment_dTheta), Muon::nsw::STGTPSegments::MergedSegmentProperty::phiID = fill_bitmask<uint32_t>(max_bit(dTheta)+1 , size_output_segment_phiID), Muon::nsw::STGTPSegments::MergedSegmentProperty::rIndex = fill_bitmask<uint32_t>(max_bit(phiID)+1, size_output_segment_rIndex)
}
 
enum  Muon::nsw::STGTPSegments::ModuleIDProperty { Muon::nsw::STGTPSegments::ModuleIDProperty::stationID = fill_bitmask<uint32_t>(0, moduleIDBits::stationID), Muon::nsw::STGTPSegments::ModuleIDProperty::detectorSite = fill_bitmask<uint32_t>(max_bit(stationID) +1, moduleIDBits::detectorSite), Muon::nsw::STGTPSegments::ModuleIDProperty::stationEta = fill_bitmask<uint32_t>(max_bit(detectorSite) + 1, moduleIDBits::stationEta), Muon::nsw::STGTPSegments::ModuleIDProperty::stationPhi = fill_bitmask<uint32_t>(max_bit(stationEta) + 1, moduleIDBits::stationPhi) }
 

Functions

constexpr uint32_t Muon::nsw::STGTPSegments::getSegmentProperty (const uint32_t mask, const MergedSegmentProperty prop)
 
constexpr void Muon::nsw::STGTPSegments::encodeSegmentProperty (const MergedSegmentProperty prop, const uint32_t word, uint32_t &buffer)
 
constexpr uint32_t Muon::nsw::STGTPSegments::getIdentifierProperty (const uint32_t mask, const ModuleIDProperty prop)
 
constexpr void Muon::nsw::STGTPSegments::encodeIdentifierProperty (const ModuleIDProperty prop, const uint32_t word, uint32_t &buffer)
 

Variables

constexpr int Muon::nsw::STGTPL1A::size_head_fragID = 4
 
constexpr int Muon::nsw::STGTPL1A::size_head_sectID = 4
 
constexpr int Muon::nsw::STGTPL1A::size_head_EC = 1
 
constexpr int Muon::nsw::STGTPL1A::size_head_flags = 7
 
constexpr int Muon::nsw::STGTPL1A::size_head_BCID = 12
 
constexpr int Muon::nsw::STGTPL1A::size_head_orbit = 2
 
constexpr int Muon::nsw::STGTPL1A::size_head_spare = 2
 
constexpr int Muon::nsw::STGTPL1A::size_L1ID = 32
 
constexpr int Muon::nsw::STGTPL1A::size_l1a_versionID = 8
 
constexpr int Muon::nsw::STGTPL1A::size_l1a_local_req_BCID = 12
 
constexpr int Muon::nsw::STGTPL1A::size_l1a_local_rel_BCID = 12
 
constexpr int Muon::nsw::STGTPL1A::size_l1a_open_BCID = 12
 
constexpr int Muon::nsw::STGTPL1A::size_l1a_req_BCID = 12
 
constexpr int Muon::nsw::STGTPL1A::size_l1a_close_BCID = 12
 
constexpr int Muon::nsw::STGTPL1A::size_l1a_timeout = 12
 
constexpr int Muon::nsw::STGTPL1A::size_l1a_open_BCID_offset = 12
 
constexpr int Muon::nsw::STGTPL1A::size_l1a_req_BCID_offset = 12
 
constexpr int Muon::nsw::STGTPL1A::size_l1a_close_BCID_offset = 12
 
constexpr int Muon::nsw::STGTPL1A::size_l1a_timeout_config = 12
 
constexpr int Muon::nsw::STGTPL1A::size_l1a_busy_thr = 8
 
constexpr int Muon::nsw::STGTPL1A::size_l1a_engine_snapshot = 16
 
constexpr int Muon::nsw::STGTPL1A::size_l1a_link_const = 32
 
constexpr int Muon::nsw::STGTPL1A::size_l1a_padding = 8
 
constexpr int Muon::nsw::STGTPL1A::size_l1a_wdw_matching_engines_usage = 32
 
constexpr int Muon::nsw::STGTPL1A::loc_version1_anchor = 192
 
constexpr uint32_t Muon::nsw::STGTPL1A::version1_anchor_value = 0xABC0ABC1
 
constexpr int Muon::nsw::STGTPL1A::size_stream_head_nbits = 16
 
constexpr int Muon::nsw::STGTPL1A::size_stream_head_nwords = 16
 
constexpr int Muon::nsw::STGTPL1A::size_stream_head_fifo_size = 16
 
constexpr int Muon::nsw::STGTPL1A::size_stream_head_streamID = 16
 
constexpr int Muon::nsw::STGTPL1A::size_trailer_CRC = 16
 
constexpr std::size_t Muon::nsw::STGTPPad::num_pads = 4
 
constexpr std::size_t Muon::nsw::STGTPPad::pad_stream_header = 0xAAD0
 
constexpr std::size_t Muon::nsw::STGTPPad::n_words = 3
 
constexpr std::size_t Muon::nsw::STGTPPad::size_coincidence_wedge = 16
 
constexpr std::size_t Muon::nsw::STGTPPad::size_phiID = 6
 
constexpr std::size_t Muon::nsw::STGTPPad::size_bandID = 8
 
constexpr std::size_t Muon::nsw::STGTPPad::size_BCID = 12
 
constexpr std::size_t Muon::nsw::STGTPPad::size_spare = 3
 
constexpr std::size_t Muon::nsw::STGTPPad::size_idleFlag = 1
 
constexpr std::size_t Muon::nsw::STGTPPad::size_padding = 8
 
constexpr std::size_t Muon::nsw::STGTPSegments::num_segments = 8
 
constexpr int Muon::nsw::STGTPSegments::merge_stream_header = 0xAEE0
 
constexpr int Muon::nsw::STGTPSegments::n_words = 32
 
constexpr int Muon::nsw::STGTPSegments::size_lut_choice_selection = 24
 
constexpr int Muon::nsw::STGTPSegments::size_nsw_segment_selector = 12
 
constexpr int Muon::nsw::STGTPSegments::size_valid_segment_selector = 12
 
constexpr int Muon::nsw::STGTPSegments::size_output_segment_monitor = 1
 
constexpr int Muon::nsw::STGTPSegments::size_output_segment_spare = 2
 
constexpr int Muon::nsw::STGTPSegments::size_output_segment_lowRes = 1
 
constexpr int Muon::nsw::STGTPSegments::size_output_segment_phiRes = 1
 
constexpr int Muon::nsw::STGTPSegments::size_output_segment_dTheta = 5
 
constexpr int Muon::nsw::STGTPSegments::size_output_segment_phiID = 6
 
constexpr int Muon::nsw::STGTPSegments::size_output_segment_rIndex = 8
 
constexpr int Muon::nsw::STGTPSegments::size_bcid = 12
 
constexpr int Muon::nsw::STGTPSegments::size_sectorID = 4
 
constexpr uint8_t Muon::nsw::STGTPSegments::moduleIDBits::stationID = 1
 Large or Small wedge. More...
 
constexpr uint8_t Muon::nsw::STGTPSegments::moduleIDBits::detectorSite = 1
 Side 0 for A / 1 for C. More...
 
constexpr uint8_t Muon::nsw::STGTPSegments::moduleIDBits::stationEta = 4
 1 to 3 More...
 
constexpr uint8_t Muon::nsw::STGTPSegments::moduleIDBits::stationPhi = 8
 station Phi 1 to 8 More...