Functions | |
def | fac0 (jeta) |
def | fac1 (jeta) |
def | fac2 (jeta) |
def | propweights (y_true) |
Variables | |
_ = plt.plot(lims, lims) | |
list | a0 = [0.973, 0.998, 0.992, 0.965 ] |
marinas correction form More... | |
list | a1 = [0, -0.318, -0.261, -0.406] |
list | a2 = [0, 0, 0.047, 0.089] |
alpha | |
bins | |
list | cols_to_minmax = ['t_delta', 't_hmaxNearP','t_emaxNearP', 't_hAnnular', 't_eAnnular','t_pt','t_nVtx','t_ieta','t_eHcal10', 't_eHcal30','t_rhoh','t_eHcal_x'] |
data = df.values | |
default | |
df = pd.read_pickle(fName) | |
tuple | dop = (X_test[:,16]/X_test[:,13]) |
tuple | eop = (X_test[:,15]/X_test[:,13]) |
fName = parser.parse_args().input | |
help | |
history = model.fit(X_train,Y_train , batch_size=5000, epochs=100, validation_split=0.2, verbose=1,sample_weight=propweights(Y_train)) | |
list | keya = [] |
label | |
list | lims = [0, 200] |
loc | |
loss | |
tuple | marinascorr = X_test[:,15]*mcorrval |
list | maxa = [] |
tuple | mcorrval = vec0(abs(X_test[:,17])) + vec1(abs(X_test[:,17]))*eop*dop*( 1 + vec2(abs(X_test[:,17]))*dop) |
meany = np.mean(Y_train) | |
list | mina = [] |
model = Sequential() | |
modv = parser.parse_args().modelv | |
int | ntest = 20000 |
optimizer | |
parser = argparse.ArgumentParser() | |
pmom = X_test[:,13] | |
preds = model.predict(X_test[:,0:12]) | |
range | |
RMS = tensorflow.keras.optimizers.RMSprop(learning_rate=0.001, rho=0.9) | |
stdy = np.std(Y_train) | |
targets = data[:,12] | |
int | testindx = data.shape[0] - ntest |
uncorrected = X_test[:,15] | |
vec0 = np.vectorize(fac0) | |
vec1 = np.vectorize(fac1) | |
vec2 = np.vectorize(fac2) | |
X_test = data[testindx:,:] | |
X_train = data[:testindx,0:12] | |
Y_train = data[:testindx,12] | |
def isotrackTrainRegressor.fac0 | ( | jeta | ) |
Definition at line 101 of file isotrackTrainRegressor.py.
References createfilelist.int.
Referenced by MonopoleSteppingAction.update().
def isotrackTrainRegressor.fac1 | ( | jeta | ) |
Definition at line 107 of file isotrackTrainRegressor.py.
References createfilelist.int.
Referenced by algorithm(), DDBHMAngular.execute(), and MonopoleSteppingAction.update().
def isotrackTrainRegressor.fac2 | ( | jeta | ) |
Definition at line 113 of file isotrackTrainRegressor.py.
References createfilelist.int.
Referenced by algorithm(), DDBHMAngular.execute(), and MonopoleSteppingAction.update().
def isotrackTrainRegressor.propweights | ( | y_true | ) |
Definition at line 135 of file isotrackTrainRegressor.py.
References funct.abs().
Definition at line 217 of file isotrackTrainRegressor.py.
Referenced by funct.derivative(), funct::DecomposeProduct< ProductStruct< A, B >, A >.get(), funct::DecomposeProduct< ProductStruct< A, B >, B >.get(), funct.get(), funct::DecomposePower< A, B >.getBase(), funct::DecomposePower< A, Numerical< 1 > >.getBase(), funct::DecomposePower< A, B >.getExp(), cscdqm::Configuration.init(), funct.MINUS_S(), funct.NUM(), and funct.PROD_S().
list isotrackTrainRegressor.a0 = [0.973, 0.998, 0.992, 0.965 ] |
marinas correction form
Definition at line 98 of file isotrackTrainRegressor.py.
list isotrackTrainRegressor.a1 = [0, -0.318, -0.261, -0.406] |
Definition at line 99 of file isotrackTrainRegressor.py.
Referenced by LA_Filler_Fitter.allAndOne(), npstat::ArrayND< Numeric >.ArrayND(), gen::FortranInstance.call(), MEtoEDM< T >.CheckBinLabels(), DQMTTreeIO::DQMMergeHelper.CheckBinLabels(), dqm::impl::MonitorElement.CheckBinLabels(), HBHENegativeEFilter.checkPassFilter(), FFTJetCorrectorSequence< Jet, InitialConverter, FinalConverter >.correct(), dqm::impl::MonitorElement.divide(), SurveyPxbDicer.doDice(), PulseFitWithShape.doFit(), HcalSimHitsValidation.dPhiWsign(), HcalRecHitsValidation.dPhiWsign(), HcalRecHitsAnalyzer.dPhiWsign(), CMTRawAnalyzer.dPhiWsign(), EcalMatacqAnalyzer.endJob(), VVIObjDetails.expint(), VVIObjFDetails.expint(), sistripvvi::VVIObjDetails.expint(), VVIObj.fcn(), sistripvvi::VVIObj.fcn(), VVIObjF.fcn(), MillePedeMonitor.fillPxbSurveyHistsLocalPars(), heppy::Davismt2.find_high(), DTLinearFit.fitNpar(), TFParams.fitpj(), fnc_dscb(), DeDxHitCalibrator.getAlphaBeta(), lumi::fPoly.getCorrection(), LowEnergyFastSimParam.GetInPointEnergyFraction(), PhotonMIPHaloTagger.getMipTrailFit(), HepMCValidationHelper.GreaterByE(), GridInterpolator3DException.GridInterpolator3DException(), HGCalDDDConstants.HGCalDDDConstants(), HGCalTBDDDConstants.HGCalTBDDDConstants(), EvolutionECAL.LightCollectionEfficiency(), EvolutionECAL.LightCollectionEfficiencyWeighted(), TruncatedPyramid.localCorners(), FlatTrd.localCorners(), heppy::Davismt2.mt2_bisect(), heppy::Davismt2.nsols(), NumericSafeLessByEt< T >.operator()(), NumericSafeLessByPt< T >.operator()(), NumericSafeGreaterByEt< T >.operator()(), NumericSafeGreaterByPt< T >.operator()(), GreaterByPtRef< T >.operator()(), GreaterByPtPtr< T >.operator()(), GreaterByEtRef< T >.operator()(), edm.operator+(), operator==(), npstat::ArrayND< Numeric >.outerProductLoop(), Thrust.parabola(), reco::PFTau3ProngSummary.PFTau3ProngSummary(), HcalSimHitsValidation.phi12(), HcalRecHitsValidation.phi12(), HcalRecHitsAnalyzer.phi12(), CMTRawAnalyzer.phi12(), TFParams.pulseShapepj(), TFParams.pulseShapepj2(), FullModelReactionDynamics.Rotate(), SiG4UniversalFluctuation.SampleFluctuations(), DTTSCand.setBitsBkmod(), DTSectCollPhCand.setBitsSectColl(), L1MuKBMTrack.setKalmanGain(), l1t::KMTFTrack.setKalmanGain(), heppy::mt2w_bisect::mt2w.teco(), SurveyPxbDicer.transform(), TrapezoidalCartesianMFGrid.TrapezoidalCartesianMFGrid(), and TrapezoidalCylindricalMFGrid.TrapezoidalCylindricalMFGrid().
list isotrackTrainRegressor.a2 = [0, 0, 0.047, 0.089] |
Definition at line 100 of file isotrackTrainRegressor.py.
Referenced by npstat::ArrayND< Numeric >.ArrayND(), gen::FortranInstance.call(), MEtoEDM< T >.CheckBinLabels(), DQMTTreeIO::DQMMergeHelper.CheckBinLabels(), dqm::impl::MonitorElement.CheckBinLabels(), HBHENegativeEFilter.checkPassFilter(), FFTJetCorrectorSequence< Jet, InitialConverter, FinalConverter >.correct(), dqm::impl::MonitorElement.divide(), SurveyPxbDicer.doDice(), PulseFitWithShape.doFit(), HcalSimHitsValidation.dPhiWsign(), HcalRecHitsValidation.dPhiWsign(), HcalRecHitsAnalyzer.dPhiWsign(), CMTRawAnalyzer.dPhiWsign(), EcalMatacqAnalyzer.endJob(), VVIObjDetails.expint(), VVIObjFDetails.expint(), sistripvvi::VVIObjDetails.expint(), VVIObj.fcn(), sistripvvi::VVIObj.fcn(), VVIObjF.fcn(), magfieldparam::bcylDetails.ffunkti(), CMTRawAnalyzer.fillDigiAmplitudeQIE11(), heppy::Davismt2.find_high(), DTLinearFit.fitNpar(), TFParams.fitpj(), fnc_dscb(), lumi::fPoly.getCorrection(), LowEnergyFastSimParam.GetInPointEnergyFraction(), HepMCValidationHelper.GreaterByE(), GridInterpolator3DException.GridInterpolator3DException(), mkfit.intersectThirdLayer(), EvolutionECAL.LightCollectionEfficiency(), EvolutionECAL.LightCollectionEfficiencyWeighted(), TruncatedPyramid.localCorners(), main(), heppy::Davismt2.mt2_bisect(), heppy::Davismt2.mt2_massless(), heppy::Davismt2.nsols(), heppy::Davismt2.nsols_massless(), NumericSafeLessByEt< T >.operator()(), NumericSafeLessByPt< T >.operator()(), NumericSafeGreaterByEt< T >.operator()(), NumericSafeGreaterByPt< T >.operator()(), GreaterByPtRef< T >.operator()(), GreaterByPtPtr< T >.operator()(), GreaterByEtRef< T >.operator()(), edm.operator+(), operator==(), npstat::ArrayND< Numeric >.outerProductLoop(), Thrust.parabola(), HcalSimHitsValidation.phi12(), HcalRecHitsValidation.phi12(), HcalRecHitsAnalyzer.phi12(), CMTRawAnalyzer.phi12(), TFParams.pulseShapepj(), TFParams.pulseShapepj2(), SiG4UniversalFluctuation.SampleFluctuations(), DTTSCand.setBitsBkmod(), DTSectCollPhCand.setBitsSectColl(), L1MuKBMTrack.setKalmanGain(), l1t::KMTFTrack.setKalmanGain(), heppy::mt2w_bisect::mt2w.teco(), and SurveyPxbDicer.transform().
isotrackTrainRegressor.alpha |
Definition at line 181 of file isotrackTrainRegressor.py.
isotrackTrainRegressor.bins |
Definition at line 181 of file isotrackTrainRegressor.py.
list isotrackTrainRegressor.cols_to_minmax = ['t_delta', 't_hmaxNearP','t_emaxNearP', 't_hAnnular', 't_eAnnular','t_pt','t_nVtx','t_ieta','t_eHcal10', 't_eHcal30','t_rhoh','t_eHcal_x'] |
Definition at line 64 of file isotrackTrainRegressor.py.
isotrackTrainRegressor.data = df.values |
Definition at line 70 of file isotrackTrainRegressor.py.
isotrackTrainRegressor.default |
Definition at line 28 of file isotrackTrainRegressor.py.
isotrackTrainRegressor.df = pd.read_pickle(fName) |
Definition at line 38 of file isotrackTrainRegressor.py.
Definition at line 126 of file isotrackTrainRegressor.py.
Referenced by ALPAKA_ACCELERATOR_NAMESPACE::caHitNtupletGeneratorKernels::Kernel_fastDuplicateRemover< TrackerTraits >.operator()(), and ALPAKA_ACCELERATOR_NAMESPACE::caHitNtupletGeneratorKernels::Kernel_rejectDuplicate< TrackerTraits >.operator()().
Definition at line 125 of file isotrackTrainRegressor.py.
Referenced by reco::PreId.setECALMatchingProperties().
isotrackTrainRegressor.fName = parser.parse_args().input |
Definition at line 33 of file isotrackTrainRegressor.py.
Referenced by FilterSelection.acceptMap(), XMLDocument.addAttribute(), OMTFReconstruction.beginRun(), CaloMeanResponse.CaloMeanResponse(), classNameFinder(), PatternOptimizerBase.endJob(), OMTFReconstruction.endJob(), OMTFPatternMaker.endJob(), XMLConfigWriter.finaliseXMLDocument(), omtf::RpcLinkMap.init(), edm::RootInputFileSequence.initTheFile(), L1TMuonOverlapParamsESProducer.L1TMuonOverlapParamsESProducer(), L1TMuonOverlapPhase1ParamsESProducer.L1TMuonOverlapPhase1ParamsESProducer(), XMLDocument.newElement(), XMLDocument.newValue(), FilterSelection.print(), l1t::XmlConfigParser.readDOMFromFile(), CSCSectorReceiverLUT.readLUTsFromFile(), CaloMeanResponse.readResponse(), HCalSD.readWeightFromFile(), XMLConfigReader.setConfigFile(), XMLConfigReader.setEventsFile(), XMLConfigReader.setPatternsFile(), TTClusterAlgorithm< T >.TTClusterAlgorithm(), TTStubAlgorithm< T >.TTStubAlgorithm(), SummaryOutputProducer.write(), XMLConfigWriter.writeGPs(), EcalDccWeightBuilder.writeWeightToAsciiFile(), and EcalDccWeightBuilder.writeWeightToRootFile().
isotrackTrainRegressor.help |
Definition at line 28 of file isotrackTrainRegressor.py.
isotrackTrainRegressor.history = model.fit(X_train,Y_train , batch_size=5000, epochs=100, validation_split=0.2, verbose=1,sample_weight=propweights(Y_train)) |
Definition at line 163 of file isotrackTrainRegressor.py.
Referenced by ListIds.analyze(), ListGroups.analyze(), GEMGeometryBuilder.build(), ME0GeometryParsFromDD.buildGeometry(), GEMGeometryParsFromDD.buildGeometry(), ME0GeometryBuilder.buildGeometry(), edm::IDGeneratorSourceBase< PuttableSourceBase >.doReadEvent(), edm::IDGeneratorSourceBase< PuttableSourceBase >.doReadEventWithDelayedReader(), FWLiteJobMetadataManager.doUpdate(), dump(), ProvenanceDumper.dumpEventFilteringParameterSets_(), edm::RunPrincipal.fillRunPrincipal(), MuonGeometryNumbering.geoHistoryToBaseNumber(), EcalBarrelGeometry.getClosestCell(), getHLTConfigData(), edm::RawInputSource.makeEvent(), gen::JetMatchingMGFastJet.match(), edm.moduleName(), edm.parameterSet(), TFWLiteSelectorBasic.Process(), FlavorHistoryProducer.produce(), edm::streamer::StreamerInputSource.read(), edm::RootFile.readCurrentEvent(), edm::TestSource.readEvent_(), edm::ThrowingSource.readEvent_(), edmtest::SourceWithWaits.readEvent_(), edm::RepeatingCachedRootSource.readEvent_(), edm::RootFile.readLuminosityBlock_(), edm::InputSource.readLuminosityBlock_(), edm::RootFile.RootFile(), DQMRootOutputModule.startEndFile(), and ProvenanceDumper.work_().
list isotrackTrainRegressor.keya = [] |
Definition at line 49 of file isotrackTrainRegressor.py.
isotrackTrainRegressor.label |
Definition at line 181 of file isotrackTrainRegressor.py.
list isotrackTrainRegressor.lims = [0, 200] |
Definition at line 214 of file isotrackTrainRegressor.py.
isotrackTrainRegressor.loc |
Definition at line 172 of file isotrackTrainRegressor.py.
Referenced by SiStripMonitorDigi.analyze(), SiPixelCalSingleMuonAnalyzer.analyze(), NearbyPixelClustersAnalyzer.analyze(), PickEvents.beginJob(), emtf.calc_phi_glob_deg(), emtf.calc_phi_glob_rad(), emtf.calc_phi_loc_deg(), emtf.calc_phi_loc_deg_from_glob(), emtf.calc_phi_loc_int(), emtf.calc_phi_loc_int_rpc(), emtf::phase2::tp.calcPhiGlobDegFromLoc(), emtf::phase2::tp.calcPhiGlobRadFromLoc(), emtf::phase2::tp.calcPhiInt(), emtf::phase2::tp.calcPhiLocDegFromGlob(), emtf::phase2::tp.calcPhiLocDegFromInt(), emtf::phase2::tp.calcPhiLocRadFromInt(), SiPixelCalibDigiProducer.checkPixel(), SiPixelOfflineCalibAnalysisBase.checkPixel(), PrimitiveConversion.convert_dt(), SiStripLorentzAnglePCLHarvester.dqmEndJob(), HBHELinearMap.find(), edm::MapOfVectors< std::string, AnalysisDescription * >.find(), edm::SortedCollection< EcalRecHit >.find(), SiPixelCalSingleMuonAnalyzer.findClosestCluster(), NearbyPixelClustersAnalyzer.findClosestCluster(), SiPixelInformationExtractor.findNoisyPixels(), TritonData< IO >.fullLoc(), StripCPE.getAlgoParam(), HGCalCassette.getShift(), HCALResponse.HCALResponse(), SiStripPsuDetIdMap.IsHVChannel(), StripCPEfromTrackAngle.localParameters(), SiPixelSCurveCalibrationAnalysis.makeThresholdSummary(), SiPixelTopoFinder.onlineRocColRow(), ALPAKA_ACCELERATOR_NAMESPACE::pixelClustering::CountModules< TrackerTraits >.operator()(), TkMSParameterizationBuilder.produce(), edm::FileInPath.read(), edm::FileInPath.readFromParameterSetBlob(), RecHitsSortedInPhi.RecHitsSortedInPhi(), PrintG4Solids.reducedName(), LocationDef.setLocation(), TritonData< IO >.setShape(), SiStripGainsCalibTreeWorker.SiStripGainsCalibTreeWorker(), SiStripGainsPCLWorker.SiStripGainsPCLWorker(), StripCPEfromTrackAngle.stripErrorSquared(), sipixelobjects::PixelROC.toGlobal(), CustomParticleFactory.ToLower(), ResidualRefitting.trkExtrap(), and HGCalDDDConstants.waferLocal2Global().
isotrackTrainRegressor.loss |
Definition at line 159 of file isotrackTrainRegressor.py.
Referenced by l1t::AXOL1TLCondition.evaluateCondition(), and SiG4UniversalFluctuation.SampleFluctuations().
Definition at line 180 of file isotrackTrainRegressor.py.
list isotrackTrainRegressor.maxa = [] |
Definition at line 48 of file isotrackTrainRegressor.py.
tuple isotrackTrainRegressor.mcorrval = vec0(abs(X_test[:,17])) + vec1(abs(X_test[:,17]))*eop*dop*( 1 + vec2(abs(X_test[:,17]))*dop) |
Definition at line 129 of file isotrackTrainRegressor.py.
isotrackTrainRegressor.meany = np.mean(Y_train) |
Definition at line 88 of file isotrackTrainRegressor.py.
Referenced by SiPixelTemplateReco.PixelTempReco1D(), and SiPixelTemplateSplit.PixelTempSplit().
list isotrackTrainRegressor.mina = [] |
Definition at line 47 of file isotrackTrainRegressor.py.
isotrackTrainRegressor.model = Sequential() |
Definition at line 148 of file isotrackTrainRegressor.py.
isotrackTrainRegressor.modv = parser.parse_args().modelv |
Definition at line 34 of file isotrackTrainRegressor.py.
int isotrackTrainRegressor.ntest = 20000 |
Definition at line 80 of file isotrackTrainRegressor.py.
isotrackTrainRegressor.optimizer |
Definition at line 159 of file isotrackTrainRegressor.py.
isotrackTrainRegressor.parser = argparse.ArgumentParser() |
Definition at line 27 of file isotrackTrainRegressor.py.
isotrackTrainRegressor.pmom = X_test[:,13] |
Definition at line 223 of file isotrackTrainRegressor.py.
Referenced by gen::Pythia6Gun.attachPy6DecaysToGenEvent(), edm::ExpoRandomPGunProducer.produce(), gen::Pythia6Hadronizer.residualDecay(), HcalIsoTrkAnalyzer.trackP(), and AlCaHcalIsotrkProducer.trackP().
isotrackTrainRegressor.preds = model.predict(X_test[:,0:12]) |
Definition at line 177 of file isotrackTrainRegressor.py.
isotrackTrainRegressor.range |
Definition at line 181 of file isotrackTrainRegressor.py.
isotrackTrainRegressor.RMS = tensorflow.keras.optimizers.RMSprop(learning_rate=0.001, rho=0.9) |
Definition at line 156 of file isotrackTrainRegressor.py.
isotrackTrainRegressor.stdy = np.std(Y_train) |
Definition at line 90 of file isotrackTrainRegressor.py.
isotrackTrainRegressor.targets = data[:,12] |
Definition at line 72 of file isotrackTrainRegressor.py.
Referenced by GenericTriggerEventFlag.expandLogicalExpression(), PythiaDauVFilterMatchID.filter(), and L1TGlobalPrescaler.filter().
int isotrackTrainRegressor.testindx = data.shape[0] - ntest |
Definition at line 81 of file isotrackTrainRegressor.py.
isotrackTrainRegressor.uncorrected = X_test[:,15] |
Definition at line 179 of file isotrackTrainRegressor.py.
Referenced by CorrPCCProducer.calculateCorrections(), and PFRecoTauDiscriminationByHPSSelection.discriminate().
isotrackTrainRegressor.vec0 = np.vectorize(fac0) |
Definition at line 120 of file isotrackTrainRegressor.py.
Referenced by EcalEBPhase2TrigPrimAlgo.initStructures(), EcalEBTrigPrimTestAlgo.initStructures(), and EcalTrigPrimFunctionalAlgo.initStructures().
isotrackTrainRegressor.vec1 = np.vectorize(fac1) |
Definition at line 121 of file isotrackTrainRegressor.py.
isotrackTrainRegressor.vec2 = np.vectorize(fac2) |
Definition at line 122 of file isotrackTrainRegressor.py.
isotrackTrainRegressor.X_test = data[testindx:,:] |
Definition at line 84 of file isotrackTrainRegressor.py.
Definition at line 82 of file isotrackTrainRegressor.py.
Definition at line 83 of file isotrackTrainRegressor.py.