MyTrigger Class Reference

#include <MyTrigger.h>

List of all members.

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


Detailed Description

This class stores Trigger data to be easily accessed inside ROOT. It therefore avoids direct use of ATHENA classes. Based on the class TriggerDecision from ATHENA.

Date:
13.04.2007
Author:
Manfred.Groh

Definition at line 34 of file MyTrigger.h.


The documentation for this class was generated from the following files:
Generated on Tue Oct 21 11:50:48 2008 for NtupleAnalysis by  doxygen 1.5.1