ATLAS Offline Software
Classes | Functions
TXC Namespace Reference

Classes

struct  FixedParameter
 
struct  InputElement
 
class  L1TopoConfigAlg
 
class  L1TopoConfigGlobal
 
class  L1TopoConfigOutputList
 
class  L1TopoMenu
 
struct  OutputElement
 
class  OutputListElement
 
struct  RegisterParameter
 
struct  TopoConfigElement
 
class  TriggerLine
 

Functions

std::ostream & operator<< (std::ostream &, const TXC::L1TopoConfigAlg &)
 
std::ostream & operator<< (std::ostream &, const InputElement &)
 
std::ostream & operator<< (std::ostream &, const OutputElement &)
 
std::ostream & operator<< (std::ostream &, const FixedParameter &)
 
std::ostream & operator<< (std::ostream &, const RegisterParameter &)
 
std::ostream & operator<< (std::ostream &, const L1TopoConfigGlobal &)
 
std::ostream & operator<< (std::ostream &, const L1TopoConfigOutputList &)
 
std::ostream & operator<< (std::ostream &, const TriggerLine &)
 

Function Documentation

◆ operator<<() [1/8]

ostream & TXC::operator<< ( std::ostream &  o,
const FixedParameter ge 
)

Definition at line 28 of file L1TopoConfigAlg.cxx.

29  {
30  o << "name: " << ge.name << ", value: " << ge.value;
31  return o;
32 }

◆ operator<<() [2/8]

ostream & TXC::operator<< ( std::ostream &  o,
const InputElement ie 
)

Definition at line 17 of file L1TopoConfigAlg.cxx.

18  {
19  o << "name: " << ie.name << ", value: " << ie.value << ", pos: " << ie.position;
20  return o;
21 }

◆ operator<<() [3/8]

std::ostream & TXC::operator<< ( std::ostream &  o,
const L1TopoConfigGlobal topoconfig 
)

Definition at line 25 of file L1TopoConfigGlobal.cxx.

25  {
26  o << "General configuration (<TopoConfig>):" << endl;
27  for(const TXC::TopoConfigElement& ce : topoconfig.getTopoConfigs())
28  o << " " << ce.name << ": " << ce.value << endl;
29 
30  return o;
31 }

◆ operator<<() [4/8]

std::ostream & TXC::operator<< ( std::ostream &  o,
const L1TopoConfigOutputList outputlist 
)

Definition at line 80 of file L1TopoConfigOutputList.cxx.

80  {
81 
82  o << "Trigger lines (sorted by connectors):" << endl;
83  for(const TXC::TriggerLine& trigger: outputlist.getTriggerLines()) {
84  if(trigger.counter() % 32 == 0) {
85  //modIdx = trigger.counter() / 100;
86  o << endl << "Module=" << trigger.module() << ", FPGA=" << trigger.fpga() << endl;
87  o << "----------------" << endl;
88  }
89  o << " " << setiosflags(ios::left) << setw(30) << trigger.name() << " (algorithm " << trigger.algoname() << " (id=" << trigger.algoid() << "))"
90  << " on line " << trigger.bit() << " and clock " << trigger.clock() << endl;
91  }
92  return o;
93 }

◆ operator<<() [5/8]

ostream & TXC::operator<< ( std::ostream &  o,
const OutputElement oe 
)

Definition at line 23 of file L1TopoConfigAlg.cxx.

23  {
24  o << "name: " << oe.name << ", value: " << oe.value << ", nbits: " << oe.nbits << ", outname: " << oe.outname << ", position: " << oe.position;
25  return o;
26 }

◆ operator<<() [6/8]

ostream & TXC::operator<< ( std::ostream &  o,
const RegisterParameter pe 
)

Definition at line 34 of file L1TopoConfigAlg.cxx.

35  {
36  o << "name: " << pe.name << ", value: " << pe.value << ", pos: " << pe.position << ", sel: " << pe.selection;
37  return o;
38 }

◆ operator<<() [7/8]

std::ostream & TXC::operator<< ( std::ostream &  o,
const TriggerLine trigger 
)

Definition at line 95 of file L1TopoConfigOutputList.cxx.

95  {
96  o << trigger.counter() << " : " << trigger.name() << " [" << trigger.module() << "/" << trigger.fpga() << "/" << trigger.clock() << "/" << trigger.bit() << "]";
97  return o;
98 }

◆ operator<<() [8/8]

std::ostream & TXC::operator<< ( std::ostream &  o,
const TXC::L1TopoConfigAlg alg 
)

Definition at line 104 of file L1TopoConfigAlg.cxx.

104  {
105 
106  if(alg.isSortAlg()) {
107  o << "Sorting algorithm " << alg.algoID() << " : " << alg.type() << "/" << alg.name() << endl;
108  o << " Input : " << alg.m_inputElements[0].value << endl;
109  o << " Output : " << alg.m_outputElements[0].value << endl;
110  } else {
111  o << "Decision algorithm " << alg.algoID() << " : " << alg.type() << "/" << alg.name() << endl;
112  for(const TXC::InputElement& ie: alg.m_inputElements)
113  o << " Input " << ie.position << " : " << ie.value << endl;
114  for(const TXC::OutputElement& oe: alg.m_outputElements)
115  o << " Output " << oe.position << " : " << oe.outname << endl;
116  }
117  o << " Fixed paramters: " << alg.getFixedParameters().size() << endl;
118  for(const TXC::FixedParameter& ge: alg.m_fixedParameters)
119  o << " " << setw(15) << left << ge.name << " : " << ge.value << endl;
120  o << " Parameters: " << alg.getParameters().size() << endl;
121  for(const TXC::RegisterParameter& pe: alg.m_variableParameters)
122  o << " " << setw(15) << left << pe.name << " : " << pe.value << endl;
123  return o;
124 }
SGout2dot.alg
alg
Definition: SGout2dot.py:243
TXC::FixedParameter::name
std::string name
Definition: L1TopoConfigAlg.h:41
PFHLTConfig.outputlist
list outputlist
Definition: PFHLTConfig.py:385
TXC::OutputElement::value
std::string value
Definition: L1TopoConfigAlg.h:32
LArG4AODNtuplePlotter.pe
pe
Definition: LArG4AODNtuplePlotter.py:116
PlotCalibFromCool.ie
ie
Definition: PlotCalibFromCool.py:420
TXC::OutputElement::outname
std::string outname
Definition: L1TopoConfigAlg.h:34
TXC::OutputElement::name
std::string name
Definition: L1TopoConfigAlg.h:31
TXC::OutputElement::nbits
unsigned int nbits
Definition: L1TopoConfigAlg.h:33
TXC::InputElement
Definition: L1TopoConfigAlg.h:20
TXC::RegisterParameter
Definition: L1TopoConfigAlg.h:45
TXC::TriggerLine
Definition: L1TopoConfigOutputList.h:15
TXC::OutputElement::position
unsigned int position
Definition: L1TopoConfigAlg.h:35
TXC::FixedParameter
Definition: L1TopoConfigAlg.h:38
TXC::FixedParameter::value
std::string value
Definition: L1TopoConfigAlg.h:42
PhysDESDM_Quirks.trigger
trigger
Definition: PhysDESDM_Quirks.py:27
TXC::OutputElement
Definition: L1TopoConfigAlg.h:28
TXC::TopoConfigElement
Definition: L1TopoConfigGlobal.h:13