ATLAS Offline Software
Functions
nodeIDPrinter.cxx File Reference
#include <sstream>
#include "./nodeIDPrinter.h"
Include dependency graph for nodeIDPrinter.cxx:

Go to the source code of this file.

Functions

std::string nodeIDPrinter (const std::string &name, int nodeID, int parentID, bool pass, const std::string &timerStr)
 
std::string nodeIDPrinter (const std::string &name, bool pass, const std::string &timerStr)
 
std::string nodeIDPrinter (const std::string &name, int nodeID, int parentID, const std::optional< bool > &pass, const std::string &timerStr)
 
std::string nodeIDPrinter (const std::string &name, const std::optional< bool > &pass, const std::string &timerStr)
 
std::string nodeIDPrinter (const std::string &name, int nodeID, int parentID)
 

Function Documentation

◆ nodeIDPrinter() [1/5]

std::string nodeIDPrinter ( const std::string &  name,
bool  pass,
const std::string &  timerStr 
)

Definition at line 21 of file nodeIDPrinter.cxx.

23  {
24 
25  std::stringstream ss;
26  ss << "name(): " << name <<" pass: " <<std::boolalpha << pass << " "
27  << timerStr << '\n';
28 
29  return ss.str();
30 }

◆ nodeIDPrinter() [2/5]

std::string nodeIDPrinter ( const std::string &  name,
const std::optional< bool > &  pass,
const std::string &  timerStr 
)

Definition at line 48 of file nodeIDPrinter.cxx.

50  {
51  if(pass.has_value()){
52  return nodeIDPrinter(name, *pass, timerStr);
53  }
54 
55 
56  std::stringstream ss;
57 
58  ss << "name(): " << name << " pass: " << "ERROR " <<timerStr << '\n';
59 
60  return ss.str();
61 }

◆ nodeIDPrinter() [3/5]

std::string nodeIDPrinter ( const std::string &  name,
int  nodeID,
int  parentID 
)

Definition at line 63 of file nodeIDPrinter.cxx.

65  {
66 
67  std::stringstream ss;
68  ss << "name(): " << name <<" node: " << nodeID
69  << " parent: " << parentID
70  << '\n';
71 
72  return ss.str();
73 }

◆ nodeIDPrinter() [4/5]

std::string nodeIDPrinter ( const std::string &  name,
int  nodeID,
int  parentID,
bool  pass,
const std::string &  timerStr 
)

Definition at line 7 of file nodeIDPrinter.cxx.

11  {
12 
13  std::stringstream ss;
14  ss << "name(): " << name <<" node: " << nodeID
15  << " parent: " << parentID
16  << " pass: " << std::boolalpha << pass << " " <<timerStr << '\n';
17 
18  return ss.str();
19 }

◆ nodeIDPrinter() [5/5]

std::string nodeIDPrinter ( const std::string &  name,
int  nodeID,
int  parentID,
const std::optional< bool > &  pass,
const std::string &  timerStr 
)

Definition at line 32 of file nodeIDPrinter.cxx.

36  {
37  if(pass.has_value()){
38  return nodeIDPrinter(name, nodeID, parentID, *pass, timerStr);
39  }
40  std::stringstream ss;
41  ss << "name(): " <<name <<" node: " << nodeID
42  << " parent: " << parentID
43  << " pass: " << "ERROR " <<timerStr << '\n';
44 
45  return ss.str();
46 }
PowhegControl_ttHplus_NLO.ss
ss
Definition: PowhegControl_ttHplus_NLO.py:83
nodeIDPrinter
std::string nodeIDPrinter(const std::string &name, int nodeID, int parentID, bool pass, const std::string &timerStr)
Definition: nodeIDPrinter.cxx:7
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228