Classes | |
class | correctionTerm |
class | nonlinearSingle |
class | nonlinearV2 |
class | nonlinearV3 |
Functions | |
def | afterglowByFillscheme (fillscheme, afterglowPatterns) |
def | applyfinecorrectionBXV2 (bxlumi, avglumi, norm, constfactor, afterglowfactor, ncollidingbx, nonlinear_1, nonlinear_2, driftfactor) |
def | applyfinecorrectionV2 (avglumi, constfactor, afterglowfactor, ncollidingbx, nonlinear_1, nonlinear_2, driftfactor) |
def | correctionsForRangeV2 (schema, inputRange, correctionTerm) |
def | driftcorrectionsForRange (schema, inputRange, correctionTerm, startrun=160403) |
def | pixelcorrectionsForRange (schema, inputRange) |
Variables | |
authpath | |
cpp2sqltype | |
debugON | |
driftresult | |
isReadOnly | |
myconstr | |
schema | |
session | |
svc | |
True | |
def lumiCorrections.afterglowByFillscheme | ( | fillscheme, | |
afterglowPatterns | |||
) |
search in the list of (pattern,afterglowfactor) for a match in regex
Definition at line 21 of file lumiCorrections.py.
Referenced by correctionsForRangeV2(), and pixelcorrectionsForRange().
def lumiCorrections.applyfinecorrectionBXV2 | ( | bxlumi, | |
avglumi, | |||
norm, | |||
constfactor, | |||
afterglowfactor, | |||
ncollidingbx, | |||
nonlinear_1, | |||
nonlinear_2, | |||
driftfactor | |||
) |
Definition at line 84 of file lumiCorrections.py.
References objects.autophobj.float.
def lumiCorrections.applyfinecorrectionV2 | ( | avglumi, | |
constfactor, | |||
afterglowfactor, | |||
ncollidingbx, | |||
nonlinear_1, | |||
nonlinear_2, | |||
driftfactor | |||
) |
input : avglumi : normalized lumi with 6370 constfactor,afterglowfactor,ncollidingbx,nonlinear_1,nonlinear_2 driftfactor: default
Definition at line 96 of file lumiCorrections.py.
References objects.autophobj.float.
def lumiCorrections.correctionsForRangeV2 | ( | schema, | |
inputRange, | |||
correctionTerm | |||
) |
decide on the corrections to apply in the input range depending on amodetag,egev and runrange select fillschemepattern,correctionfactor from fillscheme; [(fillschemepattern,afterglow),...] select fillnum,runnum,fillscheme,ncollidingbunches,egev from cmsrunsummary where amodetag='PROTPYHS' and egev>3000 {runnum: (fillnum,fillscheme,ncollidingbunches),...} input: correctionTerm correction terms used in the formula output: {runnum:(constantfactor,afterglowfactor,ncollidingbx,nonlinearfactor1,nonlinearfactor2)}
Definition at line 112 of file lumiCorrections.py.
References afterglowByFillscheme(), nameDealer.cmsrunsummaryTableName(), data, nameDealer.fillschemeTableName(), createfilelist.int, and GetRecoTauVFromDQM_MC_cff.next.
def lumiCorrections.driftcorrectionsForRange | ( | schema, | |
inputRange, | |||
correctionTerm, | |||
startrun = 160403 |
|||
) |
select intglumi from intglumi where runnum=:runnum and startrun=:startrun input : inputRange. str if a single run, [runs] if a list of runs output: {run:driftcorrection}
Definition at line 33 of file lumiCorrections.py.
References data, createfilelist.int, nameDealer.intglumiTableName(), GetRecoTauVFromDQM_MC_cff.next, and edm.print().
def lumiCorrections.pixelcorrectionsForRange | ( | schema, | |
inputRange | |||
) |
select fillschemepattern,correctionfactor from fillscheme; [(fillschemepattern,afterglow),...] select fillnum,runnum,fillscheme from cmsrunsummary where amodetag='PROTPHYS' {runnum: (fillnum,fillscheme),...} output: {runnum:(afterglowfactor)}
Definition at line 325 of file lumiCorrections.py.
References afterglowByFillscheme(), nameDealer.cmsrunsummaryTableName(), data, nameDealer.fillschemeTableName(), createfilelist.int, and GetRecoTauVFromDQM_MC_cff.next.
lumiCorrections.authpath |
Definition at line 403 of file lumiCorrections.py.
lumiCorrections.cpp2sqltype |
Definition at line 404 of file lumiCorrections.py.
lumiCorrections.debugON |
Definition at line 403 of file lumiCorrections.py.
lumiCorrections.driftresult |
Definition at line 408 of file lumiCorrections.py.
lumiCorrections.isReadOnly |
Definition at line 404 of file lumiCorrections.py.
lumiCorrections.myconstr |
Definition at line 402 of file lumiCorrections.py.
lumiCorrections.schema |
Definition at line 406 of file lumiCorrections.py.
lumiCorrections.session |
Definition at line 404 of file lumiCorrections.py.
lumiCorrections.svc |
Definition at line 403 of file lumiCorrections.py.
lumiCorrections.True |
Definition at line 404 of file lumiCorrections.py.