#include <L1DataDef.h>
|
enum | TriggerType {
EM =1,
TAU,
MUON,
JET,
FJET,
FJ,
JE,
JF,
JB,
XE,
TE,
XS,
MBTS,
MBTSSI,
LUCID,
TRT,
BCM,
ZDC,
NIM,
ZB,
TH,
M,
BCMCMB,
CALREQ,
BPTX,
TOPO,
ALFA,
BGRP = 100,
RNDM,
PCLK,
UNDEF = 199
} |
|
typedef TriggerTypeConfig | InternalTriggerType |
|
typedef std::map< TriggerType, TriggerTypeConfig > | TypeConfigMap_t |
|
typedef std::map< std::string, TriggerType > | STypeTypeMap_t |
|
Definition at line 16 of file L1DataDef.h.
◆ InternalTriggerType
◆ STypeTypeMap_t
◆ TypeConfigMap_t
◆ TriggerType
Enumerator |
---|
EM | |
TAU | |
MUON | |
JET | |
FJET | |
FJ | |
JE | |
JF | |
JB | |
XE | |
TE | |
XS | |
MBTS | |
MBTSSI | |
LUCID | |
TRT | |
BCM | |
ZDC | |
NIM | |
ZB | |
TH | |
M | |
BCMCMB | |
CALREQ | |
BPTX | |
TOPO | |
ALFA | |
BGRP | |
RNDM | |
PCLK | |
UNDEF | |
Definition at line 19 of file L1DataDef.h.
◆ addConfig()
static bool TrigConf::L1DataDef::addConfig |
( |
TriggerType |
tt, |
|
|
const std::string & |
name, |
|
|
unsigned int |
max, |
|
|
bool |
internal = false |
|
) |
| |
|
inlinestatic |
Definition at line 60 of file L1DataDef.h.
61 g_typeConfigs.insert(TypeConfigMap_t::value_type(
tt, TriggerTypeConfig(
tt,
name,
max,
internal)));
62 g_sTypeType.insert(STypeTypeMap_t::value_type(
name,
tt));
63 g_Types.push_back(
tt);
◆ printMaxThresholds()
void TrigConf::L1DataDef::printMaxThresholds |
( |
| ) |
|
|
static |
Definition at line 57 of file L1DataDef.cxx.
58 std::cout <<
"L1 Version: " << g_l1Version << std::endl;
59 for(
const auto &
x: g_typeConfigs) {
60 std::cout <<
"Maximum number of thresholds for type " << std::setw(6) <<
x.second.name <<
" : " <<
x.second.max << std::endl;
◆ setMaxThresholdsFromL1Version()
void TrigConf::L1DataDef::setMaxThresholdsFromL1Version |
( |
unsigned int |
l1version | ) |
|
|
static |
Definition at line 65 of file L1DataDef.cxx.
98 }
else if (l1version==1) {
130 std::cerr <<
"ERROR TrigConf::L1DataDef::setMaxThresholdsFromL1Version() L1Version not known:" << l1version << std::endl;
131 throw(std::runtime_error(
"Unknown L1 Version"));
134 g_l1Version=l1version;
◆ setNewJEP3Cabling()
void TrigConf::L1DataDef::setNewJEP3Cabling |
( |
| ) |
|
|
static |
◆ setOldJEP3Cabling()
void TrigConf::L1DataDef::setOldJEP3Cabling |
( |
| ) |
|
|
static |
◆ stringAsType()
static TriggerType TrigConf::L1DataDef::stringAsType |
( |
const std::string & |
type | ) |
|
|
inlinestatic |
◆ typeAsString()
static std::string& TrigConf::L1DataDef::typeAsString |
( |
TriggerType |
tt | ) |
|
|
inlinestatic |
◆ typeConfig()
Definition at line 140 of file L1DataDef.cxx.
142 if(
c==g_typeConfigs.end() ) {
143 std::cerr <<
"Trigger type " <<
tt <<
" is defined in L1DataDef.h but not registered in L1DataDef.cxx" << std::endl;
144 throw std::runtime_error(
"TriggerType not registered");
◆ typeConfigs()
Definition at line 57 of file L1DataDef.h.
57 {
return g_typeConfigs; }
◆ types()
◆ ATLAS_THREAD_SAFE [1/4]
◆ ATLAS_THREAD_SAFE [2/4]
◆ ATLAS_THREAD_SAFE [3/4]
std::vector<TriggerType> g_Types TrigConf::L1DataDef::ATLAS_THREAD_SAFE |
|
inlinestaticprivate |
◆ ATLAS_THREAD_SAFE [4/4]
unsigned int g_l1Version TrigConf::L1DataDef::ATLAS_THREAD_SAFE {0} |
|
inlinestaticprivate |
The documentation for this class was generated from the following files: