ATLAS Offline Software
Loading...
Searching...
No Matches
RPCCandData_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 XAODL0MUONCAND_VERSION_RPCCANDDATA_V1_H
5#define XAODL0MUONCAND_VERSION_RPCCANDDATA_V1_H
6
7// System include(s):
8#include <cstdint>
9#include <array>
12
13namespace xAOD
14{
15
18
20 public:
21 // default constructor and destructor
22 RPCCandData_v1() = default;
23 ~RPCCandData_v1() = default;
24
29 std::array<uint16_t, 4> zPos() const; // 10 bits each, range [0:16.368] (16 mm binning)
34 void setZPos(std::array<float, 4>& zPos);
35
36 static constexpr uint16_t zPosBitRange() { return s_zPosBitRange; }
37 static constexpr float zPosRange() { return s_zPosRange; }
38
39 private:
41 static constexpr float s_zPosRange = 12500.0F;
43 static constexpr uint16_t s_zPosBitRange = 0x0fff;
44
45 };
46
47} // namespace xAOD
48
49#include "xAODCore/BaseInfo.h"
51
52#endif // XAODL0MUONCAND_VERSION_RPCCANDDATA_V1_H
53
54
55
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.
ICandData_v1()=default
Default constructor.
Data class describing the L0 muon candidates from RPC-SL to MDT-TP.
~RPCCandData_v1()=default
static constexpr uint16_t zPosBitRange()
void setZPos(std::array< float, 4 > &zPos)
Set the z positions of the RPC sector logic.
static constexpr float zPosRange()
static constexpr float s_zPosRange
range of the RPC hits z positions
static constexpr uint16_t s_zPosBitRange
12 bits for z position
std::array< uint16_t, 4 > zPos() const
Retrieve the global z positions of the RPC sector logic.
RPCCandData_v1()=default
AuxElement(SG::AuxVectorData *container, size_t index)
Base class for elements of a container that can have aux data.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
setWord1 uint16_t