25 int 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);
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.
static const JAttenuationLength getAttenuationLength(13.2, 38.0, 8.0)
Function object to calculate attenutation length.
T pow(const T &x, const double y)
Power .
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).