GENIEGenerator
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions
Validation.cpp File Reference
#include <TCanvas.h>
#include <TF2.h>
#include <TGraph.h>
#include <TH1D.h>
#include <cmath>
#include <cstring>
#include <fstream>
#include <iostream>
#include <sstream>
#include <string>
#include <vector>
#include "gst.h"
Include dependency graph for Validation.cpp:

Go to the source code of this file.

Functions

void Validation ()
 
int main ()
 

Function Documentation

int main ( )

Definition at line 290 of file Validation.cpp.

References Validation().

290  {
291  Validation();
292  return 0;
293 }
void Validation()
Definition: Validation.cpp:272
void Validation ( )

Definition at line 272 of file Validation.cpp.

Referenced by main().

272  {
273  const int nucZs[] = {1, 2, 6, 10, 13, 18, 26, 82 };
274  const int nucAs[] = {2, 4, 12, 20, 27, 40, 56, 208};
275  const int num_nucs = 8;
276 
277  const double q2s[] = {0.1, 0.3, 0.5, 0.7, 1.0, 1.2, 1.5, 2.0};
278  const int num_q2s = 8;
279  validation_plot_energy_xs();
280  validation_plot_energy_ratio();
281  validation_plot_q2_ratio();
282 
283  for (int i = 0; i < num_nucs; i++) {
284  for (int j = 0; j < num_q2s; j++) {
285  validation_plot_delnu(nucZs[i], nucAs[i], q2s[j]);
286  }
287  }
288 }