#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 () | |
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 25 of file L1TUtmTriggerMenu.h.
|
inline |
Definition at line 27 of file L1TUtmTriggerMenu.h.
|
virtualdefault |
|
inline |
get algorithm_map_
Definition at line 48 of file L1TUtmTriggerMenu.h.
References algorithm_map_.
Referenced by L1TriggerJSONMonitoring::globalBeginRun().
|
inline |
get comment on the menu
Definition at line 78 of file L1TUtmTriggerMenu.h.
References comment_.
Referenced by l1t::L1TGlobalUtil::gtTriggerMenuComment().
|
inline |
get condition_map_
Definition at line 54 of file L1TUtmTriggerMenu.h.
References condition_map_.
|
inline |
get datetime of the menu
Definition at line 84 of file L1TUtmTriggerMenu.h.
References datetime_.
|
inline |
get UUID of firmware generated by VHDL producer
Definition at line 90 of file L1TUtmTriggerMenu.h.
References uuid_firmware_.
Referenced by getFirmwareUuidHashed().
const unsigned long L1TUtmTriggerMenu::getFirmwareUuidHashed | ( | ) | const |
gets the hash of the L1 firmware
Definition at line 5 of file L1TUtmTriggerMenu.cc.
References getFirmwareUuid(), crabWrapper::key, murmurHashNeutral2(), and fileCollector::seed.
Referenced by L1TGlobalProducer::produce().
|
inline |
get menu name
Definition at line 66 of file L1TUtmTriggerMenu.h.
References name_.
Referenced by plotting.Plot::draw(), and l1t::L1TGlobalUtil::gtTriggerMenuName().
|
inline |
get number of uGT boards for the menu
Definition at line 108 of file L1TUtmTriggerMenu.h.
References n_modules_.
|
inline |
get scale_map_
Definition at line 60 of file L1TUtmTriggerMenu.h.
References scale_map_.
|
inline |
get scale set name
Definition at line 102 of file L1TUtmTriggerMenu.h.
References scale_set_name_.
|
inline |
get grammar version
Definition at line 72 of file L1TUtmTriggerMenu.h.
References version_.
Referenced by l1t::L1TGlobalUtil::gtTriggerMenuVersion().
|
static |
hash computation function
Definition at line 13 of file L1TUtmTriggerMenu.cc.
References data, h, dqmdumpme::k, crabWrapper::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 126 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 132 of file L1TUtmTriggerMenu.h.
References datetime_, and relativeConstraints::value.
|
inline |
set UUID of firmware generated by VHDL producer
value | [in] UUID |
Definition at line 138 of file L1TUtmTriggerMenu.h.
References uuid_firmware_, and relativeConstraints::value.
|
inline |
set menu name
value | [in] name of the menu |
Definition at line 114 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 150 of file L1TUtmTriggerMenu.h.
References n_modules_, and relativeConstraints::value.
|
inline |
set scale set name
value | [in] scale set name |
Definition at line 144 of file L1TUtmTriggerMenu.h.
References scale_set_name_, and relativeConstraints::value.
|
inline |
set grammar version
value | [in] grammar version |
Definition at line 120 of file L1TUtmTriggerMenu.h.
References relativeConstraints::value, and version_.
|
friend |
Definition at line 173 of file L1TUtmTriggerMenu.h.
|
friend |
Definition at line 173 of file L1TUtmTriggerMenu.h.
|
protected |
map of algorithm <algorithm name, L1TUtmAlgorithm>
Definition at line 159 of file L1TUtmTriggerMenu.h.
Referenced by getAlgorithmMap().
|
protected |
comment on the menu
Definition at line 167 of file L1TUtmTriggerMenu.h.
Referenced by getComment(), and setComment().
|
protected |
map of condition <condition name, L1TUtmCondition>
Definition at line 160 of file L1TUtmTriggerMenu.h.
Referenced by getConditionMap().
|
protected |
datetime of the menu
Definition at line 168 of file L1TUtmTriggerMenu.h.
Referenced by getDatetime(), and setDatetime().
|
protected |
map of external <external name, channel id>
Definition at line 162 of file L1TUtmTriggerMenu.h.
|
protected |
number of uGT boards for the menu
Definition at line 171 of file L1TUtmTriggerMenu.h.
Referenced by getNmodules(), and setNmodules().
|
protected |
name of the menu
Definition at line 165 of file L1TUtmTriggerMenu.h.
|
protected |
map of scale <scale name, L1TUtmScale*>
Definition at line 161 of file L1TUtmTriggerMenu.h.
Referenced by getScaleMap().
|
protected |
scale set name
Definition at line 170 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 164 of file L1TUtmTriggerMenu.h.
|
protected |
uuid of firmware
Definition at line 169 of file L1TUtmTriggerMenu.h.
Referenced by getFirmwareUuid(), and setFirmwareUuid().
|
protected |
Definition at line 172 of file L1TUtmTriggerMenu.h.
Referenced by validation.Sample::datasetpattern(), and validation.Sample::filename().
|
protected |
menu grammar version
Definition at line 166 of file L1TUtmTriggerMenu.h.
Referenced by getVersion(), and setVersion().