CMS 3D CMS Logo

List of all members | Classes | Public Member Functions | Public Attributes | Private Attributes
ConfigBuilder.ConfigBuilder Class Reference
Inheritance diagram for ConfigBuilder.ConfigBuilder:

Classes

class  MassSearchReplaceProcessNameVisitor
 
class  PrintAllModules
 load the relevant part More...
 

Public Member Functions

def __init__ (self, options, process=None, with_output=False, with_input=False)
 
def addCommon (self)
 
def addConditions (self)
 
def addCustomise (self, unsch=0)
 
def addCustomiseCmdLine (self)
 now for a useful command More...
 
def addExtraStream (self, name, stream, workflow='full')
 
def addMaxEvents (self)
 
def addOutput (self)
 
def addSource (self)
 
def addStandardSequences (self)
 
def build_production_info (self, evt_type, evtnumber)
 
def completeInputCommand (self)
 add the corresponding input content More...
 
def create_process (self)
 
def define_Configs (self)
 
def doNotInlineEventContent (instance, label="cms.untracked.vstring(process."+theStreamType+"EventContent.outputCommands)")
 event content More...
 
def doNotInlineEventContent (instance, label="process."+tmpstreamType+"EventContent.outputCommands")
 
def executeAndRemember (self, command)
 
def expandMapping (self, seqList, mapping, index=None)
 
def filesFromOption (self)
 
def finalizeFastSimHLT (self)
 
def inGeometryKeys (opt)
 
def load (self, includeFile)
 
def loadAndRemember (self, includeFile)
 
def loadDefaultOrSpecifiedCFF (self, sequence, defaultCFF)
 
def prepare (self, doChecking=False)
 
def prepare_ALCA (self, sequence=None, workflow='full')
 
def prepare_ALCAHARVEST (self, sequence=None)
 
def prepare_ALCAOUTPUT (self, sequence=None)
 
def prepare_ALCAPRODUCER (self, sequence=None)
 
def prepare_CFWRITER (self, sequence=None)
 
def prepare_DATAMIX (self, sequence=None)
 
def prepare_DIGI (self, sequence=None)
 
def prepare_DIGI2RAW (self, sequence=None)
 
def prepare_DQM (self, sequence='DQMOffline')
 
def prepare_EI (self, sequence=None)
 
def prepare_ENDJOB (self, sequence='endOfProcess')
 
def prepare_FILTER (self, sequence=None)
 
def prepare_GEN (self, sequence=None)
 
def prepare_HARVESTING (self, sequence=None)
 
def prepare_HLT (self, sequence=None)
 
def prepare_L1 (self, sequence=None)
 
def prepare_L1HwVal (self, sequence='L1HwVal')
 
def prepare_L1Reco (self, sequence="L1Reco")
 
def prepare_L1REPACK (self, sequence=None)
 
def prepare_L1TrackTrigger (self, sequence="L1TrackTrigger")
 
def prepare_LHE (self, sequence=None)
 
def prepare_NANO (self, sequence="nanoAOD")
 
def prepare_PAT (self, sequence="miniAOD")
 
def prepare_PATFILTER (self, sequence=None)
 
def prepare_PATGEN (self, sequence="miniGEN")
 
def prepare_POSTRECO (self, sequence=None)
 
def prepare_RAW2DIGI (self, sequence="RawToDigi")
 
def prepare_RAW2RECO (self, sequence=None)
 
def prepare_RECO (self, sequence="reconstruction")
 put the filtering path in the schedule More...
 
def prepare_RECOBEFMIX (self, sequence="reconstruction")
 
def prepare_RECOSIM (self, sequence="recosim")
 
def prepare_REPACK (self, sequence=None)
 
def prepare_SIM (self, sequence=None)
 
def prepare_SKIM (self, sequence="all")
 
def prepare_USER (self, sequence=None)
 
def prepare_VALIDATION (self, sequence='validation')
 
def profileOptions (self)
 
def renameHLTprocessInSequence (self, sequence, proc=None, HLTprocess='HLT')
 
def renameInputTagsInSequence (self, sequence, oldT="rawDataCollector", newT="rawDataRepacker")
 
def scheduleSequence (self, seq, prefix, what='Path')
 
def scheduleSequenceAtEnd (self, seq, prefix)
 

Public Attributes

 ALCADefaultCFF
 
 DIGI2RAWDefaultCFF
 
 DIGIDefaultCFF
 
 DQMSaverCFF
 
 GENDefaultCFF
 
 HLTDefaultCFF
 
 L1EMDefaultCFF
 
 L1MENUDefaultCFF
 
 L1RecoDefaultCFF
 
 L1TrackTriggerDefaultCFF
 
 NANODefaultCFF
 
 PATDefaultCFF
 
 pythonCfgCode
 
 RAW2DIGIDefaultCFF
 
 RECODefaultCFF
 
 RECOSIMDefaultCFF
 
 SIMDefaultCFF
 

Private Attributes

 _options
 

Detailed Description

The main building routines 

Definition at line 189 of file ConfigBuilder.py.

Constructor & Destructor Documentation

def ConfigBuilder.ConfigBuilder.__init__ (   self,
  options,
  process = None,
  with_output = False,
  with_input = False 
)
options taken from old cmsDriver and optparse 

Definition at line 192 of file ConfigBuilder.py.

192  def __init__(self, options, process = None, with_output = False, with_input = False ):
193  """options taken from old cmsDriver and optparse """
194 
195  options.outfile_name = options.dirout+options.fileout
196 
197  self._options = options
198 
199  if self._options.isData and options.isMC:
200  raise Exception("ERROR: You may specify only --data or --mc, not both")
201  #if not self._options.conditions:
202  # raise Exception("ERROR: No conditions given!\nPlease specify conditions. E.g. via --conditions=IDEAL_30X::All")
203 
def __init__(self, options, process=None, with_output=False, with_input=False)

Member Function Documentation

def ConfigBuilder.ConfigBuilder.addCommon (   self)

Definition at line 332 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.profileOptions().

Referenced by ConfigBuilder.ConfigBuilder.prepare().

332  def addCommon(self):
333  if 'HARVESTING' in self.stepMap.keys() or 'ALCAHARVEST' in self.stepMap.keys():
334  self.process.options = cms.untracked.PSet( Rethrow = cms.untracked.vstring('ProductNotFound'),fileMode = cms.untracked.string('FULLMERGE'))
335  else:
336  self.process.options = cms.untracked.PSet( )
337 
338  self.addedObjects.append(("","options"))
339 
340  if self._options.lazy_download:
341  self.process.AdaptorConfig = cms.Service("AdaptorConfig",
342  stats = cms.untracked.bool(True),
343  enable = cms.untracked.bool(True),
344  cacheHint = cms.untracked.string("lazy-download"),
345  readHint = cms.untracked.string("read-ahead-buffered")
346  )
347  self.addedObjects.append(("Setup lazy download","AdaptorConfig"))
348 
349  #self.process.cmsDriverCommand = cms.untracked.PSet( command=cms.untracked.string('cmsDriver.py '+self._options.arguments) )
350  #self.addedObjects.append(("what cmsDriver command was used","cmsDriverCommand"))
351 
352  if self._options.profile:
353  (start, interval, eventFormat, jobFormat)=self.profileOptions()
354  self.process.IgProfService = cms.Service("IgProfService",
355  reportFirstEvent = cms.untracked.int32(start),
356  reportEventInterval = cms.untracked.int32(interval),
357  reportToFileAtPostEvent = cms.untracked.string("| gzip -c > %s"%(eventFormat)),
358  reportToFileAtPostEndJob = cms.untracked.string("| gzip -c > %s"%(jobFormat)))
359  self.addedObjects.append(("Setup IGProf Service for profiling","IgProfService"))
360 
def ConfigBuilder.ConfigBuilder.addConditions (   self)
Add conditions to the process

Definition at line 804 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare().

804  def addConditions(self):
805  """Add conditions to the process"""
def ConfigBuilder.ConfigBuilder.addCustomise (   self,
  unsch = 0 
)
Include the customise code 

Definition at line 819 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare().

819  def addCustomise(self,unsch=0):
820  """Include the customise code """
821 
def addCustomise(self, unsch=0)
def ConfigBuilder.ConfigBuilder.addCustomiseCmdLine (   self)

now for a useful command

Definition at line 892 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.executeAndRemember().

Referenced by ConfigBuilder.ConfigBuilder.prepare().

893  final_snippet='\n# Customisation from command line\n'
def addCustomiseCmdLine(self)
now for a useful command
def ConfigBuilder.ConfigBuilder.addExtraStream (   self,
  name,
  stream,
  workflow = 'full' 
)

