ATLAS Offline Software
Loading...
Searching...
No Matches
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
11public:
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
23private:
24 struct code {
25 unsigned int ptCode{0}; // encoding for topo
26 unsigned int thresholdValue{0}; // muon pt threshold
27 };
28
30
31};
32
33#endif
void setCodingInfo(unsigned int idx, unsigned int ptCode, unsigned int thresholdValue)
L1MuonPtEncoding()=default
void writeXML(std::ostream &xmlfile, int indentLevel=0, int indentWidth=2) const
void getCodingInfo(unsigned int idx, unsigned int &ptCode, unsigned int &thresholdValue) const
void print(const std::string &indent="", unsigned int detail=1) const
static std::vector< std::string > xmlfile
Definition iLumiCalc.h:29