CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Variables
cropTnPTrees Namespace Reference

Variables

tuple cloned = src.CloneTree(newEntries)
 
tuple din = input.Get(k.GetName())
 
tuple dout = output.mkdir(k.GetName())
 
tuple frac = float(args[1])
 
tuple input = ROOT.TFile(args[0])
 
tuple newEntries = int(src.GetEntries()*frac)
 
tuple output = ROOT.TFile(args[2], "RECREATE")
 
tuple parser
 
tuple src = din.Get(i.GetName())
 

Variable Documentation

tuple cropTnPTrees.cloned = src.CloneTree(newEntries)

Definition at line 36 of file cropTnPTrees.py.

tuple cropTnPTrees.din = input.Get(k.GetName())
tuple cropTnPTrees.dout = output.mkdir(k.GetName())

Definition at line 30 of file cropTnPTrees.py.

tuple cropTnPTrees.frac = float(args[1])
tuple cropTnPTrees.input = ROOT.TFile(args[0])

Definition at line 23 of file cropTnPTrees.py.

tuple cropTnPTrees.newEntries = int(src.GetEntries()*frac)

Definition at line 34 of file cropTnPTrees.py.

tuple cropTnPTrees.output = ROOT.TFile(args[2], "RECREATE")

Definition at line 24 of file cropTnPTrees.py.

tuple cropTnPTrees.parser
Initial value:
1 = OptionParser(usage = "usage: %prog [options] inputFile fraction outputFile",
2  version = "%prog $Id: cropTnPTrees.py,v 1.1 2010/05/07 14:22:37 gpetrucc Exp $")

Definition at line 8 of file cropTnPTrees.py.

tuple cropTnPTrees.src = din.Get(i.GetName())

Definition at line 33 of file cropTnPTrees.py.