Functions | Variables
write_out_h20_xsec.C File Reference

Go to the source code of this file.

Functions

TFile f ("./xsec_H20.root","recreate")
 
xsec_water ReadFile (xsec_water_file,"E/D:xsec_numu/D:xsec_numubar/D:xsec_nue/D:xsec_nuebar/D")
 
xsec_water Draw ("E>>xsec_numuH20","xsec_numu","goff")
 
xsec_water Draw ("E>>xsec_numubarH20","xsec_numubar","goff")
 
xsec_water Draw ("E>>xsec_nueH20","xsec_nue","goff")
 
xsec_water Draw ("E>>xsec_nuebarH20","xsec_nuebar","goff")
 
f Write ()
 
f Close ()
 

Variables

double Emax = 15.0
 
double dE = 0.050
 
int nE = (Emax-Emin)/dE
 
TH1D * xsec_numuH20 = new TH1D("xsec_numuH20", "", nE, Emin, Emax)
 
TH1D * xsec_numubarH20 = new TH1D("xsec_numubarH20", "", nE, Emin, Emax)
 
TH1D * xsec_nueH20 = new TH1D("xsec_nueH20", "", nE, Emin, Emax)
 
TH1D * xsec_nuebarH20 = new TH1D("xsec_nuebarH20", "", nE, Emin, Emax)
 
TTree xsec_water
 
const char * xsec_water_file = "./genie_sk_xsec_table.dat"
 

Function Documentation

f Close ( )
xsec_water Draw ( "E>>xsec_numuH20 ,
"xsec_numu"  ,
"goff"   
)
xsec_water Draw ( "E>>xsec_numubarH20 ,
"xsec_numubar"  ,
"goff"   
)
xsec_water Draw ( "E>>xsec_nueH20 ,
"xsec_nue"  ,
"goff"   
)
xsec_water Draw ( "E>>xsec_nuebarH20 ,
"xsec_nuebar"  ,
"goff"   
)
TFile f ( "./xsec_H20.root"  ,
"recreate"   
)
xsec_water ReadFile ( xsec_water_file  ,
"E/D:xsec_numu/D:xsec_numubar/D:xsec_nue/D:xsec_nuebar/D  
)
f Write ( )

Variable Documentation

double dE = 0.050

Definition at line 9 of file write_out_h20_xsec.C.

double Emax = 15.0

Definition at line 8 of file write_out_h20_xsec.C.

int nE = (Emax-Emin)/dE

Definition at line 10 of file write_out_h20_xsec.C.

TH1D* xsec_nuebarH20 = new TH1D("xsec_nuebarH20", "", nE, Emin, Emax)

Definition at line 17 of file write_out_h20_xsec.C.

TH1D* xsec_nueH20 = new TH1D("xsec_nueH20", "", nE, Emin, Emax)

Definition at line 16 of file write_out_h20_xsec.C.

TH1D* xsec_numubarH20 = new TH1D("xsec_numubarH20", "", nE, Emin, Emax)

Definition at line 15 of file write_out_h20_xsec.C.

TH1D* xsec_numuH20 = new TH1D("xsec_numuH20", "", nE, Emin, Emax)

Definition at line 14 of file write_out_h20_xsec.C.

TTree xsec_water

Definition at line 19 of file write_out_h20_xsec.C.

const char* xsec_water_file = "./genie_sk_xsec_table.dat"

Definition at line 20 of file write_out_h20_xsec.C.