13 int main(
int argc,
char **argv)
25 if ( ! cfg->
Lookup(
"analyse.two",twoa) ) std::cout <<
"No analyse.two" << std::endl;
26 if ( ! cfg->
Lookup(
"analyse.misc.pi",pi) ) std::cout <<
"No analyse pi" << std::endl;
27 if ( ! cfg->
Lookup(
"sym.two",twos) ) std::cout <<
"No sym.two" << std::endl;
28 if ( ! cfg->
Lookup(
"sym.four",twos) ) std::cout <<
"No sym.four" << std::endl;
30 std::cout <<
"Two some times " << twoa <<
", even raise to " << twos
31 <<
", but Pi rest " << pi << std::endl;
int main(int argc, char **argv)
Bool_t Lookup(const char *path, Bool_t &val)
Lookup function for scalar values.
void print() const
Read config file in libconfig format.
A class which keeps track of the entire configuration of the analysis.