ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigT1
TrigT1CaloUtils
TrigT1CaloUtils
QuadLinear.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3
*/
4
/***************************************************************************
5
QuadLinear.h - description
6
-------------------
7
begin : 31-05-2006
8
email : Alan.Watson@cern.ch
9
***************************************************************************/
10
11
12
#ifndef QUADLINEAR_H
13
#define QUADLINEAR_H
14
15
#include <stdlib.h>
16
17
namespace
LVL1
{
18
24
class
QuadLinear
{
25
26
public
:
28
static
unsigned
int
Compress
(
int
Et);
30
static
unsigned
int
Expand
(
int
Code);
31
32
private
:
34
static
const
unsigned
int
m_mask
= 0x3F;
36
static
const
int
m_nRanges
= 4;
38
static
const
int
m_nShift
= 2;
40
static
const
int
m_Offset
= 6;
41
};
42
43
}
//end of ns
44
45
#endif
LVL1::QuadLinear
QuadLinear encoding is used for transmission of ET/Ex/Ey sums from JEM to CMM.
Definition
QuadLinear.h:24
LVL1::QuadLinear::Expand
static unsigned int Expand(int Code)
Uncompress data.
Definition
QuadLinear.cxx:32
LVL1::QuadLinear::m_nShift
static const int m_nShift
Number of bits to shift by in each step.
Definition
QuadLinear.h:38
LVL1::QuadLinear::m_mask
static const unsigned int m_mask
Mask to select 6-bit field.
Definition
QuadLinear.h:34
LVL1::QuadLinear::Compress
static unsigned int Compress(int Et)
Compress data.
Definition
QuadLinear.cxx:16
LVL1::QuadLinear::m_Offset
static const int m_Offset
Offset for compression code.
Definition
QuadLinear.h:40
LVL1::QuadLinear::m_nRanges
static const int m_nRanges
Number of ET ranges to encode in.
Definition
QuadLinear.h:36
LVL1
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
Definition
IZdcDataAccess.h:13
Generated on
for ATLAS Offline Software by
1.17.0