|
| | checkHVCorrections.parser = OptionParser() |
| | checkHVCorrections.action |
| | checkHVCorrections.type |
| | checkHVCorrections.dest |
| | checkHVCorrections.help |
| | checkHVCorrections.options |
| | checkHVCorrections.args |
| | checkHVCorrections.geometry_convertor = PlotCalibrationGains.L1CaloGeometryConvertor() |
| | checkHVCorrections.receiver_gains = PlotCalibrationGains.GainReader() |
| | checkHVCorrections.c1 = ROOT.TCanvas('c1','Example',200,10,700,500) |
| | checkHVCorrections.c2 = ROOT.TCanvas('c2','Example Partitions',200,10,700,500) |
| | checkHVCorrections.h_gains_em = PlotCalibrationGains.L1CaloMap("Eta-phi map of EM gains","#eta bin","#phi bin") |
| | checkHVCorrections.h_gains_had = PlotCalibrationGains.L1CaloMap("Eta-phi map of HAD gains","#eta bin","#phi bin") |
| | checkHVCorrections.h_gains_em_noHV = PlotCalibrationGains.L1CaloMap("Eta-phi map of EM gains without HV corrections","#eta bin","#phi bin") |
| | checkHVCorrections.h_gains_had_noHV = PlotCalibrationGains.L1CaloMap("Eta-phi map of HAD gains without HV corrections","#eta bin","#phi bin") |
| | checkHVCorrections.h_gains_em_ratio = PlotCalibrationGains.L1CaloMap("ratio of EM gains with and without HV corrections","#eta bin","#phi bin") |
| | checkHVCorrections.h_gains_had_ratio = PlotCalibrationGains.L1CaloMap("ratio of HAD gains with and without HV corrections","#eta bin","#phi bin") |
| | 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") |
| | 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") |
| | checkHVCorrections.h_corr_em = PlotCalibrationGains.L1CaloMap("Eta-phi map of mean HV corrections in EM layer","#eta bin","#phi bin") |
| | checkHVCorrections.h_corr_had = PlotCalibrationGains.L1CaloMap("Eta-phi map of mean HV corrections in HAD layer","#eta bin","#phi bin") |
| | checkHVCorrections.h_corrGainPredictor_em = PlotCalibrationGains.L1CaloMap("Eta-phi map of HV corrections from Gain Predictor in EM layer","#eta bin","#phi bin") |
| | checkHVCorrections.h_corrGainPredictor_had = PlotCalibrationGains.L1CaloMap("Eta-phi map of HV corrections from Gain Predictor in HAD layer","#eta bin","#phi bin") |
| | checkHVCorrections.h1D_corr_em = PlotCalibrationGains.EmPartitionPlots("mean HV corrections in EM layer",40,0.,2.5,"mean HV correction","N") |
| | checkHVCorrections.h1D_corr_had = PlotCalibrationGains.HadPartitionPlots("mean HV corrections in HAD layer",40,0.,2.5,"mean HV correction","N") |
| | checkHVCorrections.h_corrHVdiff_em = PlotCalibrationGains.L1CaloMap("(ratio-meanHV)/meanHV in EM layer","#eta bin","#phi bin") |
| | checkHVCorrections.h_corrHVdiff_had = PlotCalibrationGains.L1CaloMap("(ratio-meanHV)/meanHV in HAD layer","#eta bin","#phi bin") |
| | checkHVCorrections.h1D_corrHVdiff_em = PlotCalibrationGains.EmPartitionPlots("(ratio-meanHV)/meanHV in EM layer",40,-0.1,0.1,"(ratio-meanHV)/meanHV","N") |
| | checkHVCorrections.h1D_corrHVdiff_had = PlotCalibrationGains.HadPartitionPlots("(ratio-meanHV)/meanHV in HAD layer",40,-0.1,0.1,"(ratio-meanHV)/meanHV","N") |
| | checkHVCorrections.h_corrHVdiffGainPredictor_em = PlotCalibrationGains.L1CaloMap("(ratio-GainPredictor)/GainPredictor in EM layer","#eta bin","#phi bin") |
| | checkHVCorrections.h_corrHVdiffGainPredictor_had = PlotCalibrationGains.L1CaloMap("(ratio-GainPredictor)/GainPredictor in HAD layer","#eta bin","#phi bin") |
| str | checkHVCorrections.fileDefault = '/afs/cern.ch/work/j/juraj/public/testarea/21.0.18/CalibrationProcessing/326189_HV/energyscanresults.sqlite' |
| str | checkHVCorrections.fileNoHV = '/afs/cern.ch/work/j/juraj/public/testarea/21.0.18/CalibrationProcessing/326189/energyscanresults.sqlite' |
| str | checkHVCorrections.hvCorrFile = '/afs/cern.ch/work/j/juraj/public/testarea/20.7.8.3/HVDumps/hvcorrections_9jun17.sqlite' |
| str | checkHVCorrections.hvGainPredictor = '/afs/cern.ch/work/j/juraj/public/testarea/20.7.8.3/HVDumps/hvUpdate_9jun17_0p.txt' |
| str | checkHVCorrections.strategyString = 'GainOneOvEmecFcalLowEta' |
| | checkHVCorrections.hv_status = PlotCalibrationHV.L1CaloHVReader(hvCorrFile) |
| | checkHVCorrections.strange_channel_file = open('checkHVCorrections.txt','w') |
| | checkHVCorrections.gpReceiver |
| | checkHVCorrections.gpCool |
| | checkHVCorrections.gpEta |
| | checkHVCorrections.gpPhi |
| | checkHVCorrections.gpCorrection |
| | checkHVCorrections.unpack |
| | checkHVCorrections.True |
| | checkHVCorrections.dtype |
| dict | checkHVCorrections.gainPredictorCorrections = {} |
| | checkHVCorrections.coolEm = geometry_convertor.getCoolEm(i_eta,i_phi) |
| | checkHVCorrections.coolHad = geometry_convertor.getCoolHad(i_eta,i_phi) |
| | checkHVCorrections.gain = receiver_gains.getGain(coolEm) |
| | checkHVCorrections.reference_gain = receiver_gains.getReferenceGain(coolEm) |
| | checkHVCorrections.receiverEm = geometry_convertor.getReceiverfromPPM(coolEm,strategyString) |
| tuple | checkHVCorrections.meanEmHVCorrection = (hv_status.GetMeanCorections())[receiverEm] |
| dict | checkHVCorrections.gainPredictorEmHVCorrection = gainPredictorCorrections[receiverEm] |
| tuple | checkHVCorrections.relDifference = (gain/reference_gain - gainPredictorEmHVCorrection)/gainPredictorEmHVCorrection |
| | checkHVCorrections.receiverHad = geometry_convertor.getReceiverfromPPM(coolHad,strategyString) |
| tuple | checkHVCorrections.meanHadHVCorrection = (hv_status.GetMeanCorections())[receiverHad] |
| dict | checkHVCorrections.gainPredictorHadHVCorrection = gainPredictorCorrections[receiverHad] |