Go to the documentation of this file.
   20 int main(
int argc, 
char* argv[])
 
   29     JParser<> zap(
"Example program to histogram neutrino interaction cross sections.");
 
   36   catch(
const exception &error) {
 
   37     FATAL(error.what() << endl);
 
   45   TH1D h1(
"cc_nu",    NULL, 1000, 2.0, 7.0);
 
   46   TH1D h2(
"nc_nu",    NULL, 1000, 2.0, 7.0);
 
   47   TH1D h3(
"cc_nubar", NULL, 1000, 2.0, 7.0);
 
   48   TH1D h4(
"nc_nubar", NULL, 1000, 2.0, 7.0);
 
   51   for(
int i = 1; i <= h1.GetNbinsX(); ++i) {
 
   53     const double x = h1.GetBinCenter(i);
 
   54     const double E = pow(10.0, x); 
 
   56     h1.Fill(x, 
cc_nu   (E));
 
   57     h2.Fill(x, 
nc_nu   (E));
 
  
static const JCCnu cc_nu
Function object for charged current neutrino cross section [cm^2] as a function of neutrino energy [G...
 
static const JNCnu nc_nu
Function object for neutral current neutrino cross section [cm^2] as a function of neutrino energy [G...
 
Utility class to parse command line options.
 
int main(int argc, char *argv[])
 
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
 
static const JCCnubar cc_nubar
Function object for charged current anti-neutrino cross section [cm^2] as a function of neutrino ener...
 
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
 
static const JNCnubar nc_nubar
Function object for neutral current anti-neutrino cross section [cm^2] as a function of neutrino ener...