ATLAS Offline Software
Trigger
TrigConfiguration
TrigConfMuctpi
TrigConfMuctpi
L1MuonPtEncoding.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef TrigConf_L1MuonPtEncoding
6
#define TrigConf_L1MuonPtEncoding
7
8
#include <iostream>
9
10
class
L1MuonPtEncoding
{
11
public
:
12
// constructor
13
L1MuonPtEncoding
() =
default
;
14
15
void
setCodingInfo
(
unsigned
int
idx
,
unsigned
int
ptCode,
unsigned
int
thresholdValue );
16
17
void
getCodingInfo
(
unsigned
int
idx
,
unsigned
int
& ptCode,
unsigned
int
& thresholdValue )
const
;
18
19
void
print
(
const
std::string&
indent
=
""
,
unsigned
int
detail
=1)
const
;
20
21
void
writeXML
(std::ostream & xmlfile,
int
indentLevel=0,
int
indentWidth=2)
const
;
22
23
private
:
24
struct
code
{
25
unsigned
int
ptCode
{0};
// encoding for topo
26
unsigned
int
thresholdValue
{0};
// muon pt threshold
27
};
28
29
code
m_encoding
[6];
30
31
};
32
33
#endif
L1MuonPtEncoding::m_encoding
code m_encoding[6]
Definition:
L1MuonPtEncoding.h:29
L1MuonPtEncoding::setCodingInfo
void setCodingInfo(unsigned int idx, unsigned int ptCode, unsigned int thresholdValue)
Definition:
L1MuonPtEncoding.cxx:13
L1MuonPtEncoding::code::thresholdValue
unsigned int thresholdValue
Definition:
L1MuonPtEncoding.h:26
L1MuonPtEncoding::L1MuonPtEncoding
L1MuonPtEncoding()=default
detail
Definition:
extract_histogram_tag.cxx:14
L1MuonPtEncoding::print
void print(const std::string &indent="", unsigned int detail=1) const
Definition:
L1MuonPtEncoding.cxx:27
L1MuonPtEncoding::writeXML
void writeXML(std::ostream &xmlfile, int indentLevel=0, int indentWidth=2) const
Definition:
L1MuonPtEncoding.cxx:37
L1MuonPtEncoding
Definition:
L1MuonPtEncoding.h:10
geometry_dat_to_json.indent
indent
Definition:
geometry_dat_to_json.py:36
L1MuonPtEncoding::code
Definition:
L1MuonPtEncoding.h:24
L1MuonPtEncoding::code::ptCode
unsigned int ptCode
Definition:
L1MuonPtEncoding.h:25
LArNewCalib_DelayDump_OFC_Cali.idx
idx
Definition:
LArNewCalib_DelayDump_OFC_Cali.py:69
L1MuonPtEncoding::getCodingInfo
void getCodingInfo(unsigned int idx, unsigned int &ptCode, unsigned int &thresholdValue) const
Definition:
L1MuonPtEncoding.cxx:20
Generated on Fri Jan 10 2025 21:12:52 for ATLAS Offline Software by
1.8.18