Variables | |
string | arcdir = "/nfshome0/smaruyam/CMSSW_2_0_10/src/test/" |
string | bakdb = dbdir+"tmp/backup.db" |
string | cfgarg = " --config " |
string | cfgfile = " /nfshome0/smaruyam/CMSSW_2_0_10/src/test/myconfig.txt " |
string | db = dbdir+"db.db" |
string | dbdir = "/nfshome0/smaruyam/CMSSW_2_0_10/src/test/" |
string | dir = "/nfshome0/smaruyam/CMSSW_2_0_10/src/test/" |
int | disk_threshold = 80 |
string | emptyString = "empty" |
EnableFileRemoval = False | |
EnableTransfer = False | |
filepath = outputFileName | |
int | fileSizeThreshold = 1000000000 |
string | firstFile = "DQM_Online_" |
flag = False | |
string | fullTransferArg = cfgarg+" --type dqm --hostname srv-C2D05-19 --lumisection 1 --appname CMSSW --appversion CMSSW_2_0_10 " |
tuple | lastFile = zipFileList.split() |
tuple | logfile = open('archival_log.txt', 'a') |
string | outputFileName = arcdir+firstFile+lastFile+".zip" |
PathReplace = False | |
string | sqlite3 = "sqlite3 " |
string | statusCheck = cfgarg+" --check --filename " |
string | targetdir = "/castor/cern.ch/cms/store/dqm/" |
string | tmpdb = dbdir+"tmp/tmp.db" |
tuple | transfer = TransferWithT0System(filepath,flag, logfile) |
string | transferScript = "/nfshome0/tier0/scripts/injectFileIntoTransferSystem.pl" |
tuple | zip = zipfile.ZipFile(outputFileName, "w") |
tuple | zipFileList = GetListOfFiles(logfile) |
tuple | zipFileSize = os.path.getsize(filepath) |
def archive.CheckCommand | ( | cmd, | |
logfile | |||
) |
Definition at line 90 of file archive.py.
Referenced by CheckFileStatus(), ConfirmPath(), GetAllFiles(), GetFileFromDB(), GetZippedFile(), ScanDir(), and TransferWithT0System().
def archive.CheckFileStatus | ( | filepath, | |
logfile | |||
) |
Definition at line 250 of file archive.py.
References CheckCommand(), split, and TransferWithT0System().
Referenced by Cleaner().
def archive.CheckPath | ( | filename, | |
logfile | |||
) |
Definition at line 155 of file archive.py.
References ConfirmPath(), and ScanDir().
Referenced by SetPath().
def archive.CheckZippedFiles | ( | file, | |
logfile | |||
) |
Definition at line 420 of file archive.py.
References Delete(), GetZippedFile(), and split.
Referenced by Cleaner().
def archive.Cleaner | ( | logfile | ) |
Definition at line 399 of file archive.py.
References CheckFileStatus(), CheckZippedFiles(), Delete(), GetAllFiles(), and SetPath().
Referenced by DiskUsage().
def archive.ConfirmPath | ( | file, | |
path, | |||
logfile | |||
) |
Definition at line 173 of file archive.py.
References CheckCommand().
Referenced by CheckPath(), and ScanDir().
def archive.Delete | ( | file, | |
logfile | |||
) |
Definition at line 449 of file archive.py.
References DiskUsage(), and fileunreg().
Referenced by CheckZippedFiles(), Cleaner(), XrdFile.open(), RemoveAndRegister(), and ora.setTableAccessPermission().
def archive.DiskUsage | ( | logfile | ) |
Definition at line 116 of file archive.py.
References Cleaner(), and split.
Referenced by Delete().
def archive.filereg | ( | db, | |
bakdb, | |||
tmpdb, | |||
file, | |||
logfile | |||
) |
Definition at line 49 of file archive.py.
References SiPixelLorentzAngle_cfi.read.
Referenced by RemoveAndRegister(), and SetPath().
def archive.fileunreg | ( | db, | |
bakdb, | |||
tmpdb, | |||
oldfile, | |||
logfile | |||
) |
Definition at line 65 of file archive.py.
References SiPixelLorentzAngle_cfi.read.
Referenced by Delete().
def archive.GetAllFiles | ( | logfile | ) |
Definition at line 378 of file archive.py.
References CheckCommand(), and split.
Referenced by Cleaner().
def archive.GetFileFromDB | ( | logfile | ) |
Definition at line 341 of file archive.py.
References CheckCommand().
Referenced by GetListOfFiles().
def archive.GetListOfFiles | ( | logfile | ) |
Definition at line 285 of file archive.py.
References GetFileFromDB(), GetZippedFile(), and split.
def archive.GetZippedFile | ( | logfile, | |
flag | |||
) |
Definition at line 361 of file archive.py.
References CheckCommand().
Referenced by CheckZippedFiles(), and GetListOfFiles().
def archive.RemoveAndRegister | ( | newFile, | |
oldFiles, | |||
logfile | |||
) |
def archive.ScanDir | ( | file, | |
logfile | |||
) |
Definition at line 197 of file archive.py.
References CheckCommand(), ConfirmPath(), and split.
Referenced by CheckPath().
def archive.SetPath | ( | file, | |
logfile | |||
) |
Definition at line 141 of file archive.py.
References CheckPath(), and filereg().
Referenced by Cleaner().
def archive.TransferWithT0System | ( | filepath, | |
flag, | |||
logfile | |||
) |
Definition at line 224 of file archive.py.
References CheckCommand(), and split.
Referenced by CheckFileStatus().
string archive.arcdir = "/nfshome0/smaruyam/CMSSW_2_0_10/src/test/" |
Definition at line 14 of file archive.py.
string archive.bakdb = dbdir+"tmp/backup.db" |
Definition at line 38 of file archive.py.
string archive.cfgarg = " --config " |
Definition at line 26 of file archive.py.
string archive.cfgfile = " /nfshome0/smaruyam/CMSSW_2_0_10/src/test/myconfig.txt " |
Definition at line 15 of file archive.py.
string archive.db = dbdir+"db.db" |
Definition at line 39 of file archive.py.
string archive.dbdir = "/nfshome0/smaruyam/CMSSW_2_0_10/src/test/" |
Definition at line 13 of file archive.py.
string archive.dir = "/nfshome0/smaruyam/CMSSW_2_0_10/src/test/" |
Definition at line 12 of file archive.py.
int archive.disk_threshold = 80 |
Definition at line 23 of file archive.py.
string archive.emptyString = "empty" |
Definition at line 29 of file archive.py.
Referenced by edm::service::RandomNumberGeneratorService.fillDescriptions(), CosmicTrackSelector.produce(), TrackMultiSelector.produce(), and reco::modules::HICaloCompatibleTrackSelector.produce().
archive.EnableFileRemoval = False |
Definition at line 18 of file archive.py.
archive.EnableTransfer = False |
Definition at line 20 of file archive.py.
archive.filepath = outputFileName |
Definition at line 480 of file archive.py.
Referenced by HPDNoiseLibraryReader.HPDNoiseLibraryReader().
int archive.fileSizeThreshold = 1000000000 |
Definition at line 22 of file archive.py.
string archive.firstFile = "DQM_Online_" |
Definition at line 470 of file archive.py.
Referenced by TauDQMFileLoader::cfgEntryFileSet.cfgEntryFileSet(), and fwlite::MultiChainEvent.MultiChainEvent().
archive.flag = False |
Definition at line 489 of file archive.py.
Referenced by SiStripDcsInfo.addBadModules(), EcalSelectiveReadoutValidation.anaDigi(), SiStripBadComponentsDQMServiceReader.analyze(), EcalRecHitsValidation.analyze(), EcalSelectiveReadoutValidation.analyzeEB(), EcalSelectiveReadoutValidation.analyzeEE(), AlCaHBHEMuonFilter.beginRun(), TangentApproachInRPhi.calculate(), DTTracoChip.calculateAngles(), SteppingAction.catchLongLived(), cond::service::DTHVCheckByAbsoluteValues.checkCurrentStatus(), cond::service::DTHVCheckWithHysteresis.checkCurrentStatus(), RPCDCSSummary.checkDCSbit(), RPCDataCertification.checkFED(), EcalUncalibratedRecHit.checkFlag(), EcalRecHit.checkFlag(), PFRecoTauAlgorithm.checkPos(), AlignmentTrackSelector.checkPrescaledHits(), EcalSelectiveReadoutValidation.checkSrApplication(), EgammaHLTNxNClusterProducer.checkStatusOfEcalRecHit(), HLTRegionalEcalResonanceFilter.checkStatusOfEcalRecHit(), HLTEcalResonanceFilter.checkStatusOfEcalRecHit(), StackingAction.ClassifyNewTrack(), ClosestApproachInRPhi.compute(), DTTime2DriftParametrization.computeDriftDistance_mean(), DTTime2DriftParametrization.computeDriftDistance_mode(), TShapeAnalysis.computeShape(), EcalDeadChannelRecoveryAlgos< DetIdT >.correct(), dccPhiIndexOfRU(), DDIsValid(), CSCValidation.doADCTiming(), CSCValidation.doGasGain(), DTDigitizer.driftTimeFromParametrization(), spr.eECALmatrix(), reco::PFCandidateElectronExtra.electronStatus(), reco::PFCandidateEGammaExtra.electronStatus(), SiStripBadStrip.encode(), EcalPerEvtLaserAnalyzer.endJob(), ZeeCalibration.endOfJob(), InvRingCalib.endOfLoop(), SiStripQualityChecker.fillDetectorStatus(), StudyHLT.fillEnergy(), MELaserPrim.fillHistograms(), HLXMonitor.FillHistograms(), HLTPathSelector.filter(), FWFileEntry.filterEventsWithCustomParser(), SiStripDaqInfo.findExcludedModule(), EcalSrFlag.flagName(), ConversionFinder.getConversionInfo(), SiStripTrackerMapCreator.getDetectorFlagAndComment(), SiStripQualityChecker.getModuleStatus(), RPCBxTest.getMonitorElements(), SiStripBadStripFromASCIIFile.getNewObject(), DTTracoLUTs.getPhiRad(), EcalSimRawData.getSrfs(), DreamSD.getStepInfo(), CaloSD.getStepInfo(), ECalSD.getTrackID(), HLTAlphaTFilter< T >.hltFilter(), ZMuMuAnalyzer_cynematics.isContained(), StackingAction.isItFromPrimary(), FastHFShowerLibrary.isItinFidVolume(), HCalSD.isItinFidVolume(), StackingAction.isItLongLived(), StackingAction.isItPrimaryDecayProductOrConversion(), reco::MuonSegmentMatch.isMask(), StackingAction.isThisRegion(), SteppingAction.killLowEnergy(), listbadmodule(), EcalUncalibRecHitRecWeightsAlgo< EBDataFrame >.makeRecHit(), EcalUncalibRecHitRecAnalFitAlgo< EBDataFrame >.makeRecHit(), L1MuGMTMerger.merge_rank(), reco::PFCandidateElectronExtra.mvaStatus(), reco::PFCandidateEGammaExtra.mvaStatus(), spr.newECALIdEW(), spr.newECALIdNS(), DDFilteredView.nextSibling(), graph< N, E >.nodeIndex(), DTHVStatusHandler.offlineList(), ZMuMuOverlap.operator()(), SiStripTrackerMapCreator.paintTkMapFromAlarm(), l1t::TriggerMenuXmlParser.parseMuon(), Generator.particlePassesPrimaryCuts(), CastorPedestalAnalysis.per2CapsHists(), HcalPedestalAnalysis.per2CapsHists(), pos::PixelFEDConfig.PixelFEDConfig(), HFFibreFiducial.PMTNumber(), SiStripActionExecutor.printFaultyModuleList(), EcalSelectiveReadoutProducer.printSrFlags(), SiStripTrackerMapCreator.printTopModules(), EgammaHLTPixelMatchElectronAlgo.process(), VertexClassifier.processesAtSimulation(), TrackClassifier.processesAtSimulation(), HcalPedestalAnalysis.processEvent(), CastorPedestalAnalysis.processEvent(), EcalDetIdToBeRecoveredProducer.produce(), EcalDigiToRaw.produce(), read_badmodlist(), SiStripBadComponentsDQMService.readBadComponents(), JetPlusTrackCorrector.rebuildJta(), StackingAction.rrApplicable(), EcalSelectiveReadoutSuppressor.run(), ecaldqm::SelectiveReadoutTask.runOnDigis(), ecaldqm::SelectiveReadoutTask.runOnSrFlags(), KalmanAlignmentUserVariables.setAlignmentFlag(), reco::GsfElectron.setAmbiguous(), EcalFenixStripFgvbEE.setbadStripMissing(), EcalFenixStrip.setbadStripMissing(), l1t::CaloCluster.setClusterFlag(), cond::DbConnectionConfiguration.setConnectionSharing(), L1MuDTTrackSegPhi.setEtaFlag(), lhef::JetInput.setExcludeResonances(), InputGenJetsParticleSelector.setExcludeResonances(), EcalRecHit.setFlag(), EcalUncalibratedRecHit.setFlagBit(), lhef::JetInput.setHardProcessOnly(), pat::Photon.setHasPixelSeed(), cond::persistency::ConnectionPool.setLogging(), reco::MuonSegmentMatch.setMask(), SiPixelFolderOrganizer.setModuleFolder(), lhef::JetInput.setPartonicFinalState(), InputGenJetsParticleSelector.setPartonicFinalState(), pat::Electron.setPassConversionVeto(), reco::GsfElectron.setPassCutBasedPreselection(), pat::Photon.setPassElectronVeto(), reco::GsfElectron.setPassMvaPreselection(), reco::GsfElectron.setPassPflowPreselection(), cond::DbConnectionConfiguration.setPoolAutomaticCleanUp(), cond::DbConnectionConfiguration.setReadOnlySessionOnUpdateConnections(), CaloTowersCreationAlgo.setRecoveredEcalHitsAreUsed(), CaloTowersCreationAlgo.setRecoveredHcalHitsAreUsed(), cond::DbConnectionConfiguration.setSQLMonitoring(), GflashHistogram.setStoreFlag(), lhef::JetInput.setTausAsJets(), InputGenJetsParticleSelector.setTausAsJets(), DatabasePDG.SetUseCharmParticles(), CaloTowersCreationAlgo.setUseRejectedHitsOnly(), CaloTowersCreationAlgo.setUseRejectedRecoveredEcalHits(), CaloTowersCreationAlgo.setUseRejectedRecoveredHcalHits(), sim::LocalFieldManager.SetVerbosity(), SortMuonSegmentMatches.SortMuonSegmentMatches(), MaterialBudget.stopAfter(), MaterialBudgetForward.stopAfter(), L1MuGMTLFMergeRankEtaQLUT.TheLookupFunction(), HistoryBase.traceSimHistory(), SimTrackManager.trackExists(), TangentApproachInRPhi.transverseCoord(), ClosestApproachInRPhi.transverseCoord(), EcalRecHit.unsetFlag(), L1TTestsSummary.updateL1TOccupancyMonitor(), L1TTestsSummary.updateL1TRateMonitor(), L1TTestsSummary.updateL1TSyncMonitor(), magfieldparam::BFit3D.UseSignedRad(), and magfieldparam::BFit3D.UseSpline().
string archive.fullTransferArg = cfgarg+" --type dqm --hostname srv-C2D05-19 --lumisection 1 --appname CMSSW --appversion CMSSW_2_0_10 " |
Definition at line 27 of file archive.py.
tuple archive.lastFile = zipFileList.split() |
Definition at line 471 of file archive.py.
Referenced by TauDQMFileLoader::cfgEntryFileSet.cfgEntryFileSet(), CmsShowNavigator.isLastEvent(), and fwlite::MultiChainEvent.MultiChainEvent().
tuple archive.logfile = open('archival_log.txt', 'a') |
Definition at line 36 of file archive.py.
Definition at line 472 of file archive.py.
archive.PathReplace = False |
Definition at line 19 of file archive.py.
string archive.sqlite3 = "sqlite3 " |
Definition at line 32 of file archive.py.
string archive.statusCheck = cfgarg+" --check --filename " |
Definition at line 28 of file archive.py.
string archive.targetdir = "/castor/cern.ch/cms/store/dqm/" |
Definition at line 25 of file archive.py.
string archive.tmpdb = dbdir+"tmp/tmp.db" |
Definition at line 37 of file archive.py.
tuple archive.transfer = TransferWithT0System(filepath,flag, logfile) |
Definition at line 490 of file archive.py.
string archive.transferScript = "/nfshome0/tier0/scripts/injectFileIntoTransferSystem.pl" |
Definition at line 24 of file archive.py.
tuple archive.zip = zipfile.ZipFile(outputFileName, "w") |
Definition at line 476 of file archive.py.
Referenced by dirstructure.Directory.__create_pie_image(), argparse.ArgumentParser._parse_known_args(), python.rootplot.argparse.ArgumentParser._parse_known_args(), python.rootplot.root2matplotlib.HistStack.barstack(), ValidationMatrix_v2.ReleaseComparison.compare(), plotscripts.corrections2D(), geometryXMLparser.cscorder(), ValidationMatrix.do_comparisons_threaded(), ConfigBuilder.ConfigBuilder.doNotInlineEventContent(), geometryXMLparser.dtorder(), conddb_migrate.fetch_gts(), FileBlob.FileBlob(), ValidationMatrix.get_filenames_from_pool(), specificLumi.getFillFromDB(), specificLumi.getSpecificLumi(), ValidationMatrix.guess_params(), mpl_axes_hist_fix.hist(), dataformats.indent(), tablePrinter.indent(), PrescaleChecker.isMonotonic(), makeLayoutFileForGui.layDefaults(), MultipleCompare.main(), deltar.matchObjectCollection(), deltar.matchObjectCollection2(), deltar.matchObjectCollection3(), geometryDiff.matrixmult(), python.rootplot.utilities.Hist.min(), makeMuonMisalignmentScenario.mmult(), plotscripts.philines(), SteerMultipleCompare.plotOneByOne(), matplotRender.matplotRender.plotPeakPerday_Time(), matplotRender.matplotRender.plotPerdayX_Time(), matplotRender.matplotRender.plotSumX_Fill(), matplotRender.matplotRender.plotSumX_Run(), matplotRender.matplotRender.plotSumX_Time(), TablePrint.PrettyPrintTable(), TablePrint.PrintLine(), cmsPerfSuiteHarvest.process_igprof_dir(), cmsPerfSuiteHarvest.process_memcheck_dir(), cmsPerfSuiteHarvest.process_timesize_dir(), MatrixReader.MatrixReader.readMatrix(), python.rootplot.rootinfo.recurse_thru_file(), PixelFitterByConformalMappingAndLine.run(), TrackFitter.run(), PixelFitterByHelixProjections.run(), L1MuonPixelTrackFitter.run(), RecoTauValidation_cfi.SetYmodulesToLog(), ValidationUtils.SpawnPSet(), PrescaleChecker.TrendingWithLumi(), python.rootplot.utilities.wilson_interval(), Formatter.SimpleHTMLFormatter.writeStyledRow(), and geometryXMLparser.MuonGeometry.xml().
tuple archive.zipFileList = GetListOfFiles(logfile) |
Definition at line 467 of file archive.py.
tuple archive.zipFileSize = os.path.getsize(filepath) |
Definition at line 481 of file archive.py.