make the histogram assessment part of the config
More...
|
| ass (node &n, bool ah=true) |
|
void | makeass (node &n, const std::string &space="", std::string path="", std::string rawpath="", bool found=false) |
|
make the histogram assessment part of the config
Definition at line 626 of file hcg.cxx.
◆ ass()
ass::ass |
( |
node & |
n, |
|
|
bool |
ah = true |
|
) |
| |
|
inline |
Definition at line 630 of file hcg.cxx.
632 (*outp) <<
"#######################\n";
633 (*outp) <<
"# Histogram Assessments\n";
634 (*outp) <<
"#######################\n\n";
◆ makeass()
void ass::makeass |
( |
node & |
n, |
|
|
const std::string & |
space = "" , |
|
|
std::string |
path = "" , |
|
|
std::string |
rawpath = "" , |
|
|
bool |
found = false |
|
) |
| |
|
inline |
if ( n.name()=="top_level" ) print = true;
always try to remap the name
extra user specified tags
extra user specified tags
\t\t##" << n.name() << "
";
Definition at line 639 of file hcg.cxx.
641 static std::string savedir =
"";
654 std::string newspacer = space;
665 std::string output_name =
find(
n.name());
668 if (
path==
"" )
path += output_name;
669 else path +=
"/" + output_name;
670 if ( rawpath==
"" ) rawpath +=
n.name();
671 else rawpath +=
"/" +
n.name();
676 if (
print ) (*outp) << space <<
"dir " <<
n.name() <<
" {" <<
"\n";
678 bool first_hists =
true;
680 for (
unsigned i=0 ;
i<
n.size() ;
i++ ) {
685 (*outp) << space <<
"\t" <<
"hist .* {\n";
686 (*outp) << space <<
"\t\t" <<
"regex \t= 1\n";
687 (*outp) << space <<
"\t\t" <<
"algorithm \t= " <<
algorithm <<
"\n";
688 (*outp) << space <<
"\t\t" <<
"description \t= " <<
description <<
"\n";
689 (*outp) << space <<
"\t\t" <<
"output \t= " <<
path <<
"\n";
690 (*outp) << space <<
"\t\t" <<
"display \t= StatBox\n";
693 (*outp) << space <<
"\t" <<
"}\n";
698 (*outp) << space <<
"\t" <<
"hist " <<
n[
i]->name() <<
" {\n";
699 (*outp) << space <<
"\t\t" <<
"algorithm \t= " <<
algorithm <<
"\n";
700 (*outp) << space <<
"\t\t" <<
"description \t= " <<
description <<
"\n";
701 (*outp) << space <<
"\t\t" <<
"output \t= " <<
path <<
"\n";
702 (*outp) << space <<
"\t\t" <<
"display \t= StatBox\n";
705 (*outp) << space <<
"\t" <<
"}\n";
715 if (
print ) (*outp) << space <<
"}\n";
◆ m_allhists
The documentation for this class was generated from the following file:
std::map< std::string, int > dirs
list of directories to be explicitly included, together with corresponding depths of subdirectories
void makeass(node &n, const std::string &space="", std::string path="", std::string rawpath="", bool found=false)