#include <TriggerItemNode.h>
|
std::ostream & | indent (std::ostream &o, int lvl, int size) const |
|
Definition at line 22 of file TriggerItemNode.h.
◆ InternalType_t
◆ NodeType
◆ TriggerItemNode()
TrigConf::TriggerItemNode::TriggerItemNode |
( |
NodeType |
type | ) |
|
◆ ~TriggerItemNode()
TrigConf::TriggerItemNode::~TriggerItemNode |
( |
| ) |
|
|
virtual |
◆ __str__()
string TriggerItemNode::__str__ |
( |
| ) |
const |
|
virtual |
◆ addChild()
Definition at line 114 of file TriggerItemNode.cxx.
116 throw std::runtime_error(
"TriggerItemNode::addChild: trying to add child to leaf node");
◆ buildLogic()
void TrigConf::TriggerItemNode::buildLogic |
( |
std::vector< std::string > & |
conditionList, |
|
|
std::string & |
logic |
|
) |
| const |
◆ children()
◆ getAllBunchGroups() [1/2]
void TrigConf::TriggerItemNode::getAllBunchGroups |
( |
std::vector< bool > & |
vec | ) |
const |
◆ getAllBunchGroups() [2/2]
void TrigConf::TriggerItemNode::getAllBunchGroups |
( |
std::vector< unsigned int > & |
vec | ) |
const |
◆ getAllFinalNodes()
void TrigConf::TriggerItemNode::getAllFinalNodes |
( |
std::vector< const TriggerItemNode * > & |
vec | ) |
const |
◆ getAllPrescaledClockTriggers()
void TrigConf::TriggerItemNode::getAllPrescaledClockTriggers |
( |
std::vector< unsigned int > & |
vec | ) |
const |
◆ getAllRandomTriggers()
void TrigConf::TriggerItemNode::getAllRandomTriggers |
( |
std::vector< unsigned int > & |
vec | ) |
const |
◆ getAllThresholds()
◆ getBunchGroupsMask()
void TrigConf::TriggerItemNode::getBunchGroupsMask |
( |
uint16_t & |
bgmask | ) |
const |
◆ indent()
std::ostream & TrigConf::TriggerItemNode::indent |
( |
std::ostream & |
o, |
|
|
int |
lvl, |
|
|
int |
size |
|
) |
| const |
|
private |
◆ internalTriggerNumber()
unsigned int TrigConf::TriggerItemNode::internalTriggerNumber |
( |
| ) |
const |
|
inline |
◆ internalTriggerType()
◆ isInternalTrigger()
bool TrigConf::TriggerItemNode::isInternalTrigger |
( |
| ) |
const |
◆ isThreshold()
bool TrigConf::TriggerItemNode::isThreshold |
( |
| ) |
const |
◆ multiplicity()
int TrigConf::TriggerItemNode::multiplicity |
( |
| ) |
const |
|
inline |
◆ position()
int TrigConf::TriggerItemNode::position |
( |
| ) |
const |
|
inline |
◆ print()
void TrigConf::TriggerItemNode::print |
( |
const std::string & |
indent = "" , |
|
|
unsigned int |
detail = 1 |
|
) |
| const |
◆ setInternalTrigger() [1/2]
void TrigConf::TriggerItemNode::setInternalTrigger |
( |
const std::string & |
name | ) |
|
Definition at line 96 of file TriggerItemNode.cxx.
98 string::size_type
pos =
name.find_first_of(
"0123456789");
103 cerr <<
"TriggerItemNode::setInternalTrigger: type " <<
name <<
" is not an internal trigger" << endl;
104 throw runtime_error(
"TriggerItemNode::setInternalTrigger: type is not an internal trigger");
◆ setInternalTrigger() [2/2]
◆ setMultiplicity()
void TrigConf::TriggerItemNode::setMultiplicity |
( |
int |
mult | ) |
|
|
inline |
◆ setPosition()
void TrigConf::TriggerItemNode::setPosition |
( |
int |
pos | ) |
|
|
inline |
◆ setThresholdName()
void TrigConf::TriggerItemNode::setThresholdName |
( |
const std::string & |
thrname | ) |
|
|
inline |
◆ setTriggerThreshold()
◆ thresholdName()
const std::string& TrigConf::TriggerItemNode::thresholdName |
( |
| ) |
const |
|
inline |
◆ triggerThreshold()
◆ type()
NodeType TrigConf::TriggerItemNode::type |
( |
| ) |
const |
|
inline |
◆ typeAsString()
std::string TrigConf::TriggerItemNode::typeAsString |
( |
NodeType |
type | ) |
|
|
static |
Definition at line 57 of file TriggerItemNode.cxx.
58 static const std::string typelabel[] = {
"OBJ",
"NOT",
"AND",
"OR",
"UNDEF"};
59 return typelabel[
type];
◆ typeFromChar()
◆ typeFromString()
◆ writeXML()
void TrigConf::TriggerItemNode::writeXML |
( |
std::ostream & |
xmlfile, |
|
|
int |
indentLevel = 0 , |
|
|
int |
indentWidth = 2 , |
|
|
bool |
omitDelimiter = false |
|
) |
| const |
Definition at line 205 of file TriggerItemNode.cxx.
209 indent(xmlfile, indentLevel, indentWidth)
212 indent(xmlfile, indentLevel, indentWidth)
221 indent(xmlfile, indentLevel, indentWidth) <<
"<" << logic <<
">" << endl;
223 node->writeXML(xmlfile, indentLevel+1, indentWidth);
224 indent(xmlfile, indentLevel, indentWidth) <<
"</"<<logic<<
">" << endl;
228 indent(xmlfile, indentLevel, indentWidth) <<
"<NOT>" << endl;
229 children()[0]->writeXML(xmlfile, indentLevel+1, indentWidth);
230 indent(xmlfile, indentLevel, indentWidth) <<
"</NOT>" << endl;
◆ m_Children
◆ m_InternalTrigger
◆ m_Multiplicity
int TrigConf::TriggerItemNode::m_Multiplicity |
|
private |
◆ m_NodeType
NodeType TrigConf::TriggerItemNode::m_NodeType |
|
private |
◆ m_Position
int TrigConf::TriggerItemNode::m_Position |
|
private |
◆ m_Threshold
◆ m_ThresholdName
std::string TrigConf::TriggerItemNode::m_ThresholdName |
|
private |
The documentation for this class was generated from the following files: