CMS 3D CMS Logo

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)
tuple cropTnPTrees::din = input.Get(k.GetName())

Definition at line 29 of file cropTnPTrees.py.

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.

Initial value:
00001 OptionParser(usage = "usage: %prog [options] inputFile fraction outputFile",
00002                       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.