CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Public Attributes
production_tasks.Task Class Reference
Inheritance diagram for production_tasks.Task:
production_tasks.BaseDataset production_tasks.CheckConfig production_tasks.CheckDatasetExists production_tasks.CheckForMask production_tasks.CheckForWrite production_tasks.CheckJobStatus production_tasks.CleanFiles production_tasks.CleanJobFiles production_tasks.CreateJobDirectory production_tasks.ExpandConfig production_tasks.FindOnCastor production_tasks.FullCFG production_tasks.GenerateMask production_tasks.GZipFiles production_tasks.MonitorJobs production_tasks.ParseOptions production_tasks.RunCMSBatch production_tasks.RunTestEvents production_tasks.SourceCFG production_tasks.WriteJobReport production_tasks.WriteToDatasets

Public Member Functions

def __init__
 
def addOption
 
def getname
 
def run
 

Public Attributes

 dataset
 
 instance
 
 name
 
 options
 
 user
 

Detailed Description

Base class for Task API

Definition at line 24 of file production_tasks.py.

Constructor & Destructor Documentation

def production_tasks.Task.__init__ (   self,
  name,
  dataset,
  user,
  options,
  instance = None 
)

Definition at line 26 of file production_tasks.py.

26 
27  def __init__(self, name, dataset, user, options, instance = None):
28  self.name = name
29  self.instance = instance
30  self.dataset = dataset
31  self.user = user
self.options = options

Member Function Documentation

def production_tasks.Task.addOption (   self,
  parser 
)
A hook for adding things to the parser

Definition at line 38 of file production_tasks.py.

38 
39  def addOption(self, parser):
40  """A hook for adding things to the parser"""
pass
def production_tasks.Task.getname (   self)
The name of the object, using the instance if needed

Definition at line 32 of file production_tasks.py.

References SiPixelFedFillerWordEventNumber.instance, production_tasks.Task.instance, FittedEntriesManager.instance, NtupleManager.instance, gen::FortranInstance::InstanceWrapper.instance, ThePEG::RandomEngineGlue::Proxy.instance, CocoaDBMgr.instance, CocoaToDDLMgr.instance, DTHVAbstractCheck.instance, RawEventFileWriterForBU.instance, Fit.instance, XMLProcessor.instance, ElectronMVAID.ElectronMVAID.name, counter.Counter.name, average.Average.name, entry.name, histograms.Histograms.name, cond::persistency::GLOBAL_TAG::NAME.name, cond::persistency::TAG::NAME.name, TmModule.name, core.autovars.NTupleVariable.name, cond::persistency::GLOBAL_TAG::VALIDITY.name, genericValidation.GenericValidation.name, cond::persistency::TAG::TIME_TYPE.name, cond::persistency::GLOBAL_TAG::DESCRIPTION.name, cond::persistency::COND_LOG_TABLE::EXECTIME.name, preexistingValidation.PreexistingValidation.name, cond::persistency::TAG::OBJECT_TYPE.name, ora::RecordSpecImpl::Item.name, cond::persistency::GLOBAL_TAG::RELEASE.name, cond::persistency::COND_LOG_TABLE::IOVTAG.name, cond::persistency::TAG::SYNCHRONIZATION.name, cond::persistency::GLOBAL_TAG::SNAPSHOT_TIME.name, cond::persistency::COND_LOG_TABLE::USERTEXT.name, cond::persistency::TAG::END_OF_VALIDITY.name, cond::persistency::GLOBAL_TAG::INSERTION_TIME.name, cond::persistency::TAG::DESCRIPTION.name, cond::persistency::GTEditorData.name, cond::persistency::TAG::LAST_VALIDATED_TIME.name, FWTGeoRecoGeometry::Info.name, Types._Untracked.name, cond::persistency::TAG::INSERTION_TIME.name, dataset.BaseDataset.name, cond::persistency::TAG::MODIFICATION_TIME.name, personalPlayback.Applet.name, production_tasks.Task.name, ParameterSet.name, PixelDCSObject< class >::Item.name, analyzer.Analyzer.name, DQMRivetClient::LumiOption.name, MagCylinder.name, alignment.Alignment.name, ParSet.name, DQMRivetClient::ScaleFactorOption.name, SingleObjectCondition.name, EgHLTOfflineSummaryClient::SumHistBinData.name, DQMGenericClient::EfficOption.name, cond::persistency::GTProxyData.name, XMLHTRZeroSuppressionLoader::_loaderBaseConfig.name, XMLRBXPedestalsLoader::_loaderBaseConfig.name, core.autovars.NTupleObjectType.name, MyWatcher.name, edm::PathTimingSummary.name, cond::TimeTypeSpecs.name, lumi::TriggerInfo.name, edm::PathSummary.name, cond::persistency::GLOBAL_TAG_MAP::GLOBAL_TAG_NAME.name, PixelEndcapLinkMaker::Item.name, perftools::EdmEventSize::BranchRecord.name, FWTableViewManager::TableEntry.name, cond::persistency::GLOBAL_TAG_MAP::RECORD.name, PixelBarrelLinkMaker::Item.name, Mapper::definition< ScannerT >.name, EcalLogicID.name, cond::persistency::GLOBAL_TAG_MAP::LABEL.name, cond::persistency::GLOBAL_TAG_MAP::TAG_NAME.name, McSelector.name, ExpressionHisto< T >.name, XMLProcessor::_loaderBaseConfig.name, RecoSelector.name, TreeCrawler.Package.name, cond::persistency::PAYLOAD::HASH.name, DQMGenericClient::ProfileOption.name, cond::persistency::PAYLOAD::OBJECT_TYPE.name, cond::persistency::PAYLOAD::DATA.name, cond::persistency::PAYLOAD::STREAMER_INFO.name, MagGeoBuilderFromDDD::volumeHandle.name, cond::persistency::PAYLOAD::VERSION.name, cond::persistency::PAYLOAD::INSERTION_TIME.name, DQMGenericClient::NormOption.name, options.ConnectionHLTMenu.name, DQMGenericClient::CDOption.name, FastHFShowerLibrary.name, h4DSegm.name, PhysicsTools::Calibration::Variable.name, EDMtoMEConverter.name, cond::TagInfo_t.name, looper.Looper.name, MEtoEDM< T >::MEtoEDMObject.name, cond::persistency::IOV::TAG_NAME.name, cond::persistency::IOV::SINCE.name, TrackerSectorStruct.name, cond::persistency::IOV::PAYLOAD_HASH.name, cond::persistency::IOV::INSERTION_TIME.name, MuonGeometrySanityCheckPoint.name, config.Analyzer.name, config.Service.name, h2DSegm.name, options.HLTProcessOptions.name, core.autovars.NTupleSubObject.name, DQMNet::WaitObject.name, AlpgenParameterName.name, SiStripMonitorDigi.name, core.autovars.NTupleObject.name, cond::persistency::TAG_MIGRATION::SOURCE_ACCOUNT.name, cond::persistency::TAG_MIGRATION::SOURCE_TAG.name, cond::persistency::TAG_MIGRATION::TAG_NAME.name, cond::persistency::TAG_MIGRATION::STATUS_CODE.name, cond::persistency::TAG_MIGRATION::INSERTION_TIME.name, core.autovars.NTupleCollection.name, FastTimerService::LuminosityDescription.name, cond::persistency::PAYLOAD_MIGRATION::SOURCE_ACCOUNT.name, cond::persistency::PAYLOAD_MIGRATION::SOURCE_TOKEN.name, cond::persistency::PAYLOAD_MIGRATION::PAYLOAD_HASH.name, cond::persistency::PAYLOAD_MIGRATION::INSERTION_TIME.name, conddblib.Tag.name, conddblib.GlobalTag.name, personalPlayback.FrameworkJob.name, plotscripts.SawTeethFunction.name, FastTimerService::ProcessDescription.name, hTMaxCell.name, cscdqm::ParHistoDef.name, BeautifulSoup.Tag.name, TiXmlAttribute.name, and BeautifulSoup.SoupStrainer.name.

