ATLAS Offline Software
|
Functions | |
def | bscan (b) |
def | adjust_run (x) |
Variables | |
newrun = int (sys.argv[1]) | |
infile = sys.argv[2] | |
outfile = sys.argv[3] | |
f1 = ROOT.TFile(infile) | |
t1 = f1.CollectionTree | |
m1 = f1.MetaData | |
cl = ROOT.TClass.GetClass('Analysis::TruthInfo_p1') | |
f2 = ROOT.TFile(outfile, 'RECREATE') | |
t2 = t1.CloneTree (0) | |
m2 = m1.CloneTree (0) | |
list | kk = [k.GetName() for k in f1.GetListOfKeys()] |
o1 = f1.Get (k) | |
o2 = o1.CloneTree() | |
oldrun = None | |
bn = b.GetName() | |
pv = getattr (m1, bn).m_payload.m_payloadVec | |
m_start | |
m_stop | |
r = pa.m_range | |
def python.changerun.adjust_run | ( | x | ) |
Definition at line 70 of file changerun.py.
def python.changerun.bscan | ( | b | ) |
Definition at line 49 of file changerun.py.
python.changerun.bn = b.GetName() |
Definition at line 79 of file changerun.py.
python.changerun.cl = ROOT.TClass.GetClass('Analysis::TruthInfo_p1') |
Definition at line 34 of file changerun.py.
python.changerun.f1 = ROOT.TFile(infile) |
Definition at line 30 of file changerun.py.
python.changerun.f2 = ROOT.TFile(outfile, 'RECREATE') |
Definition at line 37 of file changerun.py.
python.changerun.infile = sys.argv[2] |
Definition at line 15 of file changerun.py.
list python.changerun.kk = [k.GetName() for k in f1.GetListOfKeys()] |
Definition at line 41 of file changerun.py.
python.changerun.m1 = f1.MetaData |
Definition at line 32 of file changerun.py.
python.changerun.m2 = m1.CloneTree (0) |
Definition at line 39 of file changerun.py.
python.changerun.m_start |
Definition at line 84 of file changerun.py.
python.changerun.m_stop |
Definition at line 85 of file changerun.py.
python.changerun.newrun = int (sys.argv[1]) |
Definition at line 14 of file changerun.py.
python.changerun.o1 = f1.Get (k) |
Definition at line 44 of file changerun.py.
python.changerun.o2 = o1.CloneTree() |
Definition at line 45 of file changerun.py.
python.changerun.oldrun = None |
Definition at line 62 of file changerun.py.
python.changerun.outfile = sys.argv[3] |
Definition at line 16 of file changerun.py.
Definition at line 81 of file changerun.py.
python.changerun.r = pa.m_range |
Definition at line 87 of file changerun.py.
python.changerun.t1 = f1.CollectionTree |
Definition at line 31 of file changerun.py.
python.changerun.t2 = t1.CloneTree (0) |
Definition at line 38 of file changerun.py.