ATLAS Offline Software
|
Functions | |
def | LayerRecalibratedGenerator (input_tree, branches) |
def | foo_callback (option, opt, value, parser) |
Variables | |
string | __doc__ = "To compute corrected layer energies" |
level | |
IgnoreCommandLineOptions | |
parser = OptionParser() | |
help | |
type | |
int | |
choices | |
action | |
callback | |
options | |
args | |
input_filenames = None | |
string | prefix = 'electron' else 'ph_' |
f = ROOT.TFile.Open(filename, "update") | |
tree = f.Get(options.tree) | |
list | branches = [prefix + 'cl_eta'] + [prefix + 'rawcl_Es%d' % i for i in range(4)] |
branches_to_copy = options.branches_to_copy or [] | |
list | new_branch_names = [prefix + 'rawcl_Es%d' % i for i in range(4)] |
newtree = tree.CloneTree(0) | |
string | isVector = 'vector' in tree.GetLeaf(prefix + 'rawcl_Es0').GetTypeName() |
list | new_storages = [] |
new_storage = ROOT.vector(float)() | |
chain = ROOT.TChain(options.tree) | |
canvas = ROOT.TCanvas() | |
def runLayerRecalibration.foo_callback | ( | option, | |
opt, | |||
value, | |||
parser | |||
) |
Definition at line 54 of file runLayerRecalibration.py.
def runLayerRecalibration.LayerRecalibratedGenerator | ( | input_tree, | |
branches | |||
) |
Definition at line 27 of file runLayerRecalibration.py.
|
private |
Definition at line 4 of file runLayerRecalibration.py.
runLayerRecalibration.action |
Definition at line 63 of file runLayerRecalibration.py.
runLayerRecalibration.args |
Definition at line 67 of file runLayerRecalibration.py.
list runLayerRecalibration.branches = [prefix + 'cl_eta'] + [prefix + 'rawcl_Es%d' % i for i in range(4)] |
Definition at line 98 of file runLayerRecalibration.py.
runLayerRecalibration.branches_to_copy = options.branches_to_copy or [] |
Definition at line 103 of file runLayerRecalibration.py.
runLayerRecalibration.callback |
Definition at line 64 of file runLayerRecalibration.py.
runLayerRecalibration.canvas = ROOT.TCanvas() |
Definition at line 180 of file runLayerRecalibration.py.
runLayerRecalibration.chain = ROOT.TChain(options.tree) |
Definition at line 175 of file runLayerRecalibration.py.
runLayerRecalibration.choices |
Definition at line 61 of file runLayerRecalibration.py.
runLayerRecalibration.f = ROOT.TFile.Open(filename, "update") |
Definition at line 92 of file runLayerRecalibration.py.
runLayerRecalibration.help |
Definition at line 58 of file runLayerRecalibration.py.
runLayerRecalibration.IgnoreCommandLineOptions |
Definition at line 16 of file runLayerRecalibration.py.
list runLayerRecalibration.input_filenames = None |
Definition at line 69 of file runLayerRecalibration.py.
runLayerRecalibration.int |
Definition at line 59 of file runLayerRecalibration.py.
string runLayerRecalibration.isVector = 'vector' in tree.GetLeaf(prefix + 'rawcl_Es0').GetTypeName() |
Definition at line 125 of file runLayerRecalibration.py.
runLayerRecalibration.level |
Definition at line 13 of file runLayerRecalibration.py.
list runLayerRecalibration.new_branch_names = [prefix + 'rawcl_Es%d' % i for i in range(4)] |
Definition at line 106 of file runLayerRecalibration.py.
runLayerRecalibration.new_storage = ROOT.vector(float)() |
Definition at line 129 of file runLayerRecalibration.py.
list runLayerRecalibration.new_storages = [] |
Definition at line 126 of file runLayerRecalibration.py.
runLayerRecalibration.newtree = tree.CloneTree(0) |
Definition at line 114 of file runLayerRecalibration.py.
runLayerRecalibration.options |
Definition at line 67 of file runLayerRecalibration.py.
runLayerRecalibration.parser = OptionParser() |
Definition at line 57 of file runLayerRecalibration.py.
string runLayerRecalibration.prefix = 'electron' else 'ph_' |
Definition at line 87 of file runLayerRecalibration.py.
runLayerRecalibration.tree = f.Get(options.tree) |
Definition at line 93 of file runLayerRecalibration.py.
runLayerRecalibration.type |
Definition at line 59 of file runLayerRecalibration.py.