ATLAS Offline Software
Functions
nodeIDPrinter.h File Reference
#include <string>
#include <optional>
Include dependency graph for nodeIDPrinter.h:
This graph shows which files directly or indirectly include this file:

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 &time="")
 
std::string nodeIDPrinter (const std::string &name, int nodeID, int parentID, const std::optional< bool > &pass, const std::string &time="")
 
std::string nodeIDPrinter (const std::string &name, const std::optional< bool > &pass, const std::string &time)
 
std::string nodeIDPrinter (const std::string &name, int nodeID, int parentID)
 

Function Documentation

◆ nodeIDPrinter() [1/4]

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

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() [2/4]

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() [3/4]

std::string nodeIDPrinter ( const std::string &  name,
int  nodeID,
int  parentID,
bool  pass,
const std::string &  time = "" 
)

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() [4/4]

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

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:195