Variables | |
bool | startup = False |
string | usage = "usage: %prog -n <nominal file> -t <test file> [-o <dir>] [-s] [-d] [-e 0,1] [--opdets=0,1] " |
parser = OptionParser(usage=usage) | |
dest | |
help | |
metavar | |
default | |
False | |
action | |
options | |
args | |
dictionary | files = {} |
list | versions = [ "nominal", "test" ] |
dictionary | colors = { "nominal":kBlue, "test":kRed } |
N = versions[0] | |
T = versions[1] | |
dictionary | c = {} |
list | plotinfo |
Compare simulation plots #. More... | |
dictionary | trees = {} |
c1 = TCanvas("_".join(["c",var,treename]),"_".join(["c",var,treename])) | |
string | dopt = "hist" |
dictionary | hists = {} |
ignoreError | |
dictionary | nom_channel_map |
Compare digitizer plots #. More... | |
eventintegral = defaultdict(int) | |
opdetintegral = defaultdict(int) | |
tdir = files[v].Get("opdigiana") | |
keys = list(tdir.GetListOfKeys()) | |
hist = tdir.Get(rootkey.GetName()) | |
event = int(rootkey.GetName().split("_")[1]) | |
channel = int(rootkey.GetName().split("_")[3]) | |
integral = hist.Integral() | |
opdet | |
True | |
absMin | |
events = list(map(int, options.events.split(","))) | |
opdets = list(map(int, options.opdets.split(","))) | |
dictionary | channels = { N:[], T:[] } |
htemp = tdir.Get("Event_{0:d}_OpDet_{1:d}_Pulse_0".format(event, c)) | |
dictionary | ratio = {} |
ValidateOpDetSimulation.absMin |
Definition at line 168 of file ValidateOpDetSimulation.py.
ValidateOpDetSimulation.action |
Definition at line 19 of file ValidateOpDetSimulation.py.
ValidateOpDetSimulation.args |
Definition at line 25 of file ValidateOpDetSimulation.py.
dictionary ValidateOpDetSimulation.c = {} |
Definition at line 57 of file ValidateOpDetSimulation.py.
ValidateOpDetSimulation.c1 = TCanvas("_".join(["c",var,treename]),"_".join(["c",var,treename])) |
Definition at line 76 of file ValidateOpDetSimulation.py.
ValidateOpDetSimulation.channel = int(rootkey.GetName().split("_")[3]) |
Definition at line 140 of file ValidateOpDetSimulation.py.
dictionary ValidateOpDetSimulation.channels = { N:[], T:[] } |
Definition at line 182 of file ValidateOpDetSimulation.py.
dictionary ValidateOpDetSimulation.colors = { "nominal":kBlue, "test":kRed } |
Definition at line 50 of file ValidateOpDetSimulation.py.
ValidateOpDetSimulation.default |
Definition at line 18 of file ValidateOpDetSimulation.py.
ValidateOpDetSimulation.dest |
Definition at line 16 of file ValidateOpDetSimulation.py.
string ValidateOpDetSimulation.dopt = "hist" |
Definition at line 77 of file ValidateOpDetSimulation.py.
ValidateOpDetSimulation.event = int(rootkey.GetName().split("_")[1]) |
Definition at line 139 of file ValidateOpDetSimulation.py.
ValidateOpDetSimulation.eventintegral = defaultdict(int) |
Definition at line 119 of file ValidateOpDetSimulation.py.
ValidateOpDetSimulation.events = list(map(int, options.events.split(","))) |
Definition at line 179 of file ValidateOpDetSimulation.py.
ValidateOpDetSimulation.False |
Definition at line 19 of file ValidateOpDetSimulation.py.
dictionary ValidateOpDetSimulation.files = {} |
Definition at line 48 of file ValidateOpDetSimulation.py.
ValidateOpDetSimulation.help |
Definition at line 16 of file ValidateOpDetSimulation.py.
ValidateOpDetSimulation.hist = tdir.Get(rootkey.GetName()) |
Definition at line 137 of file ValidateOpDetSimulation.py.
dictionary ValidateOpDetSimulation.hists = {} |
Definition at line 78 of file ValidateOpDetSimulation.py.
Definition at line 196 of file ValidateOpDetSimulation.py.
ValidateOpDetSimulation.ignoreError |
Definition at line 87 of file ValidateOpDetSimulation.py.
ValidateOpDetSimulation.integral = hist.Integral() |
Definition at line 141 of file ValidateOpDetSimulation.py.
ValidateOpDetSimulation.keys = list(tdir.GetListOfKeys()) |
Definition at line 135 of file ValidateOpDetSimulation.py.
ValidateOpDetSimulation.metavar |
Definition at line 16 of file ValidateOpDetSimulation.py.
ValidateOpDetSimulation.N = versions[0] |
Definition at line 51 of file ValidateOpDetSimulation.py.
dictionary ValidateOpDetSimulation.nom_channel_map |
Compare digitizer plots #.
Definition at line 96 of file ValidateOpDetSimulation.py.
ValidateOpDetSimulation.opdet |
Definition at line 142 of file ValidateOpDetSimulation.py.
ValidateOpDetSimulation.opdetintegral = defaultdict(int) |
Definition at line 120 of file ValidateOpDetSimulation.py.
ValidateOpDetSimulation.opdets = list(map(int, options.opdets.split(","))) |
Definition at line 180 of file ValidateOpDetSimulation.py.
ValidateOpDetSimulation.options |
Definition at line 25 of file ValidateOpDetSimulation.py.
Definition at line 15 of file ValidateOpDetSimulation.py.
list ValidateOpDetSimulation.plotinfo |
Compare simulation plots #.
Definition at line 66 of file ValidateOpDetSimulation.py.
dictionary ValidateOpDetSimulation.ratio = {} |
Definition at line 205 of file ValidateOpDetSimulation.py.
Definition at line 8 of file ValidateOpDetSimulation.py.
ValidateOpDetSimulation.T = versions[1] |
Definition at line 52 of file ValidateOpDetSimulation.py.
ValidateOpDetSimulation.tdir = files[v].Get("opdigiana") |
Definition at line 134 of file ValidateOpDetSimulation.py.
dictionary ValidateOpDetSimulation.trees = {} |
Definition at line 72 of file ValidateOpDetSimulation.py.
ValidateOpDetSimulation.True |
Definition at line 168 of file ValidateOpDetSimulation.py.
string ValidateOpDetSimulation.usage = "usage: %prog -n <nominal file> -t <test file> [-o <dir>] [-s] [-d] [-e 0,1] [--opdets=0,1] " |
Definition at line 14 of file ValidateOpDetSimulation.py.
list ValidateOpDetSimulation.versions = [ "nominal", "test" ] |
Definition at line 49 of file ValidateOpDetSimulation.py.