TriggerDecision Class Reference

Sumarises the decision of the trigger in user friendly form. More...

#include <TriggerDecision.h>

List of all members.

Public Types

enum  TrigLevel { L1 = 1, L2, EF }

Public Member Functions

 TriggerDecision (bool l1, bool l2, bool ef)
 custom c'tor
void print () const
void printAccepted () const
bool isDefinedL1 () const
bool isDefinedL2 () const
bool isDefinedEF () const
bool isDefined (std::string) const
bool isDefined (std::string, unsigned int) const
bool isTriggerPassed () const
 global decision
bool isPassedL1 () const
bool isPassedL2 () const
bool isPassedEF () const
bool isTriggered (std::string name) const
 checks if given signature is satisfied
bool isTriggered (std::string name, unsigned int level) const
 checks if given signature is satisfied
std::vector< std::string > signatures () const
 list of all defined signatures
std::vector< std::string > signatures (unsigned int level) const
 list of defined signatures in level
std::map< std::string, bool > L1map () const
 all signatures to satisfied/unsatisfied map for Lvl1 This map contains mapping from signature name to the boolean which is true if given signature was active false otherwise.
std::map< std::string, bool > L2map () const
 all signatures to satisfied/unsatisfied map for Lvl2
std::map< std::string, bool > EFmap () const
 all signatures to satisfied/unsatisfied map for Lvl2
std::vector< std::string > ignoredSigs () const
 list of signatures which were ignored during TriggerDecision object creation (do not enter to the map)
void set_TriggerItem (std::string, bool, unsigned int)
 sets the active/inactive state for a signature
void set_ignore_TriggerItem (std::string)
 adds signature to the list of this to be ignored
bool ignore_TriggerItem (std::string)
 checki if signature is ignored

Detailed Description

Sumarises the decision of the trigger in user friendly form.

Prototype to provide Trigger Decision to end-user

Author:
M. Wielers
Warning:
this class is obsolete and is kept only for purpose of data reading done in rel 12 or before

Constructor & Destructor Documentation

TriggerDecision::TriggerDecision ( bool  l1,
bool  l2,
bool  ef 
)

custom c'tor

Parameters:
l1 enabled LVL1
l2 enabled LVL2
ef enabled EF

Member Function Documentation

std::map< std::string, bool > TriggerDecision::EFmap (  )  const

all signatures to satisfied/unsatisfied map for Lvl2

See also:
L1map()
bool TriggerDecision::isTriggered ( std::string  name,
unsigned int  level 
) const

checks if given signature is satisfied

Parameters:
name signature name
levle further details in which level,
See also:
TrigLevel
bool TriggerDecision::isTriggered ( std::string  name  )  const

checks if given signature is satisfied

Parameters:
name signature name
std::map< std::string, bool > TriggerDecision::L2map (  )  const

all signatures to satisfied/unsatisfied map for Lvl2

See also:
L1map()
std::vector< std::string > TriggerDecision::signatures ( unsigned int  level  )  const

list of defined signatures in level

See also:
TrigLevel

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 15 Apr 2017 for RootCore Packages by  doxygen 1.6.1