25int main(
int argc,
char **argv)
36 JParser<> zap(
"Auxiliary program to plot attenuation length.");
44 catch(
const exception &error) {
45 FATAL(error.what() << endl);
51 TH1D h0(
"h0", NULL, 1000, 0.0, 3.0);
53 for (Int_t ix = 1; ix <= h0.GetXaxis()->GetNbins(); ++ix) {
55 const double x = h0.GetBinCenter(ix);
56 const double f_kHz = pow(10.0, x);
57 const double y = getAttenuationLength(D_m, f_kHz);
59 h0.SetBinContent(ix, y * 1.0e-3);
int main(int argc, char **argv)
General purpose messaging.
Utility class to parse command line options.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
Utility class to parse command line options.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).