![]() |
ATLAS Offline Software
|
#include <TriggerItemNode.h>
Public Types | |
| enum | NodeType { OBJ , NOT , AND , OR , UNDEF } |
| typedef std::pair< L1DataDef::TriggerType, unsigned int > | InternalType_t |
Public Member Functions | |
| TriggerItemNode (NodeType) | |
| virtual | ~TriggerItemNode () |
| bool | isThreshold () const |
| bool | isInternalTrigger () const |
| void | addChild (TriggerItemNode *node) |
| const std::vector< TriggerItemNode * > & | children () const |
| void | setThresholdName (const std::string &thrname) |
| void | setPosition (int pos) |
| void | setMultiplicity (int mult) |
| void | setTriggerThreshold (TriggerThreshold *thr) |
| void | setInternalTrigger (L1DataDef::TriggerType x, unsigned int thresholdNumber) |
| void | setInternalTrigger (const std::string &name) |
| NodeType | type () const |
| const std::string & | thresholdName () const |
| int | position () const |
| int | multiplicity () const |
| const TriggerThreshold * | triggerThreshold () const |
| L1DataDef::TriggerType | internalTriggerType () const |
| unsigned int | internalTriggerNumber () const |
| void | getAllFinalNodes (std::vector< const TriggerItemNode * > &) const |
| void | getAllThresholds (std::vector< const TriggerThreshold * > &) const |
| void | getAllBunchGroups (std::vector< bool > &) const |
| void | getBunchGroupsMask (uint16_t &bgmask) const |
| void | getAllBunchGroups (std::vector< unsigned int > &) const |
| void | getAllRandomTriggers (std::vector< unsigned int > &) const |
| void | getAllPrescaledClockTriggers (std::vector< unsigned int > &) const |
| void | print (const std::string &indent="", unsigned int detail=1) const |
| void | writeXML (std::ostream &xmlfile, int indentLevel=0, int indentWidth=2, bool omitDelimiter=false) const |
| void | buildLogic (std::vector< std::string > &conditionList, std::string &logic) const |
| virtual std::string | __str__ () const |
Static Public Member Functions | |
| static NodeType | typeFromString (const std::string &) |
| static NodeType | typeFromChar (const char &c) |
| static std::string | typeAsString (NodeType) |
Private Member Functions | |
| std::ostream & | indent (std::ostream &o, int lvl, int size) const |
Private Attributes | |
| NodeType | m_NodeType |
| std::vector< TriggerItemNode * > | m_Children |
| std::string | m_ThresholdName |
| int | m_Position |
| int | m_Multiplicity |
| TriggerThreshold * | m_Threshold |
| InternalType_t | m_InternalTrigger |
Definition at line 22 of file TriggerItemNode.h.
| typedef std::pair<L1DataDef::TriggerType,unsigned int> TrigConf::TriggerItemNode::InternalType_t |
Definition at line 32 of file TriggerItemNode.h.
| TrigConf::TriggerItemNode::TriggerItemNode | ( | NodeType | type | ) |
Definition at line 20 of file TriggerItemNode.cxx.
|
virtual |
Definition at line 30 of file TriggerItemNode.cxx.
|
virtual |
Definition at line 334 of file TriggerItemNode.cxx.
| void TrigConf::TriggerItemNode::addChild | ( | TriggerItemNode * | node | ) |
Definition at line 112 of file TriggerItemNode.cxx.
| void TrigConf::TriggerItemNode::buildLogic | ( | std::vector< std::string > & | conditionList, |
| std::string & | logic ) const |
Definition at line 235 of file TriggerItemNode.cxx.
|
inline |
Definition at line 39 of file TriggerItemNode.h.
| void TrigConf::TriggerItemNode::getAllBunchGroups | ( | std::vector< bool > & | vec | ) | const |
Definition at line 142 of file TriggerItemNode.cxx.
| void TrigConf::TriggerItemNode::getAllBunchGroups | ( | std::vector< unsigned int > & | vec | ) | const |
Definition at line 169 of file TriggerItemNode.cxx.
| void TrigConf::TriggerItemNode::getAllFinalNodes | ( | std::vector< const TriggerItemNode * > & | vec | ) | const |
Definition at line 119 of file TriggerItemNode.cxx.
| void TrigConf::TriggerItemNode::getAllPrescaledClockTriggers | ( | std::vector< unsigned int > & | vec | ) | const |
Definition at line 191 of file TriggerItemNode.cxx.
| void TrigConf::TriggerItemNode::getAllRandomTriggers | ( | std::vector< unsigned int > & | vec | ) | const |
Definition at line 180 of file TriggerItemNode.cxx.
| void TrigConf::TriggerItemNode::getAllThresholds | ( | std::vector< const TriggerThreshold * > & | vec | ) | const |
Definition at line 129 of file TriggerItemNode.cxx.
| void TrigConf::TriggerItemNode::getBunchGroupsMask | ( | uint16_t & | bgmask | ) | const |
Definition at line 156 of file TriggerItemNode.cxx.
|
private |
Definition at line 301 of file TriggerItemNode.cxx.
|
inline |
Definition at line 56 of file TriggerItemNode.h.
|
inline |
Definition at line 55 of file TriggerItemNode.h.
| bool TrigConf::TriggerItemNode::isInternalTrigger | ( | ) | const |
Definition at line 67 of file TriggerItemNode.cxx.
| bool TrigConf::TriggerItemNode::isThreshold | ( | ) | const |
Definition at line 62 of file TriggerItemNode.cxx.
|
inline |
Definition at line 53 of file TriggerItemNode.h.
|
inline |
Definition at line 52 of file TriggerItemNode.h.
| void TrigConf::TriggerItemNode::print | ( | const std::string & | indent = "", |
| unsigned int | detail = 1 ) const |
Definition at line 276 of file TriggerItemNode.cxx.
| void TrigConf::TriggerItemNode::setInternalTrigger | ( | const std::string & | name | ) |
Definition at line 94 of file TriggerItemNode.cxx.
| void TrigConf::TriggerItemNode::setInternalTrigger | ( | L1DataDef::TriggerType | x, |
| unsigned int | thresholdNumber ) |
Definition at line 85 of file TriggerItemNode.cxx.
|
inline |
Definition at line 44 of file TriggerItemNode.h.
|
inline |
Definition at line 43 of file TriggerItemNode.h.
|
inline |
Definition at line 42 of file TriggerItemNode.h.
| void TrigConf::TriggerItemNode::setTriggerThreshold | ( | TriggerThreshold * | thr | ) |
Definition at line 72 of file TriggerItemNode.cxx.
|
inline |
Definition at line 51 of file TriggerItemNode.h.
|
inline |
Definition at line 54 of file TriggerItemNode.h.
|
inline |
Definition at line 50 of file TriggerItemNode.h.
|
static |
Definition at line 55 of file TriggerItemNode.cxx.
|
static |
Definition at line 47 of file TriggerItemNode.cxx.
|
static |
Definition at line 36 of file TriggerItemNode.cxx.
| void TrigConf::TriggerItemNode::writeXML | ( | std::ostream & | xmlfile, |
| int | indentLevel = 0, | ||
| int | indentWidth = 2, | ||
| bool | omitDelimiter = false ) const |
Definition at line 203 of file TriggerItemNode.cxx.
|
private |
Definition at line 78 of file TriggerItemNode.h.
|
private |
Definition at line 87 of file TriggerItemNode.h.
|
private |
Definition at line 83 of file TriggerItemNode.h.
|
private |
Definition at line 75 of file TriggerItemNode.h.
|
private |
Definition at line 82 of file TriggerItemNode.h.
|
private |
Definition at line 84 of file TriggerItemNode.h.
|
private |
Definition at line 81 of file TriggerItemNode.h.