Public Member Functions | |
def | __init__ (self, datasetname, dasinstance=defaultdasinstance) |
def | __init__ (self, datasetName, dasLimit=0, tryPredefinedFirst=True, cmssw=os.environ["CMSSW_BASE"], cmsswrelease=os.environ["CMSSW_RELEASE_BASE"], magneticfield=None, dasinstance=None) |
def | __init__ (self, name, user, pattern='.*root') |
def | buildListOfBadFiles (self) |
def | buildListOfFiles (self, pattern='.*root') |
def | convertTimeToRun (self, begin=None, end=None, firstRun=None, lastRun=None, shortTuple=True) |
def | createdatasetfile_hippy (self, filename, filesperjob, firstrun, lastrun) |
def | datasetSnippet (self, jsonPath=None, begin=None, end=None, firstRun=None, lastRun=None, crab=False, parent=False) |
def | dataType (self) |
def | dump_cff (self, outName=None, jsonPath=None, begin=None, end=None, firstRun=None, lastRun=None, parent=False) |
def | extractFileSizes (self) |
def | fileInfoList (self, parent=False) |
def | fileList (self, parent=False, firstRun=None, lastRun=None, forcerunselection=False) |
def | forcerunrange (self, firstRun, lastRun, s) |
def | getfiles (self, usecache) |
def | getForceRunRangeFunction (self, firstRun, lastRun) |
def | getPrimaryDatasetEntries (self) |
def | headercomment (self) |
def | magneticField (self) |
def | magneticFieldForRun (self, run=-1) |
def | name (self) |
def | parentDataset (self) |
def | predefined (self) |
def | printInfo (self) |
def | runList (self) |
Public Member Functions inherited from dataset.BaseDataset | |
def | __init__ (self, name, user, pattern='.*root', run_range=None, dbsInstance=None) |
def init(self, name, user, pattern='. More... | |
def | listOfFiles (self) |
def | listOfGoodFiles (self) |
def | listOfGoodFilesWithPrescale (self, prescale) |
def | printFiles (self, abspath=True, info=True) |
Public Member Functions inherited from dataset.DatasetBase | |
def | writefilelist_hippy (self, firstrun, lastrun, runs, eventsperjob, maxevents, outputfile, usecache=True) |
def | writefilelist_validation (self, firstrun, lastrun, runs, maxevents, outputfile=None, usecache=True) |
Static Public Member Functions | |
def | getrunnumberfromfilename (filename) |
Public Attributes | |
bad_files | |
castorDir | |
dasinstance | |
datasetname | |
filenamebase | |
files | |
filesAndSizes | |
good_files | |
lfnDir | |
maskExists | |
official | |
report | |
Public Attributes inherited from dataset.BaseDataset | |
bad_files | |
dbsInstance | |
MM. More... | |
files | |
filesAndSizes | |
good_files | |
name | |
pattern | |
primaryDatasetEntries | |
MM. More... | |
report | |
run_range | |
user | |
Private Member Functions | |
def | __chunks (self, theList, n) |
def | __createSnippet (self, jsonPath=None, begin=None, end=None, firstRun=None, lastRun=None, repMap=None, crab=False, parent=False) |
def | __dateString (self, date) |
def | __datetime (self, stringForDas) |
def | __fileListSnippet (self, crab=False, parent=False, firstRun=None, lastRun=None, forcerunselection=False) |
def | __find_ge (self, a, x) |
def | __find_lt (self, a, x) |
def | __findInJson (self, jsondict, strings) |
def | __getData (self, dasQuery, dasLimit=0) |
def | __getDataType (self) |
def | __getFileInfoList (self, dasLimit, parent=False) |
def | __getMagneticField (self) |
def | __getMagneticFieldForRun (self, run=-1, tolerance=0.5) |
def | __getParentDataset (self) |
def | __getRunList (self) |
def | __lumiSelectionSnippet (self, jsonPath=None, firstRun=None, lastRun=None) |
Static Private Attributes | |
tuple | __dummy_source_template |
__source_template | |
Definition at line 198 of file dataset.py.
def dataset.Dataset.__init__ | ( | self, | |
datasetname, | |||
dasinstance = defaultdasinstance |
|||
) |
def dataset.Dataset.__init__ | ( | self, | |
datasetName, | |||
dasLimit = 0 , |
|||
tryPredefinedFirst = True , |
|||
cmssw = os.environ["CMSSW_BASE"] , |
|||
cmsswrelease = os.environ["CMSSW_RELEASE_BASE"] , |
|||
magneticfield = None , |
|||
dasinstance = None |
|||
) |
Definition at line 21 of file dataset.py.
References dataset.Dataset.__init__().
def dataset.Dataset.__init__ | ( | self, | |
name, | |||
user, | |||
pattern = '.*root' |
|||
) |
|
private |
Yield successive n-sized chunks from theList.
Definition at line 89 of file dataset.py.
References FastTimerService_cff.range.
Referenced by dataset.Dataset.__fileListSnippet(), dataset.Dataset.__lumiSelectionSnippet(), and dataset.Dataset.createdatasetfile_hippy().
|
private |
Definition at line 243 of file dataset.py.
References dataset.Dataset.__dummy_source_template, dataset.Dataset.__fileListSnippet(), dataset.Dataset.__lumiSelectionSnippet(), dataset.Dataset.__source_template, electrons_cff.bool, dataset.Dataset.convertTimeToRun(), and dataset.int.
Referenced by dataset.Dataset.datasetSnippet(), and dataset.Dataset.dump_cff().
|
private |
Definition at line 640 of file dataset.py.
References str.
Referenced by dataset.Dataset.convertTimeToRun().
|
private |
Definition at line 631 of file dataset.py.
References dataset.int.
Referenced by dataset.Dataset.convertTimeToRun().
|
private |
Definition at line 221 of file dataset.py.
References dataset.Dataset.__chunks(), dataset.Dataset.__name, dataset.Dataset.fileList(), and join().
Referenced by dataset.Dataset.__createSnippet().
|
private |
|
private |
|
private |
Definition at line 304 of file dataset.py.
References dataset.Dataset.__findInJson().
Referenced by dataset.Dataset.__findInJson(), dataset.Dataset.__getData(), dataset.Dataset.__getDataType(), dataset.Dataset.__getFileInfoList(), dataset.Dataset.__getMagneticField(), dataset.Dataset.__getMagneticFieldForRun(), dataset.Dataset.__getParentDataset(), dataset.Dataset.__getRunList(), dataset.Dataset.__lumiSelectionSnippet(), dataset.Dataset.convertTimeToRun(), and dataset.Dataset.fileList().
|
private |
Definition at line 356 of file dataset.py.
References dataset.Dataset.__findInJson(), das_client.get_data(), and str.
Referenced by dataset.Dataset.__getDataType(), dataset.Dataset.__getFileInfoList(), dataset.Dataset.__getMagneticField(), dataset.Dataset.__getMagneticFieldForRun(), dataset.Dataset.__getParentDataset(), dataset.Dataset.__getRunList(), and dataset.Dataset.convertTimeToRun().
|
private |
Definition at line 388 of file dataset.py.
References dataset.Dataset.__dasinstance, dataset.Dataset.__filename, dataset.Dataset.__findInJson(), dataset.Dataset.__getData(), dataset.Dataset.__name, dataset.Dataset.__predefined, ElectronMVAID.ElectronMVAID.name, DigiComparisonTask.name, TPComparisonTask.name, HcalOnlineHarvesting.name, HFRaddamTask.name, LaserTask.name, NoCQTask.name, PedestalTask.name, HcalOfflineHarvesting.name, QIE11Task.name, RecHitTask.name, QIE10Task.name, UMNioTask.name, ZDCTask.name, AlignableObjectId::entry.name, RawTask.name, average.Average.name, counter.Counter.name, TPTask.name, histograms.Histograms.name, DigiTask.name, LEDTask.name, cond::persistency::GLOBAL_TAG::NAME.name, cond::persistency::RUN_INFO::RUN_NUMBER.name, cond::persistency::TAG::NAME.name, TmModule.name, cond::persistency::GTEditorData.name, cond::persistency::GLOBAL_TAG::VALIDITY.name, cond::persistency::RUN_INFO::START_TIME.name, cond::persistency::TAG::TIME_TYPE.name, cond::persistency::GLOBAL_TAG::DESCRIPTION.name, cond::persistency::RUN_INFO::END_TIME.name, core.autovars.NTupleVariable.name, cond::persistency::TAG::OBJECT_TYPE.name, DQMRivetClient::NormOption.name, cond::persistency::GLOBAL_TAG::RELEASE.name, cond::persistency::TAG::SYNCHRONIZATION.name, cond::persistency::GLOBAL_TAG::SNAPSHOT_TIME.name, cond::persistency::TAG::END_OF_VALIDITY.name, MEPSet.name, cond::persistency::O2O_RUN::JOB_NAME.name, cond::persistency::GLOBAL_TAG::INSERTION_TIME.name, cms::dd::NameValuePair< T >.name, cond::persistency::TAG::DESCRIPTION.name, cond::persistency::O2O_RUN::START_TIME.name, cond::persistency::TAG::LAST_VALIDATED_TIME.name, FWTGeoRecoGeometry::Info.name, cond::persistency::O2O_RUN::END_TIME.name, cond::persistency::TAG::INSERTION_TIME.name, cond::persistency::O2O_RUN::STATUS_CODE.name, cond::persistency::TAG::MODIFICATION_TIME.name, cond::persistency::O2O_RUN::LOG.name, ParameterSet.name, nanoaod::MergeableCounterTable::SingleColumn< T >.name, preexistingValidation.PreexistingValidation.name, OutputMEPSet.name, PixelDCSObject< T >::Item.name, cms::dd::ValuePair< T, U >.name, AlignmentConstraint.name, dataset.BaseDataset.name, personalPlayback.Applet.name, Types._Untracked.name, MagCylinder.name, analyzer.Analyzer.name, DQMRivetClient::LumiOption.name, heppy::ParSet.name, cond::persistency::GTProxyData.name, edm::PathTimingSummary.name, DQMRivetClient::ScaleFactorOption.name, SingleObjectCondition.name, EgHLTOfflineSummaryClient::SumHistBinData.name, cms::DDAlgoArguments.name, Barrel.name, MyWatcher.name, cond::TimeTypeSpecs.name, perftools::EdmEventSize::BranchRecord.name, core.autovars.NTupleObjectType.name, edm::PathSummary.name, EcalLogicID.name, lumi::TriggerInfo.name, alignment.Alignment.name, XMLProcessor::_loaderBaseConfig.name, PixelEndcapLinkMaker::Item.name, FWTableViewManager::TableEntry.name, MEtoEDM< T >::MEtoEDMObject.name, PixelBarrelLinkMaker::Item.name, ExpressionHisto< T >.name, DQMGenericClient::EfficOption.name, cms::DDParsingContext::CompositeMaterial.name, Supermodule.name, TreeCrawler.Package.name, cond::persistency::GLOBAL_TAG_MAP::GLOBAL_TAG_NAME.name, options.ConnectionHLTMenu.name, genericValidation.GenericValidation.name, cond::persistency::GLOBAL_TAG_MAP::RECORD.name, cond::persistency::GLOBAL_TAG_MAP::LABEL.name, cond::persistency::GLOBAL_TAG_MAP::TAG_NAME.name, cond::Tag_t.name, FastHFShowerLibrary.name, dqmoffline::l1t::HistDefinition.name, DQMGenericClient::ProfileOption.name, magneticfield::BaseVolumeHandle.name, nanoaod::MergeableCounterTable::VectorColumn< T >.name, h4DSegm.name, emtf::Node.name, DQMGenericClient::NormOption.name, core.TriggerMatchAnalyzer.TriggerMatchAnalyzer.name, cond::persistency::PAYLOAD::HASH.name, looper.Looper.name, cond::persistency::PAYLOAD::OBJECT_TYPE.name, DQMGenericClient::CDOption.name, cond::TagInfo_t.name, PhysicsTools::Calibration::Variable.name, cond::persistency::PAYLOAD::DATA.name, cond::persistency::PAYLOAD::STREAMER_INFO.name, TrackerSectorStruct.name, cond::persistency::PAYLOAD::VERSION.name, MuonGeometrySanityCheckPoint.name, cond::persistency::PAYLOAD::INSERTION_TIME.name, DQMGenericClient::NoFlowOption.name, FCDTask.name, CounterChecker.name, Mapper::definition< ScannerT >.name, EDMtoMEConverter.name, classes.MonitorData.name, HistogramManager.name, classes.OutputData.name, Crystal.name, cond::persistency::IOV::TAG_NAME.name, cond::persistency::IOV::SINCE.name, cond::persistency::IOV::PAYLOAD_HASH.name, h2DSegm.name, cond::persistency::IOV::INSERTION_TIME.name, options.HLTProcessOptions.name, DQMNet::WaitObject.name, core.TriggerBitAnalyzer.TriggerBitAnalyzer.name, AlpgenParameterName.name, config.Analyzer.name, geometry.Structure.name, core.autovars.NTupleSubObject.name, Capsule.name, core.autovars.NTupleObject.name, Ceramic.name, SiStripMonitorDigi.name, BulkSilicon.name, config.Service.name, nanoaod::FlatTable::Column.name, APD.name, core.autovars.NTupleCollection.name, BPHRecoBuilder::BPHRecoSource.name, BPHRecoBuilder::BPHCompSource.name, cond::persistency::TAG_LOG::TAG_NAME.name, cond::persistency::TAG_LOG::EVENT_TIME.name, cond::persistency::TAG_LOG::USER_NAME.name, StraightTrackAlignment::RPSetPlots.name, cond::persistency::TAG_LOG::HOST_NAME.name, cond::persistency::TAG_LOG::COMMAND.name, cond::persistency::TAG_LOG::ACTION.name, cond::persistency::TAG_LOG::USER_TEXT.name, InnerLayerVolume.name, cond::payloadInspector::TagReference.name, personalPlayback.FrameworkJob.name, Grid.name, Grille.name, BackPipe.name, plotscripts.SawTeethFunction.name, PatchPanel.name, BackCoolTank.name, DryAirTube.name, crabFunctions.CrabTask.name, MBCoolTube.name, MBManif.name, cscdqm::ParHistoDef.name, hTMaxCell.name, BeautifulSoup.Tag.name, SummaryOutputProducer::GenericSummary.name, BeautifulSoup.SoupStrainer.name, and python.rootplot.root2matplotlib.replace().
Referenced by dataset.Dataset.dataType().
|
private |
Definition at line 561 of file dataset.py.
References dataset.Dataset.__dasinstance, dataset.Dataset.__findInJson(), dataset.Dataset.__getData(), dataset.Dataset.__name, dataset.Dataset.__predefined, ElectronMVAID.ElectronMVAID.name, DigiComparisonTask.name, TPComparisonTask.name, HcalOfflineHarvesting.name, HcalOnlineHarvesting.name, HFRaddamTask.name, LaserTask.name, NoCQTask.name, PedestalTask.name, QIE11Task.name, RecHitTask.name, QIE10Task.name, UMNioTask.name, ZDCTask.name, AlignableObjectId::entry.name, RawTask.name, average.Average.name, counter.Counter.name, TPTask.name, DigiTask.name, LEDTask.name, histograms.Histograms.name, cond::persistency::GLOBAL_TAG::NAME.name, cond::persistency::RUN_INFO::RUN_NUMBER.name, cond::persistency::TAG::NAME.name, TmModule.name, cond::persistency::GTEditorData.name, cond::persistency::GLOBAL_TAG::VALIDITY.name, cond::persistency::RUN_INFO::START_TIME.name, cond::persistency::TAG::TIME_TYPE.name, cond::persistency::GLOBAL_TAG::DESCRIPTION.name, cond::persistency::RUN_INFO::END_TIME.name, core.autovars.NTupleVariable.name, cond::persistency::TAG::OBJECT_TYPE.name, DQMRivetClient::NormOption.name, cond::persistency::GLOBAL_TAG::RELEASE.name, cond::persistency::TAG::SYNCHRONIZATION.name, cond::persistency::GLOBAL_TAG::SNAPSHOT_TIME.name, cond::persistency::TAG::END_OF_VALIDITY.name, MEPSet.name, cond::persistency::O2O_RUN::JOB_NAME.name, cond::persistency::GLOBAL_TAG::INSERTION_TIME.name, cms::dd::NameValuePair< T >.name, cond::persistency::TAG::DESCRIPTION.name, cond::persistency::O2O_RUN::START_TIME.name, cond::persistency::TAG::LAST_VALIDATED_TIME.name, FWTGeoRecoGeometry::Info.name, cond::persistency::O2O_RUN::END_TIME.name, cond::persistency::TAG::INSERTION_TIME.name, cond::persistency::O2O_RUN::STATUS_CODE.name, cond::persistency::TAG::MODIFICATION_TIME.name, cond::persistency::O2O_RUN::LOG.name, ParameterSet.name, nanoaod::MergeableCounterTable::SingleColumn< T >.name, preexistingValidation.PreexistingValidation.name, OutputMEPSet.name, PixelDCSObject< T >::Item.name, AlignmentConstraint.name, cms::dd::ValuePair< T, U >.name, dataset.BaseDataset.name, personalPlayback.Applet.name, Types._Untracked.name, MagCylinder.name, analyzer.Analyzer.name, DQMRivetClient::LumiOption.name, heppy::ParSet.name, cond::persistency::GTProxyData.name, edm::PathTimingSummary.name, DQMRivetClient::ScaleFactorOption.name, SingleObjectCondition.name, EgHLTOfflineSummaryClient::SumHistBinData.name, cms::DDAlgoArguments.name, Barrel.name, MyWatcher.name, cond::TimeTypeSpecs.name, perftools::EdmEventSize::BranchRecord.name, core.autovars.NTupleObjectType.name, edm::PathSummary.name, EcalLogicID.name, lumi::TriggerInfo.name, alignment.Alignment.name, XMLProcessor::_loaderBaseConfig.name, PixelEndcapLinkMaker::Item.name, FWTableViewManager::TableEntry.name, MEtoEDM< T >::MEtoEDMObject.name, PixelBarrelLinkMaker::Item.name, ExpressionHisto< T >.name, DQMGenericClient::EfficOption.name, cms::DDParsingContext::CompositeMaterial.name, Supermodule.name, TreeCrawler.Package.name, cond::persistency::GLOBAL_TAG_MAP::GLOBAL_TAG_NAME.name, genericValidation.GenericValidation.name, options.ConnectionHLTMenu.name, cond::persistency::GLOBAL_TAG_MAP::RECORD.name, cond::persistency::GLOBAL_TAG_MAP::LABEL.name, cond::persistency::GLOBAL_TAG_MAP::TAG_NAME.name, cond::Tag_t.name, FastHFShowerLibrary.name, dqmoffline::l1t::HistDefinition.name, DQMGenericClient::ProfileOption.name, magneticfield::BaseVolumeHandle.name, nanoaod::MergeableCounterTable::VectorColumn< T >.name, h4DSegm.name, emtf::Node.name, DQMGenericClient::NormOption.name, core.TriggerMatchAnalyzer.TriggerMatchAnalyzer.name, cond::persistency::PAYLOAD::HASH.name, looper.Looper.name, cond::persistency::PAYLOAD::OBJECT_TYPE.name, DQMGenericClient::CDOption.name, cond::TagInfo_t.name, PhysicsTools::Calibration::Variable.name, cond::persistency::PAYLOAD::DATA.name, cond::persistency::PAYLOAD::STREAMER_INFO.name, TrackerSectorStruct.name, cond::persistency::PAYLOAD::VERSION.name, MuonGeometrySanityCheckPoint.name, cond::persistency::PAYLOAD::INSERTION_TIME.name, CounterChecker.name, DQMGenericClient::NoFlowOption.name, FCDTask.name, Mapper::definition< ScannerT >.name, EDMtoMEConverter.name, classes.MonitorData.name, HistogramManager.name, classes.OutputData.name, Crystal.name, cond::persistency::IOV::TAG_NAME.name, cond::persistency::IOV::SINCE.name, cond::persistency::IOV::PAYLOAD_HASH.name, h2DSegm.name, cond::persistency::IOV::INSERTION_TIME.name, options.HLTProcessOptions.name, DQMNet::WaitObject.name, core.TriggerBitAnalyzer.TriggerBitAnalyzer.name, AlpgenParameterName.name, geometry.Structure.name, config.Analyzer.name, core.autovars.NTupleSubObject.name, Capsule.name, core.autovars.NTupleObject.name, Ceramic.name, SiStripMonitorDigi.name, BulkSilicon.name, config.Service.name, nanoaod::FlatTable::Column.name, APD.name, core.autovars.NTupleCollection.name, BPHRecoBuilder::BPHRecoSource.name, BPHRecoBuilder::BPHCompSource.name, cond::persistency::TAG_LOG::TAG_NAME.name, cond::persistency::TAG_LOG::EVENT_TIME.name, cond::persistency::TAG_LOG::USER_NAME.name, StraightTrackAlignment::RPSetPlots.name, cond::persistency::TAG_LOG::HOST_NAME.name, cond::persistency::TAG_LOG::COMMAND.name, cond::persistency::TAG_LOG::ACTION.name, cond::persistency::TAG_LOG::USER_TEXT.name, InnerLayerVolume.name, cond::payloadInspector::TagReference.name, personalPlayback.FrameworkJob.name, Grid.name, Grille.name, BackPipe.name, plotscripts.SawTeethFunction.name, PatchPanel.name, BackCoolTank.name, DryAirTube.name, crabFunctions.CrabTask.name, MBCoolTube.name, MBManif.name, cscdqm::ParHistoDef.name, hTMaxCell.name, BeautifulSoup.Tag.name, SummaryOutputProducer::GenericSummary.name, BeautifulSoup.SoupStrainer.name, dataset.Dataset.parentDataset(), and print().
Referenced by dataset.Dataset.fileInfoList().
|
private |
Definition at line 423 of file dataset.py.
References dataset.Dataset.__cmssw, dataset.Dataset.__cmsswrelease, dataset.Dataset.__dasinstance, dataset.Dataset.__dataType, dataset.Dataset.__filename, dataset.Dataset.__findInJson(), dataset.Dataset.__getData(), dataset.Dataset.__inputMagneticField, dataset.Dataset.__name, dataset.Dataset.__predefined, print(), python.rootplot.root2matplotlib.replace(), and digitizers_cfi.strip.
Referenced by dataset.Dataset.magneticField().
|
private |
For MC, this returns the same as the previous function. For data, it gets the magnetic field from the runs. This is important for deciding which template to use for offlinevalidation
Definition at line 504 of file dataset.py.
References dataset.Dataset.__dasinstance, dataset.Dataset.__dataType, dataset.Dataset.__filename, dataset.Dataset.__findInJson(), dataset.Dataset.__firstusedrun, dataset.Dataset.__getData(), dataset.Dataset.__getMagneticFieldForRun(), dataset.Dataset.__inputMagneticField, dataset.Dataset.__lastusedrun, dataset.Dataset.__magneticField, dataset.Dataset.__name, dataset.Dataset.__predefined, funct.abs(), dqmMemoryStats.float, print(), python.rootplot.root2matplotlib.replace(), submitPVValidationJobs.split(), and digitizers_cfi.strip.
Referenced by dataset.Dataset.__getMagneticFieldForRun(), dataset.Dataset.dump_cff(), and dataset.Dataset.magneticFieldForRun().
|
private |
Definition at line 413 of file dataset.py.
References dataset.Dataset.__dasinstance, dataset.Dataset.__findInJson(), dataset.Dataset.__getData(), dataset.Dataset.__name, and str.
Referenced by dataset.Dataset.parentDataset().
|
private |
Definition at line 620 of file dataset.py.
References dataset.Dataset.__dasinstance, dataset.Dataset.__findInJson(), dataset.Dataset.__getData(), dataset.Dataset.__name, and print().
Referenced by dataset.Dataset.__lumiSelectionSnippet(), dataset.Dataset.convertTimeToRun(), and dataset.Dataset.runList().
|
private |
Definition at line 125 of file dataset.py.
References dataset.Dataset.__chunks(), dataset.Dataset.__findInJson(), dataset.Dataset.__firstusedrun, dataset.Dataset.__getRunList(), dataset.Dataset.__inputMagneticField, dataset.Dataset.__lastusedrun, dataset.Dataset.getForceRunRangeFunction(), dataset.int, join(), SiStripPI.max, min(), print(), python.rootplot.root2matplotlib.replace(), submitPVValidationJobs.split(), and str.
Referenced by dataset.Dataset.__createSnippet().
def dataset.Dataset.buildListOfBadFiles | ( | self | ) |
fills the list of bad files from the IntegrityCheck log. When the integrity check file is not available, files are considered as good.
Reimplemented from dataset.BaseDataset.
Definition at line 279 of file dataset.py.
def dataset.Dataset.buildListOfFiles | ( | self, | |
pattern = '.*root' |
|||
) |
fills list of files, taking all root files matching the pattern in the castor dir
Reimplemented from dataset.BaseDataset.
Definition at line 275 of file dataset.py.
def dataset.Dataset.convertTimeToRun | ( | self, | |
begin = None , |
|||
end = None , |
|||
firstRun = None , |
|||
lastRun = None , |
|||
shortTuple = True |
|||
) |
Definition at line 643 of file dataset.py.
References dataset.Dataset.__dasinstance, dataset.Dataset.__dateString(), dataset.Dataset.__datetime(), dataset.Dataset.__find_ge(), dataset.Dataset.__find_lt(), dataset.Dataset.__findInJson(), dataset.Dataset.__getData(), dataset.Dataset.__getRunList(), dataset.Dataset.__name, electrons_cff.bool, and dataset.int.
Referenced by dataset.Dataset.__createSnippet().
def dataset.Dataset.createdatasetfile_hippy | ( | self, | |
filename, | |||
filesperjob, | |||
firstrun, | |||
lastrun | |||
) |
Definition at line 852 of file dataset.py.
References dataset.Dataset.__chunks(), dataset.Dataset.fileList(), and join().
def dataset.Dataset.datasetSnippet | ( | self, | |
jsonPath = None , |
|||
begin = None , |
|||
end = None , |
|||
firstRun = None , |
|||
lastRun = None , |
|||
crab = False , |
|||
parent = False |
|||
) |
Definition at line 728 of file dataset.py.
References dataset.Dataset.__createSnippet(), dataset.Dataset.__filename, dataset.Dataset.__name, dataset.Dataset.__official, dataset.Dataset.__origName, dataset.Dataset.__predefined, dataset.Dataset.dump_cff(), and print().
def dataset.Dataset.dataType | ( | self | ) |
Definition at line 710 of file dataset.py.
References dataset.Dataset.__dataType, and dataset.Dataset.__getDataType().
def dataset.Dataset.dump_cff | ( | self, | |
outName = None , |
|||
jsonPath = None , |
|||
begin = None , |
|||
end = None , |
|||
firstRun = None , |
|||
lastRun = None , |
|||
parent = False |
|||
) |
Definition at line 790 of file dataset.py.
References dataset.Dataset.__cmssw, dataset.Dataset.__createSnippet(), dataset.Dataset.__dataType, dataset.Dataset.__getMagneticFieldForRun(), dataset.Dataset.__magneticField, dataset.Dataset.__name, print(), python.rootplot.root2matplotlib.replace(), submitPVValidationJobs.split(), str, and digitizers_cfi.strip.
Referenced by dataset.Dataset.datasetSnippet().
def dataset.Dataset.extractFileSizes | ( | self | ) |
Get the file size for each file, from the eos ls -l command.
Reimplemented from dataset.BaseDataset.
Definition at line 310 of file dataset.py.
References dataset.EOSDataset.castorDir, and dataset.Dataset.castorDir.
def dataset.Dataset.fileInfoList | ( | self, | |
parent = False |
|||
) |
Definition at line 914 of file dataset.py.
References dataset.Dataset.__dasLimit, and dataset.Dataset.__getFileInfoList().
Referenced by dataset.Dataset.fileList().
def dataset.Dataset.fileList | ( | self, | |
parent = False , |
|||
firstRun = None , |
|||
lastRun = None , |
|||
forcerunselection = False |
|||
) |
Definition at line 885 of file dataset.py.
References dataset.Dataset.__findInJson(), dataset.Dataset.fileInfoList(), dqmMemoryStats.float, dataset.Dataset.getrunnumberfromfilename(), and print().
Referenced by dataset.Dataset.__fileListSnippet(), and dataset.Dataset.createdatasetfile_hippy().
def dataset.Dataset.forcerunrange | ( | self, | |
firstRun, | |||
lastRun, | |||
s | |||
) |
s must be in the format run1:lum1-run2:lum2
Definition at line 326 of file dataset.py.
References dataset.Dataset.__firstusedrun, dataset.Dataset.__lastusedrun, dataset.int, and submitPVValidationJobs.split().
Referenced by dataset.Dataset.getForceRunRangeFunction().
def dataset.Dataset.getfiles | ( | self, | |
usecache | |||
) |
Reimplemented from dataset.DatasetBase.
Definition at line 211 of file dataset.py.
References dataset.Dataset.dasinstance, dataset.dasquery(), dataset.Dataset.datasetname, dataset.Dataset.filenamebase, dataset.findinjson(), dataset.int, and print().
def dataset.Dataset.getForceRunRangeFunction | ( | self, | |
firstRun, | |||
lastRun | |||
) |
Definition at line 351 of file dataset.py.
References dataset.Dataset.forcerunrange().
Referenced by dataset.Dataset.__lumiSelectionSnippet().
def dataset.Dataset.getPrimaryDatasetEntries | ( | self | ) |
Reimplemented from dataset.BaseDataset.
Definition at line 330 of file dataset.py.
References dataset.int, runall.testit.report, WorkFlowRunner.WorkFlowRunner.report, ALIUtils.report, and dataset.BaseDataset.report.
|
static |
Definition at line 858 of file dataset.py.
References python.cmstools.all(), dataset.int, and join().
Referenced by dataset.Dataset.fileList().
def dataset.Dataset.headercomment | ( | self | ) |
Reimplemented from dataset.DatasetBase.
Definition at line 247 of file dataset.py.
References dataset.Dataset.datasetname.
def dataset.Dataset.magneticField | ( | self | ) |
Definition at line 715 of file dataset.py.
References dataset.Dataset.__getMagneticField(), and dataset.Dataset.__magneticField.
def dataset.Dataset.magneticFieldForRun | ( | self, | |
run = -1 |
|||
) |
Definition at line 720 of file dataset.py.
References dataset.Dataset.__getMagneticFieldForRun().
def dataset.Dataset.name | ( | self | ) |
Definition at line 917 of file dataset.py.
References dataset.Dataset.__name.
Referenced by config.CFG.__str__(), validation.Sample.digest(), and VIDSelectorBase.VIDSelectorBase.initialize().
def dataset.Dataset.parentDataset | ( | self | ) |
Definition at line 723 of file dataset.py.
References dataset.Dataset.__getParentDataset(), and dataset.Dataset.__parentDataset.
Referenced by dataset.Dataset.__getFileInfoList().
def dataset.Dataset.predefined | ( | self | ) |
Definition at line 920 of file dataset.py.
References dataset.Dataset.__predefined.
def dataset.Dataset.printInfo | ( | self | ) |
Reimplemented from dataset.BaseDataset.
Definition at line 325 of file dataset.py.
References dataset.EOSDataset.castorDir, dataset.Dataset.castorDir, dataset.Dataset.lfnDir, ElectronMVAID.ElectronMVAID.name, DigiComparisonTask.name, TPComparisonTask.name, HcalOnlineHarvesting.name, HcalOfflineHarvesting.name, HFRaddamTask.name, LaserTask.name, NoCQTask.name, PedestalTask.name, QIE11Task.name, QIE10Task.name, RecHitTask.name, UMNioTask.name, ZDCTask.name, AlignableObjectId::entry.name, RawTask.name, average.Average.name, counter.Counter.name, TPTask.name, histograms.Histograms.name, DigiTask.name, LEDTask.name, cond::persistency::TAG::NAME.name, cond::persistency::RUN_INFO::RUN_NUMBER.name, TmModule.name, cond::persistency::GTEditorData.name, cond::persistency::GLOBAL_TAG::NAME.name, cond::persistency::RUN_INFO::START_TIME.name, cond::persistency::TAG::TIME_TYPE.name, cond::persistency::GLOBAL_TAG::VALIDITY.name, cond::persistency::RUN_INFO::END_TIME.name, cond::persistency::TAG::OBJECT_TYPE.name, core.autovars.NTupleVariable.name, cond::persistency::GLOBAL_TAG::DESCRIPTION.name, DQMRivetClient::NormOption.name, cond::persistency::TAG::SYNCHRONIZATION.name, cond::persistency::GLOBAL_TAG::RELEASE.name, cond::persistency::TAG::END_OF_VALIDITY.name, MEPSet.name, cond::persistency::GLOBAL_TAG::SNAPSHOT_TIME.name, cond::persistency::GLOBAL_TAG::INSERTION_TIME.name, cms::dd::NameValuePair< T >.name, cond::persistency::TAG::DESCRIPTION.name, cond::persistency::O2O_RUN::JOB_NAME.name, cond::persistency::O2O_RUN::START_TIME.name, cond::persistency::TAG::LAST_VALIDATED_TIME.name, cond::persistency::O2O_RUN::END_TIME.name, cond::persistency::TAG::INSERTION_TIME.name, FWTGeoRecoGeometry::Info.name, cond::persistency::O2O_RUN::STATUS_CODE.name, cond::persistency::TAG::MODIFICATION_TIME.name, cond::persistency::O2O_RUN::LOG.name, nanoaod::MergeableCounterTable::SingleColumn< T >.name, ParameterSet.name, preexistingValidation.PreexistingValidation.name, OutputMEPSet.name, PixelDCSObject< T >::Item.name, AlignmentConstraint.name, cms::dd::ValuePair< T, U >.name, dataset.BaseDataset.name, personalPlayback.Applet.name, Types._Untracked.name, analyzer.Analyzer.name, MagCylinder.name, DQMRivetClient::LumiOption.name, heppy::ParSet.name, cond::persistency::GTProxyData.name, edm::PathTimingSummary.name, DQMRivetClient::ScaleFactorOption.name, SingleObjectCondition.name, EgHLTOfflineSummaryClient::SumHistBinData.name, cms::DDAlgoArguments.name, Barrel.name, cond::TimeTypeSpecs.name, perftools::EdmEventSize::BranchRecord.name, core.autovars.NTupleObjectType.name, MyWatcher.name, edm::PathSummary.name, EcalLogicID.name, lumi::TriggerInfo.name, alignment.Alignment.name, PixelEndcapLinkMaker::Item.name, XMLProcessor::_loaderBaseConfig.name, MEtoEDM< T >::MEtoEDMObject.name, FWTableViewManager::TableEntry.name, PixelBarrelLinkMaker::Item.name, ExpressionHisto< T >.name, DQMGenericClient::EfficOption.name, cms::DDParsingContext::CompositeMaterial.name, Supermodule.name, TreeCrawler.Package.name, cond::persistency::GLOBAL_TAG_MAP::GLOBAL_TAG_NAME.name, options.ConnectionHLTMenu.name, genericValidation.GenericValidation.name, cond::persistency::GLOBAL_TAG_MAP::RECORD.name, cond::persistency::GLOBAL_TAG_MAP::LABEL.name, cond::persistency::GLOBAL_TAG_MAP::TAG_NAME.name, cond::Tag_t.name, FastHFShowerLibrary.name, dqmoffline::l1t::HistDefinition.name, DQMGenericClient::ProfileOption.name, magneticfield::BaseVolumeHandle.name, nanoaod::MergeableCounterTable::VectorColumn< T >.name, emtf::Node.name, h4DSegm.name, DQMGenericClient::NormOption.name, core.TriggerMatchAnalyzer.TriggerMatchAnalyzer.name, cond::persistency::PAYLOAD::HASH.name, looper.Looper.name, cond::persistency::PAYLOAD::OBJECT_TYPE.name, DQMGenericClient::CDOption.name, PhysicsTools::Calibration::Variable.name, cond::persistency::PAYLOAD::DATA.name, cond::TagInfo_t.name, cond::persistency::PAYLOAD::STREAMER_INFO.name, cond::persistency::PAYLOAD::VERSION.name, TrackerSectorStruct.name, cond::persistency::PAYLOAD::INSERTION_TIME.name, MuonGeometrySanityCheckPoint.name, DQMGenericClient::NoFlowOption.name, FCDTask.name, CounterChecker.name, Mapper::definition< ScannerT >.name, EDMtoMEConverter.name, classes.MonitorData.name, HistogramManager.name, classes.OutputData.name, Crystal.name, cond::persistency::IOV::TAG_NAME.name, cond::persistency::IOV::SINCE.name, cond::persistency::IOV::PAYLOAD_HASH.name, h2DSegm.name, cond::persistency::IOV::INSERTION_TIME.name, options.HLTProcessOptions.name, DQMNet::WaitObject.name, core.TriggerBitAnalyzer.TriggerBitAnalyzer.name, AlpgenParameterName.name, config.Analyzer.name, geometry.Structure.name, core.autovars.NTupleSubObject.name, Capsule.name, core.autovars.NTupleObject.name, Ceramic.name, SiStripMonitorDigi.name, BulkSilicon.name, config.Service.name, nanoaod::FlatTable::Column.name, APD.name, core.autovars.NTupleCollection.name, BPHRecoBuilder::BPHRecoSource.name, BPHRecoBuilder::BPHCompSource.name, cond::persistency::TAG_LOG::TAG_NAME.name, cond::persistency::TAG_LOG::EVENT_TIME.name, cond::persistency::TAG_LOG::USER_NAME.name, StraightTrackAlignment::RPSetPlots.name, cond::persistency::TAG_LOG::HOST_NAME.name, cond::persistency::TAG_LOG::COMMAND.name, cond::persistency::TAG_LOG::ACTION.name, cond::persistency::TAG_LOG::USER_TEXT.name, InnerLayerVolume.name, cond::payloadInspector::TagReference.name, personalPlayback.FrameworkJob.name, Grid.name, Grille.name, BackPipe.name, plotscripts.SawTeethFunction.name, PatchPanel.name, BackCoolTank.name, DryAirTube.name, crabFunctions.CrabTask.name, MBCoolTube.name, MBManif.name, cscdqm::ParHistoDef.name, hTMaxCell.name, BeautifulSoup.Tag.name, SummaryOutputProducer::GenericSummary.name, BeautifulSoup.SoupStrainer.name, and print().
def dataset.Dataset.runList | ( | self | ) |
Definition at line 924 of file dataset.py.
References dataset.Dataset.__getRunList(), and print().
|
private |
Definition at line 26 of file dataset.py.
Referenced by dataset.Dataset.__getMagneticField(), and dataset.Dataset.dump_cff().
|
private |
Definition at line 27 of file dataset.py.
Referenced by dataset.Dataset.__getMagneticField().
|
private |
Definition at line 25 of file dataset.py.
Referenced by dataset.Dataset.__getDataType(), dataset.Dataset.__getFileInfoList(), dataset.Dataset.__getMagneticField(), dataset.Dataset.__getMagneticFieldForRun(), dataset.Dataset.__getParentDataset(), dataset.Dataset.__getRunList(), and dataset.Dataset.convertTimeToRun().
|
private |
Definition at line 24 of file dataset.py.
Referenced by dataset.Dataset.fileInfoList().
|
private |
Definition at line 83 of file dataset.py.
Referenced by dataset.Dataset.__getMagneticField(), dataset.Dataset.__getMagneticFieldForRun(), dataset.Dataset.dataType(), and dataset.Dataset.dump_cff().
|
staticprivate |
Definition at line 113 of file dataset.py.
Referenced by dataset.Dataset.__createSnippet().
|
private |
Definition at line 53 of file dataset.py.
Referenced by dataset.Dataset.__getDataType(), dataset.Dataset.__getMagneticField(), dataset.Dataset.__getMagneticFieldForRun(), and dataset.Dataset.datasetSnippet().
|
private |
Definition at line 28 of file dataset.py.
Referenced by dataset.Dataset.__getMagneticFieldForRun(), dataset.Dataset.__lumiSelectionSnippet(), and dataset.Dataset.forcerunrange().
|
private |
Definition at line 81 of file dataset.py.
Referenced by dataset.Dataset.__getMagneticField(), dataset.Dataset.__getMagneticFieldForRun(), and dataset.Dataset.__lumiSelectionSnippet().
|
private |
Definition at line 29 of file dataset.py.
Referenced by dataset.Dataset.__getMagneticFieldForRun(), dataset.Dataset.__lumiSelectionSnippet(), and dataset.Dataset.forcerunrange().
|
private |
Definition at line 84 of file dataset.py.
Referenced by dataset.Dataset.__getMagneticFieldForRun(), dataset.Dataset.dump_cff(), and dataset.Dataset.magneticField().
|
private |
Definition at line 22 of file dataset.py.
Referenced by dataset.Dataset.__fileListSnippet(), dataset.Dataset.__getDataType(), dataset.Dataset.__getFileInfoList(), dataset.Dataset.__getMagneticField(), dataset.Dataset.__getMagneticFieldForRun(), dataset.Dataset.__getParentDataset(), dataset.Dataset.__getRunList(), dataset.Dataset.convertTimeToRun(), dataset.Dataset.datasetSnippet(), dataset.Dataset.dump_cff(), Config.Process.dumpConfig(), Config.Process.dumpPython(), genericValidation.ValidationWithPlotsSummaryBase.SummaryItem.name(), dataset.Dataset.name(), Config.Process.name_(), and Config.Process.splitPython().
|
private |
Definition at line 34 of file dataset.py.
Referenced by dataset.Dataset.datasetSnippet().
|
private |
Definition at line 23 of file dataset.py.
Referenced by dataset.Dataset.datasetSnippet().
|
private |
Definition at line 30 of file dataset.py.
Referenced by dataset.Dataset.parentDataset().
|
private |
Definition at line 50 of file dataset.py.
Referenced by dataset.Dataset.__getDataType(), dataset.Dataset.__getFileInfoList(), dataset.Dataset.__getMagneticField(), dataset.Dataset.__getMagneticFieldForRun(), dataset.Dataset.datasetSnippet(), and dataset.Dataset.predefined().
|
staticprivate |
Definition at line 95 of file dataset.py.
Referenced by dataset.Dataset.__createSnippet().
dataset.Dataset.bad_files |
Definition at line 286 of file dataset.py.
dataset.Dataset.castorDir |
Definition at line 270 of file dataset.py.
Referenced by dataset.Dataset.extractFileSizes(), and dataset.Dataset.printInfo().
dataset.Dataset.dasinstance |
Definition at line 208 of file dataset.py.
Referenced by dataset.Dataset.getfiles().
dataset.Dataset.datasetname |
Definition at line 200 of file dataset.py.
Referenced by dataset.Dataset.getfiles(), and dataset.Dataset.headercomment().
dataset.Dataset.filenamebase |
Definition at line 203 of file dataset.py.
Referenced by dataset.Dataset.getfiles().
dataset.Dataset.files |
Definition at line 277 of file dataset.py.
dataset.Dataset.filesAndSizes |
Definition at line 315 of file dataset.py.
dataset.Dataset.good_files |
Definition at line 287 of file dataset.py.
dataset.Dataset.lfnDir |
Definition at line 269 of file dataset.py.
Referenced by dataset.Dataset.printInfo().
dataset.Dataset.maskExists |
Definition at line 271 of file dataset.py.
dataset.Dataset.official |
Definition at line 202 of file dataset.py.
dataset.Dataset.report |
Definition at line 272 of file dataset.py.
Referenced by addOnTests.testit.run().