Classes | |
class | SawTeethFunction |
Variables | |
CPP_LOADED = False | |
list | DQM_SEVERITY |
dictionary | MAP_RESULTS_BINS = {} |
dictionary | MAP_RESULTS_FITSIN = {} |
dictionary | MAP_RESULTS_SAWTOOTH = {} |
list | phiedges |
list | phiedgesCSC18 = [pi/180.*(-5. + 20.*i) for i in range(18)] |
list | phiedgesCSC36 = [pi/180.*(-5. + 10.*i) for i in range(36)] |
sector phi edges in: me11 me12 me13 me14 me21 me22 me31 me32 me41 me42 mb1 mb2 mb3 mb4 index: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 More... | |
tdrStyle = None | |
dictionary | TEST_RESULTS = {} |
def plotscripts.addToTestResults | ( | c, | |
res | |||
) |
Definition at line 1032 of file plotscripts.py.
def plotscripts.availableCellsCSC | ( | reports | ) |
Definition at line 965 of file plotscripts.py.
def plotscripts.availableCellsDT | ( | reports | ) |
Definition at line 919 of file plotscripts.py.
Definition at line 2053 of file plotscripts.py.
def plotscripts.clearDDT | ( | ) |
Definition at line 2042 of file plotscripts.py.
def plotscripts.corrections2D | ( | reportsX = None , |
|
reportsY = None , |
|||
geometry0 = None , |
|||
geometryX = None , |
|||
geometryY = None , |
|||
window = 25. , |
|||
selection = None , |
|||
name = "tmp" , |
|||
canvas = None , |
|||
pre_title_x = None , |
|||
pre_title_y = None , |
|||
which = "110011" |
|||
) |
makes a scatterplot of corrections coming either from reports (if xml geometries are None) or from geometryX and geometryY (WRT the common initial geometry0)
Definition at line 3553 of file plotscripts.py.
def plotscripts.createPeaksProfile | ( | the2d, | |
rebin = 1 |
|||
) |
Definition at line 1403 of file plotscripts.py.
Definition at line 1971 of file plotscripts.py.
def plotscripts.curvatureplot | ( | tfiles, | |
name, | |||
param, | |||
mode = "from2d" , |
|||
window = 15. , |
|||
widebins = False , |
|||
title = "" , |
|||
fitgauss = False , |
|||
fitconst = False , |
|||
fitline = False , |
|||
fitpeaks = True , |
|||
reset_palette = False |
|||
) |
"param" may be one of "deltax" (Delta x position residuals), "deltadxdz" (Delta (dx/dz) angular residuals), "curverr" (Delta x * d(Delta q/pT)/d(Delta x) = Delta q/pT in the absence of misalignment)
Definition at line 1804 of file plotscripts.py.
def plotscripts.DBdiff | ( | database1, | |
database2, | |||
reports1, | |||
reports2, | |||
window = 10. , |
|||
windows = None , |
|||
selection = None , |
|||
phi = False , |
|||
color = ROOT.kBlue-8 , |
|||
style = 1 , |
|||
bins = 50 , |
|||
normalized = False , |
|||
getvalues = False , |
|||
name = "tmp" , |
|||
canvas = None , |
|||
reportdiff = False , |
|||
inlog = False |
|||
) |
Definition at line 485 of file plotscripts.py.
def plotscripts.DBdiffVersus | ( | quantity, | |
versus, | |||
database1, | |||
database2, | |||
reports1, | |||
reports2, | |||
windwselection = None , |
|||
color = ROOT.kBlack |
|||
) |
Definition at line 720 of file plotscripts.py.
def plotscripts.DBMC | ( | database, | |
reports, | |||
window = 10. , |
|||
windows = None , |
|||
selection = None , |
|||
phi = False , |
|||
color = ROOT.kBlue-8 , |
|||
style = 1 , |
|||
bins = 50 , |
|||
normalized = False , |
|||
getvalues = False , |
|||
name = "" , |
|||
canvas = None , |
|||
reportdiff = False , |
|||
inlog = True |
|||
) |
Definition at line 478 of file plotscripts.py.
def plotscripts.DBMCVersus | ( | quantity, | |
versus, | |||
database, | |||
reports, | |||
window = 10. , |
|||
selection = None , |
|||
color = ROOT.kBlack |
|||
) |
Definition at line 717 of file plotscripts.py.
def plotscripts.doTests | ( | reports, | |
pic_ids, | |||
fname_base, | |||
fname_dqm, | |||
run_name | |||
) |
Definition at line 1215 of file plotscripts.py.
def plotscripts.doTestsForMapPlots | ( | cells | ) |
Definition at line 1142 of file plotscripts.py.
def plotscripts.doTestsForReport | ( | cells, | |
reports | |||
) |
Definition at line 1078 of file plotscripts.py.
def plotscripts.getname | ( | r | ) |
Definition at line 2032 of file plotscripts.py.
def plotscripts.getReportByPostalAddress | ( | postal_address, | |
report | |||
) |
Definition at line 468 of file plotscripts.py.
def plotscripts.idToPostalAddress | ( | id | ) |
Definition at line 861 of file plotscripts.py.
def plotscripts.loadTestResultsMap | ( | run_name | ) |
Definition at line 1189 of file plotscripts.py.
def plotscripts.mapNameToId | ( | name | ) |
Definition at line 1761 of file plotscripts.py.
def plotscripts.mapplot | ( | tfiles, | |
name, | |||
param, | |||
mode = "from2d" , |
|||
window = 10. , |
|||
abscissa = None , |
|||
title = "" , |
|||
widebins = False , |
|||
fitsine = False , |
|||
fitline = False , |
|||
reset_palette = False , |
|||
fitsawteeth = False , |
|||
fitpeaks = False , |
|||
peaksbins = 1 , |
|||
fixfitpars = {} , |
|||
args | |||
) |
Definition at line 1445 of file plotscripts.py.
def plotscripts.mean | ( | xlist | ) |
Definition at line 53 of file plotscripts.py.
def plotscripts.nameToId | ( | name | ) |
Definition at line 896 of file plotscripts.py.
def plotscripts.phiedges2c | ( | ) |
Definition at line 316 of file plotscripts.py.
def plotscripts.philines | ( | name, | |
window, | |||
abscissa | |||
) |
Definition at line 392 of file plotscripts.py.
def plotscripts.plotmedians | ( | reports1, | |
reports2, | |||
selection = None , |
|||
binsx = 100 , |
|||
windowx = 5. , |
|||
ceilingx = None , |
|||
binsy = 100 , |
|||
windowy = 5. , |
|||
ceilingy = None , |
|||
binsdxdz = 100 , |
|||
windowdxdz = 5. , |
|||
ceilingdxdz = None , |
|||
binsdydz = 100 , |
|||
windowdydz = 5. , |
|||
ceilingdydz = None , |
|||
r1text = " before" , |
|||
r2text = " after" , |
|||
which = "median" |
|||
) |
Definition at line 1246 of file plotscripts.py.
Definition at line 2272 of file plotscripts.py.
def plotscripts.postalAddressToId | ( | postal_address | ) |
Definition at line 884 of file plotscripts.py.
def plotscripts.printDeltaTs | ( | ) |
Definition at line 2046 of file plotscripts.py.
def plotscripts.rlines | ( | disk, | |
window, | |||
abscissa | |||
) |
Definition at line 455 of file plotscripts.py.
def plotscripts.rms | ( | xlist | ) |
Definition at line 60 of file plotscripts.py.
Referenced by HcalTimeSlewSim.delay(), HcalHitCorrection.delay(), DQMChannel.DQMChannel(), RPCLinkSynchroHistoMaker.fill(), LA_Filler_Fitter.find_rebin(), TMom.getRMS(), TMom.init(), reco::tau::RecoTauDiscriminantInvariantWidth.operator()(), PhiBorderFinder.PhiBorderFinder(), SiPixelDetSummary.print(), SiStripDetSummary.print(), ecaldqm::PresampleClient.producePlots(), DTSurvey.ReadChambers(), LA_Filler_Fitter.rms_profile(), MonTestPulseDat.setADCRMSG1(), MonPedestalsOnlineDat.setADCRMSG12(), MonTestPulseDat.setADCRMSG12(), MonTestPulseDat.setADCRMSG6(), MonLaserGreenDat.setAPDOverPNRMS(), MonLaserBlueDat.setAPDOverPNRMS(), MonLaserIRedDat.setAPDOverPNRMS(), MonLaserRedDat.setAPDOverPNRMS(), MonLaserIRedDat.setAPDRMS(), MonLaserRedDat.setAPDRMS(), MonLaserGreenDat.setAPDRMS(), MonLaserBlueDat.setAPDRMS(), DCUCapsuleTempRawDat.setCapsuleTempRMS(), MonDelaysTTDat.setDelayRMS(), MonPedestalsDat.setPedRMSG1(), MonPedestalsDat.setPedRMSG12(), MonPedestalsDat.setPedRMSG6(), MonLed2Dat.setVPTOverPNRMS(), MonLed1Dat.setVPTOverPNRMS(), MonLed1Dat.setVPTRMS(), and MonLed2Dat.setVPTRMS().
def plotscripts.saveTestResultsMap | ( | run_name | ) |
Definition at line 1181 of file plotscripts.py.
def plotscripts.segdiff | ( | tfiles, | |
component, | |||
pair, | |||
args | |||
) |
Definition at line 2889 of file plotscripts.py.
def plotscripts.segdiff_xalign | ( | tfiles, | |
component, | |||
args | |||
) |
Definition at line 3065 of file plotscripts.py.
def plotscripts.segdiffvsphi | ( | tfiles, | |
reports, | |||
component, | |||
wheel, | |||
window = 5. , |
|||
excludesectors = () |
|||
) |
Definition at line 3302 of file plotscripts.py.
def plotscripts.segdiffvsphi_xalign | ( | tfiles, | |
wheel, | |||
window = 10. |
|||
) |
Definition at line 3187 of file plotscripts.py.
def plotscripts.segdiffvsphicsc | ( | tfiles, | |
component, | |||
pair, | |||
window = 5. , |
|||
args | |||
) |
Definition at line 3440 of file plotscripts.py.
def plotscripts.set_palette | ( | name = None , |
|
ncontours = 999 |
|||
) |
Set a color palette from a given RGB list stops, red, green and blue should all be lists of the same length see set_decent_colors for an example
Definition at line 226 of file plotscripts.py.
def plotscripts.setTDRStyle | ( | ) |
Definition at line 87 of file plotscripts.py.
def plotscripts.stationIndex | ( | name | ) |
Definition at line 353 of file plotscripts.py.
def plotscripts.stdev | ( | xlist | ) |
Definition at line 67 of file plotscripts.py.
def plotscripts.testDeltaWithin5Sigma | ( | x, | |
sx | |||
) |
Definition at line 1052 of file plotscripts.py.
def plotscripts.testEntry | ( | testID, | |
scope, | |||
descr, | |||
severity | |||
) |
Definition at line 1038 of file plotscripts.py.
def plotscripts.testZeroWithin5Sigma | ( | x | ) |
Definition at line 1045 of file plotscripts.py.
def plotscripts.wheel0only | ( | dt, | |
wheel, | |||
station, | |||
sector | |||
) |
Definition at line 33 of file plotscripts.py.
def plotscripts.wheelLetter | ( | wheel | ) |
Definition at line 37 of file plotscripts.py.
def plotscripts.wheelm1only | ( | dt, | |
wheel, | |||
station, | |||
sector | |||
) |
Definition at line 32 of file plotscripts.py.
def plotscripts.wheelm2only | ( | dt, | |
wheel, | |||
station, | |||
sector | |||
) |
Convenience functions.
Definition at line 31 of file plotscripts.py.
def plotscripts.wheelNumber | ( | wheell | ) |
Definition at line 45 of file plotscripts.py.
def plotscripts.wheelp1only | ( | dt, | |
wheel, | |||
station, | |||
sector | |||
) |
Definition at line 34 of file plotscripts.py.
def plotscripts.wheelp2only | ( | dt, | |
wheel, | |||
station, | |||
sector | |||
) |
Definition at line 35 of file plotscripts.py.
def plotscripts.wmean | ( | xlist | ) |
Definition at line 75 of file plotscripts.py.
def plotscripts.writeDQMReport | ( | fname_dqm, | |
run_name | |||
) |
Definition at line 1201 of file plotscripts.py.
def plotscripts.zlines | ( | window, | |
abscissa | |||
) |
Definition at line 438 of file plotscripts.py.
plotscripts.CPP_LOADED = False |
Definition at line 18 of file plotscripts.py.
list plotscripts.DQM_SEVERITY |
Definition at line 1021 of file plotscripts.py.
dictionary plotscripts.MAP_RESULTS_BINS = {} |
Definition at line 23 of file plotscripts.py.
dictionary plotscripts.MAP_RESULTS_FITSIN = {} |
Definition at line 22 of file plotscripts.py.
dictionary plotscripts.MAP_RESULTS_SAWTOOTH = {} |
Definition at line 21 of file plotscripts.py.
list plotscripts.phiedges |
Definition at line 295 of file plotscripts.py.
Definition at line 294 of file plotscripts.py.
sector phi edges in: me11 me12 me13 me14 me21 me22 me31 me32 me41 me42 mb1 mb2 mb3 mb4 index: 0 1 2 3 4 5 6 7 8 9 10 11 12 13
Definition at line 293 of file plotscripts.py.
plotscripts.tdrStyle = None |
Definition at line 86 of file plotscripts.py.
dictionary plotscripts.TEST_RESULTS = {} |
Definition at line 26 of file plotscripts.py.