Definition at line 1122 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.doNotInlineEventContent(), CMSTestAnalyzer.CMSTestAnalyzer.process(), Filter.Filter.process(), edm::ProductLabels.process, Printer.Printer.process(), HcalHitRelabeller.process(), SimpleTreeAnalyzer.ZJetsTreeAnalyzer.process(), SimpleMuonAnalyzer.SimpleMuonAnalyzer.process(), L1TMuonBarrelKalmanRegionModule.process(), SingleHitTrack.process(), L1TMuonBarrelKalmanSectorProcessor.process(), L1TMuonBarrelKalmanTrackFinder.process(), Histogrammer.Histogrammer.process(), BestTrackSelection.process(), AngleCalculation.process(), EmulateCPPF.process(), SimpleTreeProducer.SimpleTreeProducer.process(), tfwliteselectortest::ThingsWorker.process(), PrimitiveSelection.process(), TTPrimitiveConversion.process(), ZJetsTreeAnalyzer.ZJetsTreeAnalyzer.process(), PrimitiveMatching.process(), clangcms::CatchAll.process(), core.Analyzer.Analyzer.process(), PtAssignment.process(), EcalFenixTcpsFgvbEB.process(), CSCTFDTReceiver.process(), gen.LHEAnalyzer.LHEAnalyzer.process(), PrimitiveConversion.process(), EcalFenixPeakFinder.process(), EcalFenixBypassLin.process(), tfwliteselectortest::ThingsTSelector.process(), MetTreeProducer.MetTreeProducer.process(), PatternRecognition.process(), TrackFinder.process(), CSCTFMonitorInterface.process(), EcalFenixMaxof2.process(), examples::TrackAnalysisAlgorithm.process(), EDFilter<>.process(), CSCMonitorInterface.process(), helper::NullPostProcessor< reco::CandidateCollection, edm::EDFilter >.process(), helper::NullPostProcessor< typename::helper::SelectedOutputCollectionTrait< reco::TrackCollection >::type, EdmFilter >.process(), NullPostProcessor< reco::CandidateCollection >.process(), NullPostProcessor< OutputCollection, edm::EDFilter >.process(), NullPostProcessor< OutputCollection, EdmFilter >.process(), TTULogic.process(), NullPostProcessor< OutputCollection >.process(), EDProducer<>.process(), helper::NullPostProcessor< OutputCollection, EdmFilter >.process(), RBCLogic.process(), TTUWedgeORLogic.process(), PFPileUpAlgo.process(), RBCPatternLogic.process(), TTUSectorORLogic.process(), EcalFenixEtStrip.process(), SimpleJetAnalyzer.SimpleJetAnalyzer.process(), npstat::AbsVisitor< Input, Result >.process(), HcalCableMapper.process(), npstat::AbsVisitor< Input, unsigned long >.process(), __class__Worker.process(), EcalFenixAmplitudeFilter.process(), EcalFenixTcpFormat.process(), npstat::AbsArrayProjector< Input, Result >.process(), EcalFenixStripFormatEE.process(), BTagDifferentialPlot.process(), EcalFenixStripFormatEB.process(), MetAnalyzer.MetAnalyzer.process(), RBCTestLogic.process(), TTUPointingLogic.process(), EcalFenixEtTot.process(), TTUTwoORLogic.process(), gen.LHEWeightAnalyzer.LHEWeightAnalyzer.process(), EcalFenixStripFgvbEE.process(), EcalFenixTcpFgvbEE.process(), RBCChamberORLogic.process(), core.TriggerMatchAnalyzer.TriggerMatchAnalyzer.process(), TTUTrackingAlg.process(), core.TriggerBitFilter.TriggerBitFilter.process(), gen.HiggsDecayModeAnalyzer.HiggsDecayModeAnalyzer.process(), HcalSimpleReconstructor.process(), EcalFenixFgvbEB.process(), L1GctEmLeafCard.process(), L1GctNullJetFinder.process(), edm::ConsumesInfo.process(), SiStripClusterToDigiProducer.process(), EcalFenixLinearizer.process(), L1GctSimpleJetFinder.process(), TriggerAnalyzer.TriggerAnalyzer.process(), edm::InputTag.process(), L1GctHardwareJetFinder.process(), RPCWheel.process(), gen.GenHeavyFlavourAnalyzer.GenHeavyFlavourAnalyzer.process(), TTUConfigurator.process(), L1GctJetFinalStage.process(), L1GctProcessor.process(), DTVdriftWorkflow.DTvdriftWorkflow.process, gen.PDFWeightsAnalyzer.PDFWeightsAnalyzer.process(), L1GctGlobalHfSumAlgos.process(), PFMETBenchmark.process(), npstat::VisitCounter< Input >.process(), L1GctElectronFinalSort.process(), PFJetBenchmark.process(), core.EventSelector.EventSelector.process(), core.ProvenanceAnalyzer.ProvenanceAnalyzer.process(), TrackingRecHitNoSmearingPlugin.process(), PFTauElecRejectionBenchmark.process(), SeedClusterRemoverPhase2.process(), EgammaHLTPixelMatchElectronAlgo.process(), ZMuMuRochCorAnalyzer.ZMuMuRochCorAnalyzer.process(), SectorProcessor.process(), TrackingRecHitStripGSPlugin.process(), L1Comparator.process(), TrackingRecHitAlgorithm.process(), L1GctWheelEnergyFpga.process(), L1GctWheelJetFpga.process(), core.SkimAnalyzerCount.SkimAnalyzerCount.process(), core.JSONAnalyzer.JSONAnalyzer.process(), analyzer.Analyzer.process(), Matcher.Matcher.process(), AlphaTAnalyzer.AlphaTAnalyzer.process(), cscdqm::HWStandbyType.process, RecHitProcessor.process(), L1GctElectronSorter.process(), L1GctGlobalEnergyAlgos.process(), DTTtrigWorkflow.DTttrigWorkflow.process, JetAnalyzer.JetAnalyzer.process(), L1GctTdrJetFinder.process(), DTuROSRawToDigi.process(), TFWLiteSelectorBasic.process(), core.TriggerBitAnalyzer.TriggerBitAnalyzer.process(), DTuROSDigiToRaw.process(), L1GctJetLeafCard.process(), KDTreeLinkerBase.process(), fwlite::internal::DataKey.process(), DTTFFEDReader.process(), L1GlobalCaloTrigger.process(), SeedClusterRemover.process(), ResonanceBuilder.ResonanceBuilder.process(), TFWLiteSelector< __class__Worker >.process(), TFWLiteSelector< TWorker >.process(), TFWLiteSelector< TrackAnalysisAlgorithm >.process(), TFWLiteSelector< ThingsWorker >.process(), EcalFenixTcp.process(), TestOutliers.process, HLTTrackClusterRemoverNew.process(), DiLeptonAnalyzer.DiLeptonAnalyzer.process(), HTTP.RequestManager.process(), PixelTemplateSmearerBase.process(), HITrackClusterRemover.process(), GenLumiInfoProduct::ProcessInfo.process(), objects.VertexAnalyzer.VertexAnalyzer.process(), core.PileUpAnalyzer.PileUpAnalyzer.process(), EcalFenixStrip.process(), lhef::LHERunInfo::Process.process(), objects.JetAnalyzer.JetAnalyzer.process(), CaloTowersCreationAlgo.process(), objects.TauAnalyzer.TauAnalyzer.process(), core.AutoFillTreeProducer.AutoFillTreeProducer.process(), EgammaHLTValidationUtils.EgammaDQMModuleMaker.process, cond::payloadInspector::PlotBase.process(), L1GctJetFinderBase.process(), Config.Process.process, looper.Looper.process(), DTWorkflow.DTWorkflow.process, gen.GeneratorAnalyzer.GeneratorAnalyzer.process(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.process(), edm::ProductResolverIndexHelper::Item.process(), objects.PhotonAnalyzer.PhotonAnalyzer.process(), JsonOutputProducer::JsonConfigurationBlock.process, objects.LeptonAnalyzer.LeptonAnalyzer.process(), and Config.SubProcess.process().

Referenced by ConfigBuilder.ConfigBuilder.prepare_ALCA(), and ConfigBuilder.ConfigBuilder.prepare_SKIM().

1122  def addExtraStream(self,name,stream,workflow='full'):
1123  # define output module and go from there
1124  output = cms.OutputModule("PoolOutputModule")
1125  if stream.selectEvents.parameters_().__len__()!=0:
1126  output.SelectEvents = stream.selectEvents
1127  else:
1128  output.SelectEvents = cms.untracked.PSet()
1129  output.SelectEvents.SelectEvents=cms.vstring()
1130  if isinstance(stream.paths,tuple):
1131  for path in stream.paths:
1132  output.SelectEvents.SelectEvents.append(path.label())
1133  else:
1134  output.SelectEvents.SelectEvents.append(stream.paths.label())
1135 
1136 
1137 
1138  if isinstance(stream.content,str):
1139  evtPset=getattr(self.process,stream.content)
1140  for p in evtPset.parameters_():
1141  setattr(output,p,getattr(evtPset,p))
1142  if not self._options.inlineEventContent:
1143  def doNotInlineEventContent(instance,label = "process."+stream.content+".outputCommands"):
1144  return label
1145  output.outputCommands.__dict__["dumpPython"] = doNotInlineEventContent
1146  else:
1147  output.outputCommands = stream.content
1148 
1149 
1150  output.fileName = cms.untracked.string(self._options.dirout+stream.name+'.root')
1151 
1152  output.dataset = cms.untracked.PSet( dataTier = stream.dataTier,
1153  filterName = cms.untracked.string(stream.name))
1154 
1155  if self._options.filtername:
1156  output.dataset.filterName= cms.untracked.string(self._options.filtername+"_"+stream.name)
1157 
1158  #add an automatic flushing to limit memory consumption
1159  output.eventAutoFlushCompressedSize=cms.untracked.int32(5*1024*1024)
1160 
1161  if workflow in ("producers,full"):
1162  if isinstance(stream.paths,tuple):
1163  for path in stream.paths:
1164  self.schedule.append(path)
1165  else:
1166  self.schedule.append(stream.paths)
1167 
1168 
1169  # in case of relvals we don't want to have additional outputs
1170  if (not self._options.relval) and workflow in ("full","output"):
1171  self.additionalOutputs[name] = output
1172  setattr(self.process,name,output)
1173 
1174  if workflow == 'output':
1175  # adjust the select events to the proper trigger results from previous process
1176  filterList = output.SelectEvents.SelectEvents
1177  for i, filter in enumerate(filterList):
1178  filterList[i] = filter+":"+self._options.triggerResultsProcess
1179 
1180  return output
1181 
def doNotInlineEventContent(instance, label="cms.untracked.vstring(process."+theStreamType+"EventContent.outputCommands)")
event content
def addExtraStream(self, name, stream, workflow='full')
def ConfigBuilder.ConfigBuilder.addMaxEvents (   self)
Here we decide how many evts will be processed

Definition at line 361 of file ConfigBuilder.py.

References createfilelist.int.

Referenced by ConfigBuilder.ConfigBuilder.prepare().

361  def addMaxEvents(self):
362  """Here we decide how many evts will be processed"""
363  self.process.maxEvents=cms.untracked.PSet(input=cms.untracked.int32(int(self._options.number)))
def ConfigBuilder.ConfigBuilder.addOutput (   self)
Add output module to the process 

Definition at line 496 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare().

496  def addOutput(self):
497  """ Add output module to the process """
def ConfigBuilder.ConfigBuilder.addSource (   self)
Here the source is built. Priority: file, generator

Definition at line 368 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare().

368  def addSource(self):
369  """Here the source is built. Priority: file, generator"""
370  self.addedObjects.append(("Input source","source"))
371 
def ConfigBuilder.ConfigBuilder.addStandardSequences (   self)
Add selected standard sequences to the process

Definition at line 678 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare().

679  """
680  Add selected standard sequences to the process
681  """
682  # load the pile up file
def ConfigBuilder.ConfigBuilder.build_production_info (   self,
  evt_type,
  evtnumber 
)
Add useful info for the production. 

Definition at line 2042 of file ConfigBuilder.py.

References harvestTrackValidationPlots.str.

Referenced by ConfigBuilder.ConfigBuilder.prepare().

2042  def build_production_info(self, evt_type, evtnumber):
2043  """ Add useful info for the production. """
2044  self.process.configurationMetadata=cms.untracked.PSet\
2045  (version=cms.untracked.string("$Revision: 1.19 $"),
2046  name=cms.untracked.string("Applications"),
2047  annotation=cms.untracked.string(evt_type+ " nevts:"+str(evtnumber))
2048  )
2049 
2050  self.addedObjects.append(("Production Info","configurationMetadata"))
2051 
2052 
def build_production_info(self, evt_type, evtnumber)
def ConfigBuilder.ConfigBuilder.completeInputCommand (   self)

add the corresponding input content

Definition at line 773 of file ConfigBuilder.py.

References CMSTestAnalyzer.CMSTestAnalyzer.process(), Filter.Filter.process(), edm::ProductLabels.process, Printer.Printer.process(), HcalHitRelabeller.process(), SimpleTreeAnalyzer.ZJetsTreeAnalyzer.process(), SimpleMuonAnalyzer.SimpleMuonAnalyzer.process(), L1TMuonBarrelKalmanRegionModule.process(), SingleHitTrack.process(), L1TMuonBarrelKalmanSectorProcessor.process(), L1TMuonBarrelKalmanTrackFinder.process(), Histogrammer.Histogrammer.process(), BestTrackSelection.process(), AngleCalculation.process(), EmulateCPPF.process(), SimpleTreeProducer.SimpleTreeProducer.process(), tfwliteselectortest::ThingsWorker.process(), PrimitiveSelection.process(), TTPrimitiveConversion.process(), ZJetsTreeAnalyzer.ZJetsTreeAnalyzer.process(), PrimitiveMatching.process(), clangcms::CatchAll.process(), core.Analyzer.Analyzer.process(), PtAssignment.process(), EcalFenixTcpsFgvbEB.process(), CSCTFDTReceiver.process(), gen.LHEAnalyzer.LHEAnalyzer.process(), PrimitiveConversion.process(), EcalFenixPeakFinder.process(), EcalFenixBypassLin.process(), tfwliteselectortest::ThingsTSelector.process(), MetTreeProducer.MetTreeProducer.process(), PatternRecognition.process(), TrackFinder.process(), CSCTFMonitorInterface.process(), EcalFenixMaxof2.process(), examples::TrackAnalysisAlgorithm.process(), EDFilter<>.process(), CSCMonitorInterface.process(), helper::NullPostProcessor< reco::CandidateCollection, edm::EDFilter >.process(), helper::NullPostProcessor< typename::helper::SelectedOutputCollectionTrait< reco::TrackCollection >::type, EdmFilter >.process(), NullPostProcessor< reco::CandidateCollection >.process(), NullPostProcessor< OutputCollection, edm::EDFilter >.process(), TTULogic.process(), EDProducer<>.process(), NullPostProcessor< OutputCollection >.process(), NullPostProcessor< OutputCollection, EdmFilter >.process(), helper::NullPostProcessor< OutputCollection, EdmFilter >.process(), RBCLogic.process(), TTUWedgeORLogic.process(), PFPileUpAlgo.process(), RBCPatternLogic.process(), TTUSectorORLogic.process(), EcalFenixEtStrip.process(), SimpleJetAnalyzer.SimpleJetAnalyzer.process(), npstat::AbsVisitor< Input, Result >.process(), HcalCableMapper.process(), npstat::AbsVisitor< Input, unsigned long >.process(), __class__Worker.process(), EcalFenixAmplitudeFilter.process(), EcalFenixTcpFormat.process(), npstat::AbsArrayProjector< Input, Result >.process(), EcalFenixStripFormatEE.process(), BTagDifferentialPlot.process(), EcalFenixStripFormatEB.process(), MetAnalyzer.MetAnalyzer.process(), RBCTestLogic.process(), TTUPointingLogic.process(), EcalFenixEtTot.process(), TTUTwoORLogic.process(), gen.LHEWeightAnalyzer.LHEWeightAnalyzer.process(), EcalFenixStripFgvbEE.process(), EcalFenixTcpFgvbEE.process(), RBCChamberORLogic.process(), core.TriggerMatchAnalyzer.TriggerMatchAnalyzer.process(), TTUTrackingAlg.process(), core.TriggerBitFilter.TriggerBitFilter.process(), gen.HiggsDecayModeAnalyzer.HiggsDecayModeAnalyzer.process(), HcalSimpleReconstructor.process(), EcalFenixFgvbEB.process(), L1GctEmLeafCard.process(), L1GctNullJetFinder.process(), edm::ConsumesInfo.process(), SiStripClusterToDigiProducer.process(), EcalFenixLinearizer.process(), L1GctSimpleJetFinder.process(), TriggerAnalyzer.TriggerAnalyzer.process(), edm::InputTag.process(), L1GctHardwareJetFinder.process(), RPCWheel.process(), gen.GenHeavyFlavourAnalyzer.GenHeavyFlavourAnalyzer.process(), TTUConfigurator.process(), L1GctJetFinalStage.process(), L1GctProcessor.process(), DTVdriftWorkflow.DTvdriftWorkflow.process, gen.PDFWeightsAnalyzer.PDFWeightsAnalyzer.process(), L1GctGlobalHfSumAlgos.process(), PFMETBenchmark.process(), npstat::VisitCounter< Input >.process(), L1GctElectronFinalSort.process(), PFJetBenchmark.process(), core.EventSelector.EventSelector.process(), core.ProvenanceAnalyzer.ProvenanceAnalyzer.process(), TrackingRecHitNoSmearingPlugin.process(), PFTauElecRejectionBenchmark.process(), SeedClusterRemoverPhase2.process(), EgammaHLTPixelMatchElectronAlgo.process(), ZMuMuRochCorAnalyzer.ZMuMuRochCorAnalyzer.process(), SectorProcessor.process(), TrackingRecHitStripGSPlugin.process(), L1Comparator.process(), TrackingRecHitAlgorithm.process(), L1GctWheelEnergyFpga.process(), L1GctWheelJetFpga.process(), core.SkimAnalyzerCount.SkimAnalyzerCount.process(), core.JSONAnalyzer.JSONAnalyzer.process(), analyzer.Analyzer.process(), Matcher.Matcher.process(), AlphaTAnalyzer.AlphaTAnalyzer.process(), cscdqm::HWStandbyType.process, RecHitProcessor.process(), L1GctElectronSorter.process(), L1GctGlobalEnergyAlgos.process(), DTTtrigWorkflow.DTttrigWorkflow.process, JetAnalyzer.JetAnalyzer.process(), L1GctTdrJetFinder.process(), DTuROSRawToDigi.process(), TFWLiteSelectorBasic.process(), core.TriggerBitAnalyzer.TriggerBitAnalyzer.process(), DTuROSDigiToRaw.process(), L1GctJetLeafCard.process(), KDTreeLinkerBase.process(), fwlite::internal::DataKey.process(), DTTFFEDReader.process(), L1GlobalCaloTrigger.process(), SeedClusterRemover.process(), ResonanceBuilder.ResonanceBuilder.process(), TFWLiteSelector< __class__Worker >.process(), TFWLiteSelector< TWorker >.process(), TFWLiteSelector< TrackAnalysisAlgorithm >.process(), TFWLiteSelector< ThingsWorker >.process(), EcalFenixTcp.process(), TestOutliers.process, HLTTrackClusterRemoverNew.process(), DiLeptonAnalyzer.DiLeptonAnalyzer.process(), HTTP.RequestManager.process(), PixelTemplateSmearerBase.process(), HITrackClusterRemover.process(), GenLumiInfoProduct::ProcessInfo.process(), objects.VertexAnalyzer.VertexAnalyzer.process(), core.PileUpAnalyzer.PileUpAnalyzer.process(), EcalFenixStrip.process(), lhef::LHERunInfo::Process.process(), objects.JetAnalyzer.JetAnalyzer.process(), CaloTowersCreationAlgo.process(), objects.TauAnalyzer.TauAnalyzer.process(), core.AutoFillTreeProducer.AutoFillTreeProducer.process(), EgammaHLTValidationUtils.EgammaDQMModuleMaker.process, cond::payloadInspector::PlotBase.process(), L1GctJetFinderBase.process(), Config.Process.process, looper.Looper.process(), DTWorkflow.DTWorkflow.process, gen.GeneratorAnalyzer.GeneratorAnalyzer.process(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.process(), edm::ProductResolverIndexHelper::Item.process(), objects.PhotonAnalyzer.PhotonAnalyzer.process(), JsonOutputProducer::JsonConfigurationBlock.process, objects.LeptonAnalyzer.LeptonAnalyzer.process(), and Config.SubProcess.process().

Referenced by ConfigBuilder.ConfigBuilder.prepare().

774  if self._options.inputEventContent:
775  import copy
776  def dropSecondDropStar(iec):
777  #drop occurence of 'drop *' in the list
778  count=0
779  for item in iec:
780  if item=='drop *':
781  if count!=0:
782  iec.remove(item)
783  count+=1
784 
785 
786  ## allow comma separated input eventcontent
787  if not hasattr(self.process.source,'inputCommands'): self.process.source.inputCommands=cms.untracked.vstring()
788  for evct in self._options.inputEventContent.split(','):
789  if evct=='': continue
790  theEventContent = getattr(self.process, evct+"EventContent")
791  if hasattr(theEventContent,'outputCommands'):
792  self.process.source.inputCommands.extend(copy.copy(theEventContent.outputCommands))
793  if hasattr(theEventContent,'inputCommands'):
794  self.process.source.inputCommands.extend(copy.copy(theEventContent.inputCommands))
795 
796  dropSecondDropStar(self.process.source.inputCommands)
797 
798  if not self._options.dropDescendant:
799  self.process.source.dropDescendantsOfDroppedBranches = cms.untracked.bool(False)
800 
801 
802  return
803 
def completeInputCommand(self)
add the corresponding input content
def ConfigBuilder.ConfigBuilder.create_process (   self)

Definition at line 2053 of file ConfigBuilder.py.

2053  def create_process(self):
2054  self.pythonCfgCode = "# Auto generated configuration file\n"
2055  self.pythonCfgCode += "# using: \n# "+__version__[1:-1]+"\n# "+__source__[1:-1]+'\n'
2056  self.pythonCfgCode += "# with command line options: "+self._options.arguments+'\n'
2057  self.pythonCfgCode += "import FWCore.ParameterSet.Config as cms\n\n"
2058 
def ConfigBuilder.ConfigBuilder.define_Configs (   self)

Definition at line 907 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.loadAndRemember().

907  def define_Configs(self):
908  if len(self.stepMap):
909  self.loadAndRemember('Configuration/StandardSequences/Services_cff')
910  if self._options.particleTable not in defaultOptions.particleTableList:
911  print 'Invalid particle table provided. Options are:'
912  print defaultOptions.particleTable
913  sys.exit(-1)
914  else:
915  if len(self.stepMap):
916  self.loadAndRemember('SimGeneral.HepPDTESSource.'+self._options.particleTable+'_cfi')
917 
918  self.loadAndRemember('FWCore/MessageService/MessageLogger_cfi')
919 
920  self.ALCADefaultCFF="Configuration/StandardSequences/AlCaRecoStreams_cff"
921  self.GENDefaultCFF="Configuration/StandardSequences/Generator_cff"
922  self.SIMDefaultCFF="Configuration/StandardSequences/Sim_cff"
923  self.DIGIDefaultCFF="Configuration/StandardSequences/Digi_cff"
924  self.DIGI2RAWDefaultCFF="Configuration/StandardSequences/DigiToRaw_cff"
925  self.L1EMDefaultCFF='Configuration/StandardSequences/SimL1Emulator_cff'
926  self.L1MENUDefaultCFF="Configuration/StandardSequences/L1TriggerDefaultMenu_cff"
927  self.HLTDefaultCFF="Configuration/StandardSequences/HLTtable_cff"
928  self.RAW2DIGIDefaultCFF="Configuration/StandardSequences/RawToDigi_Data_cff"
929  self.L1RecoDefaultCFF="Configuration/StandardSequences/L1Reco_cff"
930  self.L1TrackTriggerDefaultCFF="Configuration/StandardSequences/L1TrackTrigger_cff"
931  self.RECODefaultCFF="Configuration/StandardSequences/Reconstruction_Data_cff"
932  self.RECOSIMDefaultCFF="Configuration/StandardSequences/RecoSim_cff"
933  self.PATDefaultCFF="Configuration/StandardSequences/PAT_cff"
934  self.NANODefaultCFF="PhysicsTools/NanoAOD/nano_cff"
def loadAndRemember(self, includeFile)
def ConfigBuilder.ConfigBuilder.doNotInlineEventContent (   instance,
  label = "cms.untracked.vstring(process."+theStreamType+"EventContent.outputCommands)" 
)

event content

Definition at line 588 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.executeAndRemember(), miniAOD_tools.miniAOD_customizeOutput(), CMSTestAnalyzer.CMSTestAnalyzer.process(), Filter.Filter.process(), edm::ProductLabels.process, Printer.Printer.process(), HcalHitRelabeller.process(), SimpleTreeAnalyzer.ZJetsTreeAnalyzer.process(), SimpleMuonAnalyzer.SimpleMuonAnalyzer.process(), L1TMuonBarrelKalmanRegionModule.process(), SingleHitTrack.process(), L1TMuonBarrelKalmanSectorProcessor.process(), L1TMuonBarrelKalmanTrackFinder.process(), Histogrammer.Histogrammer.process(), BestTrackSelection.process(), AngleCalculation.process(), EmulateCPPF.process(), SimpleTreeProducer.SimpleTreeProducer.process(), tfwliteselectortest::ThingsWorker.process(), PrimitiveSelection.process(), TTPrimitiveConversion.process(), ZJetsTreeAnalyzer.ZJetsTreeAnalyzer.process(), PrimitiveMatching.process(), clangcms::CatchAll.process(), core.Analyzer.Analyzer.process(), PtAssignment.process(), EcalFenixTcpsFgvbEB.process(), CSCTFDTReceiver.process(), gen.LHEAnalyzer.LHEAnalyzer.process(), PrimitiveConversion.process(), EcalFenixPeakFinder.process(), EcalFenixBypassLin.process(), tfwliteselectortest::ThingsTSelector.process(), MetTreeProducer.MetTreeProducer.process(), PatternRecognition.process(), TrackFinder.process(), CSCTFMonitorInterface.process(), EcalFenixMaxof2.process(), examples::TrackAnalysisAlgorithm.process(), CSCMonitorInterface.process(), helper::NullPostProcessor< reco::CandidateCollection, edm::EDFilter >.process(), helper::NullPostProcessor< typename::helper::SelectedOutputCollectionTrait< reco::TrackCollection >::type, EdmFilter >.process(), NullPostProcessor< reco::CandidateCollection >.process(), NullPostProcessor< OutputCollection, edm::EDFilter >.process(), TTULogic.process(), NullPostProcessor< OutputCollection >.process(), EDProducer<>.process(), EDFilter<>.process(), NullPostProcessor< OutputCollection, EdmFilter >.process(), helper::NullPostProcessor< OutputCollection, EdmFilter >.process(), TTUWedgeORLogic.process(), RBCLogic.process(), PFPileUpAlgo.process(), RBCPatternLogic.process(), TTUSectorORLogic.process(), SimpleJetAnalyzer.SimpleJetAnalyzer.process(), EcalFenixEtStrip.process(), npstat::AbsVisitor< Input, unsigned long >.process(), npstat::AbsVisitor< Input, Result >.process(), HcalCableMapper.process(), __class__Worker.process(), EcalFenixStripFormatEE.process(), EcalFenixAmplitudeFilter.process(), EcalFenixTcpFormat.process(), npstat::AbsArrayProjector< Input, Result >.process(), BTagDifferentialPlot.process(), RBCTestLogic.process(), EcalFenixStripFormatEB.process(), MetAnalyzer.MetAnalyzer.process(), TTUPointingLogic.process(), EcalFenixEtTot.process(), TTUTwoORLogic.process(), EcalFenixStripFgvbEE.process(), gen.LHEWeightAnalyzer.LHEWeightAnalyzer.process(), RBCChamberORLogic.process(), EcalFenixTcpFgvbEE.process(), TTUTrackingAlg.process(), core.TriggerMatchAnalyzer.TriggerMatchAnalyzer.process(), core.TriggerBitFilter.TriggerBitFilter.process(), gen.HiggsDecayModeAnalyzer.HiggsDecayModeAnalyzer.process(), HcalSimpleReconstructor.process(), EcalFenixFgvbEB.process(), L1GctEmLeafCard.process(), L1GctNullJetFinder.process(), edm::ConsumesInfo.process(), SiStripClusterToDigiProducer.process(), EcalFenixLinearizer.process(), L1GctSimpleJetFinder.process(), TriggerAnalyzer.TriggerAnalyzer.process(), edm::InputTag.process(), L1GctHardwareJetFinder.process(), RPCWheel.process(), gen.GenHeavyFlavourAnalyzer.GenHeavyFlavourAnalyzer.process(), TTUConfigurator.process(), L1GctProcessor.process(), L1GctJetFinalStage.process(), DTVdriftWorkflow.DTvdriftWorkflow.process, gen.PDFWeightsAnalyzer.PDFWeightsAnalyzer.process(), L1GctGlobalHfSumAlgos.process(), PFMETBenchmark.process(), npstat::VisitCounter< Input >.process(), L1GctElectronFinalSort.process(), PFJetBenchmark.process(), core.EventSelector.EventSelector.process(), core.ProvenanceAnalyzer.ProvenanceAnalyzer.process(), TrackingRecHitNoSmearingPlugin.process(), PFTauElecRejectionBenchmark.process(), EgammaHLTPixelMatchElectronAlgo.process(), SeedClusterRemoverPhase2.process(), ZMuMuRochCorAnalyzer.ZMuMuRochCorAnalyzer.process(), SectorProcessor.process(), L1Comparator.process(), TrackingRecHitStripGSPlugin.process(), TrackingRecHitAlgorithm.process(), L1GctWheelEnergyFpga.process(), L1GctWheelJetFpga.process(), core.JSONAnalyzer.JSONAnalyzer.process(), core.SkimAnalyzerCount.SkimAnalyzerCount.process(), analyzer.Analyzer.process(), AlphaTAnalyzer.AlphaTAnalyzer.process(), Matcher.Matcher.process(), cscdqm::HWStandbyType.process, RecHitProcessor.process(), L1GctGlobalEnergyAlgos.process(), L1GctElectronSorter.process(), DTTtrigWorkflow.DTttrigWorkflow.process, JetAnalyzer.JetAnalyzer.process(), L1GctTdrJetFinder.process(), DTuROSRawToDigi.process(), DTuROSDigiToRaw.process(), core.TriggerBitAnalyzer.TriggerBitAnalyzer.process(), TFWLiteSelectorBasic.process(), KDTreeLinkerBase.process(), L1GctJetLeafCard.process(), DTTFFEDReader.process(), fwlite::internal::DataKey.process(), L1GlobalCaloTrigger.process(), SeedClusterRemover.process(), ResonanceBuilder.ResonanceBuilder.process(), TFWLiteSelector< ThingsWorker >.process(), TFWLiteSelector< TWorker >.process(), TFWLiteSelector< TrackAnalysisAlgorithm >.process(), TFWLiteSelector< __class__Worker >.process(), EcalFenixTcp.process(), HLTTrackClusterRemoverNew.process(), TestOutliers.process, DiLeptonAnalyzer.DiLeptonAnalyzer.process(), HTTP.RequestManager.process(), HITrackClusterRemover.process(), PixelTemplateSmearerBase.process(), GenLumiInfoProduct::ProcessInfo.process(), objects.VertexAnalyzer.VertexAnalyzer.process(), core.PileUpAnalyzer.PileUpAnalyzer.process(), EcalFenixStrip.process(), lhef::LHERunInfo::Process.process(), objects.JetAnalyzer.JetAnalyzer.process(), CaloTowersCreationAlgo.process(), objects.TauAnalyzer.TauAnalyzer.process(), core.AutoFillTreeProducer.AutoFillTreeProducer.process(), EgammaHLTValidationUtils.EgammaDQMModuleMaker.process, cond::payloadInspector::PlotBase.process(), L1GctJetFinderBase.process(), Config.Process.process, looper.Looper.process(), DTWorkflow.DTWorkflow.process, gen.GeneratorAnalyzer.GeneratorAnalyzer.process(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.process(), edm::ProductResolverIndexHelper::Item.process(), objects.PhotonAnalyzer.PhotonAnalyzer.process(), JsonOutputProducer::JsonConfigurationBlock.process, objects.LeptonAnalyzer.LeptonAnalyzer.process(), Config.SubProcess.process(), split, and ComparisonHelper.zip().

Referenced by ConfigBuilder.ConfigBuilder.addExtraStream(), and ConfigBuilder.ConfigBuilder.doNotInlineEventContent().

588  def doNotInlineEventContent(instance,label = "cms.untracked.vstring(process."+theStreamType+"EventContent.outputCommands)"):
589  return label
def doNotInlineEventContent(instance, label="cms.untracked.vstring(process."+theStreamType+"EventContent.outputCommands)")
event content
def ConfigBuilder.ConfigBuilder.doNotInlineEventContent (   instance,
  label = "process."+tmpstreamType+"EventContent.outputCommands" 
)

Definition at line 670 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.doNotInlineEventContent().

670  def doNotInlineEventContent(instance,label = "process."+tmpstreamType+"EventContent.outputCommands"):
671  return label
672  outputModule.outputCommands.__dict__["dumpPython"] = doNotInlineEventContent
673 
674  result+="\nprocess."+outputModuleName+" = "+outputModule.dumpPython()
675 
def doNotInlineEventContent(instance, label="cms.untracked.vstring(process."+theStreamType+"EventContent.outputCommands)")
event content
def ConfigBuilder.ConfigBuilder.executeAndRemember (   self,
  command 
)
helper routine to remember replace statements

Definition at line 323 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.addCustomiseCmdLine(), ConfigBuilder.ConfigBuilder.doNotInlineEventContent(), ConfigBuilder.ConfigBuilder.prepare_ALCA(), ConfigBuilder.ConfigBuilder.prepare_ALCAHARVEST(), ConfigBuilder.ConfigBuilder.prepare_DATAMIX(), ConfigBuilder.ConfigBuilder.prepare_DIGI(), ConfigBuilder.ConfigBuilder.prepare_HLT(), and ConfigBuilder.ConfigBuilder.prepare_VALIDATION().

323  def executeAndRemember(self, command):
324  """helper routine to remember replace statements"""
325  self.additionalCommands.append(command)
326  if not command.strip().startswith("#"):
327  # substitute: process.foo = process.bar -> self.process.foo = self.process.bar
328  import re
329  exec(re.sub(r"([^a-zA-Z_0-9]|^)(process)([^a-zA-Z_0-9])",r"\1self.process\3",command))
330  #exec(command.replace("process.","self.process."))
331 
def executeAndRemember(self, command)
def ConfigBuilder.ConfigBuilder.expandMapping (   self,
  seqList,
  mapping,
  index = None 
)

Definition at line 1905 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare_ALCA(), ConfigBuilder.ConfigBuilder.prepare_ALCAHARVEST(), ConfigBuilder.ConfigBuilder.prepare_DQM(), ConfigBuilder.ConfigBuilder.prepare_SKIM(), and ConfigBuilder.ConfigBuilder.prepare_VALIDATION().

1905  def expandMapping(self,seqList,mapping,index=None):
1906  maxLevel=20
1907  level=0
1908  while '@' in repr(seqList) and level<maxLevel:
1909  level+=1
1910  for specifiedCommand in seqList:
1911  if specifiedCommand.startswith('@'):
1912  location=specifiedCommand[1:]
1913  if not location in mapping:
1914  raise Exception("Impossible to map "+location+" from "+repr(mapping))
1915  mappedTo=mapping[location]
1916  if index!=None:
1917  mappedTo=mappedTo[index]
1918  seqList.remove(specifiedCommand)
1919  seqList.extend(mappedTo.split('+'))
1920  break;
1921  if level==maxLevel:
1922  raise Exception("Could not fully expand "+repr(seqList)+" from "+repr(mapping))
1923 
def expandMapping(self, seqList, mapping, index=None)
def ConfigBuilder.ConfigBuilder.filesFromOption (   self)

Definition at line 372 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder._options, ConfigBuilder.filesFromDASQuery(), ConfigBuilder.filesFromList(), createfilelist.int, split, and ThrowAndSetRandomRun.throwAndSetRandomRun().

372  def filesFromOption(self):
373  for entry in self._options.filein.split(','):
374  print "entry",entry
375  if entry.startswith("filelist:"):
376  filesFromList(entry[9:],self.process.source)
377  elif entry.startswith("dbs:") or entry.startswith("das:"):
378  filesFromDASQuery('file dataset = %s'%(entry[4:]),self._options.dasoption,self.process.source)
379  else:
380  self.process.source.fileNames.append(self._options.dirin+entry)
381  if self._options.secondfilein:
382  if not hasattr(self.process.source,"secondaryFileNames"):
383  raise Exception("--secondfilein not compatible with "+self._options.filetype+"input type")
384  for entry in self._options.secondfilein.split(','):
385  print "entry",entry
386  if entry.startswith("filelist:"):
387  self.process.source.secondaryFileNames.extend((filesFromList(entry[9:]))[0])
388  elif entry.startswith("dbs:") or entry.startswith("das:"):
389  self.process.source.secondaryFileNames.extend((filesFromDASQuery('file dataset = %s'%(entry[4:]),self._options.dasoption))[0])
390  else:
391  self.process.source.secondaryFileNames.append(self._options.dirin+entry)
392 
393  if self._options.filein or self._options.dasquery:
394  if self._options.filetype == "EDM":
395  self.process.source=cms.Source("PoolSource",
396  fileNames = cms.untracked.vstring(),
397  secondaryFileNames= cms.untracked.vstring())
398  filesFromOption(self)
399  elif self._options.filetype == "DAT":
400  self.process.source=cms.Source("NewEventStreamFileReader",fileNames = cms.untracked.vstring())
401  filesFromOption(self)
402  elif self._options.filetype == "LHE":
403  self.process.source=cms.Source("LHESource", fileNames = cms.untracked.vstring())
404  if self._options.filein.startswith("lhe:"):
405  #list the article directory automatically
406  args=self._options.filein.split(':')
407  article=args[1]
408  print 'LHE input from article ',article
409  location='/store/lhe/'
410  import os
411  textOfFiles=os.popen('cmsLHEtoEOSManager.py -l '+article)
412  for line in textOfFiles:
413  for fileName in [x for x in line.split() if '.lhe' in x]:
414  self.process.source.fileNames.append(location+article+'/'+fileName)
415  #check first if list of LHE files is loaded (not empty)
416  if len(line)<2:
417  print 'Issue to load LHE files, please check and try again.'
418  sys.exit(-1)
419  #Additional check to protect empty fileNames in process.source
420  if len(self.process.source.fileNames)==0:
421  print 'Issue with empty filename, but can pass line check'
422  sys.exit(-1)
423  if len(args)>2:
424  self.process.source.skipEvents = cms.untracked.uint32(int(args[2]))
425  else:
426  filesFromOption(self)
427 
428  elif self._options.filetype == "DQM":
429  self.process.source=cms.Source("DQMRootSource",
430  fileNames = cms.untracked.vstring())
431  filesFromOption(self)
432 
433  elif self._options.filetype == "DQMDAQ":
434  # FIXME: how to configure it if there are no input files specified?
435  self.process.source=cms.Source("DQMStreamerReader")
436 
437 
438  if ('HARVESTING' in self.stepMap.keys() or 'ALCAHARVEST' in self.stepMap.keys()) and (not self._options.filetype == "DQM"):
439  self.process.source.processingMode = cms.untracked.string("RunsAndLumis")
440 
def filesFromDASQuery(query, option="", s=None)
def filesFromList(fileName, s=None)
def ConfigBuilder.ConfigBuilder.finalizeFastSimHLT (   self)

Definition at line 2037 of file ConfigBuilder.py.

2038  self.process.reconstruction = cms.Path(self.process.reconstructionWithFamos)
2039  self.schedule.append(self.process.reconstruction)
2040 
2041 
def ConfigBuilder.ConfigBuilder.inGeometryKeys (   opt)

Definition at line 1062 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.RECODefaultCFF, ConfigBuilder.ConfigBuilder.SIMDefaultCFF, and split.

1062  def inGeometryKeys(opt):
1063  from Configuration.StandardSequences.GeometryConf import GeometryConf
1064  if opt in GeometryConf:
1065  return GeometryConf[opt]
1066  else:
1067  return opt
1068 
def ConfigBuilder.ConfigBuilder.load (   self,
  includeFile 
)

Definition at line 309 of file ConfigBuilder.py.

Referenced by MatrixToProcess.MatrixToProcess.getProcess(), and MatrixToProcess.MatrixToProcess.listAll().

309  def load(self,includeFile):
310  includeFile = includeFile.replace('/','.')
311  self.process.load(includeFile)
312  return sys.modules[includeFile]
313 
def load(self, includeFile)
def ConfigBuilder.ConfigBuilder.loadAndRemember (   self,
  includeFile 
)
helper routine to load am memorize imports

Definition at line 314 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.define_Configs(), ConfigBuilder.ConfigBuilder.loadDefaultOrSpecifiedCFF(), ConfigBuilder.ConfigBuilder.prepare(), ConfigBuilder.ConfigBuilder.prepare_ALCAHARVEST(), ConfigBuilder.ConfigBuilder.prepare_CFWRITER(), ConfigBuilder.ConfigBuilder.prepare_DATAMIX(), ConfigBuilder.ConfigBuilder.prepare_DIGI(), ConfigBuilder.ConfigBuilder.prepare_HLT(), ConfigBuilder.ConfigBuilder.prepare_L1(), ConfigBuilder.ConfigBuilder.prepare_PATFILTER(), and ConfigBuilder.ConfigBuilder.prepare_POSTRECO().

314  def loadAndRemember(self, includeFile):
315  """helper routine to load am memorize imports"""
316  # we could make the imports a on-the-fly data method of the process instance itself
317  # not sure if the latter is a good idea
318  includeFile = includeFile.replace('/','.')
319  self.imports.append(includeFile)
320  self.process.load(includeFile)
321  return sys.modules[includeFile]
322 
def loadAndRemember(self, includeFile)
def ConfigBuilder.ConfigBuilder.loadDefaultOrSpecifiedCFF (   self,
  sequence,
  defaultCFF 
)

Definition at line 1187 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.loadAndRemember().

Referenced by ConfigBuilder.ConfigBuilder.prepare_ALCA(), ConfigBuilder.ConfigBuilder.prepare_DIGI(), ConfigBuilder.ConfigBuilder.prepare_DIGI2RAW(), ConfigBuilder.ConfigBuilder.prepare_DQM(), ConfigBuilder.ConfigBuilder.prepare_ENDJOB(), ConfigBuilder.ConfigBuilder.prepare_L1HwVal(), ConfigBuilder.ConfigBuilder.prepare_L1Reco(), ConfigBuilder.ConfigBuilder.prepare_L1TrackTrigger(), ConfigBuilder.ConfigBuilder.prepare_NANO(), ConfigBuilder.ConfigBuilder.prepare_PAT(), ConfigBuilder.ConfigBuilder.prepare_PATGEN(), ConfigBuilder.ConfigBuilder.prepare_RAW2DIGI(), ConfigBuilder.ConfigBuilder.prepare_RECO(), ConfigBuilder.ConfigBuilder.prepare_RECOBEFMIX(), ConfigBuilder.ConfigBuilder.prepare_RECOSIM(), ConfigBuilder.ConfigBuilder.prepare_REPACK(), ConfigBuilder.ConfigBuilder.prepare_SKIM(), ConfigBuilder.ConfigBuilder.prepare_USER(), and ConfigBuilder.ConfigBuilder.prepare_VALIDATION().

1187  def loadDefaultOrSpecifiedCFF(self, sequence,defaultCFF):
1188  if ( len(sequence.split('.'))==1 ):
1189  l=self.loadAndRemember(defaultCFF)
1190  elif ( len(sequence.split('.'))==2 ):
1191  l=self.loadAndRemember(sequence.split('.')[0])
1192  sequence=sequence.split('.')[1]
1193  else:
1194  print "sub sequence configuration must be of the form dir/subdir/cff.a+b+c or cff.a"
1195  print sequence,"not recognized"
1196  raise
1197  return l
1198 
def loadDefaultOrSpecifiedCFF(self, sequence, defaultCFF)
def loadAndRemember(self, includeFile)
def ConfigBuilder.ConfigBuilder.prepare (   self,
  doChecking = False 
)
Prepare the configuration string and add missing pieces.

Definition at line 2099 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.addCommon(), ConfigBuilder.ConfigBuilder.addConditions(), ConfigBuilder.ConfigBuilder.addCustomise(), ConfigBuilder.ConfigBuilder.addCustomiseCmdLine(), ConfigBuilder.ConfigBuilder.addMaxEvents(), ConfigBuilder.ConfigBuilder.addOutput(), ConfigBuilder.ConfigBuilder.addSource(), ConfigBuilder.ConfigBuilder.addStandardSequences(), helpers.associatePatAlgosToolsTask(), ConfigBuilder.ConfigBuilder.build_production_info(), ConfigBuilder.ConfigBuilder.completeInputCommand(), Utilities.convertToUnscheduled(), earlyDeleteSettings_cff.customiseEarlyDelete(), logErrorHarvester_cff.customiseLogErrorHarvesterUsingOutputCommands(), ConfigBuilder.dumpPython(), mps_monitormerge.items, join(), ConfigBuilder.ConfigBuilder.loadAndRemember(), CMSTestAnalyzer.CMSTestAnalyzer.process(), Filter.Filter.process(), edm::ProductLabels.process, Printer.Printer.process(), HcalHitRelabeller.process(), SimpleMuonAnalyzer.SimpleMuonAnalyzer.process(), SimpleTreeAnalyzer.ZJetsTreeAnalyzer.process(), L1TMuonBarrelKalmanRegionModule.process(), Histogrammer.Histogrammer.process(), L1TMuonBarrelKalmanSectorProcessor.process(), L1TMuonBarrelKalmanTrackFinder.process(), SingleHitTrack.process(), SimpleTreeProducer.SimpleTreeProducer.process(), EmulateCPPF.process(), AngleCalculation.process(), BestTrackSelection.process(), PrimitiveSelection.process(), tfwliteselectortest::ThingsWorker.process(), TTPrimitiveConversion.process(), ZJetsTreeAnalyzer.ZJetsTreeAnalyzer.process(), PrimitiveMatching.process(), clangcms::CatchAll.process(), core.Analyzer.Analyzer.process(), PtAssignment.process(), EcalFenixTcpsFgvbEB.process(), CSCTFDTReceiver.process(), gen.LHEAnalyzer.LHEAnalyzer.process(), PrimitiveConversion.process(), EcalFenixPeakFinder.process(), EcalFenixBypassLin.process(), tfwliteselectortest::ThingsTSelector.process(), MetTreeProducer.MetTreeProducer.process(), PatternRecognition.process(), TrackFinder.process(), EcalFenixMaxof2.process(), CSCTFMonitorInterface.process(), NullPostProcessor< OutputCollection, edm::EDFilter >.process(), examples::TrackAnalysisAlgorithm.process(), helper::NullPostProcessor< reco::CandidateCollection, edm::EDFilter >.process(), helper::NullPostProcessor< typename::helper::SelectedOutputCollectionTrait< reco::TrackCollection >::type, EdmFilter >.process(), helper::NullPostProcessor< OutputCollection, EdmFilter >.process(), NullPostProcessor< reco::CandidateCollection >.process(), EDFilter<>.process(), EDProducer<>.process(), NullPostProcessor< OutputCollection >.process(), NullPostProcessor< OutputCollection, EdmFilter >.process(), TTULogic.process(), CSCMonitorInterface.process(), TTUWedgeORLogic.process(), RBCLogic.process(), TTUSectorORLogic.process(), EcalFenixEtStrip.process(), PFPileUpAlgo.process(), RBCPatternLogic.process(), SimpleJetAnalyzer.SimpleJetAnalyzer.process(), npstat::AbsVisitor< Input, unsigned long >.process(), HcalCableMapper.process(), __class__Worker.process(), npstat::AbsVisitor< Input, Result >.process(), EcalFenixAmplitudeFilter.process(), EcalFenixStripFormatEE.process(), EcalFenixTcpFormat.process(), npstat::AbsArrayProjector< Input, Result >.process(), BTagDifferentialPlot.process(), RBCTestLogic.process(), EcalFenixStripFormatEB.process(), TTUPointingLogic.process(), MetAnalyzer.MetAnalyzer.process(), EcalFenixEtTot.process(), TTUTwoORLogic.process(), EcalFenixStripFgvbEE.process(), gen.LHEWeightAnalyzer.LHEWeightAnalyzer.process(), EcalFenixTcpFgvbEE.process(), core.TriggerMatchAnalyzer.TriggerMatchAnalyzer.process(), TTUTrackingAlg.process(), RBCChamberORLogic.process(), core.TriggerBitFilter.TriggerBitFilter.process(), gen.HiggsDecayModeAnalyzer.HiggsDecayModeAnalyzer.process(), HcalSimpleReconstructor.process(), EcalFenixFgvbEB.process(), edm::ConsumesInfo.process(), L1GctEmLeafCard.process(), L1GctNullJetFinder.process(), SiStripClusterToDigiProducer.process(), EcalFenixLinearizer.process(), TriggerAnalyzer.TriggerAnalyzer.process(), L1GctSimpleJetFinder.process(), L1GctHardwareJetFinder.process(), edm::InputTag.process(), RPCWheel.process(), gen.GenHeavyFlavourAnalyzer.GenHeavyFlavourAnalyzer.process(), L1GctProcessor.process(), TTUConfigurator.process(), L1GctJetFinalStage.process(), gen.PDFWeightsAnalyzer.PDFWeightsAnalyzer.process(), DTVdriftWorkflow.DTvdriftWorkflow.process, L1GctGlobalHfSumAlgos.process(), PFMETBenchmark.process(), npstat::VisitCounter< Input >.process(), L1GctElectronFinalSort.process(), TrackingRecHitNoSmearingPlugin.process(), PFJetBenchmark.process(), core.EventSelector.EventSelector.process(), core.ProvenanceAnalyzer.ProvenanceAnalyzer.process(), PFTauElecRejectionBenchmark.process(), EgammaHLTPixelMatchElectronAlgo.process(), SeedClusterRemoverPhase2.process(), ZMuMuRochCorAnalyzer.ZMuMuRochCorAnalyzer.process(), SectorProcessor.process(), L1Comparator.process(), TrackingRecHitStripGSPlugin.process(), L1GctWheelEnergyFpga.process(), TrackingRecHitAlgorithm.process(), L1GctWheelJetFpga.process(), core.JSONAnalyzer.JSONAnalyzer.process(), core.SkimAnalyzerCount.SkimAnalyzerCount.process(), analyzer.Analyzer.process(), Matcher.Matcher.process(), AlphaTAnalyzer.AlphaTAnalyzer.process(), cscdqm::HWStandbyType.process, RecHitProcessor.process(), L1GctElectronSorter.process(), L1GctGlobalEnergyAlgos.process(), DTTtrigWorkflow.DTttrigWorkflow.process, JetAnalyzer.JetAnalyzer.process(), DTuROSRawToDigi.process(), L1GctTdrJetFinder.process(), DTuROSDigiToRaw.process(), TFWLiteSelectorBasic.process(), core.TriggerBitAnalyzer.TriggerBitAnalyzer.process(), KDTreeLinkerBase.process(), L1GctJetLeafCard.process(), fwlite::internal::DataKey.process(), DTTFFEDReader.process(), L1GlobalCaloTrigger.process(), ResonanceBuilder.ResonanceBuilder.process(), SeedClusterRemover.process(), TFWLiteSelector< TrackAnalysisAlgorithm >.process(), TFWLiteSelector< __class__Worker >.process(), TFWLiteSelector< ThingsWorker >.process(), TFWLiteSelector< TWorker >.process(), EcalFenixTcp.process(), TestOutliers.process, HLTTrackClusterRemoverNew.process(), DiLeptonAnalyzer.DiLeptonAnalyzer.process(), HTTP.RequestManager.process(), PixelTemplateSmearerBase.process(), HITrackClusterRemover.process(), GenLumiInfoProduct::ProcessInfo.process(), objects.VertexAnalyzer.VertexAnalyzer.process(), core.PileUpAnalyzer.PileUpAnalyzer.process(), EcalFenixStrip.process(), lhef::LHERunInfo::Process.process(), objects.JetAnalyzer.JetAnalyzer.process(), CaloTowersCreationAlgo.process(), objects.TauAnalyzer.TauAnalyzer.process(), core.AutoFillTreeProducer.AutoFillTreeProducer.process(), EgammaHLTValidationUtils.EgammaDQMModuleMaker.process, cond::payloadInspector::PlotBase.process(), L1GctJetFinderBase.process(), Config.Process.process, looper.Looper.process(), DTWorkflow.DTWorkflow.process, gen.GeneratorAnalyzer.GeneratorAnalyzer.process(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.process(), edm::ProductResolverIndexHelper::Item.process(), objects.PhotonAnalyzer.PhotonAnalyzer.process(), JsonOutputProducer::JsonConfigurationBlock.process, objects.LeptonAnalyzer.LeptonAnalyzer.process(), Config.SubProcess.process(), ConfigBuilder.ConfigBuilder.pythonCfgCode, Config.Process.schedule, and harvestTrackValidationPlots.str.

2099  def prepare(self, doChecking = False):
2100  """ Prepare the configuration string and add missing pieces."""
2101 
2102  self.loadAndRemember(self.EVTCONTDefaultCFF) #load the event contents regardless
2103  self.addMaxEvents()
2104  if self.with_input:
2105  self.addSource()
def loadAndRemember(self, includeFile)
def prepare(self, doChecking=False)
def ConfigBuilder.ConfigBuilder.prepare_ALCA (   self,
  sequence = None,
  workflow = 'full' 
)
Enrich the process with alca streams 

Definition at line 1234 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.addExtraStream(), ConfigBuilder.ConfigBuilder.ALCADefaultCFF, ConfigBuilder.ConfigBuilder.executeAndRemember(), ConfigBuilder.ConfigBuilder.expandMapping(), ConfigBuilder.ConfigBuilder.loadDefaultOrSpecifiedCFF(), CMSTestAnalyzer.CMSTestAnalyzer.process(), Filter.Filter.process(), edm::ProductLabels.process, Printer.Printer.process(), HcalHitRelabeller.process(), SimpleMuonAnalyzer.SimpleMuonAnalyzer.process(), SimpleTreeAnalyzer.ZJetsTreeAnalyzer.process(), L1TMuonBarrelKalmanRegionModule.process(), L1TMuonBarrelKalmanSectorProcessor.process(), L1TMuonBarrelKalmanTrackFinder.process(), SingleHitTrack.process(), Histogrammer.Histogrammer.process(), SimpleTreeProducer.SimpleTreeProducer.process(), EmulateCPPF.process(), AngleCalculation.process(), BestTrackSelection.process(), PrimitiveSelection.process(), tfwliteselectortest::ThingsWorker.process(), TTPrimitiveConversion.process(), ZJetsTreeAnalyzer.ZJetsTreeAnalyzer.process(), PrimitiveMatching.process(), clangcms::CatchAll.process(), core.Analyzer.Analyzer.process(), PtAssignment.process(), EcalFenixTcpsFgvbEB.process(), CSCTFDTReceiver.process(), gen.LHEAnalyzer.LHEAnalyzer.process(), PrimitiveConversion.process(), EcalFenixPeakFinder.process(), EcalFenixBypassLin.process(), tfwliteselectortest::ThingsTSelector.process(), MetTreeProducer.MetTreeProducer.process(), PatternRecognition.process(), TrackFinder.process(), EcalFenixMaxof2.process(), CSCTFMonitorInterface.process(), helper::NullPostProcessor< OutputCollection, EdmFilter >.process(), examples::TrackAnalysisAlgorithm.process(), helper::NullPostProcessor< reco::CandidateCollection, edm::EDFilter >.process(), helper::NullPostProcessor< typename::helper::SelectedOutputCollectionTrait< reco::TrackCollection >::type, EdmFilter >.process(), TTULogic.process(), NullPostProcessor< reco::CandidateCollection >.process(), NullPostProcessor< OutputCollection, edm::EDFilter >.process(), EDFilter<>.process(), EDProducer<>.process(), NullPostProcessor< OutputCollection >.process(), CSCMonitorInterface.process(), NullPostProcessor< OutputCollection, EdmFilter >.process(), RBCLogic.process(), TTUWedgeORLogic.process(), PFPileUpAlgo.process(), EcalFenixEtStrip.process(), RBCPatternLogic.process(), TTUSectorORLogic.process(), SimpleJetAnalyzer.SimpleJetAnalyzer.process(), npstat::AbsVisitor< Input, unsigned long >.process(), __class__Worker.process(), npstat::AbsVisitor< Input, Result >.process(), HcalCableMapper.process(), EcalFenixAmplitudeFilter.process(), EcalFenixTcpFormat.process(), EcalFenixStripFormatEE.process(), npstat::AbsArrayProjector< Input, Result >.process(), BTagDifferentialPlot.process(), EcalFenixStripFormatEB.process(), TTUPointingLogic.process(), RBCTestLogic.process(), MetAnalyzer.MetAnalyzer.process(), EcalFenixEtTot.process(), TTUTwoORLogic.process(), EcalFenixStripFgvbEE.process(), gen.LHEWeightAnalyzer.LHEWeightAnalyzer.process(), EcalFenixTcpFgvbEE.process(), RBCChamberORLogic.process(), TTUTrackingAlg.process(), core.TriggerMatchAnalyzer.TriggerMatchAnalyzer.process(), core.TriggerBitFilter.TriggerBitFilter.process(), gen.HiggsDecayModeAnalyzer.HiggsDecayModeAnalyzer.process(), HcalSimpleReconstructor.process(), EcalFenixFgvbEB.process(), edm::ConsumesInfo.process(), L1GctEmLeafCard.process(), L1GctNullJetFinder.process(), SiStripClusterToDigiProducer.process(), EcalFenixLinearizer.process(), TriggerAnalyzer.TriggerAnalyzer.process(), L1GctSimpleJetFinder.process(), edm::InputTag.process(), L1GctHardwareJetFinder.process(), RPCWheel.process(), gen.GenHeavyFlavourAnalyzer.GenHeavyFlavourAnalyzer.process(), TTUConfigurator.process(), L1GctJetFinalStage.process(), L1GctProcessor.process(), gen.PDFWeightsAnalyzer.PDFWeightsAnalyzer.process(), DTVdriftWorkflow.DTvdriftWorkflow.process, L1GctGlobalHfSumAlgos.process(), PFMETBenchmark.process(), npstat::VisitCounter< Input >.process(), L1GctElectronFinalSort.process(), core.EventSelector.EventSelector.process(), core.ProvenanceAnalyzer.ProvenanceAnalyzer.process(), PFJetBenchmark.process(), TrackingRecHitNoSmearingPlugin.process(), PFTauElecRejectionBenchmark.process(), EgammaHLTPixelMatchElectronAlgo.process(), SeedClusterRemoverPhase2.process(), ZMuMuRochCorAnalyzer.ZMuMuRochCorAnalyzer.process(), SectorProcessor.process(), L1Comparator.process(), TrackingRecHitStripGSPlugin.process(), TrackingRecHitAlgorithm.process(), L1GctWheelEnergyFpga.process(), L1GctWheelJetFpga.process(), core.JSONAnalyzer.JSONAnalyzer.process(), core.SkimAnalyzerCount.SkimAnalyzerCount.process(), analyzer.Analyzer.process(), Matcher.Matcher.process(), AlphaTAnalyzer.AlphaTAnalyzer.process(), cscdqm::HWStandbyType.process, RecHitProcessor.process(), L1GctElectronSorter.process(), L1GctGlobalEnergyAlgos.process(), JetAnalyzer.JetAnalyzer.process(), DTTtrigWorkflow.DTttrigWorkflow.process, L1GctTdrJetFinder.process(), DTuROSRawToDigi.process(), TFWLiteSelectorBasic.process(), core.TriggerBitAnalyzer.TriggerBitAnalyzer.process(), DTuROSDigiToRaw.process(), KDTreeLinkerBase.process(), L1GctJetLeafCard.process(), fwlite::internal::DataKey.process(), DTTFFEDReader.process(), L1GlobalCaloTrigger.process(), SeedClusterRemover.process(), ResonanceBuilder.ResonanceBuilder.process(), TFWLiteSelector< __class__Worker >.process(), TFWLiteSelector< ThingsWorker >.process(), TFWLiteSelector< TWorker >.process(), TFWLiteSelector< TrackAnalysisAlgorithm >.process(), EcalFenixTcp.process(), HLTTrackClusterRemoverNew.process(), TestOutliers.process, DiLeptonAnalyzer.DiLeptonAnalyzer.process(), HTTP.RequestManager.process(), PixelTemplateSmearerBase.process(), HITrackClusterRemover.process(), GenLumiInfoProduct::ProcessInfo.process(), objects.VertexAnalyzer.VertexAnalyzer.process(), core.PileUpAnalyzer.PileUpAnalyzer.process(), EcalFenixStrip.process(), lhef::LHERunInfo::Process.process(), objects.JetAnalyzer.JetAnalyzer.process(), objects.TauAnalyzer.TauAnalyzer.process(), CaloTowersCreationAlgo.process(), core.AutoFillTreeProducer.AutoFillTreeProducer.process(), EgammaHLTValidationUtils.EgammaDQMModuleMaker.process, cond::payloadInspector::PlotBase.process(), L1GctJetFinderBase.process(), Config.Process.process, looper.Looper.process(), DTWorkflow.DTWorkflow.process, gen.GeneratorAnalyzer.GeneratorAnalyzer.process(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.process(), edm::ProductResolverIndexHelper::Item.process(), objects.PhotonAnalyzer.PhotonAnalyzer.process(), JsonOutputProducer::JsonConfigurationBlock.process, objects.LeptonAnalyzer.LeptonAnalyzer.process(), Config.SubProcess.process(), ConfigBuilder.ConfigBuilder.renameHLTprocessInSequence(), and harvestTrackValidationPlots.str.

Referenced by ConfigBuilder.ConfigBuilder.prepare_ALCAOUTPUT(), and ConfigBuilder.ConfigBuilder.prepare_ALCAPRODUCER().

1234  def prepare_ALCA(self, sequence = None, workflow = 'full'):
1235  """ Enrich the process with alca streams """
1236  alcaConfig=self.loadDefaultOrSpecifiedCFF(sequence,self.ALCADefaultCFF)
1237  sequence = sequence.split('.')[-1]
1238 
1239  # decide which ALCA paths to use
1240  alcaList = sequence.split("+")
def loadDefaultOrSpecifiedCFF(self, sequence, defaultCFF)
def prepare_ALCA(self, sequence=None, workflow='full')
def ConfigBuilder.ConfigBuilder.prepare_ALCAHARVEST (   self,
  sequence = None 
)
Enrich the process with AlCaHarvesting step 

Definition at line 1997 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.executeAndRemember(), ConfigBuilder.ConfigBuilder.expandMapping(), ConfigBuilder.ConfigBuilder.loadAndRemember(), and harvestTrackValidationPlots.str.

1997  def prepare_ALCAHARVEST(self, sequence = None):
1998  """ Enrich the process with AlCaHarvesting step """
1999  harvestingConfig = self.loadAndRemember(self.ALCAHARVESTDefaultCFF)
2000  sequence=sequence.split(".")[-1]
2001 
2002  # decide which AlcaHARVESTING paths to use
2003  harvestingList = sequence.split("+")
2004 
2005 
2006 
def loadAndRemember(self, includeFile)
def prepare_ALCAHARVEST(self, sequence=None)
def ConfigBuilder.ConfigBuilder.prepare_ALCAOUTPUT (   self,
  sequence = None 
)

Definition at line 1231 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.prepare_ALCA().

1231  def prepare_ALCAOUTPUT(self, sequence = None):
1232  self.prepare_ALCA(sequence, workflow = "output")
1233 
def prepare_ALCAOUTPUT(self, sequence=None)
def prepare_ALCA(self, sequence=None, workflow='full')
def ConfigBuilder.ConfigBuilder.prepare_ALCAPRODUCER (   self,
  sequence = None 
)

Definition at line 1228 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.prepare_ALCA().

1228  def prepare_ALCAPRODUCER(self, sequence = None):
1229  self.prepare_ALCA(sequence, workflow = "producers")
1230 
def prepare_ALCAPRODUCER(self, sequence=None)
def prepare_ALCA(self, sequence=None, workflow='full')
def ConfigBuilder.ConfigBuilder.prepare_CFWRITER (   self,
  sequence = None 
)
Enrich the schedule with the crossing frame writer step

Definition at line 1427 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.loadAndRemember(), and ConfigBuilder.ConfigBuilder.scheduleSequence().

1427  def prepare_CFWRITER(self, sequence = None):
1428  """ Enrich the schedule with the crossing frame writer step"""
1429  self.loadAndRemember(self.CFWRITERDefaultCFF)
1430  self.scheduleSequence('pcfw','cfwriter_step')
1431  return
1432 
def prepare_CFWRITER(self, sequence=None)
def scheduleSequence(self, seq, prefix, what='Path')
def loadAndRemember(self, includeFile)
def ConfigBuilder.ConfigBuilder.prepare_DATAMIX (   self,
  sequence = None 
)
Enrich the schedule with the digitisation step

Definition at line 1433 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.executeAndRemember(), ConfigBuilder.filesFromDASQuery(), ConfigBuilder.filesFromList(), ConfigBuilder.ConfigBuilder.loadAndRemember(), and ConfigBuilder.ConfigBuilder.scheduleSequence().

1433  def prepare_DATAMIX(self, sequence = None):
1434  """ Enrich the schedule with the digitisation step"""
1435  self.loadAndRemember(self.DATAMIXDefaultCFF)
1436  self.scheduleSequence('pdatamix','datamixing_step')
1437 
1438  if self._options.pileup_input:
1439  theFiles=''
1440  if self._options.pileup_input.startswith('dbs:') or self._options.pileup_input.startswith('das:'):
1441  theFiles=filesFromDASQuery('file dataset = %s'%(self._options.pileup_input[4:],),self._options.pileup_dasoption)[0]
1442  elif self._options.pileup_input.startswith("filelist:"):
1443  theFiles= (filesFromList(self._options.pileup_input[9:]))[0]
1444  else:
1445  theFiles=self._options.pileup_input.split(',')
1446  #print theFiles
1447  self.executeAndRemember( "process.mixData.input.fileNames = cms.untracked.vstring(%s)"%( theFiles ) )
1448 
1449  return
1450 
def prepare_DATAMIX(self, sequence=None)
def filesFromDASQuery(query, option="", s=None)
def scheduleSequence(self, seq, prefix, what='Path')
def loadAndRemember(self, includeFile)
def filesFromList(fileName, s=None)
def executeAndRemember(self, command)
def ConfigBuilder.ConfigBuilder.prepare_DIGI (   self,
  sequence = None 
)
Enrich the schedule with the digitisation step

Definition at line 1407 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.DIGIDefaultCFF, ConfigBuilder.ConfigBuilder.executeAndRemember(), ConfigBuilder.ConfigBuilder.loadAndRemember(), ConfigBuilder.ConfigBuilder.loadDefaultOrSpecifiedCFF(), and ConfigBuilder.ConfigBuilder.scheduleSequence().

1407  def prepare_DIGI(self, sequence = None):
1408  """ Enrich the schedule with the digitisation step"""
1409  self.loadDefaultOrSpecifiedCFF(sequence,self.DIGIDefaultCFF)
1410 
1411  if self._options.gflash==True:
1412  self.loadAndRemember("Configuration/StandardSequences/GFlashDIGI_cff")
1413 
1414  if sequence == 'pdigi_valid' or sequence == 'pdigi_hi':
1415  self.executeAndRemember("process.mix.digitizers = cms.PSet(process.theDigitizersValid)")
1416 
def loadDefaultOrSpecifiedCFF(self, sequence, defaultCFF)
def prepare_DIGI(self, sequence=None)
def loadAndRemember(self, includeFile)
def executeAndRemember(self, command)
def ConfigBuilder.ConfigBuilder.prepare_DIGI2RAW (   self,
  sequence = None 
)

Definition at line 1451 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.DIGI2RAWDefaultCFF, ConfigBuilder.ConfigBuilder.loadDefaultOrSpecifiedCFF(), and ConfigBuilder.ConfigBuilder.scheduleSequence().

1451  def prepare_DIGI2RAW(self, sequence = None):
1452  self.loadDefaultOrSpecifiedCFF(sequence,self.DIGI2RAWDefaultCFF)
1453  self.scheduleSequence(sequence.split('.')[-1],'digi2raw_step')
1454  return
1455 
def loadDefaultOrSpecifiedCFF(self, sequence, defaultCFF)
def scheduleSequence(self, seq, prefix, what='Path')
def prepare_DIGI2RAW(self, sequence=None)
def ConfigBuilder.ConfigBuilder.prepare_DQM (   self,
  sequence = 'DQMOffline' 
)

Definition at line 1924 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.expandMapping(), edm::eventsetup::heterocontainer.insert(), list(), ConfigBuilder.ConfigBuilder.loadDefaultOrSpecifiedCFF(), CMSTestAnalyzer.CMSTestAnalyzer.process(), Filter.Filter.process(), edm::ProductLabels.process, Printer.Printer.process(), HcalHitRelabeller.process(), SimpleMuonAnalyzer.SimpleMuonAnalyzer.process(), SimpleTreeAnalyzer.ZJetsTreeAnalyzer.process(), L1TMuonBarrelKalmanRegionModule.process(), L1TMuonBarrelKalmanSectorProcessor.process(), L1TMuonBarrelKalmanTrackFinder.process(), SingleHitTrack.process(), Histogrammer.Histogrammer.process(), SimpleTreeProducer.SimpleTreeProducer.process(), EmulateCPPF.process(), AngleCalculation.process(), BestTrackSelection.process(), tfwliteselectortest::ThingsWorker.process(), PrimitiveSelection.process(), TTPrimitiveConversion.process(), ZJetsTreeAnalyzer.ZJetsTreeAnalyzer.process(), PrimitiveMatching.process(), clangcms::CatchAll.process(), core.Analyzer.Analyzer.process(), PtAssignment.process(), EcalFenixTcpsFgvbEB.process(), CSCTFDTReceiver.process(), gen.LHEAnalyzer.LHEAnalyzer.process(), PrimitiveConversion.process(), EcalFenixPeakFinder.process(), tfwliteselectortest::ThingsTSelector.process(), EcalFenixBypassLin.process(), MetTreeProducer.MetTreeProducer.process(), PatternRecognition.process(), TrackFinder.process(), EcalFenixMaxof2.process(), CSCTFMonitorInterface.process(), examples::TrackAnalysisAlgorithm.process(), helper::NullPostProcessor< OutputCollection, EdmFilter >.process(), NullPostProcessor< OutputCollection, EdmFilter >.process(), helper::NullPostProcessor< reco::CandidateCollection, edm::EDFilter >.process(), helper::NullPostProcessor< typename::helper::SelectedOutputCollectionTrait< reco::TrackCollection >::type, EdmFilter >.process(), TTULogic.process(), NullPostProcessor< reco::CandidateCollection >.process(), NullPostProcessor< OutputCollection, edm::EDFilter >.process(), EDFilter<>.process(), EDProducer<>.process(), NullPostProcessor< OutputCollection >.process(), CSCMonitorInterface.process(), RBCLogic.process(), TTUWedgeORLogic.process(), PFPileUpAlgo.process(), EcalFenixEtStrip.process(), RBCPatternLogic.process(), TTUSectorORLogic.process(), SimpleJetAnalyzer.SimpleJetAnalyzer.process(), npstat::AbsVisitor< Input, unsigned long >.process(), __class__Worker.process(), npstat::AbsVisitor< Input, Result >.process(), HcalCableMapper.process(), EcalFenixAmplitudeFilter.process(), EcalFenixTcpFormat.process(), EcalFenixStripFormatEE.process(), npstat::AbsArrayProjector< Input, Result >.process(), BTagDifferentialPlot.process(), EcalFenixStripFormatEB.process(), RBCTestLogic.process(), MetAnalyzer.MetAnalyzer.process(), TTUPointingLogic.process(), EcalFenixEtTot.process(), TTUTwoORLogic.process(), EcalFenixStripFgvbEE.process(), gen.LHEWeightAnalyzer.LHEWeightAnalyzer.process(), EcalFenixTcpFgvbEE.process(), RBCChamberORLogic.process(), TTUTrackingAlg.process(), core.TriggerMatchAnalyzer.TriggerMatchAnalyzer.process(), core.TriggerBitFilter.TriggerBitFilter.process(), gen.HiggsDecayModeAnalyzer.HiggsDecayModeAnalyzer.process(), HcalSimpleReconstructor.process(), EcalFenixFgvbEB.process(), edm::ConsumesInfo.process(), L1GctEmLeafCard.process(), L1GctNullJetFinder.process(), SiStripClusterToDigiProducer.process(), EcalFenixLinearizer.process(), TriggerAnalyzer.TriggerAnalyzer.process(), L1GctSimpleJetFinder.process(), edm::InputTag.process(), L1GctHardwareJetFinder.process(), RPCWheel.process(), gen.GenHeavyFlavourAnalyzer.GenHeavyFlavourAnalyzer.process(), TTUConfigurator.process(), L1GctJetFinalStage.process(), L1GctProcessor.process(), gen.PDFWeightsAnalyzer.PDFWeightsAnalyzer.process(), DTVdriftWorkflow.DTvdriftWorkflow.process, L1GctGlobalHfSumAlgos.process(), PFMETBenchmark.process(), npstat::VisitCounter< Input >.process(), L1GctElectronFinalSort.process(), core.EventSelector.EventSelector.process(), core.ProvenanceAnalyzer.ProvenanceAnalyzer.process(), PFJetBenchmark.process(), TrackingRecHitNoSmearingPlugin.process(), PFTauElecRejectionBenchmark.process(), EgammaHLTPixelMatchElectronAlgo.process(), SeedClusterRemoverPhase2.process(), ZMuMuRochCorAnalyzer.ZMuMuRochCorAnalyzer.process(), SectorProcessor.process(), L1Comparator.process(), TrackingRecHitStripGSPlugin.process(), TrackingRecHitAlgorithm.process(), L1GctWheelEnergyFpga.process(), L1GctWheelJetFpga.process(), core.JSONAnalyzer.JSONAnalyzer.process(), core.SkimAnalyzerCount.SkimAnalyzerCount.process(), analyzer.Analyzer.process(), Matcher.Matcher.process(), AlphaTAnalyzer.AlphaTAnalyzer.process(), cscdqm::HWStandbyType.process, RecHitProcessor.process(), L1GctElectronSorter.process(), L1GctGlobalEnergyAlgos.process(), JetAnalyzer.JetAnalyzer.process(), DTTtrigWorkflow.DTttrigWorkflow.process, L1GctTdrJetFinder.process(), DTuROSRawToDigi.process(), core.TriggerBitAnalyzer.TriggerBitAnalyzer.process(), TFWLiteSelectorBasic.process(), DTuROSDigiToRaw.process(), KDTreeLinkerBase.process(), L1GctJetLeafCard.process(), DTTFFEDReader.process(), fwlite::internal::DataKey.process(), L1GlobalCaloTrigger.process(), SeedClusterRemover.process(), ResonanceBuilder.ResonanceBuilder.process(), TFWLiteSelector< ThingsWorker >.process(), TFWLiteSelector< TWorker >.process(), TFWLiteSelector< TrackAnalysisAlgorithm >.process(), TFWLiteSelector< __class__Worker >.process(), EcalFenixTcp.process(), TestOutliers.process, HLTTrackClusterRemoverNew.process(), DiLeptonAnalyzer.DiLeptonAnalyzer.process(), HTTP.RequestManager.process(), PixelTemplateSmearerBase.process(), HITrackClusterRemover.process(), GenLumiInfoProduct::ProcessInfo.process(), objects.VertexAnalyzer.VertexAnalyzer.process(), core.PileUpAnalyzer.PileUpAnalyzer.process(), EcalFenixStrip.process(), lhef::LHERunInfo::Process.process(), objects.JetAnalyzer.JetAnalyzer.process(), objects.TauAnalyzer.TauAnalyzer.process(), CaloTowersCreationAlgo.process(), core.AutoFillTreeProducer.AutoFillTreeProducer.process(), EgammaHLTValidationUtils.EgammaDQMModuleMaker.process, cond::payloadInspector::PlotBase.process(), L1GctJetFinderBase.process(), Config.Process.process, looper.Looper.process(), DTWorkflow.DTWorkflow.process, gen.GeneratorAnalyzer.GeneratorAnalyzer.process(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.process(), edm::ProductResolverIndexHelper::Item.process(), objects.PhotonAnalyzer.PhotonAnalyzer.process(), JsonOutputProducer::JsonConfigurationBlock.process, objects.LeptonAnalyzer.LeptonAnalyzer.process(), Config.SubProcess.process(), ConfigBuilder.ConfigBuilder.renameHLTprocessInSequence(), and split.

1924  def prepare_DQM(self, sequence = 'DQMOffline'):
1925  # this one needs replacement
1926 
1927  self.loadDefaultOrSpecifiedCFF(sequence,self.DQMOFFLINEDefaultCFF)
1928  sequenceList=sequence.split('.')[-1].split('+')
1929  postSequenceList=sequence.split('.')[-1].split('+')
def loadDefaultOrSpecifiedCFF(self, sequence, defaultCFF)
def prepare_DQM(self, sequence='DQMOffline')
double split
Definition: MVATrainer.cc:139
def ConfigBuilder.ConfigBuilder.prepare_EI (   self,
  sequence = None 
)
Enrich the schedule with event interpretation 

Definition at line 1682 of file ConfigBuilder.py.

1682  def prepare_EI(self, sequence = None):
1683  ''' Enrich the schedule with event interpretation '''
def prepare_EI(self, sequence=None)
def ConfigBuilder.ConfigBuilder.prepare_ENDJOB (   self,
  sequence = 'endOfProcess' 
)

Definition at line 2032 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.loadDefaultOrSpecifiedCFF(), and ConfigBuilder.ConfigBuilder.scheduleSequenceAtEnd().

2032  def prepare_ENDJOB(self, sequence = 'endOfProcess'):
2033  self.loadDefaultOrSpecifiedCFF(sequence,self.ENDJOBDefaultCFF)
2034  self.scheduleSequenceAtEnd(sequence.split('.')[-1],'endjob_step')
2035  return
2036 
def prepare_ENDJOB(self, sequence='endOfProcess')
def loadDefaultOrSpecifiedCFF(self, sequence, defaultCFF)
def scheduleSequenceAtEnd(self, seq, prefix)
def ConfigBuilder.ConfigBuilder.prepare_FILTER (   self,
  sequence = None 
)
Enrich the schedule with a user defined filter sequence 

Definition at line 1579 of file ConfigBuilder.py.

1579  def prepare_FILTER(self, sequence = None):
1580  ''' Enrich the schedule with a user defined filter sequence '''
def prepare_FILTER(self, sequence=None)
def ConfigBuilder.ConfigBuilder.prepare_GEN (   self,
  sequence = None 
)
load the fragment of generator configuration 

Definition at line 1309 of file ConfigBuilder.py.

1309  def prepare_GEN(self, sequence = None):
1310  """ load the fragment of generator configuration """
def prepare_GEN(self, sequence=None)
def ConfigBuilder.ConfigBuilder.prepare_HARVESTING (   self,
  sequence = None 
)
Enrich the process with harvesting step 

Definition at line 1961 of file ConfigBuilder.py.

1961  def prepare_HARVESTING(self, sequence = None):
1962  """ Enrich the process with harvesting step """
1963  self.DQMSaverCFF='Configuration/StandardSequences/DQMSaver'+self._options.harvesting+'_cff'
1964  self.loadAndRemember(self.DQMSaverCFF)
1965 
1966  harvestingConfig = self.loadDefaultOrSpecifiedCFF(sequence,self.HARVESTINGDefaultCFF)
1967  sequence = sequence.split('.')[-1]
1968 
1969  # decide which HARVESTING paths to use
1970  harvestingList = sequence.split("+")
def prepare_HARVESTING(self, sequence=None)
def loadDefaultOrSpecifiedCFF(self, sequence, defaultCFF)
def loadAndRemember(self, includeFile)
def ConfigBuilder.ConfigBuilder.prepare_HLT (   self,
  sequence = None 
)
Enrich the schedule with the HLT simulation step

Definition at line 1481 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.executeAndRemember(), join(), ConfigBuilder.ConfigBuilder.loadAndRemember(), CMSTestAnalyzer.CMSTestAnalyzer.process(), Filter.Filter.process(), edm::ProductLabels.process, Printer.Printer.process(), HcalHitRelabeller.process(), SimpleMuonAnalyzer.SimpleMuonAnalyzer.process(), SimpleTreeAnalyzer.ZJetsTreeAnalyzer.process(), L1TMuonBarrelKalmanRegionModule.process(), L1TMuonBarrelKalmanTrackFinder.process(), SingleHitTrack.process(), L1TMuonBarrelKalmanSectorProcessor.process(), Histogrammer.Histogrammer.process(), EmulateCPPF.process(), SimpleTreeProducer.SimpleTreeProducer.process(), AngleCalculation.process(), BestTrackSelection.process(), tfwliteselectortest::ThingsWorker.process(), PrimitiveSelection.process(), TTPrimitiveConversion.process(), ZJetsTreeAnalyzer.ZJetsTreeAnalyzer.process(), PrimitiveMatching.process(), clangcms::CatchAll.process(), core.Analyzer.Analyzer.process(), PtAssignment.process(), EcalFenixTcpsFgvbEB.process(), CSCTFDTReceiver.process(), gen.LHEAnalyzer.LHEAnalyzer.process(), PrimitiveConversion.process(), tfwliteselectortest::ThingsTSelector.process(), EcalFenixPeakFinder.process(), EcalFenixBypassLin.process(), MetTreeProducer.MetTreeProducer.process(), PatternRecognition.process(), TrackFinder.process(), EcalFenixMaxof2.process(), CSCTFMonitorInterface.process(), examples::TrackAnalysisAlgorithm.process(), helper::NullPostProcessor< reco::CandidateCollection, edm::EDFilter >.process(), helper::NullPostProcessor< typename::helper::SelectedOutputCollectionTrait< reco::TrackCollection >::type, EdmFilter >.process(), TTULogic.process(), NullPostProcessor< reco::CandidateCollection >.process(), NullPostProcessor< OutputCollection, edm::EDFilter >.process(), EDFilter<>.process(), NullPostProcessor< OutputCollection >.process(), NullPostProcessor< OutputCollection, EdmFilter >.process(), CSCMonitorInterface.process(), EDProducer<>.process(), helper::NullPostProcessor< OutputCollection, EdmFilter >.process(), RBCLogic.process(), TTUWedgeORLogic.process(), EcalFenixEtStrip.process(), RBCPatternLogic.process(), SimpleJetAnalyzer.SimpleJetAnalyzer.process(), TTUSectorORLogic.process(), PFPileUpAlgo.process(), __class__Worker.process(), npstat::AbsVisitor< Input, unsigned long >.process(), HcalCableMapper.process(), npstat::AbsVisitor< Input, Result >.process(), BTagDifferentialPlot.process(), EcalFenixAmplitudeFilter.process(), EcalFenixTcpFormat.process(), EcalFenixStripFormatEE.process(), npstat::AbsArrayProjector< Input, Result >.process(), TTUPointingLogic.process(), EcalFenixStripFormatEB.process(), MetAnalyzer.MetAnalyzer.process(), RBCTestLogic.process(), EcalFenixEtTot.process(), TTUTwoORLogic.process(), EcalFenixStripFgvbEE.process(), gen.LHEWeightAnalyzer.LHEWeightAnalyzer.process(), RBCChamberORLogic.process(), TTUTrackingAlg.process(), core.TriggerMatchAnalyzer.TriggerMatchAnalyzer.process(), EcalFenixTcpFgvbEE.process(), core.TriggerBitFilter.TriggerBitFilter.process(), gen.HiggsDecayModeAnalyzer.HiggsDecayModeAnalyzer.process(), HcalSimpleReconstructor.process(), EcalFenixFgvbEB.process(), edm::ConsumesInfo.process(), L1GctEmLeafCard.process(), L1GctNullJetFinder.process(), SiStripClusterToDigiProducer.process(), EcalFenixLinearizer.process(), TriggerAnalyzer.TriggerAnalyzer.process(), L1GctSimpleJetFinder.process(), edm::InputTag.process(), L1GctHardwareJetFinder.process(), RPCWheel.process(), gen.GenHeavyFlavourAnalyzer.GenHeavyFlavourAnalyzer.process(), L1GctJetFinalStage.process(), L1GctProcessor.process(), TTUConfigurator.process(), DTVdriftWorkflow.DTvdriftWorkflow.process, gen.PDFWeightsAnalyzer.PDFWeightsAnalyzer.process(), L1GctGlobalHfSumAlgos.process(), PFMETBenchmark.process(), npstat::VisitCounter< Input >.process(), L1GctElectronFinalSort.process(), PFJetBenchmark.process(), core.EventSelector.EventSelector.process(), core.ProvenanceAnalyzer.ProvenanceAnalyzer.process(), TrackingRecHitNoSmearingPlugin.process(), PFTauElecRejectionBenchmark.process(), EgammaHLTPixelMatchElectronAlgo.process(), SeedClusterRemoverPhase2.process(), ZMuMuRochCorAnalyzer.ZMuMuRochCorAnalyzer.process(), SectorProcessor.process(), TrackingRecHitStripGSPlugin.process(), L1Comparator.process(), L1GctWheelEnergyFpga.process(), TrackingRecHitAlgorithm.process(), L1GctWheelJetFpga.process(), core.JSONAnalyzer.JSONAnalyzer.process(), core.SkimAnalyzerCount.SkimAnalyzerCount.process(), analyzer.Analyzer.process(), AlphaTAnalyzer.AlphaTAnalyzer.process(), Matcher.Matcher.process(), cscdqm::HWStandbyType.process, RecHitProcessor.process(), L1GctGlobalEnergyAlgos.process(), L1GctElectronSorter.process(), JetAnalyzer.JetAnalyzer.process(), DTTtrigWorkflow.DTttrigWorkflow.process, L1GctTdrJetFinder.process(), DTuROSRawToDigi.process(), TFWLiteSelectorBasic.process(), DTuROSDigiToRaw.process(), core.TriggerBitAnalyzer.TriggerBitAnalyzer.process(), KDTreeLinkerBase.process(), L1GctJetLeafCard.process(), fwlite::internal::DataKey.process(), DTTFFEDReader.process(), L1GlobalCaloTrigger.process(), SeedClusterRemover.process(), ResonanceBuilder.ResonanceBuilder.process(), TFWLiteSelector< __class__Worker >.process(), TFWLiteSelector< TWorker >.process(), TFWLiteSelector< ThingsWorker >.process(), TFWLiteSelector< TrackAnalysisAlgorithm >.process(), EcalFenixTcp.process(), HLTTrackClusterRemoverNew.process(), TestOutliers.process, DiLeptonAnalyzer.DiLeptonAnalyzer.process(), HTTP.RequestManager.process(), HITrackClusterRemover.process(), PixelTemplateSmearerBase.process(), GenLumiInfoProduct::ProcessInfo.process(), objects.VertexAnalyzer.VertexAnalyzer.process(), core.PileUpAnalyzer.PileUpAnalyzer.process(), EcalFenixStrip.process(), lhef::LHERunInfo::Process.process(), objects.JetAnalyzer.JetAnalyzer.process(), objects.TauAnalyzer.TauAnalyzer.process(), CaloTowersCreationAlgo.process(), core.AutoFillTreeProducer.AutoFillTreeProducer.process(), EgammaHLTValidationUtils.EgammaDQMModuleMaker.process, cond::payloadInspector::PlotBase.process(), L1GctJetFinderBase.process(), Config.Process.process, looper.Looper.process(), DTWorkflow.DTWorkflow.process, gen.GeneratorAnalyzer.GeneratorAnalyzer.process(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.process(), edm::ProductResolverIndexHelper::Item.process(), objects.PhotonAnalyzer.PhotonAnalyzer.process(), JsonOutputProducer::JsonConfigurationBlock.process, objects.LeptonAnalyzer.LeptonAnalyzer.process(), Config.SubProcess.process(), and CustomConfigs.ProcessName().

1481  def prepare_HLT(self, sequence = None):
1482  """ Enrich the schedule with the HLT simulation step"""
1483  if not sequence:
1484  print "no specification of the hlt menu has been given, should never happen"
1485  raise Exception('no HLT sequence provided')
1486 
1487  if '@' in sequence:
1488  # case where HLT:@something was provided
1489  from Configuration.HLT.autoHLT import autoHLT
1490  key = sequence[1:]
1491  if key in autoHLT:
1492  sequence = autoHLT[key]
1493  else:
1494  raise ValueError('no HLT mapping key "%s" found in autoHLT' % key)
1495 
1496  if ',' in sequence:
1497  #case where HLT:something:something was provided
1498  self.executeAndRemember('import HLTrigger.Configuration.Utilities')
1499  optionsForHLT = {}
1500  if self._options.scenario == 'HeavyIons':
1501  optionsForHLT['type'] = 'HIon'
1502  else:
1503  optionsForHLT['type'] = 'GRun'
1504  optionsForHLTConfig = ', '.join('%s=%s' % (key, repr(val)) for (key, val) in optionsForHLT.iteritems())
1505  if sequence == 'run,fromSource':
1506  if hasattr(self.process.source,'firstRun'):
1507  self.executeAndRemember('process.loadHltConfiguration("run:%%d"%%(process.source.firstRun.value()),%s)'%(optionsForHLTConfig))
1508  elif hasattr(self.process.source,'setRunNumber'):
1509  self.executeAndRemember('process.loadHltConfiguration("run:%%d"%%(process.source.setRunNumber.value()),%s)'%(optionsForHLTConfig))
1510  else:
1511  raise Exception('Cannot replace menu to load %s'%(sequence))
1512  else:
1513  self.executeAndRemember('process.loadHltConfiguration("%s",%s)'%(sequence.replace(',',':'),optionsForHLTConfig))
1514  else:
1515  self.loadAndRemember('HLTrigger/Configuration/HLT_%s_cff' % sequence)
1516 
1517  if self._options.isMC:
1518  self._options.customisation_file.append("HLTrigger/Configuration/customizeHLTforMC.customizeHLTforMC")
1519 
def loadAndRemember(self, includeFile)
static std::string join(char **cmd)
Definition: RemoteFile.cc:18
def prepare_HLT(self, sequence=None)
def executeAndRemember(self, command)
def ConfigBuilder.ConfigBuilder.prepare_L1 (   self,
  sequence = None 
)
Enrich the schedule with the L1 simulation step

Definition at line 1461 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.L1EMDefaultCFF, ConfigBuilder.ConfigBuilder.loadAndRemember(), and ConfigBuilder.ConfigBuilder.scheduleSequence().

1461  def prepare_L1(self, sequence = None):
1462  """ Enrich the schedule with the L1 simulation step"""
1463  assert(sequence == None)
1464  self.loadAndRemember(self.L1EMDefaultCFF)
1465  self.scheduleSequence('SimL1Emulator','L1simulation_step')
1466  return
1467 
def scheduleSequence(self, seq, prefix, what='Path')
def loadAndRemember(self, includeFile)
def prepare_L1(self, sequence=None)
def ConfigBuilder.ConfigBuilder.prepare_L1HwVal (   self,
  sequence = 'L1HwVal' 
)
Enrich the schedule with L1 HW validation 

Definition at line 1560 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.loadDefaultOrSpecifiedCFF().

1560  def prepare_L1HwVal(self, sequence = 'L1HwVal'):
1561  ''' Enrich the schedule with L1 HW validation '''
1562  self.loadDefaultOrSpecifiedCFF(sequence,self.L1HwValDefaultCFF)
def loadDefaultOrSpecifiedCFF(self, sequence, defaultCFF)
def prepare_L1HwVal(self, sequence='L1HwVal')
def ConfigBuilder.ConfigBuilder.prepare_L1Reco (   self,
  sequence = "L1Reco" 
)
Enrich the schedule with L1 reconstruction 

Definition at line 1567 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.L1RecoDefaultCFF, ConfigBuilder.ConfigBuilder.loadDefaultOrSpecifiedCFF(), and ConfigBuilder.ConfigBuilder.scheduleSequence().

1567  def prepare_L1Reco(self, sequence = "L1Reco"):
1568  ''' Enrich the schedule with L1 reconstruction '''
1569  self.loadDefaultOrSpecifiedCFF(sequence,self.L1RecoDefaultCFF)
def loadDefaultOrSpecifiedCFF(self, sequence, defaultCFF)
def prepare_L1Reco(self, sequence="L1Reco")
def ConfigBuilder.ConfigBuilder.prepare_L1REPACK (   self,
  sequence = None 
)
Enrich the schedule with the L1 simulation step, running the L1 emulator on data unpacked from the RAW collection, and repacking the result in a new RAW collection

Definition at line 1468 of file ConfigBuilder.py.

1468  def prepare_L1REPACK(self, sequence = None):
1469  """ Enrich the schedule with the L1 simulation step, running the L1 emulator on data unpacked from the RAW collection, and repacking the result in a new RAW collection"""
1470  supported = ['GT','GT1','GT2','GCTGT','Full','FullSimTP','FullMC','Full2015Data','uGT','CalouGT']
1471  if sequence in supported:
1472  self.loadAndRemember('Configuration/StandardSequences/SimL1EmulatorRepack_%s_cff'%sequence)
1473  if self._options.scenario == 'HeavyIons':
1474  self.renameInputTagsInSequence("SimL1Emulator","rawDataCollector","rawDataRepacker")
1475  self.scheduleSequence('SimL1Emulator','L1RePack_step')
1476  else:
1477  print "L1REPACK with '",sequence,"' is not supported! Supported choices are: ",supported
1478  raise Exception('unsupported feature')
1479 
1480 
def prepare_L1REPACK(self, sequence=None)
def ConfigBuilder.ConfigBuilder.prepare_L1TrackTrigger (   self,
  sequence = "L1TrackTrigger" 
)
Enrich the schedule with L1 reconstruction 

Definition at line 1573 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.L1TrackTriggerDefaultCFF, ConfigBuilder.ConfigBuilder.loadDefaultOrSpecifiedCFF(), and ConfigBuilder.ConfigBuilder.scheduleSequence().

1573  def prepare_L1TrackTrigger(self, sequence = "L1TrackTrigger"):
1574  ''' Enrich the schedule with L1 reconstruction '''
def loadDefaultOrSpecifiedCFF(self, sequence, defaultCFF)
def prepare_L1TrackTrigger(self, sequence="L1TrackTrigger")
def ConfigBuilder.ConfigBuilder.prepare_LHE (   self,
  sequence = None 
)

Definition at line 1292 of file ConfigBuilder.py.

References createfilelist.int, CMSTestAnalyzer.CMSTestAnalyzer.process(), Filter.Filter.process(), edm::ProductLabels.process, Printer.Printer.process(), HcalHitRelabeller.process(), SimpleTreeAnalyzer.ZJetsTreeAnalyzer.process(), SimpleMuonAnalyzer.SimpleMuonAnalyzer.process(), L1TMuonBarrelKalmanRegionModule.process(), SingleHitTrack.process(), L1TMuonBarrelKalmanSectorProcessor.process(), L1TMuonBarrelKalmanTrackFinder.process(), Histogrammer.Histogrammer.process(), BestTrackSelection.process(), AngleCalculation.process(), EmulateCPPF.process(), SimpleTreeProducer.SimpleTreeProducer.process(), tfwliteselectortest::ThingsWorker.process(), PrimitiveSelection.process(), TTPrimitiveConversion.process(), ZJetsTreeAnalyzer.ZJetsTreeAnalyzer.process(), PrimitiveMatching.process(), clangcms::CatchAll.process(), core.Analyzer.Analyzer.process(), PtAssignment.process(), EcalFenixTcpsFgvbEB.process(), CSCTFDTReceiver.process(), gen.LHEAnalyzer.LHEAnalyzer.process(), PrimitiveConversion.process(), EcalFenixPeakFinder.process(), EcalFenixBypassLin.process(), tfwliteselectortest::ThingsTSelector.process(), MetTreeProducer.MetTreeProducer.process(), PatternRecognition.process(), TrackFinder.process(), CSCTFMonitorInterface.process(), EcalFenixMaxof2.process(), examples::TrackAnalysisAlgorithm.process(), TTULogic.process(), helper::NullPostProcessor< reco::CandidateCollection, edm::EDFilter >.process(), helper::NullPostProcessor< typename::helper::SelectedOutputCollectionTrait< reco::TrackCollection >::type, EdmFilter >.process(), NullPostProcessor< reco::CandidateCollection >.process(), NullPostProcessor< OutputCollection, edm::EDFilter >.process(), CSCMonitorInterface.process(), EDProducer<>.process(), NullPostProcessor< OutputCollection >.process(), EDFilter<>.process(), NullPostProcessor< OutputCollection, EdmFilter >.process(), helper::NullPostProcessor< OutputCollection, EdmFilter >.process(), RBCLogic.process(), TTUWedgeORLogic.process(), EcalFenixEtStrip.process(), RBCPatternLogic.process(), TTUSectorORLogic.process(), PFPileUpAlgo.process(), SimpleJetAnalyzer.SimpleJetAnalyzer.process(), HcalCableMapper.process(), npstat::AbsVisitor< Input, Result >.process(), __class__Worker.process(), npstat::AbsVisitor< Input, unsigned long >.process(), EcalFenixAmplitudeFilter.process(), EcalFenixTcpFormat.process(), BTagDifferentialPlot.process(), EcalFenixStripFormatEE.process(), npstat::AbsArrayProjector< Input, Result >.process(), RBCTestLogic.process(), EcalFenixStripFormatEB.process(), TTUPointingLogic.process(), MetAnalyzer.MetAnalyzer.process(), EcalFenixEtTot.process(), TTUTwoORLogic.process(), EcalFenixStripFgvbEE.process(), gen.LHEWeightAnalyzer.LHEWeightAnalyzer.process(), RBCChamberORLogic.process(), EcalFenixTcpFgvbEE.process(), core.TriggerMatchAnalyzer.TriggerMatchAnalyzer.process(), TTUTrackingAlg.process(), core.TriggerBitFilter.TriggerBitFilter.process(), gen.HiggsDecayModeAnalyzer.HiggsDecayModeAnalyzer.process(), HcalSimpleReconstructor.process(), EcalFenixFgvbEB.process(), L1GctEmLeafCard.process(), L1GctNullJetFinder.process(), edm::ConsumesInfo.process(), EcalFenixLinearizer.process(), SiStripClusterToDigiProducer.process(), TriggerAnalyzer.TriggerAnalyzer.process(), L1GctSimpleJetFinder.process(), edm::InputTag.process(), L1GctHardwareJetFinder.process(), RPCWheel.process(), gen.GenHeavyFlavourAnalyzer.GenHeavyFlavourAnalyzer.process(), TTUConfigurator.process(), L1GctJetFinalStage.process(), L1GctProcessor.process(), DTVdriftWorkflow.DTvdriftWorkflow.process, gen.PDFWeightsAnalyzer.PDFWeightsAnalyzer.process(), L1GctGlobalHfSumAlgos.process(), PFMETBenchmark.process(), npstat::VisitCounter< Input >.process(), L1GctElectronFinalSort.process(), PFJetBenchmark.process(), core.EventSelector.EventSelector.process(), TrackingRecHitNoSmearingPlugin.process(), core.ProvenanceAnalyzer.ProvenanceAnalyzer.process(), PFTauElecRejectionBenchmark.process(), EgammaHLTPixelMatchElectronAlgo.process(), SeedClusterRemoverPhase2.process(), ZMuMuRochCorAnalyzer.ZMuMuRochCorAnalyzer.process(), SectorProcessor.process(), TrackingRecHitStripGSPlugin.process(), L1Comparator.process(), TrackingRecHitAlgorithm.process(), L1GctWheelEnergyFpga.process(), L1GctWheelJetFpga.process(), core.JSONAnalyzer.JSONAnalyzer.process(), core.SkimAnalyzerCount.SkimAnalyzerCount.process(), analyzer.Analyzer.process(), AlphaTAnalyzer.AlphaTAnalyzer.process(), Matcher.Matcher.process(), cscdqm::HWStandbyType.process, RecHitProcessor.process(), L1GctGlobalEnergyAlgos.process(), L1GctElectronSorter.process(), DTTtrigWorkflow.DTttrigWorkflow.process, JetAnalyzer.JetAnalyzer.process(), L1GctTdrJetFinder.process(), DTuROSRawToDigi.process(), DTuROSDigiToRaw.process(), TFWLiteSelectorBasic.process(), core.TriggerBitAnalyzer.TriggerBitAnalyzer.process(), KDTreeLinkerBase.process(), L1GctJetLeafCard.process(), DTTFFEDReader.process(), fwlite::internal::DataKey.process(), L1GlobalCaloTrigger.process(), SeedClusterRemover.process(), ResonanceBuilder.ResonanceBuilder.process(), TFWLiteSelector< __class__Worker >.process(), TFWLiteSelector< TrackAnalysisAlgorithm >.process(), TFWLiteSelector< TWorker >.process(), TFWLiteSelector< ThingsWorker >.process(), EcalFenixTcp.process(), TestOutliers.process, HLTTrackClusterRemoverNew.process(), DiLeptonAnalyzer.DiLeptonAnalyzer.process(), HTTP.RequestManager.process(), PixelTemplateSmearerBase.process(), HITrackClusterRemover.process(), GenLumiInfoProduct::ProcessInfo.process(), objects.VertexAnalyzer.VertexAnalyzer.process(), core.PileUpAnalyzer.PileUpAnalyzer.process(), EcalFenixStrip.process(), lhef::LHERunInfo::Process.process(), objects.JetAnalyzer.JetAnalyzer.process(), objects.TauAnalyzer.TauAnalyzer.process(), CaloTowersCreationAlgo.process(), core.AutoFillTreeProducer.AutoFillTreeProducer.process(), EgammaHLTValidationUtils.EgammaDQMModuleMaker.process, cond::payloadInspector::PlotBase.process(), L1GctJetFinderBase.process(), Config.Process.process, looper.Looper.process(), DTWorkflow.DTWorkflow.process, gen.GeneratorAnalyzer.GeneratorAnalyzer.process(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.process(), edm::ProductResolverIndexHelper::Item.process(), objects.PhotonAnalyzer.PhotonAnalyzer.process(), JsonOutputProducer::JsonConfigurationBlock.process, objects.LeptonAnalyzer.LeptonAnalyzer.process(), Config.SubProcess.process(), and python.rootplot.root2matplotlib.replace().

1292  def prepare_LHE(self, sequence = None):
1293  #load the fragment
1294  ##make it loadable
1295  loadFragment = self._options.evt_type.replace('.py','',).replace('.','_').replace('python/','').replace('/','.')
1296  print "Loading lhe fragment from",loadFragment
1297  __import__(loadFragment)
1298  self.process.load(loadFragment)
1299  ##inline the modules
1300  self._options.inlineObjets+=','+sequence
1301 
1302  getattr(self.process,sequence).nEvents = int(self._options.number)
1303 
1304  #schedule it
1305  self.process.lhe_step = cms.Path( getattr( self.process,sequence) )
1306  self.excludedPaths.append("lhe_step")
1307  self.schedule.append( self.process.lhe_step )
1308 
def prepare_LHE(self, sequence=None)
def replace(string, replacements)
def ConfigBuilder.ConfigBuilder.prepare_NANO (   self,
  sequence = "nanoAOD" 
)
Enrich the schedule with NANO 

Definition at line 1667 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.loadDefaultOrSpecifiedCFF(), ConfigBuilder.ConfigBuilder.NANODefaultCFF, and ConfigBuilder.ConfigBuilder.scheduleSequence().

1667  def prepare_NANO(self, sequence = "nanoAOD"):
1668  ''' Enrich the schedule with NANO '''
1669  self.loadDefaultOrSpecifiedCFF(sequence,self.NANODefaultCFF)
def loadDefaultOrSpecifiedCFF(self, sequence, defaultCFF)
def prepare_NANO(self, sequence="nanoAOD")
def ConfigBuilder.ConfigBuilder.prepare_PAT (   self,
  sequence = "miniAOD" 
)
Enrich the schedule with PAT 

Definition at line 1632 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.loadDefaultOrSpecifiedCFF(), ConfigBuilder.ConfigBuilder.PATDefaultCFF, and ConfigBuilder.ConfigBuilder.prepare_PATFILTER().

1632  def prepare_PAT(self, sequence = "miniAOD"):
1633  ''' Enrich the schedule with PAT '''
1634  self.prepare_PATFILTER(self)
1635  self.loadDefaultOrSpecifiedCFF(sequence,self.PATDefaultCFF)
1636  self.labelsToAssociate.append('patTask')
1637  if not self._options.runUnscheduled:
1638  raise Exception("MiniAOD production can only run in unscheduled mode, please run cmsDriver with --runUnscheduled")
1639  if self._options.isData:
1640  self._options.customisation_file_unsch.insert(0,"PhysicsTools/PatAlgos/slimming/miniAOD_tools.miniAOD_customizeAllData")
1641  else:
1642  if self._options.fast:
1643  self._options.customisation_file_unsch.insert(0,"PhysicsTools/PatAlgos/slimming/miniAOD_tools.miniAOD_customizeAllMCFastSim")
1644  else:
1645  self._options.customisation_file_unsch.insert(0,"PhysicsTools/PatAlgos/slimming/miniAOD_tools.miniAOD_customizeAllMC")
1646 
def loadDefaultOrSpecifiedCFF(self, sequence, defaultCFF)
def prepare_PATFILTER(self, sequence=None)
def prepare_PAT(self, sequence="miniAOD")
def ConfigBuilder.ConfigBuilder.prepare_PATFILTER (   self,
  sequence = None 
)

Definition at line 1554 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.loadAndRemember(), CMSTestAnalyzer.CMSTestAnalyzer.process(), Filter.Filter.process(), edm::ProductLabels.process, Printer.Printer.process(), HcalHitRelabeller.process(), SimpleMuonAnalyzer.SimpleMuonAnalyzer.process(), SimpleTreeAnalyzer.ZJetsTreeAnalyzer.process(), L1TMuonBarrelKalmanRegionModule.process(), SingleHitTrack.process(), L1TMuonBarrelKalmanSectorProcessor.process(), Histogrammer.Histogrammer.process(), L1TMuonBarrelKalmanTrackFinder.process(), BestTrackSelection.process(), AngleCalculation.process(), EmulateCPPF.process(), SimpleTreeProducer.SimpleTreeProducer.process(), tfwliteselectortest::ThingsWorker.process(), PrimitiveSelection.process(), TTPrimitiveConversion.process(), ZJetsTreeAnalyzer.ZJetsTreeAnalyzer.process(), PrimitiveMatching.process(), clangcms::CatchAll.process(), core.Analyzer.Analyzer.process(), PtAssignment.process(), EcalFenixTcpsFgvbEB.process(), CSCTFDTReceiver.process(), gen.LHEAnalyzer.LHEAnalyzer.process(), PrimitiveConversion.process(), EcalFenixPeakFinder.process(), EcalFenixBypassLin.process(), tfwliteselectortest::ThingsTSelector.process(), MetTreeProducer.MetTreeProducer.process(), PatternRecognition.process(), TrackFinder.process(), CSCTFMonitorInterface.process(), EcalFenixMaxof2.process(), examples::TrackAnalysisAlgorithm.process(), CSCMonitorInterface.process(), TTULogic.process(), helper::NullPostProcessor< reco::CandidateCollection, edm::EDFilter >.process(), helper::NullPostProcessor< typename::helper::SelectedOutputCollectionTrait< reco::TrackCollection >::type, EdmFilter >.process(), NullPostProcessor< reco::CandidateCollection >.process(), NullPostProcessor< OutputCollection, edm::EDFilter >.process(), EDFilter<>.process(), EDProducer<>.process(), NullPostProcessor< OutputCollection >.process(), helper::NullPostProcessor< OutputCollection, EdmFilter >.process(), NullPostProcessor< OutputCollection, EdmFilter >.process(), RBCLogic.process(), TTUWedgeORLogic.process(), EcalFenixEtStrip.process(), RBCPatternLogic.process(), TTUSectorORLogic.process(), SimpleJetAnalyzer.SimpleJetAnalyzer.process(), PFPileUpAlgo.process(), npstat::AbsVisitor< Input, unsigned long >.process(), HcalCableMapper.process(), __class__Worker.process(), npstat::AbsVisitor< Input, Result >.process(), EcalFenixAmplitudeFilter.process(), EcalFenixTcpFormat.process(), BTagDifferentialPlot.process(), EcalFenixStripFormatEE.process(), npstat::AbsArrayProjector< Input, Result >.process(), RBCTestLogic.process(), EcalFenixStripFormatEB.process(), TTUPointingLogic.process(), MetAnalyzer.MetAnalyzer.process(), EcalFenixEtTot.process(), TTUTwoORLogic.process(), EcalFenixStripFgvbEE.process(), gen.LHEWeightAnalyzer.LHEWeightAnalyzer.process(), RBCChamberORLogic.process(), core.TriggerMatchAnalyzer.TriggerMatchAnalyzer.process(), EcalFenixTcpFgvbEE.process(), TTUTrackingAlg.process(), core.TriggerBitFilter.TriggerBitFilter.process(), gen.HiggsDecayModeAnalyzer.HiggsDecayModeAnalyzer.process(), HcalSimpleReconstructor.process(), EcalFenixFgvbEB.process(), L1GctEmLeafCard.process(), L1GctNullJetFinder.process(), edm::ConsumesInfo.process(), SiStripClusterToDigiProducer.process(), EcalFenixLinearizer.process(), TriggerAnalyzer.TriggerAnalyzer.process(), L1GctSimpleJetFinder.process(), L1GctHardwareJetFinder.process(), edm::InputTag.process(), RPCWheel.process(), gen.GenHeavyFlavourAnalyzer.GenHeavyFlavourAnalyzer.process(), L1GctProcessor.process(), L1GctJetFinalStage.process(), TTUConfigurator.process(), gen.PDFWeightsAnalyzer.PDFWeightsAnalyzer.process(), DTVdriftWorkflow.DTvdriftWorkflow.process, L1GctGlobalHfSumAlgos.process(), PFMETBenchmark.process(), npstat::VisitCounter< Input >.process(), L1GctElectronFinalSort.process(), PFJetBenchmark.process(), core.EventSelector.EventSelector.process(), core.ProvenanceAnalyzer.ProvenanceAnalyzer.process(), TrackingRecHitNoSmearingPlugin.process(), PFTauElecRejectionBenchmark.process(), EgammaHLTPixelMatchElectronAlgo.process(), SeedClusterRemoverPhase2.process(), ZMuMuRochCorAnalyzer.ZMuMuRochCorAnalyzer.process(), SectorProcessor.process(), TrackingRecHitStripGSPlugin.process(), L1Comparator.process(), TrackingRecHitAlgorithm.process(), L1GctWheelEnergyFpga.process(), L1GctWheelJetFpga.process(), core.JSONAnalyzer.JSONAnalyzer.process(), core.SkimAnalyzerCount.SkimAnalyzerCount.process(), analyzer.Analyzer.process(), Matcher.Matcher.process(), AlphaTAnalyzer.AlphaTAnalyzer.process(), cscdqm::HWStandbyType.process, RecHitProcessor.process(), L1GctElectronSorter.process(), L1GctGlobalEnergyAlgos.process(), JetAnalyzer.JetAnalyzer.process(), DTTtrigWorkflow.DTttrigWorkflow.process, L1GctTdrJetFinder.process(), DTuROSRawToDigi.process(), DTuROSDigiToRaw.process(), TFWLiteSelectorBasic.process(), core.TriggerBitAnalyzer.TriggerBitAnalyzer.process(), L1GctJetLeafCard.process(), KDTreeLinkerBase.process(), fwlite::internal::DataKey.process(), DTTFFEDReader.process(), L1GlobalCaloTrigger.process(), SeedClusterRemover.process(), ResonanceBuilder.ResonanceBuilder.process(), TFWLiteSelector< TWorker >.process(), TFWLiteSelector< TrackAnalysisAlgorithm >.process(), TFWLiteSelector< __class__Worker >.process(), TFWLiteSelector< ThingsWorker >.process(), EcalFenixTcp.process(), HLTTrackClusterRemoverNew.process(), TestOutliers.process, DiLeptonAnalyzer.DiLeptonAnalyzer.process(), HTTP.RequestManager.process(), HITrackClusterRemover.process(), PixelTemplateSmearerBase.process(), GenLumiInfoProduct::ProcessInfo.process(), objects.VertexAnalyzer.VertexAnalyzer.process(), core.PileUpAnalyzer.PileUpAnalyzer.process(), EcalFenixStrip.process(), lhef::LHERunInfo::Process.process(), objects.JetAnalyzer.JetAnalyzer.process(), objects.TauAnalyzer.TauAnalyzer.process(), CaloTowersCreationAlgo.process(), core.AutoFillTreeProducer.AutoFillTreeProducer.process(), EgammaHLTValidationUtils.EgammaDQMModuleMaker.process, cond::payloadInspector::PlotBase.process(), L1GctJetFinderBase.process(), Config.Process.process, looper.Looper.process(), DTWorkflow.DTWorkflow.process, gen.GeneratorAnalyzer.GeneratorAnalyzer.process(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.process(), edm::ProductResolverIndexHelper::Item.process(), objects.PhotonAnalyzer.PhotonAnalyzer.process(), JsonOutputProducer::JsonConfigurationBlock.process, objects.LeptonAnalyzer.LeptonAnalyzer.process(), and Config.SubProcess.process().

Referenced by ConfigBuilder.ConfigBuilder.prepare_PAT().

1554  def prepare_PATFILTER(self, sequence=None):
1555  self.loadAndRemember("PhysicsTools/PatAlgos/slimming/metFilterPaths_cff")
1556  from PhysicsTools.PatAlgos.slimming.metFilterPaths_cff import allMetFilterPaths
1557  for filt in allMetFilterPaths:
1558  self.schedule.append(getattr(self.process,'Flag_'+filt))
1559 
def prepare_PATFILTER(self, sequence=None)
def loadAndRemember(self, includeFile)
def ConfigBuilder.ConfigBuilder.prepare_PATGEN (   self,
  sequence = "miniGEN" 
)
Enrich the schedule with PATGEN 

Definition at line 1657 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.loadDefaultOrSpecifiedCFF().

1657  def prepare_PATGEN(self, sequence = "miniGEN"):
1658  ''' Enrich the schedule with PATGEN '''
1659  self.loadDefaultOrSpecifiedCFF(sequence,self.PATGENDefaultCFF) #this is unscheduled
1660  self.labelsToAssociate.append('patGENTask')
def loadDefaultOrSpecifiedCFF(self, sequence, defaultCFF)
def prepare_PATGEN(self, sequence="miniGEN")
def ConfigBuilder.ConfigBuilder.prepare_POSTRECO (   self,
  sequence = None 
)
Enrich the schedule with the postreco step 

Definition at line 1744 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.loadAndRemember(), and ConfigBuilder.ConfigBuilder.scheduleSequence().

1744  def prepare_POSTRECO(self, sequence = None):
1745  """ Enrich the schedule with the postreco step """
1746  self.loadAndRemember(self.POSTRECODefaultCFF)
def prepare_POSTRECO(self, sequence=None)
def loadAndRemember(self, includeFile)
def ConfigBuilder.ConfigBuilder.prepare_RAW2DIGI (   self,
  sequence = "RawToDigi" 
)

Definition at line 1547 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.loadDefaultOrSpecifiedCFF(), ConfigBuilder.ConfigBuilder.RAW2DIGIDefaultCFF, and ConfigBuilder.ConfigBuilder.scheduleSequence().

Referenced by ConfigBuilder.ConfigBuilder.prepare_RAW2RECO().

1547  def prepare_RAW2DIGI(self, sequence = "RawToDigi"):
1548  self.loadDefaultOrSpecifiedCFF(sequence,self.RAW2DIGIDefaultCFF)
1549  self.scheduleSequence(sequence,'raw2digi_step')
1550  # if self._options.isRepacked:
1551  #self.renameInputTagsInSequence(sequence)
1552  return
1553 
def loadDefaultOrSpecifiedCFF(self, sequence, defaultCFF)
def prepare_RAW2DIGI(self, sequence="RawToDigi")
def scheduleSequence(self, seq, prefix, what='Path')
def ConfigBuilder.ConfigBuilder.prepare_RAW2RECO (   self,
  sequence = None 
)

Definition at line 1536 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.prepare_RAW2DIGI(), and ConfigBuilder.ConfigBuilder.prepare_RECO().

1536  def prepare_RAW2RECO(self, sequence = None):
1537  if ','in sequence:
1538  seqReco=sequence.split(',')[1]
1539  seqDigi=sequence.split(',')[0]
1540  else:
1541  print "RAW2RECO requires two specifications",sequence,"insufficient"
1542 
1543  self.prepare_RAW2DIGI(seqDigi)
1544  self.prepare_RECO(seqReco)
1545  return
1546 
def prepare_RAW2DIGI(self, sequence="RawToDigi")
def prepare_RECO(self, sequence="reconstruction")
put the filtering path in the schedule
def prepare_RAW2RECO(self, sequence=None)
def ConfigBuilder.ConfigBuilder.prepare_RECO (   self,
  sequence = "reconstruction" 
)

put the filtering path in the schedule

put it before all the other paths

Enrich the schedule with reconstruction 

Definition at line 1611 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.loadDefaultOrSpecifiedCFF(), ConfigBuilder.ConfigBuilder.RECODefaultCFF, and ConfigBuilder.ConfigBuilder.scheduleSequence().

Referenced by ConfigBuilder.ConfigBuilder.prepare_RAW2RECO().

1611  def prepare_RECO(self, sequence = "reconstruction"):
1612  ''' Enrich the schedule with reconstruction '''
1613  self.loadDefaultOrSpecifiedCFF(sequence,self.RECODefaultCFF)
def loadDefaultOrSpecifiedCFF(self, sequence, defaultCFF)
def prepare_RECO(self, sequence="reconstruction")
put the filtering path in the schedule
def ConfigBuilder.ConfigBuilder.prepare_RECOBEFMIX (   self,
  sequence = "reconstruction" 
)
Enrich the schedule with the part of reconstruction that is done before mixing in FastSim

Definition at line 1623 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.loadDefaultOrSpecifiedCFF(), and ConfigBuilder.ConfigBuilder.scheduleSequence().

1623  def prepare_RECOBEFMIX(self, sequence = "reconstruction"):
1624  ''' Enrich the schedule with the part of reconstruction that is done before mixing in FastSim'''
1625  if not self._options.fast:
1626  print "ERROR: this step is only implemented for FastSim"
1627  sys.exit()
1628  self.loadDefaultOrSpecifiedCFF(self.RECOBEFMIXDefaultSeq,self.RECOBEFMIXDefaultCFF)
1629  self.scheduleSequence(sequence.split('.')[-1],'reconstruction_befmix_step')
1630  return
1631 
def loadDefaultOrSpecifiedCFF(self, sequence, defaultCFF)
def prepare_RECOBEFMIX(self, sequence="reconstruction")
def scheduleSequence(self, seq, prefix, what='Path')
def ConfigBuilder.ConfigBuilder.prepare_RECOSIM (   self,
  sequence = "recosim" 
)
Enrich the schedule with reconstruction 

Definition at line 1617 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.loadDefaultOrSpecifiedCFF(), ConfigBuilder.ConfigBuilder.RECOSIMDefaultCFF, and ConfigBuilder.ConfigBuilder.scheduleSequence().

1617  def prepare_RECOSIM(self, sequence = "recosim"):
1618  ''' Enrich the schedule with reconstruction '''
1619  self.loadDefaultOrSpecifiedCFF(sequence,self.RECOSIMDefaultCFF)
def loadDefaultOrSpecifiedCFF(self, sequence, defaultCFF)
def prepare_RECOSIM(self, sequence="recosim")
def ConfigBuilder.ConfigBuilder.prepare_REPACK (   self,
  sequence = None 
)

Definition at line 1456 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.loadDefaultOrSpecifiedCFF(), and ConfigBuilder.ConfigBuilder.scheduleSequence().

1456  def prepare_REPACK(self, sequence = None):
1457  self.loadDefaultOrSpecifiedCFF(sequence,self.REPACKDefaultCFF)
1458  self.scheduleSequence(sequence.split('.')[-1],'digi2repack_step')
1459  return
1460 
def loadDefaultOrSpecifiedCFF(self, sequence, defaultCFF)
def prepare_REPACK(self, sequence=None)
def scheduleSequence(self, seq, prefix, what='Path')
def ConfigBuilder.ConfigBuilder.prepare_SIM (   self,
  sequence = None 
)
Enrich the schedule with the summary of the filter step 
Enrich the schedule with the simulation step

Definition at line 1391 of file ConfigBuilder.py.

1391  def prepare_SIM(self, sequence = None):
1392  """ Enrich the schedule with the simulation step"""
def prepare_SIM(self, sequence=None)
def ConfigBuilder.ConfigBuilder.prepare_SKIM (   self,
  sequence = "all" 
)
Enrich the schedule with skimming fragments

Definition at line 1694 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.addExtraStream(), ConfigBuilder.ConfigBuilder.expandMapping(), join(), and ConfigBuilder.ConfigBuilder.loadDefaultOrSpecifiedCFF().

1694  def prepare_SKIM(self, sequence = "all"):
1695  ''' Enrich the schedule with skimming fragments'''
1696  skimConfig = self.loadDefaultOrSpecifiedCFF(sequence,self.SKIMDefaultCFF)
1697  sequence = sequence.split('.')[-1]
1698 
1699  skimlist=sequence.split('+')
1700  ## support @Mu+DiJet+@Electron configuration via autoSkim.py
def loadDefaultOrSpecifiedCFF(self, sequence, defaultCFF)
def prepare_SKIM(self, sequence="all")
def ConfigBuilder.ConfigBuilder.prepare_USER (   self,
  sequence = None 
)
Enrich the schedule with a user defined sequence 

Definition at line 1738 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.loadDefaultOrSpecifiedCFF(), and ConfigBuilder.ConfigBuilder.scheduleSequence().

1738  def prepare_USER(self, sequence = None):
1739  ''' Enrich the schedule with a user defined sequence '''
1740  self.loadDefaultOrSpecifiedCFF(sequence,self.USERDefaultCFF)
def prepare_USER(self, sequence=None)
def loadDefaultOrSpecifiedCFF(self, sequence, defaultCFF)
def ConfigBuilder.ConfigBuilder.prepare_VALIDATION (   self,
  sequence = 'validation' 
)

Definition at line 1751 of file ConfigBuilder.py.

References any(), ConfigBuilder.ConfigBuilder.executeAndRemember(), ConfigBuilder.ConfigBuilder.expandMapping(), ConfigBuilder.ConfigBuilder.loadDefaultOrSpecifiedCFF(), genParticles_cff.map, CMSTestAnalyzer.CMSTestAnalyzer.process(), Filter.Filter.process(), edm::ProductLabels.process, Printer.Printer.process(), HcalHitRelabeller.process(), SimpleMuonAnalyzer.SimpleMuonAnalyzer.process(), SimpleTreeAnalyzer.ZJetsTreeAnalyzer.process(), L1TMuonBarrelKalmanRegionModule.process(), L1TMuonBarrelKalmanTrackFinder.process(), SingleHitTrack.process(), L1TMuonBarrelKalmanSectorProcessor.process(), Histogrammer.Histogrammer.process(), EmulateCPPF.process(), AngleCalculation.process(), SimpleTreeProducer.SimpleTreeProducer.process(), BestTrackSelection.process(), tfwliteselectortest::ThingsWorker.process(), PrimitiveSelection.process(), TTPrimitiveConversion.process(), ZJetsTreeAnalyzer.ZJetsTreeAnalyzer.process(), PrimitiveMatching.process(), clangcms::CatchAll.process(), core.Analyzer.Analyzer.process(), PtAssignment.process(), EcalFenixTcpsFgvbEB.process(), CSCTFDTReceiver.process(), gen.LHEAnalyzer.LHEAnalyzer.process(), PrimitiveConversion.process(), tfwliteselectortest::ThingsTSelector.process(), EcalFenixPeakFinder.process(), EcalFenixBypassLin.process(), MetTreeProducer.MetTreeProducer.process(), PatternRecognition.process(), TrackFinder.process(), EcalFenixMaxof2.process(), CSCTFMonitorInterface.process(), examples::TrackAnalysisAlgorithm.process(), EDProducer<>.process(), helper::NullPostProcessor< reco::CandidateCollection, edm::EDFilter >.process(), helper::NullPostProcessor< typename::helper::SelectedOutputCollectionTrait< reco::TrackCollection >::type, EdmFilter >.process(), NullPostProcessor< reco::CandidateCollection >.process(), NullPostProcessor< OutputCollection, edm::EDFilter >.process(), EDFilter<>.process(), TTULogic.process(), NullPostProcessor< OutputCollection, EdmFilter >.process(), NullPostProcessor< OutputCollection >.process(), CSCMonitorInterface.process(), helper::NullPostProcessor< OutputCollection, EdmFilter >.process(), RBCLogic.process(), TTUWedgeORLogic.process(), EcalFenixEtStrip.process(), SimpleJetAnalyzer.SimpleJetAnalyzer.process(), RBCPatternLogic.process(), TTUSectorORLogic.process(), PFPileUpAlgo.process(), __class__Worker.process(), npstat::AbsVisitor< Input, unsigned long >.process(), npstat::AbsVisitor< Input, Result >.process(), HcalCableMapper.process(), BTagDifferentialPlot.process(), EcalFenixAmplitudeFilter.process(), EcalFenixTcpFormat.process(), EcalFenixStripFormatEE.process(), npstat::AbsArrayProjector< Input, Result >.process(), EcalFenixStripFormatEB.process(), MetAnalyzer.MetAnalyzer.process(), RBCTestLogic.process(), TTUPointingLogic.process(), EcalFenixEtTot.process(), TTUTwoORLogic.process(), EcalFenixStripFgvbEE.process(), gen.LHEWeightAnalyzer.LHEWeightAnalyzer.process(), RBCChamberORLogic.process(), EcalFenixTcpFgvbEE.process(), core.TriggerMatchAnalyzer.TriggerMatchAnalyzer.process(), TTUTrackingAlg.process(), core.TriggerBitFilter.TriggerBitFilter.process(), gen.HiggsDecayModeAnalyzer.HiggsDecayModeAnalyzer.process(), HcalSimpleReconstructor.process(), EcalFenixFgvbEB.process(), edm::ConsumesInfo.process(), L1GctEmLeafCard.process(), L1GctNullJetFinder.process(), SiStripClusterToDigiProducer.process(), EcalFenixLinearizer.process(), TriggerAnalyzer.TriggerAnalyzer.process(), L1GctSimpleJetFinder.process(), edm::InputTag.process(), L1GctHardwareJetFinder.process(), RPCWheel.process(), gen.GenHeavyFlavourAnalyzer.GenHeavyFlavourAnalyzer.process(), L1GctJetFinalStage.process(), L1GctProcessor.process(), TTUConfigurator.process(), DTVdriftWorkflow.DTvdriftWorkflow.process, gen.PDFWeightsAnalyzer.PDFWeightsAnalyzer.process(), L1GctGlobalHfSumAlgos.process(), PFMETBenchmark.process(), npstat::VisitCounter< Input >.process(), L1GctElectronFinalSort.process(), PFJetBenchmark.process(), core.EventSelector.EventSelector.process(), core.ProvenanceAnalyzer.ProvenanceAnalyzer.process(), TrackingRecHitNoSmearingPlugin.process(), PFTauElecRejectionBenchmark.process(), EgammaHLTPixelMatchElectronAlgo.process(), SeedClusterRemoverPhase2.process(), ZMuMuRochCorAnalyzer.ZMuMuRochCorAnalyzer.process(), SectorProcessor.process(), TrackingRecHitStripGSPlugin.process(), L1Comparator.process(), L1GctWheelEnergyFpga.process(), TrackingRecHitAlgorithm.process(), L1GctWheelJetFpga.process(), core.JSONAnalyzer.JSONAnalyzer.process(), core.SkimAnalyzerCount.SkimAnalyzerCount.process(), analyzer.Analyzer.process(), AlphaTAnalyzer.AlphaTAnalyzer.process(), Matcher.Matcher.process(), cscdqm::HWStandbyType.process, RecHitProcessor.process(), L1GctElectronSorter.process(), L1GctGlobalEnergyAlgos.process(), DTTtrigWorkflow.DTttrigWorkflow.process, JetAnalyzer.JetAnalyzer.process(), L1GctTdrJetFinder.process(), DTuROSRawToDigi.process(), TFWLiteSelectorBasic.process(), DTuROSDigiToRaw.process(), core.TriggerBitAnalyzer.TriggerBitAnalyzer.process(), KDTreeLinkerBase.process(), L1GctJetLeafCard.process(), fwlite::internal::DataKey.process(), DTTFFEDReader.process(), L1GlobalCaloTrigger.process(), SeedClusterRemover.process(), ResonanceBuilder.ResonanceBuilder.process(), TFWLiteSelector< __class__Worker >.process(), TFWLiteSelector< ThingsWorker >.process(), TFWLiteSelector< TrackAnalysisAlgorithm >.process(), TFWLiteSelector< TWorker >.process(), EcalFenixTcp.process(), HLTTrackClusterRemoverNew.process(), TestOutliers.process, DiLeptonAnalyzer.DiLeptonAnalyzer.process(), HTTP.RequestManager.process(), HITrackClusterRemover.process(), PixelTemplateSmearerBase.process(), GenLumiInfoProduct::ProcessInfo.process(), objects.VertexAnalyzer.VertexAnalyzer.process(), core.PileUpAnalyzer.PileUpAnalyzer.process(), EcalFenixStrip.process(), lhef::LHERunInfo::Process.process(), objects.JetAnalyzer.JetAnalyzer.process(), CaloTowersCreationAlgo.process(), objects.TauAnalyzer.TauAnalyzer.process(), core.AutoFillTreeProducer.AutoFillTreeProducer.process(), EgammaHLTValidationUtils.EgammaDQMModuleMaker.process, cond::payloadInspector::PlotBase.process(), L1GctJetFinderBase.process(), Config.Process.process, looper.Looper.process(), DTWorkflow.DTWorkflow.process, gen.GeneratorAnalyzer.GeneratorAnalyzer.process(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.process(), edm::ProductResolverIndexHelper::Item.process(), objects.PhotonAnalyzer.PhotonAnalyzer.process(), JsonOutputProducer::JsonConfigurationBlock.process, objects.LeptonAnalyzer.LeptonAnalyzer.process(), Config.SubProcess.process(), ConfigBuilder.ConfigBuilder.renameHLTprocessInSequence(), and split.

1751  def prepare_VALIDATION(self, sequence = 'validation'):
1752  print sequence,"in preparing validation"
1753  self.loadDefaultOrSpecifiedCFF(sequence,self.VALIDATIONDefaultCFF)
1754  from Validation.Configuration.autoValidation import autoValidation
1755  #in case VALIDATION:something:somethingelse -> something,somethingelse
1756  sequence=sequence.split('.')[-1]
1757  if sequence.find(',')!=-1:
1758  prevalSeqName=sequence.split(',')[0].split('+')
1759  valSeqName=sequence.split(',')[1].split('+')
1760  self.expandMapping(prevalSeqName,autoValidation,index=0)
1761  self.expandMapping(valSeqName,autoValidation,index=1)
1762  else:
1763  if '@' in sequence:
1764  prevalSeqName=sequence.split('+')
1765  valSeqName=sequence.split('+')
1766  self.expandMapping(prevalSeqName,autoValidation,index=0)
1767  self.expandMapping(valSeqName,autoValidation,index=1)
1768  else:
1769  postfix=''
1770  if sequence:
1771  postfix='_'+sequence
1772  prevalSeqName=['prevalidation'+postfix]
1773  valSeqName=['validation'+postfix]
1774  if not hasattr(self.process,valSeqName[0]):
1775  prevalSeqName=['']
1776  valSeqName=[sequence]
1777 
1778  def NFI(index):
1779  ##name from index, required to keep backward compatibility
1780  if index==0:
1781  return ''
1782  else:
1783  return '%s'%index
1784 
1785 
1786  #rename the HLT process in validation steps
1787  if ('HLT' in self.stepMap and not self._options.fast) or self._options.hltProcess:
1788  for s in valSeqName+prevalSeqName:
1789  if s:
1791  for (i,s) in enumerate(prevalSeqName):
1792  if s:
1793  setattr(self.process,'prevalidation_step%s'%NFI(i), cms.Path( getattr(self.process, s)) )
1794  self.schedule.append(getattr(self.process,'prevalidation_step%s'%NFI(i)))
1795 
1796  for (i,s) in enumerate(valSeqName):
1797  setattr(self.process,'validation_step%s'%NFI(i), cms.EndPath( getattr(self.process, s)))
1798  self.schedule.append(getattr(self.process,'validation_step%s'%NFI(i)))
1799 
1800  #needed in case the miniAODValidation sequence is run starting from AODSIM
1801  if 'PAT' in self.stepMap and not 'RECO' in self.stepMap:
1802  return
1803 
1804  if not 'DIGI' in self.stepMap and not self._options.fast and not any(map( lambda s : s.startswith('genvalid'), valSeqName)):
1805  if self._options.restoreRNDSeeds==False and not self._options.restoreRNDSeeds==True:
1806  self._options.restoreRNDSeeds=True
1807 
1808  if not 'DIGI' in self.stepMap and not self._options.fast:
1809  self.executeAndRemember("process.mix.playback = True")
1810  self.executeAndRemember("process.mix.digitizers = cms.PSet()")
1811  self.executeAndRemember("for a in process.aliases: delattr(process, a)")
1812  self._options.customisation_file.append("SimGeneral/MixingModule/fullMixCustomize_cff.setCrossingFrameOn")
1813 
1814  if hasattr(self.process,"genstepfilter") and len(self.process.genstepfilter.triggerConditions):
1815  #will get in the schedule, smoothly
1816  for (i,s) in enumerate(valSeqName):
1817  getattr(self.process,'validation_step%s'%NFI(i))._seq = self.process.genstepfilter * getattr(self.process,'validation_step%s'%NFI(i))._seq
1818 
1819  return
1820 
1821 
def expandMapping(self, seqList, mapping, index=None)
def loadDefaultOrSpecifiedCFF(self, sequence, defaultCFF)
bool any(const std::vector< T > &v, const T &what)
Definition: ECalSD.cc:37
def renameHLTprocessInSequence(self, sequence, proc=None, HLTprocess='HLT')
def prepare_VALIDATION(self, sequence='validation')
double split
Definition: MVATrainer.cc:139
def executeAndRemember(self, command)
def ConfigBuilder.ConfigBuilder.profileOptions (   self)
addIgProfService
Function to add the igprof profile service so that you can dump in the middle
of the run.

Definition at line 266 of file ConfigBuilder.py.

References createfilelist.int.

Referenced by ConfigBuilder.ConfigBuilder.addCommon().

266  def profileOptions(self):
267  """
268  addIgProfService
269  Function to add the igprof profile service so that you can dump in the middle
270  of the run.
271  """
272  profileOpts = self._options.profile.split(':')
273  profilerStart = 1
274  profilerInterval = 100
275  profilerFormat = None
276  profilerJobFormat = None
277 
278  if len(profileOpts):
279  #type, given as first argument is unused here
280  profileOpts.pop(0)
281  if len(profileOpts):
282  startEvent = profileOpts.pop(0)
283  if not startEvent.isdigit():
284  raise Exception("%s is not a number" % startEvent)
285  profilerStart = int(startEvent)
286  if len(profileOpts):
287  eventInterval = profileOpts.pop(0)
288  if not eventInterval.isdigit():
289  raise Exception("%s is not a number" % eventInterval)
290  profilerInterval = int(eventInterval)
291  if len(profileOpts):
292  profilerFormat = profileOpts.pop(0)
293 
294 
295  if not profilerFormat:
296  profilerFormat = "%s___%s___%s___%s___%s___%s___%%I.gz" % (self._options.evt_type.replace("_cfi", ""),
297  self._options.step,
298  self._options.pileup,
299  self._options.conditions,
300  self._options.datatier,
301  self._options.profileTypeLabel)
302  if not profilerJobFormat and profilerFormat.endswith(".gz"):
303  profilerJobFormat = profilerFormat.replace(".gz", "_EndOfJob.gz")
304  elif not profilerJobFormat:
305  profilerJobFormat = profilerFormat + "_EndOfJob.gz"
306 
307  return (profilerStart,profilerInterval,profilerFormat,profilerJobFormat)
308 
def ConfigBuilder.ConfigBuilder.renameHLTprocessInSequence (   self,
  sequence,
  proc = None,
  HLTprocess = 'HLT' 
)

Definition at line 1891 of file ConfigBuilder.py.

References CMSTestAnalyzer.CMSTestAnalyzer.process(), Filter.Filter.process(), edm::ProductLabels.process, Printer.Printer.process(), HcalHitRelabeller.process(), SimpleTreeAnalyzer.ZJetsTreeAnalyzer.process(), SimpleMuonAnalyzer.SimpleMuonAnalyzer.process(), L1TMuonBarrelKalmanRegionModule.process(), SingleHitTrack.process(), L1TMuonBarrelKalmanSectorProcessor.process(), L1TMuonBarrelKalmanTrackFinder.process(), Histogrammer.Histogrammer.process(), BestTrackSelection.process(), AngleCalculation.process(), EmulateCPPF.process(), SimpleTreeProducer.SimpleTreeProducer.process(), tfwliteselectortest::ThingsWorker.process(), PrimitiveSelection.process(), TTPrimitiveConversion.process(), ZJetsTreeAnalyzer.ZJetsTreeAnalyzer.process(), PrimitiveMatching.process(), clangcms::CatchAll.process(), core.Analyzer.Analyzer.process(), PtAssignment.process(), EcalFenixTcpsFgvbEB.process(), CSCTFDTReceiver.process(), gen.LHEAnalyzer.LHEAnalyzer.process(), PrimitiveConversion.process(), EcalFenixPeakFinder.process(), EcalFenixBypassLin.process(), tfwliteselectortest::ThingsTSelector.process(), MetTreeProducer.MetTreeProducer.process(), PatternRecognition.process(), TrackFinder.process(), CSCTFMonitorInterface.process(), EcalFenixMaxof2.process(), examples::TrackAnalysisAlgorithm.process(), CSCMonitorInterface.process(), helper::NullPostProcessor< reco::CandidateCollection, edm::EDFilter >.process(), helper::NullPostProcessor< typename::helper::SelectedOutputCollectionTrait< reco::TrackCollection >::type, EdmFilter >.process(), NullPostProcessor< reco::CandidateCollection >.process(), NullPostProcessor< OutputCollection, edm::EDFilter >.process(), TTULogic.process(), EDProducer<>.process(), NullPostProcessor< OutputCollection >.process(), NullPostProcessor< OutputCollection, EdmFilter >.process(), helper::NullPostProcessor< OutputCollection, EdmFilter >.process(), EDFilter<>.process(), RBCLogic.process(), TTUWedgeORLogic.process(), EcalFenixEtStrip.process(), PFPileUpAlgo.process(), RBCPatternLogic.process(), TTUSectorORLogic.process(), SimpleJetAnalyzer.SimpleJetAnalyzer.process(), npstat::AbsVisitor< Input, Result >.process(), HcalCableMapper.process(), __class__Worker.process(), npstat::AbsVisitor< Input, unsigned long >.process(), EcalFenixAmplitudeFilter.process(), EcalFenixTcpFormat.process(), npstat::AbsArrayProjector< Input, Result >.process(), BTagDifferentialPlot.process(), EcalFenixStripFormatEE.process(), EcalFenixStripFormatEB.process(), RBCTestLogic.process(), MetAnalyzer.MetAnalyzer.process(), TTUPointingLogic.process(), EcalFenixEtTot.process(), TTUTwoORLogic.process(), EcalFenixStripFgvbEE.process(), gen.LHEWeightAnalyzer.LHEWeightAnalyzer.process(), EcalFenixTcpFgvbEE.process(), RBCChamberORLogic.process(), core.TriggerMatchAnalyzer.TriggerMatchAnalyzer.process(), TTUTrackingAlg.process(), core.TriggerBitFilter.TriggerBitFilter.process(), gen.HiggsDecayModeAnalyzer.HiggsDecayModeAnalyzer.process(), HcalSimpleReconstructor.process(), EcalFenixFgvbEB.process(), L1GctEmLeafCard.process(), L1GctNullJetFinder.process(), edm::ConsumesInfo.process(), EcalFenixLinearizer.process(), SiStripClusterToDigiProducer.process(), L1GctSimpleJetFinder.process(), TriggerAnalyzer.TriggerAnalyzer.process(), L1GctHardwareJetFinder.process(), edm::InputTag.process(), gen.GenHeavyFlavourAnalyzer.GenHeavyFlavourAnalyzer.process(), RPCWheel.process(), TTUConfigurator.process(), L1GctJetFinalStage.process(), L1GctProcessor.process(), DTVdriftWorkflow.DTvdriftWorkflow.process, gen.PDFWeightsAnalyzer.PDFWeightsAnalyzer.process(), L1GctGlobalHfSumAlgos.process(), PFMETBenchmark.process(), npstat::VisitCounter< Input >.process(), L1GctElectronFinalSort.process(), PFJetBenchmark.process(), core.EventSelector.EventSelector.process(), core.ProvenanceAnalyzer.ProvenanceAnalyzer.process(), TrackingRecHitNoSmearingPlugin.process(), PFTauElecRejectionBenchmark.process(), SeedClusterRemoverPhase2.process(), EgammaHLTPixelMatchElectronAlgo.process(), ZMuMuRochCorAnalyzer.ZMuMuRochCorAnalyzer.process(), SectorProcessor.process(), TrackingRecHitStripGSPlugin.process(), L1Comparator.process(), TrackingRecHitAlgorithm.process(), L1GctWheelEnergyFpga.process(), L1GctWheelJetFpga.process(), core.JSONAnalyzer.JSONAnalyzer.process(), core.SkimAnalyzerCount.SkimAnalyzerCount.process(), analyzer.Analyzer.process(), Matcher.Matcher.process(), AlphaTAnalyzer.AlphaTAnalyzer.process(), cscdqm::HWStandbyType.process, RecHitProcessor.process(), L1GctElectronSorter.process(), L1GctGlobalEnergyAlgos.process(), DTTtrigWorkflow.DTttrigWorkflow.process, JetAnalyzer.JetAnalyzer.process(), DTuROSRawToDigi.process(), L1GctTdrJetFinder.process(), TFWLiteSelectorBasic.process(), DTuROSDigiToRaw.process(), core.TriggerBitAnalyzer.TriggerBitAnalyzer.process(), L1GctJetLeafCard.process(), KDTreeLinkerBase.process(), DTTFFEDReader.process(), fwlite::internal::DataKey.process(), L1GlobalCaloTrigger.process(), ResonanceBuilder.ResonanceBuilder.process(), SeedClusterRemover.process(), TFWLiteSelector< __class__Worker >.process(), TFWLiteSelector< TWorker >.process(), TFWLiteSelector< ThingsWorker >.process(), TFWLiteSelector< TrackAnalysisAlgorithm >.process(), EcalFenixTcp.process(), TestOutliers.process, HLTTrackClusterRemoverNew.process(), DiLeptonAnalyzer.DiLeptonAnalyzer.process(), HTTP.RequestManager.process(), PixelTemplateSmearerBase.process(), HITrackClusterRemover.process(), GenLumiInfoProduct::ProcessInfo.process(), objects.VertexAnalyzer.VertexAnalyzer.process(), core.PileUpAnalyzer.PileUpAnalyzer.process(), EcalFenixStrip.process(), lhef::LHERunInfo::Process.process(), objects.JetAnalyzer.JetAnalyzer.process(), objects.TauAnalyzer.TauAnalyzer.process(), CaloTowersCreationAlgo.process(), core.AutoFillTreeProducer.AutoFillTreeProducer.process(), EgammaHLTValidationUtils.EgammaDQMModuleMaker.process, cond::payloadInspector::PlotBase.process(), L1GctJetFinderBase.process(), Config.Process.process, looper.Looper.process(), DTWorkflow.DTWorkflow.process, gen.GeneratorAnalyzer.GeneratorAnalyzer.process(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.process(), edm::ProductResolverIndexHelper::Item.process(), objects.PhotonAnalyzer.PhotonAnalyzer.process(), JsonOutputProducer::JsonConfigurationBlock.process, objects.LeptonAnalyzer.LeptonAnalyzer.process(), Config.SubProcess.process(), and cmsPerfHarvest.visit().

Referenced by ConfigBuilder.ConfigBuilder.prepare_ALCA(), ConfigBuilder.ConfigBuilder.prepare_DQM(), and ConfigBuilder.ConfigBuilder.prepare_VALIDATION().

1891  def renameHLTprocessInSequence(self,sequence,proc=None,HLTprocess='HLT'):
1892  if self._options.hltProcess:
1893  proc=self._options.hltProcess
1894  else:
1895  proc=self.process.name_()
1896  if proc==HLTprocess: return
1897  # look up all module in dqm sequence
1898  print "replacing %s process name - sequence %s will use '%s'" % (HLTprocess,sequence, proc)
1899  getattr(self.process,sequence).visit(ConfigBuilder.MassSearchReplaceProcessNameVisitor(HLTprocess,proc,whitelist = ("subSystemFolder",)))
1900  if 'from Configuration.Applications.ConfigBuilder import ConfigBuilder' not in self.additionalCommands:
1901  self.additionalCommands.append('from Configuration.Applications.ConfigBuilder import ConfigBuilder')
1902  self.additionalCommands.append('process.%s.visit(ConfigBuilder.MassSearchReplaceProcessNameVisitor("%s", "%s", whitelist = ("subSystemFolder",)))'% (sequence,HLTprocess, proc))
1903 
1904 
def visit(visitdir)
Retrieve data from a perf suite output (sub) directory, only examines TimeSize at the moment...
def renameHLTprocessInSequence(self, sequence, proc=None, HLTprocess='HLT')
def ConfigBuilder.ConfigBuilder.renameInputTagsInSequence (   self,
  sequence,
  oldT = "rawDataCollector",
  newT = "rawDataRepacker" 
)

Definition at line 1881 of file ConfigBuilder.py.

References MassReplace.massSearchReplaceAnyInputTag(), CMSTestAnalyzer.CMSTestAnalyzer.process(), Filter.Filter.process(), edm::ProductLabels.process, Printer.Printer.process(), HcalHitRelabeller.process(), SimpleMuonAnalyzer.SimpleMuonAnalyzer.process(), SimpleTreeAnalyzer.ZJetsTreeAnalyzer.process(), L1TMuonBarrelKalmanRegionModule.process(), SingleHitTrack.process(), L1TMuonBarrelKalmanSectorProcessor.process(), Histogrammer.Histogrammer.process(), L1TMuonBarrelKalmanTrackFinder.process(), BestTrackSelection.process(), AngleCalculation.process(), EmulateCPPF.process(), SimpleTreeProducer.SimpleTreeProducer.process(), tfwliteselectortest::ThingsWorker.process(), PrimitiveSelection.process(), TTPrimitiveConversion.process(), ZJetsTreeAnalyzer.ZJetsTreeAnalyzer.process(), PrimitiveMatching.process(), clangcms::CatchAll.process(), core.Analyzer.Analyzer.process(), PtAssignment.process(), EcalFenixTcpsFgvbEB.process(), CSCTFDTReceiver.process(), gen.LHEAnalyzer.LHEAnalyzer.process(), PrimitiveConversion.process(), EcalFenixPeakFinder.process(), EcalFenixBypassLin.process(), tfwliteselectortest::ThingsTSelector.process(), MetTreeProducer.MetTreeProducer.process(), PatternRecognition.process(), TrackFinder.process(), CSCTFMonitorInterface.process(), EcalFenixMaxof2.process(), examples::TrackAnalysisAlgorithm.process(), CSCMonitorInterface.process(), TTULogic.process(), helper::NullPostProcessor< reco::CandidateCollection, edm::EDFilter >.process(), helper::NullPostProcessor< typename::helper::SelectedOutputCollectionTrait< reco::TrackCollection >::type, EdmFilter >.process(), NullPostProcessor< reco::CandidateCollection >.process(), NullPostProcessor< OutputCollection, edm::EDFilter >.process(), EDFilter<>.process(), EDProducer<>.process(), NullPostProcessor< OutputCollection >.process(), helper::NullPostProcessor< OutputCollection, EdmFilter >.process(), NullPostProcessor< OutputCollection, EdmFilter >.process(), RBCLogic.process(), TTUWedgeORLogic.process(), EcalFenixEtStrip.process(), RBCPatternLogic.process(), TTUSectorORLogic.process(), SimpleJetAnalyzer.SimpleJetAnalyzer.process(), PFPileUpAlgo.process(), npstat::AbsVisitor< Input, unsigned long >.process(), HcalCableMapper.process(), __class__Worker.process(), npstat::AbsVisitor< Input, Result >.process(), EcalFenixAmplitudeFilter.process(), EcalFenixTcpFormat.process(), BTagDifferentialPlot.process(), EcalFenixStripFormatEE.process(), npstat::AbsArrayProjector< Input, Result >.process(), RBCTestLogic.process(), EcalFenixStripFormatEB.process(), TTUPointingLogic.process(), MetAnalyzer.MetAnalyzer.process(), EcalFenixEtTot.process(), TTUTwoORLogic.process(), EcalFenixStripFgvbEE.process(), gen.LHEWeightAnalyzer.LHEWeightAnalyzer.process(), RBCChamberORLogic.process(), core.TriggerMatchAnalyzer.TriggerMatchAnalyzer.process(), EcalFenixTcpFgvbEE.process(), TTUTrackingAlg.process(), core.TriggerBitFilter.TriggerBitFilter.process(), gen.HiggsDecayModeAnalyzer.HiggsDecayModeAnalyzer.process(), HcalSimpleReconstructor.process(), EcalFenixFgvbEB.process(), L1GctEmLeafCard.process(), L1GctNullJetFinder.process(), edm::ConsumesInfo.process(), SiStripClusterToDigiProducer.process(), EcalFenixLinearizer.process(), TriggerAnalyzer.TriggerAnalyzer.process(), L1GctSimpleJetFinder.process(), L1GctHardwareJetFinder.process(), edm::InputTag.process(), RPCWheel.process(), gen.GenHeavyFlavourAnalyzer.GenHeavyFlavourAnalyzer.process(), L1GctProcessor.process(), L1GctJetFinalStage.process(), TTUConfigurator.process(), gen.PDFWeightsAnalyzer.PDFWeightsAnalyzer.process(), DTVdriftWorkflow.DTvdriftWorkflow.process, L1GctGlobalHfSumAlgos.process(), PFMETBenchmark.process(), npstat::VisitCounter< Input >.process(), L1GctElectronFinalSort.process(), PFJetBenchmark.process(), core.EventSelector.EventSelector.process(), core.ProvenanceAnalyzer.ProvenanceAnalyzer.process(), TrackingRecHitNoSmearingPlugin.process(), PFTauElecRejectionBenchmark.process(), EgammaHLTPixelMatchElectronAlgo.process(), SeedClusterRemoverPhase2.process(), ZMuMuRochCorAnalyzer.ZMuMuRochCorAnalyzer.process(), SectorProcessor.process(), TrackingRecHitStripGSPlugin.process(), L1Comparator.process(), TrackingRecHitAlgorithm.process(), L1GctWheelEnergyFpga.process(), L1GctWheelJetFpga.process(), core.JSONAnalyzer.JSONAnalyzer.process(), core.SkimAnalyzerCount.SkimAnalyzerCount.process(), analyzer.Analyzer.process(), Matcher.Matcher.process(), AlphaTAnalyzer.AlphaTAnalyzer.process(), cscdqm::HWStandbyType.process, RecHitProcessor.process(), L1GctElectronSorter.process(), L1GctGlobalEnergyAlgos.process(), JetAnalyzer.JetAnalyzer.process(), DTTtrigWorkflow.DTttrigWorkflow.process, L1GctTdrJetFinder.process(), DTuROSRawToDigi.process(), DTuROSDigiToRaw.process(), TFWLiteSelectorBasic.process(), core.TriggerBitAnalyzer.TriggerBitAnalyzer.process(), L1GctJetLeafCard.process(), KDTreeLinkerBase.process(), fwlite::internal::DataKey.process(), DTTFFEDReader.process(), L1GlobalCaloTrigger.process(), SeedClusterRemover.process(), ResonanceBuilder.ResonanceBuilder.process(), TFWLiteSelector< TWorker >.process(), TFWLiteSelector< TrackAnalysisAlgorithm >.process(), TFWLiteSelector< __class__Worker >.process(), TFWLiteSelector< ThingsWorker >.process(), EcalFenixTcp.process(), HLTTrackClusterRemoverNew.process(), TestOutliers.process, DiLeptonAnalyzer.DiLeptonAnalyzer.process(), HTTP.RequestManager.process(), HITrackClusterRemover.process(), PixelTemplateSmearerBase.process(), GenLumiInfoProduct::ProcessInfo.process(), objects.VertexAnalyzer.VertexAnalyzer.process(), core.PileUpAnalyzer.PileUpAnalyzer.process(), EcalFenixStrip.process(), lhef::LHERunInfo::Process.process(), objects.JetAnalyzer.JetAnalyzer.process(), objects.TauAnalyzer.TauAnalyzer.process(), CaloTowersCreationAlgo.process(), core.AutoFillTreeProducer.AutoFillTreeProducer.process(), EgammaHLTValidationUtils.EgammaDQMModuleMaker.process, cond::payloadInspector::PlotBase.process(), L1GctJetFinderBase.process(), Config.Process.process, looper.Looper.process(), DTWorkflow.DTWorkflow.process, gen.GeneratorAnalyzer.GeneratorAnalyzer.process(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.process(), edm::ProductResolverIndexHelper::Item.process(), objects.PhotonAnalyzer.PhotonAnalyzer.process(), JsonOutputProducer::JsonConfigurationBlock.process, objects.LeptonAnalyzer.LeptonAnalyzer.process(), and Config.SubProcess.process().

1881  def renameInputTagsInSequence(self,sequence,oldT="rawDataCollector",newT="rawDataRepacker"):
1882  print "Replacing all InputTag %s => %s"%(oldT,newT)
1883  from PhysicsTools.PatAlgos.tools.helpers import massSearchReplaceAnyInputTag
1884  massSearchReplaceAnyInputTag(getattr(self.process,sequence),oldT,newT)
1885  loadMe='from PhysicsTools.PatAlgos.tools.helpers import massSearchReplaceAnyInputTag'
1886  if not loadMe in self.additionalCommands:
1887  self.additionalCommands.append(loadMe)
1888  self.additionalCommands.append('massSearchReplaceAnyInputTag(process.%s,"%s","%s",False,True)'%(sequence,oldT,newT))
1889 
def massSearchReplaceAnyInputTag(sequence, oldInputTag, newInputTag, verbose=False, moduleLabelOnly=False, skipLabelTest=False)
Definition: MassReplace.py:72
def renameInputTagsInSequence(self, sequence, oldT="rawDataCollector", newT="rawDataRepacker")
def ConfigBuilder.ConfigBuilder.scheduleSequence (   self,
  seq,
  prefix,
  what = 'Path' 
)

Definition at line 1199 of file ConfigBuilder.py.

References CMSTestAnalyzer.CMSTestAnalyzer.process(), Filter.Filter.process(), edm::ProductLabels.process, Printer.Printer.process(), HcalHitRelabeller.process(), SimpleTreeAnalyzer.ZJetsTreeAnalyzer.process(), SimpleMuonAnalyzer.SimpleMuonAnalyzer.process(), L1TMuonBarrelKalmanRegionModule.process(), SingleHitTrack.process(), L1TMuonBarrelKalmanSectorProcessor.process(), L1TMuonBarrelKalmanTrackFinder.process(), Histogrammer.Histogrammer.process(), BestTrackSelection.process(), AngleCalculation.process(), EmulateCPPF.process(), SimpleTreeProducer.SimpleTreeProducer.process(), tfwliteselectortest::ThingsWorker.process(), PrimitiveSelection.process(), TTPrimitiveConversion.process(), ZJetsTreeAnalyzer.ZJetsTreeAnalyzer.process(), PrimitiveMatching.process(), clangcms::CatchAll.process(), core.Analyzer.Analyzer.process(), PtAssignment.process(), EcalFenixTcpsFgvbEB.process(), CSCTFDTReceiver.process(), gen.LHEAnalyzer.LHEAnalyzer.process(), PrimitiveConversion.process(), EcalFenixPeakFinder.process(), EcalFenixBypassLin.process(), tfwliteselectortest::ThingsTSelector.process(), MetTreeProducer.MetTreeProducer.process(), PatternRecognition.process(), TrackFinder.process(), CSCTFMonitorInterface.process(), EcalFenixMaxof2.process(), examples::TrackAnalysisAlgorithm.process(), EDFilter<>.process(), CSCMonitorInterface.process(), helper::NullPostProcessor< reco::CandidateCollection, edm::EDFilter >.process(), helper::NullPostProcessor< typename::helper::SelectedOutputCollectionTrait< reco::TrackCollection >::type, EdmFilter >.process(), NullPostProcessor< reco::CandidateCollection >.process(), NullPostProcessor< OutputCollection, edm::EDFilter >.process(), TTULogic.process(), EDProducer<>.process(), NullPostProcessor< OutputCollection >.process(), NullPostProcessor< OutputCollection, EdmFilter >.process(), helper::NullPostProcessor< OutputCollection, EdmFilter >.process(), RBCLogic.process(), TTUWedgeORLogic.process(), PFPileUpAlgo.process(), RBCPatternLogic.process(), TTUSectorORLogic.process(), EcalFenixEtStrip.process(), SimpleJetAnalyzer.SimpleJetAnalyzer.process(), npstat::AbsVisitor< Input, Result >.process(), HcalCableMapper.process(), npstat::AbsVisitor< Input, unsigned long >.process(), __class__Worker.process(), EcalFenixAmplitudeFilter.process(), EcalFenixTcpFormat.process(), npstat::AbsArrayProjector< Input, Result >.process(), EcalFenixStripFormatEE.process(), BTagDifferentialPlot.process(), EcalFenixStripFormatEB.process(), MetAnalyzer.MetAnalyzer.process(), RBCTestLogic.process(), TTUPointingLogic.process(), EcalFenixEtTot.process(), TTUTwoORLogic.process(), gen.LHEWeightAnalyzer.LHEWeightAnalyzer.process(), EcalFenixStripFgvbEE.process(), EcalFenixTcpFgvbEE.process(), RBCChamberORLogic.process(), core.TriggerMatchAnalyzer.TriggerMatchAnalyzer.process(), TTUTrackingAlg.process(), core.TriggerBitFilter.TriggerBitFilter.process(), gen.HiggsDecayModeAnalyzer.HiggsDecayModeAnalyzer.process(), HcalSimpleReconstructor.process(), EcalFenixFgvbEB.process(), L1GctEmLeafCard.process(), L1GctNullJetFinder.process(), edm::ConsumesInfo.process(), SiStripClusterToDigiProducer.process(), EcalFenixLinearizer.process(), L1GctSimpleJetFinder.process(), TriggerAnalyzer.TriggerAnalyzer.process(), edm::InputTag.process(), L1GctHardwareJetFinder.process(), RPCWheel.process(), gen.GenHeavyFlavourAnalyzer.GenHeavyFlavourAnalyzer.process(), TTUConfigurator.process(), L1GctJetFinalStage.process(), L1GctProcessor.process(), DTVdriftWorkflow.DTvdriftWorkflow.process, gen.PDFWeightsAnalyzer.PDFWeightsAnalyzer.process(), L1GctGlobalHfSumAlgos.process(), PFMETBenchmark.process(), npstat::VisitCounter< Input >.process(), L1GctElectronFinalSort.process(), PFJetBenchmark.process(), core.EventSelector.EventSelector.process(), core.ProvenanceAnalyzer.ProvenanceAnalyzer.process(), TrackingRecHitNoSmearingPlugin.process(), PFTauElecRejectionBenchmark.process(), SeedClusterRemoverPhase2.process(), EgammaHLTPixelMatchElectronAlgo.process(), ZMuMuRochCorAnalyzer.ZMuMuRochCorAnalyzer.process(), SectorProcessor.process(), TrackingRecHitStripGSPlugin.process(), L1Comparator.process(), TrackingRecHitAlgorithm.process(), L1GctWheelEnergyFpga.process(), L1GctWheelJetFpga.process(), core.SkimAnalyzerCount.SkimAnalyzerCount.process(), core.JSONAnalyzer.JSONAnalyzer.process(), analyzer.Analyzer.process(), Matcher.Matcher.process(), AlphaTAnalyzer.AlphaTAnalyzer.process(), cscdqm::HWStandbyType.process, RecHitProcessor.process(), L1GctElectronSorter.process(), L1GctGlobalEnergyAlgos.process(), DTTtrigWorkflow.DTttrigWorkflow.process, JetAnalyzer.JetAnalyzer.process(), L1GctTdrJetFinder.process(), DTuROSRawToDigi.process(), TFWLiteSelectorBasic.process(), core.TriggerBitAnalyzer.TriggerBitAnalyzer.process(), DTuROSDigiToRaw.process(), L1GctJetLeafCard.process(), KDTreeLinkerBase.process(), fwlite::internal::DataKey.process(), DTTFFEDReader.process(), L1GlobalCaloTrigger.process(), SeedClusterRemover.process(), ResonanceBuilder.ResonanceBuilder.process(), TFWLiteSelector< __class__Worker >.process(), TFWLiteSelector< TWorker >.process(), TFWLiteSelector< TrackAnalysisAlgorithm >.process(), TFWLiteSelector< ThingsWorker >.process(), EcalFenixTcp.process(), TestOutliers.process, HLTTrackClusterRemoverNew.process(), DiLeptonAnalyzer.DiLeptonAnalyzer.process(), HTTP.RequestManager.process(), PixelTemplateSmearerBase.process(), HITrackClusterRemover.process(), GenLumiInfoProduct::ProcessInfo.process(), objects.VertexAnalyzer.VertexAnalyzer.process(), core.PileUpAnalyzer.PileUpAnalyzer.process(), EcalFenixStrip.process(), lhef::LHERunInfo::Process.process(), objects.JetAnalyzer.JetAnalyzer.process(), CaloTowersCreationAlgo.process(), objects.TauAnalyzer.TauAnalyzer.process(), core.AutoFillTreeProducer.AutoFillTreeProducer.process(), EgammaHLTValidationUtils.EgammaDQMModuleMaker.process, cond::payloadInspector::PlotBase.process(), L1GctJetFinderBase.process(), Config.Process.process, looper.Looper.process(), DTWorkflow.DTWorkflow.process, gen.GeneratorAnalyzer.GeneratorAnalyzer.process(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.process(), edm::ProductResolverIndexHelper::Item.process(), objects.PhotonAnalyzer.PhotonAnalyzer.process(), JsonOutputProducer::JsonConfigurationBlock.process, objects.LeptonAnalyzer.LeptonAnalyzer.process(), and Config.SubProcess.process().

Referenced by ConfigBuilder.ConfigBuilder.PrintAllModules.leave(), ConfigBuilder.ConfigBuilder.prepare_CFWRITER(), ConfigBuilder.ConfigBuilder.prepare_DATAMIX(), ConfigBuilder.ConfigBuilder.prepare_DIGI(), ConfigBuilder.ConfigBuilder.prepare_DIGI2RAW(), ConfigBuilder.ConfigBuilder.prepare_L1(), ConfigBuilder.ConfigBuilder.prepare_L1Reco(), ConfigBuilder.ConfigBuilder.prepare_L1TrackTrigger(), ConfigBuilder.ConfigBuilder.prepare_NANO(), ConfigBuilder.ConfigBuilder.prepare_POSTRECO(), ConfigBuilder.ConfigBuilder.prepare_RAW2DIGI(), ConfigBuilder.ConfigBuilder.prepare_RECO(), ConfigBuilder.ConfigBuilder.prepare_RECOBEFMIX(), ConfigBuilder.ConfigBuilder.prepare_RECOSIM(), ConfigBuilder.ConfigBuilder.prepare_REPACK(), ConfigBuilder.ConfigBuilder.prepare_USER(), and ConfigBuilder.ConfigBuilder.scheduleSequenceAtEnd().

1199  def scheduleSequence(self,seq,prefix,what='Path'):
1200  if '*' in seq:
1201  #create only one path with all sequences in it
1202  for i,s in enumerate(seq.split('*')):
1203  if i==0:
1204  setattr(self.process,prefix,getattr(cms,what)( getattr(self.process, s) ))
1205  else:
1206  p=getattr(self.process,prefix)
1207  p+=getattr(self.process, s)
1208  self.schedule.append(getattr(self.process,prefix))
1209  return
1210  else:
1211  #create as many path as many sequences
1212  if not '+' in seq:
1213  if self.nextScheduleIsConditional:
1214  self.conditionalPaths.append(prefix)
1215  setattr(self.process,prefix,getattr(cms,what)( getattr(self.process, seq) ))
1216  self.schedule.append(getattr(self.process,prefix))
1217  else:
1218  for i,s in enumerate(seq.split('+')):
1219  sn=prefix+'%d'%(i)
1220  setattr(self.process,sn,getattr(cms,what)( getattr(self.process, s) ))
1221  self.schedule.append(getattr(self.process,sn))
1222  return
1223 
def scheduleSequence(self, seq, prefix, what='Path')
def ConfigBuilder.ConfigBuilder.scheduleSequenceAtEnd (   self,
  seq,
  prefix 
)

Definition at line 1224 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.scheduleSequence().

Referenced by ConfigBuilder.ConfigBuilder.prepare_ENDJOB().

1224  def scheduleSequenceAtEnd(self,seq,prefix):
1225  self.scheduleSequence(seq,prefix,what='EndPath')
1226  return
1227 
def scheduleSequence(self, seq, prefix, what='Path')
def scheduleSequenceAtEnd(self, seq, prefix)

Member Data Documentation

ConfigBuilder.ConfigBuilder._options
private

Definition at line 197 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.filesFromOption().

ConfigBuilder.ConfigBuilder.ALCADefaultCFF

Definition at line 920 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare_ALCA().

ConfigBuilder.ConfigBuilder.DIGI2RAWDefaultCFF

Definition at line 924 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare_DIGI2RAW().

ConfigBuilder.ConfigBuilder.DIGIDefaultCFF

Definition at line 923 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare_DIGI().

ConfigBuilder.ConfigBuilder.DQMSaverCFF

Definition at line 1963 of file ConfigBuilder.py.

ConfigBuilder.ConfigBuilder.GENDefaultCFF

Definition at line 921 of file ConfigBuilder.py.

ConfigBuilder.ConfigBuilder.HLTDefaultCFF

Definition at line 927 of file ConfigBuilder.py.

ConfigBuilder.ConfigBuilder.L1EMDefaultCFF

Definition at line 925 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare_L1().

ConfigBuilder.ConfigBuilder.L1MENUDefaultCFF

Definition at line 926 of file ConfigBuilder.py.

ConfigBuilder.ConfigBuilder.L1RecoDefaultCFF

Definition at line 929 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare_L1Reco().

ConfigBuilder.ConfigBuilder.L1TrackTriggerDefaultCFF
ConfigBuilder.ConfigBuilder.NANODefaultCFF

Definition at line 934 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare_NANO().

ConfigBuilder.ConfigBuilder.PATDefaultCFF

Definition at line 933 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare_PAT().

ConfigBuilder.ConfigBuilder.pythonCfgCode

Definition at line 2054 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare().

ConfigBuilder.ConfigBuilder.RAW2DIGIDefaultCFF

Definition at line 928 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare_RAW2DIGI().

ConfigBuilder.ConfigBuilder.RECODefaultCFF
ConfigBuilder.ConfigBuilder.RECOSIMDefaultCFF

Definition at line 932 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare_RECOSIM().

ConfigBuilder.ConfigBuilder.SIMDefaultCFF

Definition at line 922 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.inGeometryKeys().