CMS 3D CMS Logo

Namespaces | Variables

/data/refman/pasoursint/CMSSW_5_3_9_patch3/src/PhysicsTools/TagAndProbe/python/cropTnPTrees.py File Reference

Go to the source code of this file.

Namespaces

namespace  cropTnPTrees

Variables

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