22int main(
int argc,
char **argv)
32 JParser<> zap(
"Example program to histogram PMT 2D transit-time distribution.");
39 catch(
const exception &error) {
40 FATAL(error.what() << endl);
46 TH1D h2(
"tt2", NULL, 100, -20.0, +20.0);
48 for (
int i = 1; i <= h2.GetNbinsX(); ++i) {
50 const double t1 = h2.GetBinCenter(i);
52 h2.SetBinContent(i, getTransitionTimeProbability2D(t1));
General purpose messaging.
Utility class to parse command line options.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
int main(int argc, char **argv)
Utility class to parse command line options.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).