Namespaces | Functions | Variables
make_pion_angle.py File Reference

Go to the source code of this file.

Namespaces

 make_pion_angle
 

Functions

def make_pion_angle.shift_bins (n_bins, shift)
 
def make_pion_angle.flip_pions (h_in)
 
def make_pion_angle.flat (h_in)
 
def make_pion_angle.shift_pions (h_in, i)
 
def make_pion_angle.gaus_pions (h_in)
 
def make_pion_angle.check_bins (h_in)
 
def make_pion_angle.get_variation (h_in, t, j=0)
 

Variables

 make_pion_angle.parser = ap()
 
 make_pion_angle.type
 
 make_pion_angle.str
 
 make_pion_angle.help
 
 make_pion_angle.default
 
 make_pion_angle.int
 
 make_pion_angle.float
 
 make_pion_angle.args = parser.parse_args()
 
 make_pion_angle.f = RT.TFile(args.i, "OPEN")
 
 make_pion_angle.t = f.Get("pduneana/beamana")
 
list make_pion_angle.end_p = [0., .4, .6, .8, 1.]
 
list make_pion_angle.nbins = [ 5, 25, 25, 25, 10]
 
list make_pion_angle.shifts = [ 2, 12, 12, 12, 5]
 
 make_pion_angle.fout = RT.TFile(args.o, "RECREATE")
 
list make_pion_angle.rs = []
 
 make_pion_angle.h = RT.TH1D("h" + str(i), "", nbins[i-1], -1., 1.)
 
 make_pion_angle.h2 = get_variation(h, args.t, i-1)
 
 make_pion_angle.r = h2.Clone()