Public Types | |
enum | NodeType { OBJ, NOT, AND, OR, UNDEF } |
typedef std::pair < L1DataDef::TriggerType, unsigned int > | InternalType_t |
Public Member Functions | |
TriggerItemNode (NodeType) | |
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 |
TriggerThreshold * | triggerThreshold () const |
L1DataDef::TriggerType | internalTriggerType () const |
unsigned int | internalTriggerNumber () const |
void | getAllFinalNodes (std::vector< const TriggerItemNode * > &) const |
void | getAllThresholds (std::vector< 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) |