ATLAS Offline Software
Loading...
Searching...
No Matches
TrigConfChain.cxx File Reference
#include "AthenaKernel/errorcheck.h"
#include "TrigMonitoringEvent/TrigMonSeq.h"
#include "TrigMonitoringEvent/TrigConfChain.h"
#include <algorithm>
#include <sstream>
Include dependency graph for TrigConfChain.cxx:

Go to the source code of this file.

Functions

std::string str (const TrigConfChain &o)

Function Documentation

◆ str()

std::string str ( const TrigConfChain & o)

Definition at line 220 of file TrigConfChain.cxx.

221{
222 std::stringstream s;
223
224 s << "TrigConfChain: "
225 << o.getLevel() << " " << o.getName()
226 << " PS=" << o.getPS() << " PT=" << o.getPT()
227 << " lower chain=" << o.getLowerName() << std::endl;
228
229 s << " signatures: ";
230 for(unsigned int i = 0; i < o.getSignature().size(); ++i) {
231 s << str(o.getSignature()[i]) << " ";
232 }
233 s << "\n";
234
235 s << " streams: ";
236 for(unsigned int i = 0; i < o.getStream().size(); ++i) {
237 s << o.getStream()[i] << " ";
238 }
239 s << "\n";
240
241 s << " groups: ";
242 for(unsigned int i = 0; i < o.getGroup().size(); ++i) {
243 s << o.getGroup()[i] << " ";
244 }
245 s << std::endl;
246
247 return s.str();
248}
size_t size() const
Number of registered mappings.
float getPS() const
const std::vector< std::string > & getStream() const
const std::string & getName() const
const std::string & getLowerName() const
const std::vector< std::string > & getGroup() const
float getPT() const
const std::vector< TrigConfSig > & getSignature() const
const std::string getLevel() const