namespace LHCB_2016_I1490663_ratios

LHCB_2016_I1490663_ratios

Functions

Name
defshowHelp()
defmakeRatio(yd yd, sref sref, hn hn, hd hd)

Attributes

Name
stringaname05
stringaname13
intnybins
arg13
arg05
listratiodef
listpre13
listpre05
listref05
d13
d05
ys
srefs
stringxyset
stringrk05
stringdk13
stringdk05
bname
stringrFile

Functions Documentation

function showHelp

def showHelp()

function makeRatio

def makeRatio(
    yd yd,
    sref sref,
    hn hn,
    hd hd
)

Attributes Documentation

variable aname05

string aname05 =  'LHCB_2016_I1490663';

variable aname13

string aname13 =  'LHCB_2015_I1396331';

variable nybins

int nybins =  5;

variable arg13

arg13 =  sys.argv[1];

variable arg05

arg05 =  sys.argv[2];

variable ratiodef

list ratiodef =  [('d05', 'd01', 'd01'), ('d06', 'd02', 'd02'), ('d07', 'd03', 'd03'), ('d08', 'd04', 'd04')];

variable pre13

list pre13 =  [re.compile(r'/RAW/%s/%s-x01-y0[1-5]' % (aname13, ds[1])) for ds in ratiodef];

variable pre05

list pre05 =  [re.compile(r'/RAW/%s/%s-x01-y0[1-5]' % (aname05, ds[2])) for ds in ratiodef];

variable ref05

list ref05 =  [re.compile(r'/REF/%s/%s-x01-y0[1-5]' % (aname05, ds[0])) for ds in ratiodef];

variable d13

d13 =  yoda.read(arg13, patterns=pre13);

variable d05

d05 =  yoda.read(arg05, patterns=pre05);

variable ys

ys =  yoda.read(arg05);

variable srefs

srefs =  yoda.read('%s.yoda' % aname05, patterns=ref05);

variable xyset

string xyset =  '-x01-y0%d' % i;

variable rk05

string rk05 =  u'/REF/%s/%s%s' % (aname05, rdef[0], xyset);

variable dk13

string dk13 =  u'/RAW/%s/%s%s' % (aname13, rdef[1], xyset);

variable dk05

string dk05 =  u'/RAW/%s/%s%s' % (aname05, rdef[2], xyset);

variable bname

bname =  os.path.splitext(arg05)[0];

variable rFile

string rFile =  '%s+ratios.yoda' % bname;

Updated on 2022-08-07 at 20:46:08 +0100