![]() |
ATLAS Offline Software
|
Variables | |
| parser = OptionParser() | |
| action | |
| type | |
| dest | |
| help | |
| options | |
| args | |
| geometry_convertor = PlotCalibrationGains.L1CaloGeometryConvertor() | |
| receiver_gains = PlotCalibrationGains.GainReader() | |
| c1 = ROOT.TCanvas('c1','Example',200,10,700,500) | |
| c2 = ROOT.TCanvas('c2','Example Partitions',200,10,700,500) | |
| h_gains_em = PlotCalibrationGains.L1CaloMap("Eta-phi map of EM gains","#eta bin","#phi bin") | |
| h_gains_had = PlotCalibrationGains.L1CaloMap("Eta-phi map of HAD gains","#eta bin","#phi bin") | |
| h_gains_em_noHV = PlotCalibrationGains.L1CaloMap("Eta-phi map of EM gains without HV corrections","#eta bin","#phi bin") | |
| h_gains_had_noHV = PlotCalibrationGains.L1CaloMap("Eta-phi map of HAD gains without HV corrections","#eta bin","#phi bin") | |
| h_gains_em_ratio = PlotCalibrationGains.L1CaloMap("ratio of EM gains with and without HV corrections","#eta bin","#phi bin") | |
| h_gains_had_ratio = PlotCalibrationGains.L1CaloMap("ratio of HAD gains with and without HV corrections","#eta bin","#phi bin") | |
| h1D_gains_em_ratio = PlotCalibrationGains.EmPartitionPlots("ratio of EM gains with and without HV corrections",40,0.,2.5,"gain/gain(no HV)","N") | |
| h1D_gains_had_ratio = PlotCalibrationGains.HadPartitionPlots("ratio of HAD gains with and without HV corrections",40,0.,2.5,"gain/gain(no HV)","N") | |
| h_corr_em = PlotCalibrationGains.L1CaloMap("Eta-phi map of mean HV corrections in EM layer","#eta bin","#phi bin") | |
| h_corr_had = PlotCalibrationGains.L1CaloMap("Eta-phi map of mean HV corrections in HAD layer","#eta bin","#phi bin") | |
| h_corrGainPredictor_em = PlotCalibrationGains.L1CaloMap("Eta-phi map of HV corrections from Gain Predictor in EM layer","#eta bin","#phi bin") | |
| h_corrGainPredictor_had = PlotCalibrationGains.L1CaloMap("Eta-phi map of HV corrections from Gain Predictor in HAD layer","#eta bin","#phi bin") | |
| h1D_corr_em = PlotCalibrationGains.EmPartitionPlots("mean HV corrections in EM layer",40,0.,2.5,"mean HV correction","N") | |
| h1D_corr_had = PlotCalibrationGains.HadPartitionPlots("mean HV corrections in HAD layer",40,0.,2.5,"mean HV correction","N") | |
| h_corrHVdiff_em = PlotCalibrationGains.L1CaloMap("(ratio-meanHV)/meanHV in EM layer","#eta bin","#phi bin") | |
| h_corrHVdiff_had = PlotCalibrationGains.L1CaloMap("(ratio-meanHV)/meanHV in HAD layer","#eta bin","#phi bin") | |
| h1D_corrHVdiff_em = PlotCalibrationGains.EmPartitionPlots("(ratio-meanHV)/meanHV in EM layer",40,-0.1,0.1,"(ratio-meanHV)/meanHV","N") | |
| h1D_corrHVdiff_had = PlotCalibrationGains.HadPartitionPlots("(ratio-meanHV)/meanHV in HAD layer",40,-0.1,0.1,"(ratio-meanHV)/meanHV","N") | |
| h_corrHVdiffGainPredictor_em = PlotCalibrationGains.L1CaloMap("(ratio-GainPredictor)/GainPredictor in EM layer","#eta bin","#phi bin") | |
| h_corrHVdiffGainPredictor_had = PlotCalibrationGains.L1CaloMap("(ratio-GainPredictor)/GainPredictor in HAD layer","#eta bin","#phi bin") | |
| str | fileDefault = '/afs/cern.ch/work/j/juraj/public/testarea/21.0.18/CalibrationProcessing/326189_HV/energyscanresults.sqlite' |
| str | fileNoHV = '/afs/cern.ch/work/j/juraj/public/testarea/21.0.18/CalibrationProcessing/326189/energyscanresults.sqlite' |
| str | hvCorrFile = '/afs/cern.ch/work/j/juraj/public/testarea/20.7.8.3/HVDumps/hvcorrections_9jun17.sqlite' |
| str | hvGainPredictor = '/afs/cern.ch/work/j/juraj/public/testarea/20.7.8.3/HVDumps/hvUpdate_9jun17_0p.txt' |
| str | strategyString = 'GainOneOvEmecFcalLowEta' |
| hv_status = PlotCalibrationHV.L1CaloHVReader(hvCorrFile) | |
| strange_channel_file = open('checkHVCorrections.txt','w') | |
| gpReceiver | |
| gpCool | |
| gpEta | |
| gpPhi | |
| gpCorrection | |
| unpack | |
| True | |
| dtype | |
| dict | gainPredictorCorrections = {} |
| coolEm = geometry_convertor.getCoolEm(i_eta,i_phi) | |
| coolHad = geometry_convertor.getCoolHad(i_eta,i_phi) | |
| gain = receiver_gains.getGain(coolEm) | |
| reference_gain = receiver_gains.getReferenceGain(coolEm) | |
| receiverEm = geometry_convertor.getReceiverfromPPM(coolEm,strategyString) | |
| tuple | meanEmHVCorrection = (hv_status.GetMeanCorections())[receiverEm] |
| dict | gainPredictorEmHVCorrection = gainPredictorCorrections[receiverEm] |
| tuple | relDifference = (gain/reference_gain - gainPredictorEmHVCorrection)/gainPredictorEmHVCorrection |
| receiverHad = geometry_convertor.getReceiverfromPPM(coolHad,strategyString) | |
| tuple | meanHadHVCorrection = (hv_status.GetMeanCorections())[receiverHad] |
| dict | gainPredictorHadHVCorrection = gainPredictorCorrections[receiverHad] |
| checkHVCorrections.action |
Definition at line 27 of file checkHVCorrections.py.
| checkHVCorrections.args |
Definition at line 28 of file checkHVCorrections.py.
| checkHVCorrections.c1 = ROOT.TCanvas('c1','Example',200,10,700,500) |
Definition at line 39 of file checkHVCorrections.py.
| checkHVCorrections.c2 = ROOT.TCanvas('c2','Example Partitions',200,10,700,500) |
Definition at line 40 of file checkHVCorrections.py.
| checkHVCorrections.coolEm = geometry_convertor.getCoolEm(i_eta,i_phi) |
Definition at line 107 of file checkHVCorrections.py.
| checkHVCorrections.coolHad = geometry_convertor.getCoolHad(i_eta,i_phi) |
Definition at line 108 of file checkHVCorrections.py.
| checkHVCorrections.dest |
Definition at line 27 of file checkHVCorrections.py.
| checkHVCorrections.dtype |
Definition at line 97 of file checkHVCorrections.py.
| str checkHVCorrections.fileDefault = '/afs/cern.ch/work/j/juraj/public/testarea/21.0.18/CalibrationProcessing/326189_HV/energyscanresults.sqlite' |
Definition at line 79 of file checkHVCorrections.py.
| str checkHVCorrections.fileNoHV = '/afs/cern.ch/work/j/juraj/public/testarea/21.0.18/CalibrationProcessing/326189/energyscanresults.sqlite' |
Definition at line 80 of file checkHVCorrections.py.
| checkHVCorrections.gain = receiver_gains.getGain(coolEm) |
Definition at line 113 of file checkHVCorrections.py.
| dict checkHVCorrections.gainPredictorCorrections = {} |
Definition at line 99 of file checkHVCorrections.py.
| int checkHVCorrections.gainPredictorEmHVCorrection = gainPredictorCorrections[receiverEm] |
Definition at line 123 of file checkHVCorrections.py.
| int checkHVCorrections.gainPredictorHadHVCorrection = gainPredictorCorrections[receiverHad] |
Definition at line 168 of file checkHVCorrections.py.
| checkHVCorrections.geometry_convertor = PlotCalibrationGains.L1CaloGeometryConvertor() |
Definition at line 31 of file checkHVCorrections.py.
| checkHVCorrections.gpCool |
Definition at line 97 of file checkHVCorrections.py.
| checkHVCorrections.gpCorrection |
Definition at line 97 of file checkHVCorrections.py.
| checkHVCorrections.gpEta |
Definition at line 97 of file checkHVCorrections.py.
| checkHVCorrections.gpPhi |
Definition at line 97 of file checkHVCorrections.py.
| checkHVCorrections.gpReceiver |
Definition at line 97 of file checkHVCorrections.py.
| checkHVCorrections.h1D_corr_em = PlotCalibrationGains.EmPartitionPlots("mean HV corrections in EM layer",40,0.,2.5,"mean HV correction","N") |
Definition at line 64 of file checkHVCorrections.py.
| checkHVCorrections.h1D_corr_had = PlotCalibrationGains.HadPartitionPlots("mean HV corrections in HAD layer",40,0.,2.5,"mean HV correction","N") |
Definition at line 65 of file checkHVCorrections.py.
| checkHVCorrections.h1D_corrHVdiff_em = PlotCalibrationGains.EmPartitionPlots("(ratio-meanHV)/meanHV in EM layer",40,-0.1,0.1,"(ratio-meanHV)/meanHV","N") |
Definition at line 70 of file checkHVCorrections.py.
| checkHVCorrections.h1D_corrHVdiff_had = PlotCalibrationGains.HadPartitionPlots("(ratio-meanHV)/meanHV in HAD layer",40,-0.1,0.1,"(ratio-meanHV)/meanHV","N") |
Definition at line 71 of file checkHVCorrections.py.
| checkHVCorrections.h1D_gains_em_ratio = PlotCalibrationGains.EmPartitionPlots("ratio of EM gains with and without HV corrections",40,0.,2.5,"gain/gain(no HV)","N") |
Definition at line 54 of file checkHVCorrections.py.
| checkHVCorrections.h1D_gains_had_ratio = PlotCalibrationGains.HadPartitionPlots("ratio of HAD gains with and without HV corrections",40,0.,2.5,"gain/gain(no HV)","N") |
Definition at line 55 of file checkHVCorrections.py.
| checkHVCorrections.h_corr_em = PlotCalibrationGains.L1CaloMap("Eta-phi map of mean HV corrections in EM layer","#eta bin","#phi bin") |
Definition at line 57 of file checkHVCorrections.py.
| checkHVCorrections.h_corr_had = PlotCalibrationGains.L1CaloMap("Eta-phi map of mean HV corrections in HAD layer","#eta bin","#phi bin") |
Definition at line 58 of file checkHVCorrections.py.
| checkHVCorrections.h_corrGainPredictor_em = PlotCalibrationGains.L1CaloMap("Eta-phi map of HV corrections from Gain Predictor in EM layer","#eta bin","#phi bin") |
Definition at line 60 of file checkHVCorrections.py.
| checkHVCorrections.h_corrGainPredictor_had = PlotCalibrationGains.L1CaloMap("Eta-phi map of HV corrections from Gain Predictor in HAD layer","#eta bin","#phi bin") |
Definition at line 61 of file checkHVCorrections.py.
| checkHVCorrections.h_corrHVdiff_em = PlotCalibrationGains.L1CaloMap("(ratio-meanHV)/meanHV in EM layer","#eta bin","#phi bin") |
Definition at line 67 of file checkHVCorrections.py.
| checkHVCorrections.h_corrHVdiff_had = PlotCalibrationGains.L1CaloMap("(ratio-meanHV)/meanHV in HAD layer","#eta bin","#phi bin") |
Definition at line 68 of file checkHVCorrections.py.
| checkHVCorrections.h_corrHVdiffGainPredictor_em = PlotCalibrationGains.L1CaloMap("(ratio-GainPredictor)/GainPredictor in EM layer","#eta bin","#phi bin") |
Definition at line 73 of file checkHVCorrections.py.
| checkHVCorrections.h_corrHVdiffGainPredictor_had = PlotCalibrationGains.L1CaloMap("(ratio-GainPredictor)/GainPredictor in HAD layer","#eta bin","#phi bin") |
Definition at line 74 of file checkHVCorrections.py.
| checkHVCorrections.h_gains_em = PlotCalibrationGains.L1CaloMap("Eta-phi map of EM gains","#eta bin","#phi bin") |
Definition at line 45 of file checkHVCorrections.py.
| checkHVCorrections.h_gains_em_noHV = PlotCalibrationGains.L1CaloMap("Eta-phi map of EM gains without HV corrections","#eta bin","#phi bin") |
Definition at line 48 of file checkHVCorrections.py.
| checkHVCorrections.h_gains_em_ratio = PlotCalibrationGains.L1CaloMap("ratio of EM gains with and without HV corrections","#eta bin","#phi bin") |
Definition at line 51 of file checkHVCorrections.py.
| checkHVCorrections.h_gains_had = PlotCalibrationGains.L1CaloMap("Eta-phi map of HAD gains","#eta bin","#phi bin") |
Definition at line 46 of file checkHVCorrections.py.
| checkHVCorrections.h_gains_had_noHV = PlotCalibrationGains.L1CaloMap("Eta-phi map of HAD gains without HV corrections","#eta bin","#phi bin") |
Definition at line 49 of file checkHVCorrections.py.
| checkHVCorrections.h_gains_had_ratio = PlotCalibrationGains.L1CaloMap("ratio of HAD gains with and without HV corrections","#eta bin","#phi bin") |
Definition at line 52 of file checkHVCorrections.py.
| checkHVCorrections.help |
Definition at line 27 of file checkHVCorrections.py.
| checkHVCorrections.hv_status = PlotCalibrationHV.L1CaloHVReader(hvCorrFile) |
Definition at line 93 of file checkHVCorrections.py.
| str checkHVCorrections.hvCorrFile = '/afs/cern.ch/work/j/juraj/public/testarea/20.7.8.3/HVDumps/hvcorrections_9jun17.sqlite' |
Definition at line 82 of file checkHVCorrections.py.
| checkHVCorrections.hvGainPredictor = '/afs/cern.ch/work/j/juraj/public/testarea/20.7.8.3/HVDumps/hvUpdate_9jun17_0p.txt' |
Definition at line 84 of file checkHVCorrections.py.
| int checkHVCorrections.meanEmHVCorrection = (hv_status.GetMeanCorections())[receiverEm] |
Definition at line 118 of file checkHVCorrections.py.
| int checkHVCorrections.meanHadHVCorrection = (hv_status.GetMeanCorections())[receiverHad] |
Definition at line 163 of file checkHVCorrections.py.
| checkHVCorrections.options |
Definition at line 28 of file checkHVCorrections.py.
| checkHVCorrections.parser = OptionParser() |
Definition at line 25 of file checkHVCorrections.py.
| checkHVCorrections.receiver_gains = PlotCalibrationGains.GainReader() |
Definition at line 32 of file checkHVCorrections.py.
| checkHVCorrections.receiverEm = geometry_convertor.getReceiverfromPPM(coolEm,strategyString) |
Definition at line 115 of file checkHVCorrections.py.
| checkHVCorrections.receiverHad = geometry_convertor.getReceiverfromPPM(coolHad,strategyString) |
Definition at line 160 of file checkHVCorrections.py.
| checkHVCorrections.reference_gain = receiver_gains.getReferenceGain(coolEm) |
Definition at line 114 of file checkHVCorrections.py.
| tuple checkHVCorrections.relDifference = (gain/reference_gain - gainPredictorEmHVCorrection)/gainPredictorEmHVCorrection |
Definition at line 141 of file checkHVCorrections.py.
| checkHVCorrections.strange_channel_file = open('checkHVCorrections.txt','w') |
Definition at line 95 of file checkHVCorrections.py.
| str checkHVCorrections.strategyString = 'GainOneOvEmecFcalLowEta' |
Definition at line 86 of file checkHVCorrections.py.
| checkHVCorrections.True |
Definition at line 97 of file checkHVCorrections.py.
| checkHVCorrections.type |
Definition at line 27 of file checkHVCorrections.py.
| checkHVCorrections.unpack |
Definition at line 97 of file checkHVCorrections.py.