30int main(
int argc,
char **argv)
48 JParser<> zap(
"Program to plot PDF of Cherenkov light from shower using interpolation tables.");
57 catch(
const exception &error) {
58 FATAL(error.what() << endl);
75 NOTICE(
"loading input from file " << inputFile <<
"... " << flush);
77 function.load(inputFile.c_str());
82 FATAL(error.what() << endl);
91 200, function.intensity.getXmin(), function.intensity.getXmax(),
94 for (
int ix = 1; ix <= h0.GetXaxis()->GetNbins(); ++ix) {
95 for (
int iy = 1; iy <= h0.GetYaxis()->GetNbins(); ++iy) {
97 const double R = h0.GetXaxis()->GetBinCenter(ix);
98 const double cd = h0.GetYaxis()->GetBinCenter(iy);
99 const double y = integral.getNPE(R, cd);
101 h0.SetBinContent(ix, iy, y);
int main(int argc, char **argv)
Various implementations of functional maps.
General purpose messaging.
Numbering scheme for PDF types.
Utility class to parse command line options.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
I/O formatting auxiliaries.
Utility class to parse parameter values.
#define gmake_property(A)
macros to convert (template) parameter to JPropertiesElement object
int numberOfBins
number of bins for average CDF integral of optical module
double safetyFactor
safety factor for average CDF integral of optical module
Utility class to parse parameter values.
Utility class to parse command line options.
Custom class for CDF table in 2 dimensions.
Multi-dimensional CDF table for arrival time of Cherenkov light.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Empty structure for specification of parser element that is initialised (i.e. does not require input)...