|
ATLAS Offline Software
|
Go to the documentation of this file.
19 m_ComplexDeadtime( 0 ),
37 m_TopNode->getBunchGroupsMask(bgmask);
46 ds->check(
"ctpid", ctpId(), o->
ctpId());
67 string::size_type
index=0;
69 std::string::size_type
pos=final_def.find(
'&',
index);
70 if(
pos!= std::string::npos){
74 final_def.replace(
pos, 1,
"&");
81 indent(xmlfile, indentLevel, indentWidth)
82 <<
"<TriggerItem ctpid=\"" <<
m_CtpId
84 <<
"\" name=\"" <<
name()
86 <<
"\" definition=\"" << final_def
97 xmlfile <<
" monitor=\"" <<
s <<
"\"";
99 xmlfile <<
">" << endl;
104 indent(xmlfile, indentLevel, indentWidth) <<
"</TriggerItem>" << endl;
117 const vector<string>& conditions,
118 const vector<TriggerThreshold*>& thrs) {
130 cout <<
"WARNING: Could not set condition of triggeritem " <<
name() <<
" because: " <<
e.what() << endl;
141 cout <<
indent <<
"==================================" << endl;
142 cout <<
indent <<
"TriggerItem:";
152 else cout <<
indent <<
"TopNode is NULL pointer" << endl;
161 o <<
" Complex Deadtime: " <<
item.m_ComplexDeadtime << endl;
162 o <<
" Definition: " <<
item.m_Definition << endl;
163 o <<
" CTP_id: " <<
item.m_CtpId << endl;
164 o <<
" TriggerType(hex): " << hex <<
item.m_TriggerType << dec << endl;
165 if (
item.topNode()) o << *
item.topNode();
166 else o <<
" No TopNode" << endl;
unsigned int m_ComplexDeadtime
void print(const std::string &indent="", unsigned int detail=1) const
std::ostream & operator<<(std::ostream &os, const TrigConf::IsolationLegacy &iso)
const std::string & name() const
unsigned int triggerType() const
std::vector< std::string > parse(std::string names)
void buildLogic(std::string &logic, std::vector< std::string > &conditionList) const
unsigned int complex_deadtime() const
void writeXML(std::ostream &xmlfile, int indentLevel=0, int indentWidth=2, bool omitDelimiter=false) const
unsigned int partition() const
Forward iterator to traverse the main components of the trigger configuration.
TriggerItemNode * m_TopNode
unsigned int m_TriggerType
void buildLogic(std::vector< std::string > &conditionList, std::string &logic) const
void writeXML(std::ostream &xmlfile, int indentLevel=0, int indentWidth=2) const
std::string uint2bin(uint32_t uinteger, uint16_t width)
void setCondition(const std::string &logic, const std::vector< std::string > &conditions, const std::vector< TrigConf::TriggerThreshold * > &thrs)
virtual void print(const std::string &indent="", unsigned int detail=1) const override
uint16_t bunchgroupMask() const
unsigned short monitor() const
virtual ~TriggerItem() override
const std::string & definition() const
std::ostream & indent(std::ostream &o, int lvl, int size) const
std::string __str__() const override
DiffStruct * compareTo(const TriggerItem *o) const
void printNameIdV(const std::string &indent="") const