ATLAS Offline Software
Loading...
Searching...
No Matches
L1RPCCandData_v1.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4#ifndef XAODTRIGL1MUON_VERSION_L1RPCCANDDATA_V1_H
5#define XAODTRIGL1MUON_VERSION_L1RPCCANDDATA_V1_H
6
7// System include(s):
8#include <cstdint>
9#include <array>
12
13namespace xAOD {
14
17
19 public:
20 // default constructor and destructor
21 L1RPCCandData_v1() = default;
22 ~L1RPCCandData_v1() = default;
23
28 std::array<uint16_t, 4> l1ZPos() const; // 10 bits each, range [0:16.368] (16 mm binning)
33 void setL1ZPos(std::array<float, 4>& zPos);
34
35 static constexpr uint16_t zPosBitRange() { return s_zPosBitRange; }
36 static constexpr float zPosRange() { return s_zPosRange; }
37
38 private:
40 static constexpr float s_zPosRange = 12500.0F;
42 static constexpr uint16_t s_zPosBitRange = 0x0fff;
43
44 };
45
46} // namespace xAOD
47
48#include "xAODCore/BaseInfo.h"
50
51#endif // XAODTRIGL1MUON_VERSION_L1RPCCANDDATA_V1_H
Base class for elements of a container that can have aux data.
#define SG_BASE(D, B)
Declare that class D derives from class B.
base class providing a common interface with shared variables for the L0 muon candidates from RPC/TGC...
IL1CandData_v1()=default
Default constructor.
Data class describing the L0 muon candidates from RPC-SL to MDT-TP.
static constexpr uint16_t zPosBitRange()
std::array< uint16_t, 4 > l1ZPos() const
Retrieve the global z positions of the RPC sector logic.
static constexpr uint16_t s_zPosBitRange
12 bits for z position
static constexpr float s_zPosRange
range of the RPC hits z positions
static constexpr float zPosRange()
void setL1ZPos(std::array< float, 4 > &zPos)
Set the z positions of the RPC sector logic.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
setWord1 uint16_t