ATLAS Offline Software
Loading...
Searching...
No Matches
changerun.py File Reference

Go to the source code of this file.

Namespaces

namespace  python
namespace  python.changerun

Functions

 python.changerun.bscan (b)
 python.changerun.adjust_run (x)

Variables

 python.changerun.newrun = int (sys.argv[1])
 python.changerun.infile = sys.argv[2]
 python.changerun.outfile = sys.argv[3]
 python.changerun.f1 = ROOT.TFile(infile)
 python.changerun.t1 = f1.CollectionTree
 python.changerun.m1 = f1.MetaData
 python.changerun.cl = ROOT.TClass.GetClass('Analysis::TruthInfo_p1')
 python.changerun.f2 = ROOT.TFile(outfile, 'RECREATE')
 python.changerun.t2 = t1.CloneTree (0)
 python.changerun.m2 = m1.CloneTree (0)
list python.changerun.kk = [k.GetName() for k in f1.GetListOfKeys()]
 python.changerun.o1 = f1.Get (k)
 python.changerun.o2 = o1.CloneTree()
 python.changerun.oldrun = None
 python.changerun.bn = b.GetName()
 python.changerun.pv = getattr (m1, bn).m_payload.m_payloadVec
 python.changerun.m_start
 python.changerun.m_stop
 python.changerun.r = pa.m_range