66 <<
"Failed to create output file: " << cfg().dotfile();
88 os <<
"\"b" << pid <<
'\"';
103 os <<
" [label = \"" << fcn;
106 os <<
"\" shape = box];\n";
115 os <<
"# write_product_node for provenance: " << &p <<
'\n';
130 static std::vector<std::string> names_seen;
131 auto it = std::find(
begin(names_seen),
end(names_seen), procname);
132 if (it ==
end(names_seen)) {
133 names_seen.push_back(procname);
134 return names_seen.size();
144 os <<
" [ colorscheme=" << colorscheme <<
" color=" <<
color(p.
processName())
145 <<
" style=filled ];\n";
155 os <<
"# write_creator_line for provenance: " << &p <<
'\n';
178 os <<
"# write_parentage_line for provenance: " << &p <<
" parent " end
while True: pbar.update(maxval-len(onlies[E][S])) #print iS, "/", len(onlies[E][S]) found = False for...
fhicl::Atom< std::string > dotfile
void write_module_node(art::Provenance const &p, std::string const &colorscheme, std::ostream &os)
std::vector< ProductID > const & parents() const
ProductID productID() const noexcept
std::string const & productInstanceName() const noexcept
fhicl::Atom< std::string > colorscheme
ChannelGroupService::Name Name
void write_module_id(art::Provenance const &p, std::ostream &os)
std::string const & moduleLabel() const noexcept
void processEventProvenance(art::Provenance const &prov)
void write_product_node(art::Provenance const &p, std::ostream &os, int debug)
void write_creator_line(art::Provenance const &p, std::string const &colorscheme, std::ostream &os, int debug)
#define DEFINE_ART_MODULE(klass)
void write_parentage_line(art::Provenance const &p, art::ProductID const parent, std::ostream &os, int debug)
DataFlow(fhicl::TableFragment< Config > const &cfg)
fhicl::Atom< int > debuglevel
double distance(double x1, double y1, double z1, double x2, double y2, double z2)
std::string const & processName() const noexcept
cet::coded_exception< errors::ErrorCodes, ExceptionDetail::translate > Exception
std::size_t color(std::string const &procname)
std::string const & friendlyClassName() const noexcept
void write_id(art::ProductID const pid, std::ostream &os)
decltype(auto) constexpr begin(T &&obj)
ADL-aware version of std::begin.
void write_parent_id(art::ProductID const parent, std::ostream &os)
void format_product_node(std::string const &fcn, std::string const &pin, std::ostream &os)
def parent(G, child, parent_type)