#include <MyTrigger.h>
Public Member Functions | |
MyTrigger (void) | |
Default constructor: all private variables are set to 0. | |
MyTrigger (const bool trigger_l1_defined, const bool trigger_l2_defined, const bool trigger_ef_defined, const std::vector< std::string > trigger_keys_l1, const std::vector< int > trigger_keys_status_l1, const std::vector< std::string > trigger_keys_l2, const std::vector< int > trigger_keys_status_l2, const std::vector< std::string > trigger_keys_ef, const std::vector< int > trigger_keys_status_ef) | |
Constructor: pass the trigger info to the init function. | |
bool | isTriggered (std::string TriggerItem, unsigned int level) const |
returns if the specified TriggerItem has fired | |
std::vector< std::string > | triggerkey (unsigned int level) const |
std::map< std::string, bool > | triggermap (unsigned int level) |
Private Member Functions | |
void | set_TriggerItem (std::string TriggerItem, bool triggered, unsigned int level) |
void | init (const bool trigger_l1_defined, const bool trigger_l2_defined, const bool trigger_ef_defined, const std::vector< std::string > &trigger_keys_l1, const std::vector< int > &trigger_keys_status_l1, const std::vector< std::string > &trigger_keys_l2, const std::vector< int > &trigger_keys_status_l2, const std::vector< std::string > &trigger_keys_ef, const std::vector< int > &trigger_keys_status_ef) |
Private Attributes | |
bool | m_L1defined |
bool | m_L2defined |
bool | m_EFdefined |
std::map< std::string, bool > | m_TriggerMapL1 |
std::map< std::string, bool > | m_TriggerMapL2 |
std::map< std::string, bool > | m_TriggerMapEF |
std::vector< std::string > | m_trigger_keys_l1 |
std::vector< std::string > | m_trigger_keys_l2 |
std::vector< std::string > | m_trigger_keys_ef |
Definition at line 34 of file MyTrigger.h.