32 
33  def getname(self):
34  """The name of the object, using the instance if needed"""
35  if self.instance is not None:
36  return '%s_%s' % (self.name,self.instance)
37  else:
return self.name
def production_tasks.Task.run (   self,
  input 
)
Basic API for a task. input and output are dictionaries

Definition at line 41 of file production_tasks.py.

41 
42  def run(self, input):
43  """Basic API for a task. input and output are dictionaries"""
return {}

Member Data Documentation

production_tasks.Task.dataset

Definition at line 29 of file production_tasks.py.

Referenced by production_tasks.BaseDataset.query(), production_tasks.CheckDatasetExists.run(), production_tasks.BaseDataset.run(), production_tasks.GenerateMask.run(), production_tasks.CreateJobDirectory.run(), production_tasks.SourceCFG.run(), production_tasks.FullCFG.run(), production_tasks.WriteToDatasets.run(), production_tasks.RunCMSBatch.run(), production_tasks.MonitorJobs.run(), and production_tasks.CleanJobFiles.run().

production_tasks.Task.instance

Definition at line 28 of file production_tasks.py.

Referenced by production_tasks.Task.getname().

production_tasks.Task.name

Definition at line 27 of file production_tasks.py.

Referenced by dirstructure.Directory.__create_pie_image(), dqm_interfaces.DirID.__eq__(), dirstructure.Directory.__get_full_path(), dirstructure.Comparison.__get_img_name(), cuy.divideElement.__init__(), cuy.plotElement.__init__(), cuy.additionElement.__init__(), cuy.superimposeElement.__init__(), cuy.graphElement.__init__(), dirstructure.Comparison.__make_image(), dirstructure.Directory.__repr__(), dqm_interfaces.DirID.__repr__(), dirstructure.Comparison.__repr__(), config.CFG.__str__(), dirstructure.Directory.calcStats(), validation.Sample.digest(), python.rootplot.utilities.Hist.divide(), python.rootplot.utilities.Hist.divide_wilson(), utils.StatisticalTest.get_status(), production_tasks.Task.getname(), VIDSelectorBase.VIDSelectorBase.initialize(), dirstructure.Directory.print_report(), production_tasks.MonitorJobs.run(), python.rootplot.utilities.Hist.TGraph(), python.rootplot.utilities.Hist.TH1F(), and Vispa.Views.PropertyView.Property.valueChanged().

production_tasks.Task.options

Definition at line 31 of file production_tasks.py.

Referenced by betterConfigParser.BetterConfigParser.__updateDict(), betterConfigParser.BetterConfigParser.checkInput(), DOTExport.DotExport.export(), production_tasks.BaseDataset.run(), production_tasks.GenerateMask.run(), production_tasks.RunCMSBatch.run(), production_tasks.MonitorJobs.run(), production_tasks.CheckJobStatus.run(), production_tasks.CleanJobFiles.run(), and DOTExport.DotExport.write_output().

production_tasks.Task.user

Definition at line 30 of file production_tasks.py.

Referenced by cmsPerfSuite.PerfSuite.optionParse(), production_tasks.CheckDatasetExists.run(), production_tasks.GenerateMask.run(), production_tasks.SourceCFG.run(), production_tasks.FullCFG.run(), production_tasks.MonitorJobs.run(), and production_tasks.CleanJobFiles.run().