Namespaces | Variables
ValidateOpDetSimulation.py File Reference

Go to the source code of this file.

Namespaces

 ValidateOpDetSimulation
 

Variables

bool ValidateOpDetSimulation.startup = False
 
string ValidateOpDetSimulation.usage = "usage: %prog -n <nominal file> -t <test file> [-o <dir>] [-s] [-d] [-e 0,1] [--opdets=0,1] "
 
 ValidateOpDetSimulation.parser = OptionParser(usage=usage)
 
 ValidateOpDetSimulation.dest
 
 ValidateOpDetSimulation.help
 
 ValidateOpDetSimulation.metavar
 
 ValidateOpDetSimulation.default
 
 ValidateOpDetSimulation.False
 
 ValidateOpDetSimulation.action
 
 ValidateOpDetSimulation.options
 
 ValidateOpDetSimulation.args
 
dictionary ValidateOpDetSimulation.files = {}
 
list ValidateOpDetSimulation.versions = [ "nominal", "test" ]
 
dictionary ValidateOpDetSimulation.colors = { "nominal":kBlue, "test":kRed }
 
 ValidateOpDetSimulation.N = versions[0]
 
 ValidateOpDetSimulation.T = versions[1]
 
dictionary ValidateOpDetSimulation.c = {}
 
list ValidateOpDetSimulation.plotinfo
 Compare simulation plots #. More...
 
dictionary ValidateOpDetSimulation.trees = {}
 
 ValidateOpDetSimulation.c1 = TCanvas("_".join(["c",var,treename]),"_".join(["c",var,treename]))
 
string ValidateOpDetSimulation.dopt = "hist"
 
dictionary ValidateOpDetSimulation.hists = {}
 
 ValidateOpDetSimulation.ignoreError
 
dictionary ValidateOpDetSimulation.nom_channel_map
 Compare digitizer plots #. More...
 
 ValidateOpDetSimulation.eventintegral = defaultdict(int)
 
 ValidateOpDetSimulation.opdetintegral = defaultdict(int)
 
 ValidateOpDetSimulation.tdir = files[v].Get("opdigiana")
 
 ValidateOpDetSimulation.keys = list(tdir.GetListOfKeys())
 
 ValidateOpDetSimulation.hist = tdir.Get(rootkey.GetName())
 
 ValidateOpDetSimulation.event = int(rootkey.GetName().split("_")[1])
 
 ValidateOpDetSimulation.channel = int(rootkey.GetName().split("_")[3])
 
 ValidateOpDetSimulation.integral = hist.Integral()
 
 ValidateOpDetSimulation.opdet
 
 ValidateOpDetSimulation.True
 
 ValidateOpDetSimulation.absMin
 
 ValidateOpDetSimulation.events = list(map(int, options.events.split(",")))
 
 ValidateOpDetSimulation.opdets = list(map(int, options.opdets.split(",")))
 
dictionary ValidateOpDetSimulation.channels = { N:[], T:[] }
 
 ValidateOpDetSimulation.htemp = tdir.Get("Event_{0:d}_OpDet_{1:d}_Pulse_0".format(event, c))
 
dictionary ValidateOpDetSimulation.ratio = {}