![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef TrigConf_L1DataDef
6 #define TrigConf_L1DataDef
14 #define declareBackwardCompatibleMethdods(TL,TU) \
16 static std::string TL##Type() { return typeConfig(TU).name; } \
17 static unsigned int max_##TU##_Threshold_Number() { return typeConfig(TU).max; }
19 #define registerTriggerType(TU, MAX) \
20 bool is##TU = TrigConf::L1DataDef::addConfig(TrigConf::L1DataDef::TU, #TU, MAX);
22 #define registerInternalTriggerType(TU, MAX) \
23 bool is##TU = TrigConf::L1DataDef::addConfig(TrigConf::L1DataDef::TU, #TU, MAX, true);
66 static const std::vector<TriggerType>&
types() {
return g_Types; }
73 g_sTypeType.insert(STypeTypeMap_t::value_type(
name,
tt));
74 g_Types.push_back(
tt);
static void setMaxThresholdsFromL1Version(unsigned int l1version)
declareBackwardCompatibleMethdods(lucid, LUCID)
declareBackwardCompatibleMethdods(fj, FJ)
static TriggerTypeConfig & typeConfig(TriggerType tt)
declareBackwardCompatibleMethdods(jb, JB)
declareBackwardCompatibleMethdods(bcm, BCM)
static STypeTypeMap_t g_sTypeType ATLAS_THREAD_SAFE
declareBackwardCompatibleMethdods(th, TH)
declareBackwardCompatibleMethdods(bgrp, BGRP)
static unsigned int max_M_Threshold_Number()
declareBackwardCompatibleMethdods(jet, JET)
declareBackwardCompatibleMethdods(mbts, MBTS)
declareBackwardCompatibleMethdods(fjet, FJET)
static void setNewJEP3Cabling()
declareBackwardCompatibleMethdods(muon, MUON)
declareBackwardCompatibleMethdods(pclk, PCLK)
TriggerTypeConfig(TriggerType t=UNDEF, const std::string &n="UNDEF", unsigned int m=0, bool i=false)
static std::string mbtssiType()
static std::vector< TriggerType > g_Types ATLAS_THREAD_SAFE
static void printMaxThresholds()
static const TypeConfigMap_t & typeConfigs()
Forward iterator to traverse the main components of the trigger configuration.
static TriggerType stringAsType(const std::string &type)
static bool addConfig(TriggerType tt, const std::string &name, unsigned int max, bool internal=false)
std::map< TriggerType, TriggerTypeConfig > TypeConfigMap_t
declareBackwardCompatibleMethdods(je, JE)
declareBackwardCompatibleMethdods(rndm, RNDM)
static TypeConfigMap_t g_typeConfigs ATLAS_THREAD_SAFE
declareBackwardCompatibleMethdods(nim, NIM)
declareBackwardCompatibleMethdods(bptx, BPTX)
declareBackwardCompatibleMethdods(te, TE)
std::map< std::string, TriggerType > STypeTypeMap_t
declareBackwardCompatibleMethdods(zb, ZB)
static std::string & typeAsString(TriggerType tt)
declareBackwardCompatibleMethdods(xe, XE)
static const std::vector< TriggerType > & types()
static std::string bcmcmbType()
declareBackwardCompatibleMethdods(xs, XS)
static void setOldJEP3Cabling()
TriggerTypeConfig InternalTriggerType
declareBackwardCompatibleMethdods(zdc, ZDC)
declareBackwardCompatibleMethdods(em, EM)
static std::string calreqType()
static unsigned int g_l1Version ATLAS_THREAD_SAFE
declareBackwardCompatibleMethdods(trt, TRT)
Define macros for attributes used to control the static checker.
declareBackwardCompatibleMethdods(tau, TAU)
declareBackwardCompatibleMethdods(jf, JF)