Functions | |
def | articleExist |
def | fileUpload |
def | findXrdDir |
def | lastArticle |
Variables | |
string | __version__ = "$Revision: 1.13 $" |
string | action = 'store_true' |
string | default = '' |
string | defaultEOSchecksumCommand = 'xrdfs ' |
string | defaultEOScpCommand = 'xrdcp -np ' |
string | defaultEOSfeCommand = 'xrdfs ' |
string | defaultEOSlistCommand = 'xrdfs ' |
string | defaultEOSLoadPath = 'root://eoscms.cern.ch/' |
string | defaultEOSmkdirCommand = 'xrdfs ' |
string | defaultEOSRootPath = '/eos/cms/store/lhe' |
string | dest = 'fileList' |
tuple | exeCheckIntegrity = subprocess.Popen(["/bin/sh","-c", theCheckIntegrityCommand]) |
tuple | exeCheckSum = subprocess.Popen(["/afs/cern.ch/cms/caf/bin/cms_adler32",f], stdout=subprocess.PIPE, universal_newlines=True) |
tuple | exeCompression = subprocess.Popen(["/bin/sh","-c",theCompressionCommand]) |
tuple | exeFullList = subprocess.Popen(["/bin/sh","-c",theCommand]) |
tuple | exeList = subprocess.Popen(["/bin/sh","-c",theCommand], stdout=subprocess.PIPE, universal_newlines=True) |
tuple | exeUpload = subprocess.Popen(["/bin/sh","-c",theCommand]) |
tuple | f = open(options.files_from) |
tuple | getCheckSum = subprocess.Popen(["awk", "{print $1}"], stdin=exeCheckSum.stdout, stdout=subprocess.PIPE, universal_newlines=True) |
string | help = 'LHE local file list to be uploaded, separated by ","' |
tuple | intCode = exeCheckIntegrity.wait() |
tuple | l = l.strip() |
string | listPath = defaultEOSRootPath+'/' |
int | newArt = 0 |
tuple | oldArt = lastArticle() |
tuple | parser = optparse.OptionParser(usage) |
reallyDoIt = notoptions.dryRun | |
string | theCheckIntegrityCommand = 'xmllint -noout ' |
list | theCheckSumList = [] |
string | theCommand = defaultEOSmkdirCommand+' ' |
list | theCompressedFilesList = [] |
string | theCompressionCommand = 'xz ' |
list | theList = [] |
type = int, | |
string | uploadPath = '' |
string | usage = 'cmsLHEtoEOSManager.py <options>' |
def cmsLHEtoEOSManager.articleExist | ( | artId | ) |
Definition at line 31 of file cmsLHEtoEOSManager.py.
References findXrdDir(), and str.
def cmsLHEtoEOSManager.fileUpload | ( | uploadPath, | |
lheList, | |||
checkSumList, | |||
reallyDoIt, | |||
force = False |
|||
) |
Definition at line 58 of file cmsLHEtoEOSManager.py.
def cmsLHEtoEOSManager.findXrdDir | ( | theDirRecord | ) |
Definition at line 23 of file cmsLHEtoEOSManager.py.
References submitPVValidationJobs.split().
Referenced by articleExist(), and lastArticle().
def cmsLHEtoEOSManager.lastArticle | ( | ) |
Definition at line 42 of file cmsLHEtoEOSManager.py.
References findXrdDir(), and SiStripPI.max.
string cmsLHEtoEOSManager.__version__ = "$Revision: 1.13 $" |
Definition at line 6 of file cmsLHEtoEOSManager.py.
string cmsLHEtoEOSManager.action = 'store_true' |
Definition at line 130 of file cmsLHEtoEOSManager.py.
int cmsLHEtoEOSManager.default = '' |
Definition at line 122 of file cmsLHEtoEOSManager.py.
string cmsLHEtoEOSManager.defaultEOSchecksumCommand = 'xrdfs ' |
Definition at line 20 of file cmsLHEtoEOSManager.py.
string cmsLHEtoEOSManager.defaultEOScpCommand = 'xrdcp -np ' |
Definition at line 21 of file cmsLHEtoEOSManager.py.
string cmsLHEtoEOSManager.defaultEOSfeCommand = 'xrdfs ' |
Definition at line 19 of file cmsLHEtoEOSManager.py.
string cmsLHEtoEOSManager.defaultEOSlistCommand = 'xrdfs ' |
Definition at line 17 of file cmsLHEtoEOSManager.py.
string cmsLHEtoEOSManager.defaultEOSLoadPath = 'root://eoscms.cern.ch/' |
Definition at line 16 of file cmsLHEtoEOSManager.py.
string cmsLHEtoEOSManager.defaultEOSmkdirCommand = 'xrdfs ' |
Definition at line 18 of file cmsLHEtoEOSManager.py.
list cmsLHEtoEOSManager.defaultEOSRootPath = '/eos/cms/store/lhe' |
Definition at line 13 of file cmsLHEtoEOSManager.py.
string cmsLHEtoEOSManager.dest = 'fileList' |
Definition at line 123 of file cmsLHEtoEOSManager.py.
tuple cmsLHEtoEOSManager.exeCheckIntegrity = subprocess.Popen(["/bin/sh","-c", theCheckIntegrityCommand]) |
Definition at line 225 of file cmsLHEtoEOSManager.py.
tuple cmsLHEtoEOSManager.exeCheckSum = subprocess.Popen(["/afs/cern.ch/cms/caf/bin/cms_adler32",f], stdout=subprocess.PIPE, universal_newlines=True) |
Definition at line 241 of file cmsLHEtoEOSManager.py.
tuple cmsLHEtoEOSManager.exeCompression = subprocess.Popen(["/bin/sh","-c",theCompressionCommand]) |
Definition at line 234 of file cmsLHEtoEOSManager.py.
tuple cmsLHEtoEOSManager.exeFullList = subprocess.Popen(["/bin/sh","-c",theCommand]) |
Definition at line 291 of file cmsLHEtoEOSManager.py.
tuple cmsLHEtoEOSManager.exeList = subprocess.Popen(["/bin/sh","-c",theCommand], stdout=subprocess.PIPE, universal_newlines=True) |
Definition at line 278 of file cmsLHEtoEOSManager.py.
tuple cmsLHEtoEOSManager.exeUpload = subprocess.Popen(["/bin/sh","-c",theCommand]) |
Definition at line 261 of file cmsLHEtoEOSManager.py.
tuple cmsLHEtoEOSManager.f = open(options.files_from) |
Definition at line 200 of file cmsLHEtoEOSManager.py.
tuple cmsLHEtoEOSManager.getCheckSum = subprocess.Popen(["awk", "{print $1}"], stdin=exeCheckSum.stdout, stdout=subprocess.PIPE, universal_newlines=True) |
Definition at line 242 of file cmsLHEtoEOSManager.py.
string cmsLHEtoEOSManager.help = 'LHE local file list to be uploaded, separated by ","' |
Definition at line 121 of file cmsLHEtoEOSManager.py.
tuple cmsLHEtoEOSManager.intCode = exeCheckIntegrity.wait() |
Definition at line 226 of file cmsLHEtoEOSManager.py.
tuple cmsLHEtoEOSManager.l = l.strip() |
Definition at line 204 of file cmsLHEtoEOSManager.py.
Referenced by gpuPixelDoublets.__attribute__(), DTSuperLayer.add(), edm::service::ELlimitsTable.add(), DTGeometry.add(), PixelDigitizerAlgorithm.add_cross_talk(), Phase2TrackerDigitizerAlgorithm.add_cross_talk(), trklet::VarBase.add_latency(), ReferenceTrajectory.addMaterialEffectsBp(), ReferenceTrajectory.addMaterialEffectsBrl(), ReferenceTrajectory.addMaterialEffectsCov(), GeometricSearchTracker.addMTDLayers(), SiStripHitEffFromCalibTree.algoAnalyze(), algorithm(), EgammaBasicClusters.analyze(), MonitorElementsDb.analyze(), DQMHcalIsoTrackAlCaReco.analyze(), ContainmentCorrectionAnalyzer.analyze(), EnergyScaleAnalyzer.analyze(), PhotonValidator.analyze(), cms::Analyzer_minbias.analyze(), HLTScalers.analyze(), EgammaObjects.analyzeElectrons(), EgammaObjects.analyzePhotons(), tauImpactParameter::LagrangeMultipliersFitter.applyLagrangianConstraints(), HoughGrouping.associateHits(), BeamHaloNavigationSchool.BeamHaloNavigationSchool(), cms::Analyzer_minbias.beginJob(), edm::EventProcessor.beginJob(), HGCalTBAnalyzer.beginRun(), AlignmentMonitorSurvey.book(), ElectronTagProbeAnalyzer.bookHistograms(), ElectronAnalyzer.bookHistograms(), PSMonitor.bookHistograms(), DQMHcalIsoTrackAlCaReco.bookHistograms(), L1TRPCTF.bookHistograms(), PrimaryVertexAnalyzer4PUSlimmed.bookHistograms(), MuonGeometryConstantsBuild.build(), FWTrackResidualDetailView.build(), DeDxTools.buildDiscrimMap(), DTGeometryBuilderFromDD4hep.buildGeometry(), cms::DTGeometryBuilder.buildGeometry(), MuonPathAnalyzerInChamber.calculateFitParameters(), IsoTrig.chgIsolation(), riemannFit.circleFit(), DTTFFEDReader.clear(), CMS_lumi(), CmsShowCommon.CmsShowCommon(), pixelCPEforGPU::ParamsOnGPU.commonParams(), CompositeLogicalTrajectoryFilter.CompositeLogicalTrajectoryFilter(), BPHRecoBuilder.contained(), dtCalibration::DTT0FEBPathCorrection.correction(), PSFitter::HybridMinimizer.Correlation(), PSFitter::HybridMinimizer.CovMatrix(), MuonSeedFromRecHits.createSeed(), MuonSeedCreator.createSeed(), BTagLikeDeDxDiscriminator.dedx(), HitDoublets.detLayer(), pixelCPEforGPU::ParamsOnGPU.detParams(), Phase2TrackerDigitizerAlgorithm.digitize(), cscdqm::StripClusterFinder.DoAction(), l1t::Stage1Layer2EtSumAlgorithmImpHW.doSumAndMET(), l1t::Stage1Layer2EtSumAlgorithmImpHI.doSumAndMET(), npstat::ArrayND< Numeric, StackLen, StackDim >.dotProductLoop(), JetMETHLTOfflineClient.dqmEndJob(), PixelROCMapHelper.draw_line(), SiPixelPI.draw_line(), DrawEB(), DrawEE(), EcalDisplaysByEvent.drawEELines(), DrawES(), drawTable(), HcalObjRepresent.drawTable(), RPCDigiL1Link.empty(), TowerBlockFormatter.EndEvent(), cms::Analyzer_minbias.endJob(), edm::EventProcessor.endJob(), LumiCalculator.endLuminosityBlock(), ticl::PatternRecognitionbyCLUE3D< TILES >.energyRegressionAndID(), ticl::PatternRecognitionbyCA< TILES >.energyRegressionAndID(), TrackstersMergeProducer.energyRegressionAndID(), ESPedestalTask.ESPedestalTask(), L1ExtraParticleMapProd.evaluateForwardRapidityGap(), trklet::TripletEngine.execute(), DDHGCalWaferF.execute(), DDHGCalWaferP.execute(), trklet::VMRouterCM.execute(), trklet::VMRouter.execute(), FWGUIManager.exportAllViews(), TFParams.f3deg(), LMFUnique.fetchAll(), LMFCorrCoefDat.fetchBetween(), LMFSeqDat.fetchByRunIOV(), LMFSeqDat.fetchByRunNumber(), LMFRunIOV.fetchBySequence(), templateHelper::SiPixelTitles_Display< PayloadType, StoreType, TransientType >.fill(), CSCChamberIndexValues.fillChamberIndex(), CSCChamberMapValues.fillChamberMap(), CSCCrateMapValues.fillCrateMap(), CSCDDUMapValues.fillDDUMap(), LumiProducer.fillLSCache(), trklet::TrackDerTable.fillTable(), emtf::Node.filterEventsToDaughters(), SurveyAlignmentPoints.findAlignPars(), SurveyAlignmentSensor.findAlignPars(), MuonCkfTrajectoryBuilder.findCompatibleMeasurements(), CSCHitFromStripOnly.findMaxima(), HLTPerformanceInfo.findPath(), CSCChamberFitter.fit(), cond::persistency::IOVEditor.flush(), TSFit.fpol3dg(), cond::SmallWORMDict::IterHelp.frame(), CmsShowNavigator.frameTitle(), FullModelReactionDynamics.GenerateXandPt(), GeometricSearchTracker.GeometricSearchTracker(), MEEEGeom.getBoundary(), cond::persistency.getConnectionParams(), PSFitter::HybridMinimizer.GetCovMatrix(), ECFAdder.getECF(), EventShapeVariables.getFWmoment(), MEEEGeom.getGraphBoundary(), PSFitter::HybridMinimizer.GetHessianMatrix(), npstat::ArrayNDScanner.getIndex(), npstat::GridAxis.getInterval(), LMFDat.getKeyList(), HcalDDDRecConstants.getLayerDepth(), HcalDDDSimConstants.getLayerFront(), hcaldqm::mapper::HashMapper.getLinearHashType(), LMFDat.getLogicIds(), HcalDDDRecConstants.getOneEtaBin(), ConstantStepOdeSolver.getPeakTime(), TangentCircle.getPosition(), RPCReadOutMapping.getRAWSpecForCMSChamberSrip(), GBRTree.GetResponse(), NjettinessAdder.getTau(), hcaldqm::quantity::LumiSection.getValue(), hcaldqm::quantity::LumiSectionCoarse.getValue(), Python11ParameterSet.getVPSet(), EcalTrivialConditionRetriever.getWeightsFromConfiguration(), GenXSecAnalyzer.globalBeginRun(), GenXSecAnalyzer.globalEndRun(), align::TrackerNameSpace::TPB.halfBarrelNumber(), align::TrackerNameSpace::TIB.halfShellNumber(), HBHELinearMap.HBHELinearMap(), HcalDDDSimConstants.HcalCellTypes(), CSCChamberFitter.hessian(), QualityCutsAnalyzer::histogram_element_t.histogram_element_t(), HitDoublets.hit(), DTSimHitMatcher.hitWiresInDTSuperLayerId(), HLTMuonPFIsoFilter.HLTMuonPFIsoFilter(), edm::ProductResolverIndexHelper.indiciesForModulesInProcess(), MSLayersAtAngle.init(), reco::GhostTrackPrediction.init(), cond::EmptyIOVSource.initialize(), SurveyAlignmentAlgorithm.initialize(), HcalDDDSimConstants.initialize(), HcalDDDRecConstants.initialize(), edm::StreamSchedule.initializeEarlyDelete(), SherpaHadronizer.initializeForInternalPartons(), PixelRecoLineRZ.initTIP2(), popcon::EcalDCSHandler.insertHVDataSetToOffline(), HcalInterpolatedTableFunctor.inverse(), HcalPiecewiseLinearFunctor.inverse(), math::cholesky.invertNN(), edm.isFinite(), CSCSegAlgoRU.isHitNearSegment(), reco::TrackProbabilityTagInfo.jetProbability(), TemplatedJetProbabilityComputer< Container, Base >.jetProbability(), TemplatedJetBProbabilityComputer< Container, Base >.jetProbability(), edm::SubProcess.keepOnlyConsumedUnscheduledModules(), L1GlobalTriggerRecordProducer.L1GlobalTriggerRecordProducer(), align::TrackerNameSpace::TPB.ladderNumber(), trklet::Tracklet.layer(), LayerTriplets.layers(), HGCalTriggerTools.layerWithOffset(), LevelBaseNumber.LevelBaseNumber(), cond::time.limitedIOVSyncValue(), npstat::GridAxis.linearInterval(), MuonNavigationSchool.linkEndcapLayers(), GEMDQMBase.loadChambers(), riemannFit.loadCovariance(), riemannFit.loadCovariance2D(), fit::Likelihood< Sample, PDF, Yield >.log(), fit::Likelihood< Sample, PDF, NoExtendedLikelihood >.log(), main(), TMultiDimFet.MakeCandidates(), npstat::ArrayND< Numeric, StackLen, StackDim >.makeCopulaSteps(), TMultiDimFet.MakeCorrelation(), fireworks_root_gui.makeLabel(), TMultiDimFet.MakeParameterization(), TkGluedMeasurementDet.measurements(), KDTreeLinkerAlgo< DATA, DIM >.medianSearch(), npstat::ArrayND< Numeric, StackLen, StackDim >.multiMirror(), MultiTrackValidator.MultiTrackValidator(), MuonSimHitsValidAnalyzer.MuonSimHitsValidAnalyzer(), pat.operator&(), TSCBLBuilderWithPropagator.operator()(), operator<<(), operator==(), pat.operator^(), pat.operator|(), logintpack.pack16log(), logintpack.pack16logCeil(), logintpack.pack16logClosed(), logintpack.pack8log(), logintpack.pack8logCeil(), logintpack.pack8logClosed(), HitDoublets.phi(), trklet::VarBase.pipe_delays(), reco::PixelClusterData.PixelClusterData(), SiPixelChargeReweightingAlgorithm.PixelTempRewgt2D(), HIPplots.plotAlignableChiSquare(), FWPopupMenu.PoppedDown(), FWPopupMenu.PoppedUp(), HGCalCLUEAlgoT< TILE >.prepareDataStructures(), PrimaryVertexAnalyzer4PUSlimmed.PrimaryVertexAnalyzer4PUSlimmed(), trklet::VarCut.print(), trklet::VarBase.print_cuts(), cscdqm::StripClusterFinder.printClusters(), MuonNavigationPrinter.printLayers(), SensitiveDetectorCatalog.printMe(), hitfit::Defaults_Textrep.process_args(), pps::RawDataUnpacker.processOptoRxFrameSerial(), StEvtSolutionMaker.produce(), MultiHitFromChi2EDProducer.produce(), MuonNumberingESProducer.produce(), HLTMuonL2SelectorForL3IO.produce(), L1GlobalTriggerRecordProducer.produce(), CastorClusterProducer.produce(), cms::CosmicTrackFinder.produce(), hitTripletEDProducerT::Impl< T_HitTripletGenerator, T_SeedingHitSets, T_IntermediateHitTriplets >.produce(), DeepCoreSeedGenerator.produce(), SiPixelTemplate2D.pushfile(), SiPixelTemplate.pushfile(), hitfit::Defaults_Textrep.read_file(), PixelToFEDAssociateFromAscii.readRange(), dqmservices::DQMStreamerReader.reset_(), HitDoublets.rv(), TrackerMap.save(), TrackerMap.save_as_fectrackermap(), TrackerMap.save_as_fedtrackermap(), TrackerMap.save_as_HVtrackermap(), TrackerMap.save_as_psutrackermap(), emtf::Tree.saveToXMLRecursive(), riemannFit.scatter_cov_rad(), riemannFit.scatterCovLine(), JsonOutputProducer::JsonEventState.serialise(), FWProxyBuilderBase.setInteractionList(), FWGenParticleLegoProxyBuilder.setItem(), FWTrackingParticleProxyBuilder.setItem(), FWVertexCandidateProxyBuilder.setItem(), FWVertexProxyBuilder.setItem(), gen::TauolappInterface.SetLHE(), FWBoxRecHit.setLine(), FWPFLegoRecHit.setLine(), reco::PFBlock.setLink(), reco::PFDisplacedVertexCandidate.setLink(), CachedTrajectory.setMaxDetectorLength(), CachedTrajectory.setMaxHOLength(), CachedTrajectory.setMinDetectorLength(), Plane.setPosPrec(), cond::EmptyIOVSource.setRunAndEventInfo(), MaterialInformation.setStepLength(), FWJetProxyBuilder.setTextPos(), RPixChargeShare.Share(), MTDDetLayerGeometry.sortLayers(), MuonDetLayerGeometry.sortLayers(), StringBasedNTupler.StringBasedNTupler(), align::TrackerNameSpace::TIB.stringNumber(), cscdqm::StripClusterFinder.StripClusterFinder(), HIPAlignmentAlgorithm.terminate(), LutXml.test_access(), cond::time.toIOVSyncValue(), trklet::TrackDerTable.tpar(), trklet::FitTrack.trackFitChisq(), funct.trapezoid_integral(), dqmservices::TriggerSelector::TreeElement.TreeElement(), logintpack.unpack16log(), logintpack.unpack16logClosed(), logintpack.unpack8log(), logintpack.unpack8logClosed(), CSCEventData.unpack_data(), gen::TauolappInterface.update_particles(), FWLegoEvePFCandidate.updateScale(), FWLegoCandidate.updateScale(), FWPFRhoPhiRecHit.updateScale(), trklet::VarBase.VarBase(), trklet::VarDef.VarDef(), trklet::VarParam.VarParam(), VarSplitter.VarSplitter(), trklet::VarTimesC.VarTimesC(), reco::TrackGhostTrackState.vertexStateOnGhostTrack(), reco::TrackGhostTrackState.vertexStateOnMeasurement(), VVIObj.VVIObj(), sistripvvi::VVIObj.VVIObj(), VVIObjF.VVIObjF(), SimpleNavigableLayer.wellInside(), DCULVRVoltagesDat.writeArrayDB(), edm::SubProcess.writeLumiAsync(), HitDoublets.x(), cms::concurrency.xercesInitialize(), cms::concurrency.xercesTerminate(), RealisticHitToClusterAssociator.XYdistanceFromMaxHit(), HitDoublets.y(), HitDoublets.z(), cms::DDCMSDetElementCreator.~DDCMSDetElementCreator(), and GeometricSearchTracker.~GeometricSearchTracker().
string cmsLHEtoEOSManager.listPath = defaultEOSRootPath+'/' |
Definition at line 276 of file cmsLHEtoEOSManager.py.
int cmsLHEtoEOSManager.newArt = 0 |
Definition at line 249 of file cmsLHEtoEOSManager.py.
tuple cmsLHEtoEOSManager.oldArt = lastArticle() |
Definition at line 255 of file cmsLHEtoEOSManager.py.
tuple cmsLHEtoEOSManager.parser = optparse.OptionParser(usage) |
Definition at line 119 of file cmsLHEtoEOSManager.py.
cmsLHEtoEOSManager.reallyDoIt = notoptions.dryRun |
Definition at line 174 of file cmsLHEtoEOSManager.py.
string cmsLHEtoEOSManager.theCheckIntegrityCommand = 'xmllint -noout ' |
Definition at line 224 of file cmsLHEtoEOSManager.py.
list cmsLHEtoEOSManager.theCheckSumList = [] |
Definition at line 210 of file cmsLHEtoEOSManager.py.
string cmsLHEtoEOSManager.theCommand = defaultEOSmkdirCommand+' ' |
Definition at line 259 of file cmsLHEtoEOSManager.py.
list cmsLHEtoEOSManager.theCompressedFilesList = [] |
Definition at line 209 of file cmsLHEtoEOSManager.py.
string cmsLHEtoEOSManager.theCompressionCommand = 'xz ' |
Definition at line 233 of file cmsLHEtoEOSManager.py.
tuple cmsLHEtoEOSManager.theList = [] |
Definition at line 194 of file cmsLHEtoEOSManager.py.
Referenced by MuonAlignment.recursiveList().
cmsLHEtoEOSManager.type = int, |
Definition at line 137 of file cmsLHEtoEOSManager.py.
string cmsLHEtoEOSManager.uploadPath = '' |
Definition at line 250 of file cmsLHEtoEOSManager.py.
string cmsLHEtoEOSManager.usage = 'cmsLHEtoEOSManager.py <options>' |
Definition at line 118 of file cmsLHEtoEOSManager.py.