Commit 876a72e5 authored by Florian Goth's avatar Florian Goth
Browse files

make the number of prebins configurable by config files.

parent e9ae05a2
......@@ -221,6 +221,7 @@ void Master::connectclient(const Client& c, const Parameters& curparams)
send<double>(c, curparams.t_exp);
send<double>(c, curparams.delta);
send<uint32_t>(c, curparams.N_wait);//send the waiting time between the measurements
send<uint32_t>(c, curparams.prebins);//send number of bins to pre-average
send<double>(c, curparams.delta_s);//send the time resolution
send<int32_t>(c, seed);//send the seeds
//now send all the used observables
......@@ -485,6 +486,7 @@ try
break;
}
params[k].N_wait = registry.Get<unsigned int>("qmc" , "Main", "N_Wait");
params[k].prebins = registry.Get<unsigned int>("qmc" , "Main", "prebins");
try
{
params[k].delta_s = registry.Get<double>("observables", "Common", "delta_s");
......
......@@ -60,6 +60,7 @@ struct Parameters
double lambda;
uint32_t N_wait;
uint32_t prebins;
std::string path;
std::string binpath;
std::string idpath;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment