#include <L1TUtmTriggerMenu.h>
Public Member Functions | |
const std::map< std::string, L1TUtmAlgorithm > & | getAlgorithmMap () const |
const std::string & | getComment () const |
const std::map< std::string, L1TUtmCondition > & | getConditionMap () const |
const std::string & | getDatetime () const |
const std::string & | getFirmwareUuid () const |
const unsigned long | getFirmwareUuidHashed () const |
const std::string & | getName () const |
const unsigned int | getNmodules () const |
const std::map< std::string, L1TUtmScale > & | getScaleMap () const |
const std::string & | getScaleSetName () const |
const std::string & | getVersion () const |
L1TUtmTriggerMenu () | |
L1TUtmTriggerMenu (std::map< std::string, L1TUtmAlgorithm > algorithm_map, std::map< std::string, L1TUtmCondition > condition_map, std::map< std::string, L1TUtmScale > scale_map, std::string name, std::string ver_s, std::string comment, std::string datetime, std::string uuid_firmware, std::string scale_set_name, unsigned int n_modules, unsigned int ver_i) | |
L1TUtmTriggerMenu (const tmeventsetup::esTriggerMenu &esMenu) | |
void | setComment (const std::string &value) |
void | setDatetime (const std::string &value) |
void | setFirmwareUuid (const std::string &value) |
void | setName (const std::string &value) |
void | setNmodules (const unsigned int value) |
void | setScaleSetName (const std::string &value) |
void | setVersion (const std::string &value) |
virtual | ~L1TUtmTriggerMenu ()=default |
Static Public Member Functions | |
static unsigned long | murmurHashNeutral2 (const void *key, int len, unsigned int seed) |
Protected Attributes | |
std::map< std::string, L1TUtmAlgorithm > | algorithm_map_ |
std::string | comment_ |
std::map< std::string, L1TUtmCondition > | condition_map_ |
std::string | datetime_ |
std::map< std::string, unsigned int > | external_map_ |
unsigned int | n_modules_ |
std::string | name_ |
std::map< std::string, L1TUtmScale > | scale_map_ |
std::string | scale_set_name_ |
std::map< std::string, std::string > | token_to_condition_ |
std::string | uuid_firmware_ |
unsigned int | version |
std::string | version_ |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
Friends | |
class | boost::serialization::access |
template<typename CondSerializationT , typename Enabled > | |
struct | cond::serialization::access |
Definition at line 27 of file L1TUtmTriggerMenu.h.
|
inline |
Definition at line 29 of file L1TUtmTriggerMenu.h.
|
inline |
Definition at line 43 of file L1TUtmTriggerMenu.h.
|
inline |
Definition at line 68 of file L1TUtmTriggerMenu.h.
References algorithm_map_, condition_map_, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, and scale_map_.
|
virtualdefault |
|
inline |
get algorithm_map_
Definition at line 93 of file L1TUtmTriggerMenu.h.
References algorithm_map_.
Referenced by L1TUtmTriggerMenuDumper::beginRun(), L1TUtmTriggerMenuInspectorHelper::L1UtmTriggerMenuInfo::L1UtmTriggerMenuInfo(), and l1t::TriggerMenuParser::parseCondFormats().
|
inline |
get comment on the menu
Definition at line 123 of file L1TUtmTriggerMenu.h.
References comment_.
Referenced by l1t::L1TGlobalUtil::gtTriggerMenuComment(), and l1t::TriggerMenuParser::parseCondFormats().
|
inline |
get condition_map_
Definition at line 99 of file L1TUtmTriggerMenu.h.
References condition_map_.
Referenced by L1TUtmTriggerMenuDumper::beginRun(), l1t::TriggerMenuParser::getExternalSignals(), and l1t::TriggerMenuParser::parseCondFormats().
|
inline |
get datetime of the menu
Definition at line 129 of file L1TUtmTriggerMenu.h.
References datetime_.
Referenced by l1t::TriggerMenuParser::parseCondFormats().
|
inline |
get UUID of firmware generated by VHDL producer
Definition at line 135 of file L1TUtmTriggerMenu.h.
References uuid_firmware_.
Referenced by getFirmwareUuidHashed(), and l1t::TriggerMenuParser::parseCondFormats().
const unsigned long L1TUtmTriggerMenu::getFirmwareUuidHashed | ( | ) | const |
gets the hash of the L1 firmware
Definition at line 5 of file L1TUtmTriggerMenu.cc.
References getFirmwareUuid(), submitPVResolutionJobs::key, murmurHashNeutral2(), and fileCollector::seed.
Referenced by L1TGlobalProducer::produce().
|
inline |
get menu name
Definition at line 111 of file L1TUtmTriggerMenu.h.
References name_.
Referenced by plotting.Plot::draw(), l1t::L1TGlobalUtil::gtTriggerMenuName(), and l1t::TriggerMenuParser::parseCondFormats().
|
inline |
get number of uGT boards for the menu
Definition at line 153 of file L1TUtmTriggerMenu.h.
References n_modules_.
|
inline |
get scale_map_
Definition at line 105 of file L1TUtmTriggerMenu.h.
References scale_map_.
Referenced by L1TUtmTriggerMenuDumper::beginRun(), and l1t::TriggerMenuParser::parseCondFormats().
|
inline |
get scale set name
Definition at line 147 of file L1TUtmTriggerMenu.h.
References scale_set_name_.
Referenced by l1t::TriggerMenuParser::parseCondFormats().
|
inline |
get grammar version
Definition at line 117 of file L1TUtmTriggerMenu.h.
References version_.
Referenced by l1t::L1TGlobalUtil::gtTriggerMenuVersion(), and l1t::TriggerMenuParser::parseCondFormats().
|
static |
hash computation function
Definition at line 13 of file L1TUtmTriggerMenu.cc.
References data, h, dqmdumpme::k, submitPVResolutionJobs::key, visualization-live-secondInstance_cfg::m, alignCSCRings::r, and fileCollector::seed.
Referenced by getFirmwareUuidHashed().
|
private |
|
inline |
set comment on the menu
value | [in] comment |
Definition at line 171 of file L1TUtmTriggerMenu.h.
References comment_, and relativeConstraints::value.
Referenced by ConfigToolBase.ConfigToolBase::apply().
|
inline |
set datetime of the menu
value | [in] datetime |
Definition at line 177 of file L1TUtmTriggerMenu.h.
References datetime_, and relativeConstraints::value.
|
inline |
set UUID of firmware generated by VHDL producer
value | [in] UUID |
Definition at line 183 of file L1TUtmTriggerMenu.h.
References uuid_firmware_, and relativeConstraints::value.
|
inline |
set menu name
value | [in] name of the menu |
Definition at line 159 of file L1TUtmTriggerMenu.h.
References name_, and relativeConstraints::value.
|
inline |
set number of uGT boards for the menu
value | [in] number of uGT boards |
Definition at line 195 of file L1TUtmTriggerMenu.h.
References n_modules_, and relativeConstraints::value.
|
inline |
set scale set name
value | [in] scale set name |
Definition at line 189 of file L1TUtmTriggerMenu.h.
References scale_set_name_, and relativeConstraints::value.
|
inline |
set grammar version
value | [in] grammar version |
Definition at line 165 of file L1TUtmTriggerMenu.h.
References relativeConstraints::value, and version_.
|
friend |
Definition at line 218 of file L1TUtmTriggerMenu.h.
|
friend |
Definition at line 218 of file L1TUtmTriggerMenu.h.
|
protected |
map of algorithm <algorithm name, L1TUtmAlgorithm>
Definition at line 204 of file L1TUtmTriggerMenu.h.
Referenced by getAlgorithmMap(), and L1TUtmTriggerMenu().
|
protected |
comment on the menu
Definition at line 212 of file L1TUtmTriggerMenu.h.
Referenced by getComment(), and setComment().
|
protected |
map of condition <condition name, L1TUtmCondition>
Definition at line 205 of file L1TUtmTriggerMenu.h.
Referenced by getConditionMap(), and L1TUtmTriggerMenu().
|
protected |
datetime of the menu
Definition at line 213 of file L1TUtmTriggerMenu.h.
Referenced by getDatetime(), and setDatetime().
|
protected |
map of external <external name, channel id>
Definition at line 207 of file L1TUtmTriggerMenu.h.
|
protected |
number of uGT boards for the menu
Definition at line 216 of file L1TUtmTriggerMenu.h.
Referenced by getNmodules(), and setNmodules().
|
protected |
name of the menu
Definition at line 210 of file L1TUtmTriggerMenu.h.
|
protected |
map of scale <scale name, L1TUtmScale*>
Definition at line 206 of file L1TUtmTriggerMenu.h.
Referenced by getScaleMap(), and L1TUtmTriggerMenu().
|
protected |
scale set name
Definition at line 215 of file L1TUtmTriggerMenu.h.
Referenced by getScaleSetName(), and setScaleSetName().
|
protected |
look-up table for translating expression in grammar to expression in condition
Definition at line 209 of file L1TUtmTriggerMenu.h.
|
protected |
uuid of firmware
Definition at line 214 of file L1TUtmTriggerMenu.h.
Referenced by getFirmwareUuid(), and setFirmwareUuid().
|
protected |
Definition at line 217 of file L1TUtmTriggerMenu.h.
Referenced by validation.Sample::datasetpattern(), and validation.Sample::filename().
|
protected |
menu grammar version
Definition at line 211 of file L1TUtmTriggerMenu.h.
Referenced by getVersion(), and setVersion().