Variables
make_resolution Namespace Reference

Variables

 parser = ap()
 
 type
 
 str
 
 help
 
 default
 
 args = parser.parse_args()
 
 inputFile = RT.TFile(args.i, "OPEN")
 
 tree = inputFile.Get("tree")
 
 outputFile = RT.TFile(args.o, "RECREATE")
 
 hPionsRes = RT.gDirectory.Get("hPionsRes")
 
 hProtonsRes = RT.gDirectory.Get("hProtonsRes")
 
 hElectronsRes = RT.gDirectory.Get("hElectronsRes")
 
 hKaonsRes = RT.gDirectory.Get("hKaonsRes")
 
 hPionsRes2D = RT.gDirectory.Get("hPionsRes2D")
 
 hProtonsRes2D = RT.gDirectory.Get("hProtonsRes2D")
 
 hElectronsRes2D = RT.gDirectory.Get("hElectronsRes2D")
 
 hKaonsRes2D = RT.gDirectory.Get("hKaonsRes2D")
 
list hs = [hPionsRes2D, hProtonsRes2D, hElectronsRes2D, hKaonsRes2D]
 New: trying to fill every bin. More...
 
 nbinsx = h.GetNbinsX()
 New: trying to make a variation. More...
 
 nbinsy = h.GetNbinsY()
 
 hPlus
 
 hMinus
 

Variable Documentation

make_resolution.args = parser.parse_args()

Definition at line 14 of file make_resolution.py.

make_resolution.default

Definition at line 6 of file make_resolution.py.

make_resolution.hElectronsRes = RT.gDirectory.Get("hElectronsRes")

Definition at line 38 of file make_resolution.py.

make_resolution.hElectronsRes2D = RT.gDirectory.Get("hElectronsRes2D")

Definition at line 43 of file make_resolution.py.

make_resolution.help

Definition at line 6 of file make_resolution.py.

make_resolution.hKaonsRes = RT.gDirectory.Get("hKaonsRes")

Definition at line 39 of file make_resolution.py.

make_resolution.hKaonsRes2D = RT.gDirectory.Get("hKaonsRes2D")

Definition at line 44 of file make_resolution.py.

make_resolution.hMinus
Initial value:
1 = RT.TH2D(h.GetName() + "Minus", "",
2  nbinsx, h.GetXaxis().GetBinLowEdge(1), h.GetXaxis().GetBinUpEdge(nbinsx),
3  nbinsy, h.GetYaxis().GetBinLowEdge(1), h.GetYaxis().GetBinUpEdge(nbinsy))

Definition at line 72 of file make_resolution.py.

make_resolution.hPionsRes = RT.gDirectory.Get("hPionsRes")

Definition at line 36 of file make_resolution.py.

make_resolution.hPionsRes2D = RT.gDirectory.Get("hPionsRes2D")

Definition at line 41 of file make_resolution.py.

make_resolution.hPlus
Initial value:
1 = RT.TH2D(h.GetName() + "Plus", "",
2  nbinsx, h.GetXaxis().GetBinLowEdge(1), h.GetXaxis().GetBinUpEdge(nbinsx),
3  nbinsy, h.GetYaxis().GetBinLowEdge(1), h.GetYaxis().GetBinUpEdge(nbinsy))

Definition at line 69 of file make_resolution.py.

make_resolution.hProtonsRes = RT.gDirectory.Get("hProtonsRes")

Definition at line 37 of file make_resolution.py.

make_resolution.hProtonsRes2D = RT.gDirectory.Get("hProtonsRes2D")

Definition at line 42 of file make_resolution.py.

list make_resolution.hs = [hPionsRes2D, hProtonsRes2D, hElectronsRes2D, hKaonsRes2D]

New: trying to fill every bin.

Definition at line 49 of file make_resolution.py.

make_resolution.inputFile = RT.TFile(args.i, "OPEN")

Definition at line 21 of file make_resolution.py.

make_resolution.nbinsx = h.GetNbinsX()

New: trying to make a variation.

Definition at line 66 of file make_resolution.py.

make_resolution.nbinsy = h.GetNbinsY()

Definition at line 67 of file make_resolution.py.

make_resolution.outputFile = RT.TFile(args.o, "RECREATE")

Definition at line 24 of file make_resolution.py.

make_resolution.parser = ap()

Definition at line 4 of file make_resolution.py.

make_resolution.str

Definition at line 6 of file make_resolution.py.

make_resolution.tree = inputFile.Get("tree")

Definition at line 22 of file make_resolution.py.

make_resolution.type

Definition at line 6 of file make_resolution.py.