ATLAS Offline Software
Public Types | Static Public Member Functions | List of all members
TrigConf::XEFlavour Class Reference

#include <L1TopoAlgorithm.h>

Collaboration diagram for TrigConf::XEFlavour:

Public Types

enum  FLAV {
  FLAV::jXE = 0, FLAV::jXEC = 1, FLAV::jTE = 2, FLAV::jTEC = 3,
  FLAV::jTEFWD = 4, FLAV::jTEFWDA = 5, FLAV::jTEFWDC = 6, FLAV::gXEJWOJ = 7,
  FLAV::gXERHO = 8, FLAV::gXENC = 9, FLAV::gTE = 10, FLAV::gMHT = 11,
  FLAV::jXEPerf = 12
}
 DO NOT CHANGE! Need to match with firmware values. More...
 

Static Public Member Functions

static std::string flavourIntToStr (const unsigned int flavInt)
 
static unsigned int flavourStrToInt (const std::string &flavStr)
 

Detailed Description

Definition at line 110 of file L1TopoAlgorithm.h.

Member Enumeration Documentation

◆ FLAV

DO NOT CHANGE! Need to match with firmware values.

Enumerator
jXE 
jXEC 
jTE 
jTEC 
jTEFWD 
jTEFWDA 
jTEFWDC 
gXEJWOJ 
gXERHO 
gXENC 
gTE 
gMHT 
jXEPerf 

Definition at line 113 of file L1TopoAlgorithm.h.

113  {
114  jXE = 0,
115  jXEC = 1,
116  jTE = 2,
117  jTEC = 3,
118  jTEFWD = 4,
119  jTEFWDA = 5,
120  jTEFWDC = 6,
121  gXEJWOJ = 7,
122  gXERHO = 8,
123  gXENC = 9,
124  gTE = 10,
125  gMHT = 11,
126  jXEPerf = 12, // Only for simulation studies!
127  };

Member Function Documentation

◆ flavourIntToStr()

static std::string TrigConf::XEFlavour::flavourIntToStr ( const unsigned int  flavInt)
inlinestatic

Definition at line 129 of file L1TopoAlgorithm.h.

129  {
130  if(flavInt==int(FLAV::jXE)) return "jXE";
131  if(flavInt==int(FLAV::jXEC)) return "jXEC";
132  if(flavInt==int(FLAV::jTE)) return "jTE";
133  if(flavInt==int(FLAV::jTEC)) return "jTEC";
134  if(flavInt==int(FLAV::jTEFWD)) return "jTEFWD";
135  if(flavInt==int(FLAV::jTEFWDA)) return "jTEFWDA";
136  if(flavInt==int(FLAV::jTEFWDC)) return "jTEFWDC";
137  if(flavInt==int(FLAV::gXEJWOJ)) return "gXEJWOJ";
138  if(flavInt==int(FLAV::gXERHO)) return "gXERHO";
139  if(flavInt==int(FLAV::gXENC)) return "gXENC";
140  if(flavInt==int(FLAV::gTE)) return "gTE";
141  if(flavInt==int(FLAV::gMHT)) return "gMHT";
142  if(flavInt==int(FLAV::jXEPerf)) return "jXEPerf";
143  throw std::runtime_error("Flavour " + std::to_string(flavInt) + " for EnergyThreshold algorithm not recongnised!");
144  };

◆ flavourStrToInt()

static unsigned int TrigConf::XEFlavour::flavourStrToInt ( const std::string &  flavStr)
inlinestatic

Definition at line 145 of file L1TopoAlgorithm.h.

145  {
146  if(flavStr=="jXE") return int(FLAV::jXE);
147  if(flavStr=="jXEC") return int(FLAV::jXEC);
148  if(flavStr=="jTE") return int(FLAV::jTE);
149  if(flavStr=="jTEC") return int(FLAV::jTEC);
150  if(flavStr=="jTEFWD") return int(FLAV::jTEFWD);
151  if(flavStr=="jTEFWDA") return int(FLAV::jTEFWDA);
152  if(flavStr=="jTEFWDC") return int(FLAV::jTEFWDC);
153  if(flavStr=="gXE") return int(FLAV::gXEJWOJ); // for backward compatibility
154  if(flavStr=="gXEJWOJ") return int(FLAV::gXEJWOJ);
155  if(flavStr=="gXERHO") return int(FLAV::gXERHO);
156  if(flavStr=="gXEPUFIT") return int(FLAV::gXENC); // for backward compatibility
157  if(flavStr=="gXENC") return int(FLAV::gXENC);
158  if(flavStr=="gTE") return int(FLAV::gTE);
159  if(flavStr=="gMHT") return int(FLAV::gMHT);
160  if(flavStr=="jXEPerf") return int(FLAV::jXEPerf);
161  throw std::runtime_error("Flavour " + flavStr + " for EnergyThreshold algorithm not recongnised!");
162  };

The documentation for this class was generated from the following file:
CaloCellPos2Ntuple.int
int
Definition: CaloCellPos2Ntuple.py:24
TrigConf::XEFlavour::FLAV::jXEPerf
@ jXEPerf
TrigConf::XEFlavour::FLAV::jTEFWD
@ jTEFWD
TrigConf::XEFlavour::FLAV::jTEFWDA
@ jTEFWDA
TrigConf::XEFlavour::FLAV::jTEFWDC
@ jTEFWDC
TrigConf::XEFlavour::FLAV::gXERHO
@ gXERHO
TrigConf::XEFlavour::FLAV::gMHT
@ gMHT
TrigConf::XEFlavour::FLAV::jXEC
@ jXEC
ActsTrk::to_string
std::string to_string(const DetectorType &type)
Definition: GeometryDefs.h:34
TrigConf::XEFlavour::FLAV::jTEC
@ jTEC
TrigConf::XEFlavour::FLAV::gXENC
@ gXENC
TrigConf::XEFlavour::FLAV::jTE
@ jTE
TrigConf::XEFlavour::FLAV::gXEJWOJ
@ gXEJWOJ
TrigConf::XEFlavour::FLAV::jXE
@ jXE
TrigConf::XEFlavour::FLAV::gTE
@ gTE