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 define_Configs (self)
 
def doNotInlineEventContent (instance, label="cms.untracked.vstring(process."+theStreamType+"EventContent.outputCommands)")
 event content More...
 
def doNotInlineEventContent (instance, label="process."+streamType+"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_DIGIPREMIX (self, sequence=None)
 
def prepare_DIGIPREMIX_S2 (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_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_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
 
 PATDefaultCFF
 
 RAW2DIGIDefaultCFF
 
 RECODefaultCFF
 
 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 333 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.profileOptions().

Referenced by ConfigBuilder.ConfigBuilder.prepare().

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

Definition at line 795 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare().

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

Definition at line 810 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare().

810  def addCustomise(self,unsch=0):
811  """Include the customise code """
812 
def addCustomise(self, unsch=0)
def ConfigBuilder.ConfigBuilder.addCustomiseCmdLine (   self)

now for a useful command

Definition at line 883 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.executeAndRemember().

Referenced by ConfigBuilder.ConfigBuilder.prepare().

884  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 1119 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.doNotInlineEventContent(), CMSTestAnalyzer.CMSTestAnalyzer.process(), Filter.Filter.process(), edm::ProductLabels.process, Printer.Printer.process(), DTTTrigProd.DTTTrigProd.process, SimpleMuonAnalyzer.SimpleMuonAnalyzer.process(), SimpleTreeAnalyzer.ZJetsTreeAnalyzer.process(), HcalHitRelabeller.process(), Histogrammer.Histogrammer.process(), helper::NullPostProcessor< reco::CandidateCollection, edm::EDFilter >.process(), helper::NullPostProcessor< typename::helper::SelectedOutputCollectionTrait< reco::TrackCollection >::type, EdmFilter >.process(), DTDqm.DTDqm.process, NullPostProcessor< reco::CandidateCollection >.process(), NullPostProcessor< OutputCollection, edm::EDFilter >.process(), EDFilter<>.process(), EDProducer<>.process(), NullPostProcessor< OutputCollection >.process(), DTDQMMerge.DTDQMMerge.process, DTValidSummary.DTValidSummary.process, helper::NullPostProcessor< OutputCollection, EdmFilter >.process(), NullPostProcessor< OutputCollection, EdmFilter >.process(), SimpleTreeProducer.SimpleTreeProducer.process(), DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.process, DTAnalysisResiduals.DTAnalysisResiduals.process, tfwliteselectortest::ThingsWorker.process(), ZJetsTreeAnalyzer.ZJetsTreeAnalyzer.process(), DTDQMHarvesting.DTDQMHarvesting.process, DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.process, DTNoiseCalibration.DTNoiseCalibration.process, DTResidualCalibration.DTResidualCalibration.process, clangcms::CatchAll.process(), DTDQMValidation.DTDQMValidation.process, core.Analyzer.Analyzer.process(), DTTTrigValid.DTTTrigValid.process, EcalFenixTcpsFgvbEB.process(), CSCTFDTReceiver.process(), gen.LHEAnalyzer.LHEAnalyzer.process(), EcalFenixPeakFinder.process(), EcalFenixBypassLin.process(), tfwliteselectortest::ThingsTSelector.process(), MetTreeProducer.MetTreeProducer.process(), CSCTFMonitorInterface.process(), EcalFenixMaxof2.process(), CSCMonitorInterface.process(), TTULogic.process(), examples::TrackAnalysisAlgorithm.process(), RBCLogic.process(), TTUWedgeORLogic.process(), RBCPatternLogic.process(), EcalFenixEtStrip.process(), SimpleJetAnalyzer.SimpleJetAnalyzer.process(), TTUSectorORLogic.process(), PFPileUpAlgo.process(), npstat::AbsVisitor< Input, unsigned long >.process(), __class__Worker.process(), HcalCableMapper.process(), npstat::AbsVisitor< Input, Result >.process(), DTT0DBValidation.DTT0DBValidation.process, EcalFenixAmplitudeFilter.process(), EcalFenixTcpFormat.process(), EcalFenixStripFormatEE.process(), npstat::AbsArrayProjector< Input, Result >.process(), BTagDifferentialPlot.process(), DTVDriftMeanTimerWriter.DTVDriftMeanTimerWriter.process, EcalFenixStripFormatEB.process(), DTVDriftSegmentWriter.DTVDriftSegmentWriter.process, TTUPointingLogic.process(), MetAnalyzer.MetAnalyzer.process(), RBCTestLogic.process(), EcalFenixEtTot.process(), DTTTrigResidualCorr.DTTTrigResidualCorr.process, TTUTwoORLogic.process(), EcalFenixStripFgvbEE.process(), gen.LHEWeightAnalyzer.LHEWeightAnalyzer.process(), EcalFenixTcpFgvbEE.process(), TTUTrackingAlg.process(), RBCChamberORLogic.process(), core.TriggerMatchAnalyzer.TriggerMatchAnalyzer.process(), DTTTrigCorrFirst.DTTTrigCorrFirst.process, core.TriggerBitFilter.TriggerBitFilter.process(), gen.HiggsDecayModeAnalyzer.HiggsDecayModeAnalyzer.process(), HcalSimpleReconstructor.process(), EcalFenixFgvbEB.process(), L1GctNullJetFinder.process(), edm::ConsumesInfo.process(), L1GctEmLeafCard.process(), L1GctSimpleJetFinder.process(), SiStripClusterToDigiProducer.process(), TriggerAnalyzer.TriggerAnalyzer.process(), EcalFenixLinearizer.process(), edm::InputTag.process(), L1GctHardwareJetFinder.process(), RPCWheel.process(), DTTTrigTimeBoxesWriter.DTTTrigTimeBoxesWriter.process, gen.GenHeavyFlavourAnalyzer.GenHeavyFlavourAnalyzer.process(), L1GctProcessor.process(), TTUConfigurator.process(), L1GctJetFinalStage.process(), gen.PDFWeightsAnalyzer.PDFWeightsAnalyzer.process(), L1GctGlobalHfSumAlgos.process(), PFMETBenchmark.process(), npstat::VisitCounter< Input >.process(), L1GctElectronFinalSort.process(), TrackingRecHitNoSmearingPlugin.process(), core.EventSelector.EventSelector.process(), core.ProvenanceAnalyzer.ProvenanceAnalyzer.process(), PFJetBenchmark.process(), PFTauElecRejectionBenchmark.process(), EgammaHLTPixelMatchElectronAlgo.process(), ZMuMuRochCorAnalyzer.ZMuMuRochCorAnalyzer.process(), L1Comparator.process(), TrackingRecHitStripGSPlugin.process(), L1GctWheelEnergyFpga.process(), L1GctWheelJetFpga.process(), core.JSONAnalyzer.JSONAnalyzer.process(), core.SkimAnalyzerCount.SkimAnalyzerCount.process(), SeedClusterRemoverPhase2.process(), TrackingRecHitAlgorithm.process(), analyzer.Analyzer.process(), Matcher.Matcher.process(), AlphaTAnalyzer.AlphaTAnalyzer.process(), cscdqm::HWStandbyType.process, L1GctElectronSorter.process(), L1GctGlobalEnergyAlgos.process(), JetAnalyzer.JetAnalyzer.process(), L1GctTdrJetFinder.process(), fwlite::internal::DataKey.process(), TFWLiteSelectorBasic.process(), core.TriggerBitAnalyzer.TriggerBitAnalyzer.process(), KDTreeLinkerBase.process(), L1GctJetLeafCard.process(), DTTFFEDReader.process(), L1GlobalCaloTrigger.process(), ResonanceBuilder.ResonanceBuilder.process(), TFWLiteSelector< TrackAnalysisAlgorithm >.process(), TFWLiteSelector< ThingsWorker >.process(), TFWLiteSelector< TWorker >.process(), TFWLiteSelector< __class__Worker >.process(), EcalFenixTcp.process(), SeedClusterRemover.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(), CaloTowersCreationAlgo.process(), objects.JetAnalyzer.JetAnalyzer.process(), objects.TauAnalyzer.TauAnalyzer.process(), core.AutoFillTreeProducer.AutoFillTreeProducer.process(), EgammaHLTValidationUtils.EgammaDQMModuleMaker.process, cond::payloadInspector::PlotBase.process(), L1GctJetFinderBase.process(), Config.Process.process, looper.Looper.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().

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

References createfilelist.int.

Referenced by ConfigBuilder.ConfigBuilder.prepare().

362  def addMaxEvents(self):
363  """Here we decide how many evts will be processed"""
364  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 497 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare().

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

Definition at line 369 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare().

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

Definition at line 669 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare().

670  """
671  Add selected standard sequences to the process
672  """
673  # load the pile up file
def ConfigBuilder.ConfigBuilder.build_production_info (   self,
  evt_type,
  evtnumber 
)
Add useful info for the production. 

Definition at line 2045 of file ConfigBuilder.py.

References harvestTrackValidationPlots.str.

Referenced by ConfigBuilder.ConfigBuilder.prepare().

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

add the corresponding input content

Definition at line 764 of file ConfigBuilder.py.

References CMSTestAnalyzer.CMSTestAnalyzer.process(), Filter.Filter.process(), edm::ProductLabels.process, Printer.Printer.process(), DTTTrigProd.DTTTrigProd.process, SimpleMuonAnalyzer.SimpleMuonAnalyzer.process(), SimpleTreeAnalyzer.ZJetsTreeAnalyzer.process(), HcalHitRelabeller.process(), Histogrammer.Histogrammer.process(), helper::NullPostProcessor< reco::CandidateCollection, edm::EDFilter >.process(), helper::NullPostProcessor< typename::helper::SelectedOutputCollectionTrait< reco::TrackCollection >::type, EdmFilter >.process(), DTDqm.DTDqm.process, DTDQMMerge.DTDQMMerge.process, NullPostProcessor< reco::CandidateCollection >.process(), NullPostProcessor< OutputCollection, edm::EDFilter >.process(), EDFilter<>.process(), EDProducer<>.process(), NullPostProcessor< OutputCollection >.process(), DTValidSummary.DTValidSummary.process, helper::NullPostProcessor< OutputCollection, EdmFilter >.process(), NullPostProcessor< OutputCollection, EdmFilter >.process(), SimpleTreeProducer.SimpleTreeProducer.process(), DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.process, DTAnalysisResiduals.DTAnalysisResiduals.process, tfwliteselectortest::ThingsWorker.process(), ZJetsTreeAnalyzer.ZJetsTreeAnalyzer.process(), DTDQMHarvesting.DTDQMHarvesting.process, DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.process, DTNoiseCalibration.DTNoiseCalibration.process, DTResidualCalibration.DTResidualCalibration.process, clangcms::CatchAll.process(), DTDQMValidation.DTDQMValidation.process, core.Analyzer.Analyzer.process(), DTTTrigValid.DTTTrigValid.process, EcalFenixTcpsFgvbEB.process(), CSCTFDTReceiver.process(), gen.LHEAnalyzer.LHEAnalyzer.process(), EcalFenixPeakFinder.process(), EcalFenixBypassLin.process(), tfwliteselectortest::ThingsTSelector.process(), MetTreeProducer.MetTreeProducer.process(), CSCTFMonitorInterface.process(), EcalFenixMaxof2.process(), CSCMonitorInterface.process(), TTULogic.process(), examples::TrackAnalysisAlgorithm.process(), RBCLogic.process(), TTUWedgeORLogic.process(), RBCPatternLogic.process(), EcalFenixEtStrip.process(), SimpleJetAnalyzer.SimpleJetAnalyzer.process(), TTUSectorORLogic.process(), PFPileUpAlgo.process(), __class__Worker.process(), npstat::AbsVisitor< Input, unsigned long >.process(), HcalCableMapper.process(), npstat::AbsVisitor< Input, Result >.process(), DTT0DBValidation.DTT0DBValidation.process, EcalFenixAmplitudeFilter.process(), EcalFenixTcpFormat.process(), EcalFenixStripFormatEE.process(), npstat::AbsArrayProjector< Input, Result >.process(), BTagDifferentialPlot.process(), DTVDriftMeanTimerWriter.DTVDriftMeanTimerWriter.process, EcalFenixStripFormatEB.process(), DTVDriftSegmentWriter.DTVDriftSegmentWriter.process, TTUPointingLogic.process(), MetAnalyzer.MetAnalyzer.process(), RBCTestLogic.process(), EcalFenixEtTot.process(), DTTTrigResidualCorr.DTTTrigResidualCorr.process, TTUTwoORLogic.process(), EcalFenixStripFgvbEE.process(), gen.LHEWeightAnalyzer.LHEWeightAnalyzer.process(), EcalFenixTcpFgvbEE.process(), TTUTrackingAlg.process(), RBCChamberORLogic.process(), core.TriggerMatchAnalyzer.TriggerMatchAnalyzer.process(), DTTTrigCorrFirst.DTTTrigCorrFirst.process, core.TriggerBitFilter.TriggerBitFilter.process(), gen.HiggsDecayModeAnalyzer.HiggsDecayModeAnalyzer.process(), HcalSimpleReconstructor.process(), EcalFenixFgvbEB.process(), L1GctNullJetFinder.process(), edm::ConsumesInfo.process(), L1GctEmLeafCard.process(), L1GctSimpleJetFinder.process(), SiStripClusterToDigiProducer.process(), TriggerAnalyzer.TriggerAnalyzer.process(), EcalFenixLinearizer.process(), edm::InputTag.process(), L1GctHardwareJetFinder.process(), RPCWheel.process(), DTTTrigTimeBoxesWriter.DTTTrigTimeBoxesWriter.process, gen.GenHeavyFlavourAnalyzer.GenHeavyFlavourAnalyzer.process(), L1GctProcessor.process(), TTUConfigurator.process(), L1GctJetFinalStage.process(), gen.PDFWeightsAnalyzer.PDFWeightsAnalyzer.process(), L1GctGlobalHfSumAlgos.process(), PFMETBenchmark.process(), npstat::VisitCounter< Input >.process(), L1GctElectronFinalSort.process(), TrackingRecHitNoSmearingPlugin.process(), core.EventSelector.EventSelector.process(), core.ProvenanceAnalyzer.ProvenanceAnalyzer.process(), PFJetBenchmark.process(), PFTauElecRejectionBenchmark.process(), EgammaHLTPixelMatchElectronAlgo.process(), ZMuMuRochCorAnalyzer.ZMuMuRochCorAnalyzer.process(), L1Comparator.process(), TrackingRecHitStripGSPlugin.process(), L1GctWheelEnergyFpga.process(), L1GctWheelJetFpga.process(), core.JSONAnalyzer.JSONAnalyzer.process(), core.SkimAnalyzerCount.SkimAnalyzerCount.process(), SeedClusterRemoverPhase2.process(), TrackingRecHitAlgorithm.process(), analyzer.Analyzer.process(), Matcher.Matcher.process(), AlphaTAnalyzer.AlphaTAnalyzer.process(), cscdqm::HWStandbyType.process, L1GctElectronSorter.process(), L1GctGlobalEnergyAlgos.process(), JetAnalyzer.JetAnalyzer.process(), L1GctTdrJetFinder.process(), fwlite::internal::DataKey.process(), TFWLiteSelectorBasic.process(), core.TriggerBitAnalyzer.TriggerBitAnalyzer.process(), KDTreeLinkerBase.process(), L1GctJetLeafCard.process(), DTTFFEDReader.process(), L1GlobalCaloTrigger.process(), ResonanceBuilder.ResonanceBuilder.process(), TFWLiteSelector< TWorker >.process(), TFWLiteSelector< ThingsWorker >.process(), TFWLiteSelector< TrackAnalysisAlgorithm >.process(), TFWLiteSelector< __class__Worker >.process(), EcalFenixTcp.process(), SeedClusterRemover.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(), 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().

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

Definition at line 898 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.loadAndRemember().

898  def define_Configs(self):
899  if len(self.stepMap):
900  self.loadAndRemember('Configuration/StandardSequences/Services_cff')
901  if self._options.particleTable not in defaultOptions.particleTableList:
902  print 'Invalid particle table provided. Options are:'
903  print defaultOptions.particleTable
904  sys.exit(-1)
905  else:
906  if len(self.stepMap):
907  self.loadAndRemember('SimGeneral.HepPDTESSource.'+self._options.particleTable+'_cfi')
908 
909  self.loadAndRemember('FWCore/MessageService/MessageLogger_cfi')
910 
911  self.ALCADefaultCFF="Configuration/StandardSequences/AlCaRecoStreams_cff"
912  self.GENDefaultCFF="Configuration/StandardSequences/Generator_cff"
913  self.SIMDefaultCFF="Configuration/StandardSequences/Sim_cff"
914  self.DIGIDefaultCFF="Configuration/StandardSequences/Digi_cff"
915  self.DIGI2RAWDefaultCFF="Configuration/StandardSequences/DigiToRaw_cff"
916  self.L1EMDefaultCFF='Configuration/StandardSequences/SimL1Emulator_cff'
917  self.L1MENUDefaultCFF="Configuration/StandardSequences/L1TriggerDefaultMenu_cff"
918  self.HLTDefaultCFF="Configuration/StandardSequences/HLTtable_cff"
919  self.RAW2DIGIDefaultCFF="Configuration/StandardSequences/RawToDigi_Data_cff"
920  self.L1RecoDefaultCFF="Configuration/StandardSequences/L1Reco_cff"
921  self.L1TrackTriggerDefaultCFF="Configuration/StandardSequences/L1TrackTrigger_cff"
922  self.RECODefaultCFF="Configuration/StandardSequences/Reconstruction_Data_cff"
923  self.PATDefaultCFF="Configuration/StandardSequences/PAT_cff"
def loadAndRemember(self, includeFile)
def ConfigBuilder.ConfigBuilder.doNotInlineEventContent (   instance,
  label = "cms.untracked.vstring(process."+theStreamType+"EventContent.outputCommands)" 
)

event content

Definition at line 589 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.executeAndRemember(), miniAOD_tools.miniAOD_customizeOutput(), CMSTestAnalyzer.CMSTestAnalyzer.process(), Filter.Filter.process(), edm::ProductLabels.process, Printer.Printer.process(), DTTTrigProd.DTTTrigProd.process, SimpleMuonAnalyzer.SimpleMuonAnalyzer.process(), SimpleTreeAnalyzer.ZJetsTreeAnalyzer.process(), HcalHitRelabeller.process(), Histogrammer.Histogrammer.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(), DTDqm.DTDqm.process, DTDQMMerge.DTDQMMerge.process, NullPostProcessor< OutputCollection, EdmFilter >.process(), DTValidSummary.DTValidSummary.process, helper::NullPostProcessor< OutputCollection, EdmFilter >.process(), SimpleTreeProducer.SimpleTreeProducer.process(), DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.process, DTAnalysisResiduals.DTAnalysisResiduals.process, tfwliteselectortest::ThingsWorker.process(), ZJetsTreeAnalyzer.ZJetsTreeAnalyzer.process(), DTDQMHarvesting.DTDQMHarvesting.process, DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.process, DTNoiseCalibration.DTNoiseCalibration.process, DTResidualCalibration.DTResidualCalibration.process, clangcms::CatchAll.process(), core.Analyzer.Analyzer.process(), DTDQMValidation.DTDQMValidation.process, DTTTrigValid.DTTTrigValid.process, EcalFenixTcpsFgvbEB.process(), CSCTFDTReceiver.process(), gen.LHEAnalyzer.LHEAnalyzer.process(), EcalFenixPeakFinder.process(), EcalFenixBypassLin.process(), tfwliteselectortest::ThingsTSelector.process(), MetTreeProducer.MetTreeProducer.process(), CSCTFMonitorInterface.process(), EcalFenixMaxof2.process(), CSCMonitorInterface.process(), TTULogic.process(), examples::TrackAnalysisAlgorithm.process(), RBCLogic.process(), TTUWedgeORLogic.process(), RBCPatternLogic.process(), EcalFenixEtStrip.process(), TTUSectorORLogic.process(), SimpleJetAnalyzer.SimpleJetAnalyzer.process(), PFPileUpAlgo.process(), npstat::AbsVisitor< Input, unsigned long >.process(), __class__Worker.process(), HcalCableMapper.process(), npstat::AbsVisitor< Input, Result >.process(), DTT0DBValidation.DTT0DBValidation.process, EcalFenixAmplitudeFilter.process(), EcalFenixTcpFormat.process(), EcalFenixStripFormatEE.process(), npstat::AbsArrayProjector< Input, Result >.process(), BTagDifferentialPlot.process(), DTVDriftMeanTimerWriter.DTVDriftMeanTimerWriter.process, EcalFenixStripFormatEB.process(), DTVDriftSegmentWriter.DTVDriftSegmentWriter.process, TTUPointingLogic.process(), MetAnalyzer.MetAnalyzer.process(), RBCTestLogic.process(), EcalFenixEtTot.process(), TTUTwoORLogic.process(), DTTTrigResidualCorr.DTTTrigResidualCorr.process, EcalFenixStripFgvbEE.process(), gen.LHEWeightAnalyzer.LHEWeightAnalyzer.process(), EcalFenixTcpFgvbEE.process(), TTUTrackingAlg.process(), core.TriggerMatchAnalyzer.TriggerMatchAnalyzer.process(), RBCChamberORLogic.process(), DTTTrigCorrFirst.DTTTrigCorrFirst.process, core.TriggerBitFilter.TriggerBitFilter.process(), gen.HiggsDecayModeAnalyzer.HiggsDecayModeAnalyzer.process(), HcalSimpleReconstructor.process(), EcalFenixFgvbEB.process(), L1GctNullJetFinder.process(), L1GctEmLeafCard.process(), edm::ConsumesInfo.process(), L1GctSimpleJetFinder.process(), SiStripClusterToDigiProducer.process(), EcalFenixLinearizer.process(), TriggerAnalyzer.TriggerAnalyzer.process(), edm::InputTag.process(), L1GctHardwareJetFinder.process(), RPCWheel.process(), DTTTrigTimeBoxesWriter.DTTTrigTimeBoxesWriter.process, gen.GenHeavyFlavourAnalyzer.GenHeavyFlavourAnalyzer.process(), L1GctProcessor.process(), TTUConfigurator.process(), L1GctJetFinalStage.process(), gen.PDFWeightsAnalyzer.PDFWeightsAnalyzer.process(), L1GctGlobalHfSumAlgos.process(), PFMETBenchmark.process(), npstat::VisitCounter< Input >.process(), L1GctElectronFinalSort.process(), TrackingRecHitNoSmearingPlugin.process(), core.EventSelector.EventSelector.process(), core.ProvenanceAnalyzer.ProvenanceAnalyzer.process(), PFJetBenchmark.process(), PFTauElecRejectionBenchmark.process(), EgammaHLTPixelMatchElectronAlgo.process(), ZMuMuRochCorAnalyzer.ZMuMuRochCorAnalyzer.process(), L1Comparator.process(), TrackingRecHitStripGSPlugin.process(), L1GctWheelEnergyFpga.process(), L1GctWheelJetFpga.process(), SeedClusterRemoverPhase2.process(), core.JSONAnalyzer.JSONAnalyzer.process(), core.SkimAnalyzerCount.SkimAnalyzerCount.process(), TrackingRecHitAlgorithm.process(), analyzer.Analyzer.process(), AlphaTAnalyzer.AlphaTAnalyzer.process(), Matcher.Matcher.process(), cscdqm::HWStandbyType.process, L1GctElectronSorter.process(), L1GctGlobalEnergyAlgos.process(), JetAnalyzer.JetAnalyzer.process(), L1GctTdrJetFinder.process(), fwlite::internal::DataKey.process(), TFWLiteSelectorBasic.process(), core.TriggerBitAnalyzer.TriggerBitAnalyzer.process(), KDTreeLinkerBase.process(), L1GctJetLeafCard.process(), DTTFFEDReader.process(), L1GlobalCaloTrigger.process(), ResonanceBuilder.ResonanceBuilder.process(), TFWLiteSelector< TWorker >.process(), TFWLiteSelector< __class__Worker >.process(), TFWLiteSelector< ThingsWorker >.process(), TFWLiteSelector< TrackAnalysisAlgorithm >.process(), EcalFenixTcp.process(), SeedClusterRemover.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(), 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().

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

Definition at line 661 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.doNotInlineEventContent().

661  def doNotInlineEventContent(instance,label = "process."+streamType+"EventContent.outputCommands"):
662  return label
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 324 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_DIGI2RAW(), ConfigBuilder.ConfigBuilder.prepare_DIGIPREMIX(), ConfigBuilder.ConfigBuilder.prepare_HLT(), and ConfigBuilder.ConfigBuilder.prepare_VALIDATION().

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

Definition at line 1913 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().

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

Definition at line 373 of file ConfigBuilder.py.

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

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

Definition at line 2040 of file ConfigBuilder.py.

2041  self.process.reconstruction = cms.Path(self.process.reconstructionWithFamos)
2042  self.schedule.append(self.process.reconstruction)
2043 
2044 
def ConfigBuilder.ConfigBuilder.inGeometryKeys (   opt)

Definition at line 1059 of file ConfigBuilder.py.

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

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

Definition at line 310 of file ConfigBuilder.py.

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

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

Definition at line 315 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_DIGIPREMIX(), ConfigBuilder.ConfigBuilder.prepare_HLT(), ConfigBuilder.ConfigBuilder.prepare_L1(), ConfigBuilder.ConfigBuilder.prepare_PATFILTER(), and ConfigBuilder.ConfigBuilder.prepare_POSTRECO().

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

Definition at line 1184 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_DIGIPREMIX(), ConfigBuilder.ConfigBuilder.prepare_DQM(), ConfigBuilder.ConfigBuilder.prepare_ENDJOB(), ConfigBuilder.ConfigBuilder.prepare_L1HwVal(), ConfigBuilder.ConfigBuilder.prepare_L1Reco(), ConfigBuilder.ConfigBuilder.prepare_L1TrackTrigger(), ConfigBuilder.ConfigBuilder.prepare_PAT(), ConfigBuilder.ConfigBuilder.prepare_PATGEN(), ConfigBuilder.ConfigBuilder.prepare_RAW2DIGI(), ConfigBuilder.ConfigBuilder.prepare_RECO(), ConfigBuilder.ConfigBuilder.prepare_RECOBEFMIX(), ConfigBuilder.ConfigBuilder.prepare_REPACK(), ConfigBuilder.ConfigBuilder.prepare_SKIM(), ConfigBuilder.ConfigBuilder.prepare_USER(), and ConfigBuilder.ConfigBuilder.prepare_VALIDATION().

1184  def loadDefaultOrSpecifiedCFF(self, sequence,defaultCFF):
1185  if ( len(sequence.split('.'))==1 ):
1186  l=self.loadAndRemember(defaultCFF)
1187  elif ( len(sequence.split('.'))==2 ):
1188  l=self.loadAndRemember(sequence.split('.')[0])
1189  sequence=sequence.split('.')[1]
1190  else:
1191  print "sub sequence configuration must be of the form dir/subdir/cff.a+b+c or cff.a"
1192  print sequence,"not recognized"
1193  raise
1194  return l
1195 
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 2056 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder._options, 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(), ConfigBuilder.dumpPython(), mps_monitormerge.items, join(), ConfigBuilder.ConfigBuilder.loadAndRemember(), CMSTestAnalyzer.CMSTestAnalyzer.process(), Filter.Filter.process(), edm::ProductLabels.process, Printer.Printer.process(), DTTTrigProd.DTTTrigProd.process, SimpleMuonAnalyzer.SimpleMuonAnalyzer.process(), SimpleTreeAnalyzer.ZJetsTreeAnalyzer.process(), HcalHitRelabeller.process(), Histogrammer.Histogrammer.process(), SimpleTreeProducer.SimpleTreeProducer.process(), helper::NullPostProcessor< OutputCollection, EdmFilter >.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(), DTDqm.DTDqm.process, NullPostProcessor< OutputCollection, EdmFilter >.process(), DTValidSummary.DTValidSummary.process, DTDQMMerge.DTDQMMerge.process, DTAnalysisResiduals.DTAnalysisResiduals.process, DTDQMHarvesting.DTDQMHarvesting.process, DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.process, DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.process, ZJetsTreeAnalyzer.ZJetsTreeAnalyzer.process(), tfwliteselectortest::ThingsWorker.process(), DTResidualCalibration.DTResidualCalibration.process, DTNoiseCalibration.DTNoiseCalibration.process, clangcms::CatchAll.process(), DTTTrigValid.DTTTrigValid.process, core.Analyzer.Analyzer.process(), DTDQMValidation.DTDQMValidation.process, EcalFenixTcpsFgvbEB.process(), gen.LHEAnalyzer.LHEAnalyzer.process(), CSCTFDTReceiver.process(), EcalFenixPeakFinder.process(), EcalFenixBypassLin.process(), MetTreeProducer.MetTreeProducer.process(), tfwliteselectortest::ThingsTSelector.process(), EcalFenixMaxof2.process(), CSCTFMonitorInterface.process(), TTULogic.process(), examples::TrackAnalysisAlgorithm.process(), CSCMonitorInterface.process(), RBCLogic.process(), TTUWedgeORLogic.process(), PFPileUpAlgo.process(), EcalFenixEtStrip.process(), TTUSectorORLogic.process(), RBCPatternLogic.process(), SimpleJetAnalyzer.SimpleJetAnalyzer.process(), HcalCableMapper.process(), npstat::AbsVisitor< Input, unsigned long >.process(), __class__Worker.process(), npstat::AbsVisitor< Input, Result >.process(), BTagDifferentialPlot.process(), DTT0DBValidation.DTT0DBValidation.process, EcalFenixAmplitudeFilter.process(), EcalFenixTcpFormat.process(), EcalFenixStripFormatEE.process(), npstat::AbsArrayProjector< Input, Result >.process(), RBCTestLogic.process(), EcalFenixStripFormatEB.process(), TTUPointingLogic.process(), DTVDriftMeanTimerWriter.DTVDriftMeanTimerWriter.process, MetAnalyzer.MetAnalyzer.process(), DTVDriftSegmentWriter.DTVDriftSegmentWriter.process, EcalFenixEtTot.process(), DTTTrigResidualCorr.DTTTrigResidualCorr.process, TTUTwoORLogic.process(), EcalFenixStripFgvbEE.process(), gen.LHEWeightAnalyzer.LHEWeightAnalyzer.process(), RBCChamberORLogic.process(), EcalFenixTcpFgvbEE.process(), core.TriggerMatchAnalyzer.TriggerMatchAnalyzer.process(), TTUTrackingAlg.process(), DTTTrigCorrFirst.DTTTrigCorrFirst.process, core.TriggerBitFilter.TriggerBitFilter.process(), gen.HiggsDecayModeAnalyzer.HiggsDecayModeAnalyzer.process(), HcalSimpleReconstructor.process(), EcalFenixFgvbEB.process(), L1GctEmLeafCard.process(), edm::ConsumesInfo.process(), L1GctNullJetFinder.process(), SiStripClusterToDigiProducer.process(), L1GctSimpleJetFinder.process(), EcalFenixLinearizer.process(), TriggerAnalyzer.TriggerAnalyzer.process(), L1GctHardwareJetFinder.process(), edm::InputTag.process(), DTTTrigTimeBoxesWriter.DTTTrigTimeBoxesWriter.process, gen.GenHeavyFlavourAnalyzer.GenHeavyFlavourAnalyzer.process(), RPCWheel.process(), TTUConfigurator.process(), L1GctJetFinalStage.process(), L1GctProcessor.process(), gen.PDFWeightsAnalyzer.PDFWeightsAnalyzer.process(), L1GctGlobalHfSumAlgos.process(), PFMETBenchmark.process(), npstat::VisitCounter< Input >.process(), L1GctElectronFinalSort.process(), PFJetBenchmark.process(), TrackingRecHitNoSmearingPlugin.process(), core.EventSelector.EventSelector.process(), core.ProvenanceAnalyzer.ProvenanceAnalyzer.process(), PFTauElecRejectionBenchmark.process(), EgammaHLTPixelMatchElectronAlgo.process(), ZMuMuRochCorAnalyzer.ZMuMuRochCorAnalyzer.process(), TrackingRecHitStripGSPlugin.process(), L1Comparator.process(), L1GctWheelEnergyFpga.process(), L1GctWheelJetFpga.process(), TrackingRecHitAlgorithm.process(), core.JSONAnalyzer.JSONAnalyzer.process(), core.SkimAnalyzerCount.SkimAnalyzerCount.process(), SeedClusterRemoverPhase2.process(), analyzer.Analyzer.process(), Matcher.Matcher.process(), AlphaTAnalyzer.AlphaTAnalyzer.process(), cscdqm::HWStandbyType.process, L1GctElectronSorter.process(), L1GctGlobalEnergyAlgos.process(), JetAnalyzer.JetAnalyzer.process(), L1GctTdrJetFinder.process(), fwlite::internal::DataKey.process(), core.TriggerBitAnalyzer.TriggerBitAnalyzer.process(), TFWLiteSelectorBasic.process(), L1GctJetLeafCard.process(), KDTreeLinkerBase.process(), DTTFFEDReader.process(), L1GlobalCaloTrigger.process(), ResonanceBuilder.ResonanceBuilder.process(), TFWLiteSelector< ThingsWorker >.process(), TFWLiteSelector< TrackAnalysisAlgorithm >.process(), TFWLiteSelector< TWorker >.process(), TFWLiteSelector< __class__Worker >.process(), EcalFenixTcp.process(), SeedClusterRemover.process(), TestOutliers.process, HLTTrackClusterRemoverNew.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(), CaloTowersCreationAlgo.process(), objects.JetAnalyzer.JetAnalyzer.process(), objects.TauAnalyzer.TauAnalyzer.process(), core.AutoFillTreeProducer.AutoFillTreeProducer.process(), EgammaHLTValidationUtils.EgammaDQMModuleMaker.process, cond::payloadInspector::PlotBase.process(), L1GctJetFinderBase.process(), Config.Process.process, looper.Looper.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(), Config.Process.schedule, and harvestTrackValidationPlots.str.

2056  def prepare(self, doChecking = False):
2057  """ Prepare the configuration string and add missing pieces."""
2058 
2059  self.loadAndRemember(self.EVTCONTDefaultCFF) #load the event contents regardless
2060  self.addMaxEvents()
2061  if self.with_input:
2062  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 1231 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(), DTTTrigProd.DTTTrigProd.process, HcalHitRelabeller.process(), SimpleMuonAnalyzer.SimpleMuonAnalyzer.process(), SimpleTreeAnalyzer.ZJetsTreeAnalyzer.process(), Histogrammer.Histogrammer.process(), NullPostProcessor< OutputCollection >.process(), helper::NullPostProcessor< OutputCollection, EdmFilter >.process(), DTDQMMerge.DTDQMMerge.process, DTValidSummary.DTValidSummary.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, EdmFilter >.process(), DTDqm.DTDqm.process, SimpleTreeProducer.SimpleTreeProducer.process(), DTDQMHarvesting.DTDQMHarvesting.process, DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.process, DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.process, tfwliteselectortest::ThingsWorker.process(), DTAnalysisResiduals.DTAnalysisResiduals.process, ZJetsTreeAnalyzer.ZJetsTreeAnalyzer.process(), DTNoiseCalibration.DTNoiseCalibration.process, DTResidualCalibration.DTResidualCalibration.process, DTTTrigValid.DTTTrigValid.process, clangcms::CatchAll.process(), DTDQMValidation.DTDQMValidation.process, core.Analyzer.Analyzer.process(), EcalFenixTcpsFgvbEB.process(), CSCTFDTReceiver.process(), gen.LHEAnalyzer.LHEAnalyzer.process(), EcalFenixPeakFinder.process(), EcalFenixBypassLin.process(), tfwliteselectortest::ThingsTSelector.process(), MetTreeProducer.MetTreeProducer.process(), EcalFenixMaxof2.process(), CSCTFMonitorInterface.process(), examples::TrackAnalysisAlgorithm.process(), CSCMonitorInterface.process(), TTULogic.process(), RBCLogic.process(), TTUWedgeORLogic.process(), EcalFenixEtStrip.process(), RBCPatternLogic.process(), TTUSectorORLogic.process(), SimpleJetAnalyzer.SimpleJetAnalyzer.process(), PFPileUpAlgo.process(), npstat::AbsVisitor< Input, unsigned long >.process(), __class__Worker.process(), npstat::AbsVisitor< Input, Result >.process(), HcalCableMapper.process(), EcalFenixAmplitudeFilter.process(), BTagDifferentialPlot.process(), EcalFenixTcpFormat.process(), EcalFenixStripFormatEE.process(), DTT0DBValidation.DTT0DBValidation.process, npstat::AbsArrayProjector< Input, Result >.process(), RBCTestLogic.process(), EcalFenixStripFormatEB.process(), DTVDriftSegmentWriter.DTVDriftSegmentWriter.process, MetAnalyzer.MetAnalyzer.process(), DTVDriftMeanTimerWriter.DTVDriftMeanTimerWriter.process, TTUPointingLogic.process(), EcalFenixEtTot.process(), DTTTrigResidualCorr.DTTTrigResidualCorr.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(), DTTTrigCorrFirst.DTTTrigCorrFirst.process, HcalSimpleReconstructor.process(), EcalFenixFgvbEB.process(), L1GctNullJetFinder.process(), edm::ConsumesInfo.process(), L1GctEmLeafCard.process(), SiStripClusterToDigiProducer.process(), L1GctSimpleJetFinder.process(), EcalFenixLinearizer.process(), TriggerAnalyzer.TriggerAnalyzer.process(), L1GctHardwareJetFinder.process(), edm::InputTag.process(), DTTTrigTimeBoxesWriter.DTTTrigTimeBoxesWriter.process, gen.GenHeavyFlavourAnalyzer.GenHeavyFlavourAnalyzer.process(), RPCWheel.process(), L1GctJetFinalStage.process(), L1GctProcessor.process(), TTUConfigurator.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(), ZMuMuRochCorAnalyzer.ZMuMuRochCorAnalyzer.process(), L1Comparator.process(), TrackingRecHitStripGSPlugin.process(), L1GctWheelEnergyFpga.process(), L1GctWheelJetFpga.process(), TrackingRecHitAlgorithm.process(), SeedClusterRemoverPhase2.process(), core.JSONAnalyzer.JSONAnalyzer.process(), core.SkimAnalyzerCount.SkimAnalyzerCount.process(), analyzer.Analyzer.process(), Matcher.Matcher.process(), AlphaTAnalyzer.AlphaTAnalyzer.process(), cscdqm::HWStandbyType.process, L1GctGlobalEnergyAlgos.process(), L1GctElectronSorter.process(), JetAnalyzer.JetAnalyzer.process(), L1GctTdrJetFinder.process(), core.TriggerBitAnalyzer.TriggerBitAnalyzer.process(), fwlite::internal::DataKey.process(), TFWLiteSelectorBasic.process(), L1GctJetLeafCard.process(), KDTreeLinkerBase.process(), DTTFFEDReader.process(), L1GlobalCaloTrigger.process(), ResonanceBuilder.ResonanceBuilder.process(), TFWLiteSelector< __class__Worker >.process(), TFWLiteSelector< TrackAnalysisAlgorithm >.process(), TFWLiteSelector< ThingsWorker >.process(), TFWLiteSelector< TWorker >.process(), EcalFenixTcp.process(), SeedClusterRemover.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(), 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().

1231  def prepare_ALCA(self, sequence = None, workflow = 'full'):
1232  """ Enrich the process with alca streams """
1233  alcaConfig=self.loadDefaultOrSpecifiedCFF(sequence,self.ALCADefaultCFF)
1234  sequence = sequence.split('.')[-1]
1235 
1236  # decide which ALCA paths to use
1237  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 2005 of file ConfigBuilder.py.

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

2005  def prepare_ALCAHARVEST(self, sequence = None):
2006  """ Enrich the process with AlCaHarvesting step """
2007  harvestingConfig = self.loadAndRemember(self.ALCAHARVESTDefaultCFF)
2008  sequence=sequence.split(".")[-1]
2009 
2010  # decide which AlcaHARVESTING paths to use
2011  harvestingList = sequence.split("+")
2012 
2013 
2014 
def loadAndRemember(self, includeFile)
def prepare_ALCAHARVEST(self, sequence=None)
def ConfigBuilder.ConfigBuilder.prepare_ALCAOUTPUT (   self,
  sequence = None 
)

Definition at line 1228 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.prepare_ALCA().

1228  def prepare_ALCAOUTPUT(self, sequence = None):
1229  self.prepare_ALCA(sequence, workflow = "output")
1230 
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 1225 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.prepare_ALCA().

1225  def prepare_ALCAPRODUCER(self, sequence = None):
1226  self.prepare_ALCA(sequence, workflow = "producers")
1227 
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 1453 of file ConfigBuilder.py.

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

1453  def prepare_CFWRITER(self, sequence = None):
1454  """ Enrich the schedule with the crossing frame writer step"""
1455  self.loadAndRemember(self.CFWRITERDefaultCFF)
1456  self.scheduleSequence('pcfw','cfwriter_step')
1457  return
1458 
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 1459 of file ConfigBuilder.py.

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

1459  def prepare_DATAMIX(self, sequence = None):
1460  """ Enrich the schedule with the digitisation step"""
1461  self.loadAndRemember(self.DATAMIXDefaultCFF)
1462  self.scheduleSequence('pdatamix','datamixing_step')
1463 
1464  if self._options.pileup_input:
1465  theFiles=''
1466  if self._options.pileup_input.startswith('dbs:') or self._options.pileup_input.startswith('das:'):
1467  theFiles=filesFromDASQuery('file dataset = %s'%(self._options.pileup_input[4:],),self._options.pileup_dasoption)[0]
1468  elif self._options.pileup_input.startswith("filelist:"):
1469  theFiles= (filesFromList(self._options.pileup_input[9:]))[0]
1470  else:
1471  theFiles=self._options.pileup_input.split(',')
1472  #print theFiles
1473  self.executeAndRemember( "process.mixData.input.fileNames = cms.untracked.vstring(%s)"%( theFiles ) )
1474 
1475  return
1476 
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 1404 of file ConfigBuilder.py.

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

1404  def prepare_DIGI(self, sequence = None):
1405  """ Enrich the schedule with the digitisation step"""
1406  self.loadDefaultOrSpecifiedCFF(sequence,self.DIGIDefaultCFF)
1407 
1408  if self._options.gflash==True:
1409  self.loadAndRemember("Configuration/StandardSequences/GFlashDIGI_cff")
1410 
1411  if sequence == 'pdigi_valid' or sequence == 'pdigi_hi':
1412  self.executeAndRemember("process.mix.digitizers = cms.PSet(process.theDigitizersValid)")
1413 
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 1477 of file ConfigBuilder.py.

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

1477  def prepare_DIGI2RAW(self, sequence = None):
1478  self.loadDefaultOrSpecifiedCFF(sequence,self.DIGI2RAWDefaultCFF)
1479  self.scheduleSequence(sequence.split('.')[-1],'digi2raw_step')
1480  if "DIGIPREMIX" in self.stepMap.keys():
1481  self.executeAndRemember("process.esDigiToRaw.Label = cms.string('mix')") ##terrible hack - bypass zero suppression
1482  self.executeAndRemember("process.SiStripDigiToRaw.FedReadoutMode = cms.string('PREMIX_RAW')") ##special readout mode for StripTracker
1483 
1484  return
1485 
def loadDefaultOrSpecifiedCFF(self, sequence, defaultCFF)
def scheduleSequence(self, seq, prefix, what='Path')
def prepare_DIGI2RAW(self, sequence=None)
def executeAndRemember(self, command)
def ConfigBuilder.ConfigBuilder.prepare_DIGIPREMIX (   self,
  sequence = None 
)
Enrich the schedule with the digitisation step

Definition at line 1424 of file ConfigBuilder.py.

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

1424  def prepare_DIGIPREMIX(self, sequence = None):
1425  """ Enrich the schedule with the digitisation step"""
1426  self.loadDefaultOrSpecifiedCFF(sequence,self.DIGIDefaultCFF)
1427 
def loadDefaultOrSpecifiedCFF(self, sequence, defaultCFF)
def prepare_DIGIPREMIX(self, sequence=None)
def ConfigBuilder.ConfigBuilder.prepare_DIGIPREMIX_S2 (   self,
  sequence = None 
)
Enrich the schedule with the digitisation step

Definition at line 1438 of file ConfigBuilder.py.

1438  def prepare_DIGIPREMIX_S2(self, sequence = None):
1439  """ Enrich the schedule with the digitisation step"""
def prepare_DIGIPREMIX_S2(self, sequence=None)
def ConfigBuilder.ConfigBuilder.prepare_DQM (   self,
  sequence = 'DQMOffline' 
)

Definition at line 1932 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(), DTTTrigProd.DTTTrigProd.process, HcalHitRelabeller.process(), SimpleMuonAnalyzer.SimpleMuonAnalyzer.process(), SimpleTreeAnalyzer.ZJetsTreeAnalyzer.process(), Histogrammer.Histogrammer.process(), DTDQMMerge.DTDQMMerge.process, helper::NullPostProcessor< OutputCollection, EdmFilter >.process(), DTValidSummary.DTValidSummary.process, helper::NullPostProcessor< reco::CandidateCollection, edm::EDFilter >.process(), NullPostProcessor< reco::CandidateCollection >.process(), helper::NullPostProcessor< typename::helper::SelectedOutputCollectionTrait< reco::TrackCollection >::type, EdmFilter >.process(), EDFilter<>.process(), EDProducer<>.process(), NullPostProcessor< OutputCollection, edm::EDFilter >.process(), NullPostProcessor< OutputCollection, EdmFilter >.process(), DTDqm.DTDqm.process, NullPostProcessor< OutputCollection >.process(), SimpleTreeProducer.SimpleTreeProducer.process(), DTDQMHarvesting.DTDQMHarvesting.process, DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.process, DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.process, tfwliteselectortest::ThingsWorker.process(), DTAnalysisResiduals.DTAnalysisResiduals.process, ZJetsTreeAnalyzer.ZJetsTreeAnalyzer.process(), DTNoiseCalibration.DTNoiseCalibration.process, DTResidualCalibration.DTResidualCalibration.process, DTTTrigValid.DTTTrigValid.process, clangcms::CatchAll.process(), DTDQMValidation.DTDQMValidation.process, core.Analyzer.Analyzer.process(), EcalFenixTcpsFgvbEB.process(), CSCTFDTReceiver.process(), gen.LHEAnalyzer.LHEAnalyzer.process(), EcalFenixPeakFinder.process(), EcalFenixBypassLin.process(), tfwliteselectortest::ThingsTSelector.process(), MetTreeProducer.MetTreeProducer.process(), EcalFenixMaxof2.process(), CSCTFMonitorInterface.process(), examples::TrackAnalysisAlgorithm.process(), CSCMonitorInterface.process(), TTULogic.process(), RBCLogic.process(), TTUWedgeORLogic.process(), EcalFenixEtStrip.process(), RBCPatternLogic.process(), TTUSectorORLogic.process(), SimpleJetAnalyzer.SimpleJetAnalyzer.process(), PFPileUpAlgo.process(), npstat::AbsVisitor< Input, unsigned long >.process(), __class__Worker.process(), npstat::AbsVisitor< Input, Result >.process(), HcalCableMapper.process(), EcalFenixAmplitudeFilter.process(), BTagDifferentialPlot.process(), EcalFenixTcpFormat.process(), EcalFenixStripFormatEE.process(), DTT0DBValidation.DTT0DBValidation.process, npstat::AbsArrayProjector< Input, Result >.process(), EcalFenixStripFormatEB.process(), RBCTestLogic.process(), DTVDriftSegmentWriter.DTVDriftSegmentWriter.process, MetAnalyzer.MetAnalyzer.process(), DTVDriftMeanTimerWriter.DTVDriftMeanTimerWriter.process, TTUPointingLogic.process(), EcalFenixEtTot.process(), DTTTrigResidualCorr.DTTTrigResidualCorr.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(), DTTTrigCorrFirst.DTTTrigCorrFirst.process, HcalSimpleReconstructor.process(), EcalFenixFgvbEB.process(), L1GctNullJetFinder.process(), edm::ConsumesInfo.process(), L1GctEmLeafCard.process(), SiStripClusterToDigiProducer.process(), L1GctSimpleJetFinder.process(), EcalFenixLinearizer.process(), TriggerAnalyzer.TriggerAnalyzer.process(), L1GctHardwareJetFinder.process(), edm::InputTag.process(), DTTTrigTimeBoxesWriter.DTTTrigTimeBoxesWriter.process, RPCWheel.process(), gen.GenHeavyFlavourAnalyzer.GenHeavyFlavourAnalyzer.process(), L1GctJetFinalStage.process(), L1GctProcessor.process(), TTUConfigurator.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(), ZMuMuRochCorAnalyzer.ZMuMuRochCorAnalyzer.process(), L1Comparator.process(), TrackingRecHitStripGSPlugin.process(), L1GctWheelEnergyFpga.process(), L1GctWheelJetFpga.process(), SeedClusterRemoverPhase2.process(), core.JSONAnalyzer.JSONAnalyzer.process(), core.SkimAnalyzerCount.SkimAnalyzerCount.process(), TrackingRecHitAlgorithm.process(), analyzer.Analyzer.process(), Matcher.Matcher.process(), AlphaTAnalyzer.AlphaTAnalyzer.process(), cscdqm::HWStandbyType.process, L1GctGlobalEnergyAlgos.process(), L1GctElectronSorter.process(), JetAnalyzer.JetAnalyzer.process(), L1GctTdrJetFinder.process(), core.TriggerBitAnalyzer.TriggerBitAnalyzer.process(), fwlite::internal::DataKey.process(), TFWLiteSelectorBasic.process(), L1GctJetLeafCard.process(), KDTreeLinkerBase.process(), DTTFFEDReader.process(), L1GlobalCaloTrigger.process(), ResonanceBuilder.ResonanceBuilder.process(), TFWLiteSelector< ThingsWorker >.process(), TFWLiteSelector< TrackAnalysisAlgorithm >.process(), TFWLiteSelector< __class__Worker >.process(), TFWLiteSelector< TWorker >.process(), EcalFenixTcp.process(), SeedClusterRemover.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(), CaloTowersCreationAlgo.process(), objects.JetAnalyzer.JetAnalyzer.process(), objects.TauAnalyzer.TauAnalyzer.process(), core.AutoFillTreeProducer.AutoFillTreeProducer.process(), EgammaHLTValidationUtils.EgammaDQMModuleMaker.process, cond::payloadInspector::PlotBase.process(), L1GctJetFinderBase.process(), Config.Process.process, looper.Looper.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.

1932  def prepare_DQM(self, sequence = 'DQMOffline'):
1933  # this one needs replacement
1934 
1935  self.loadDefaultOrSpecifiedCFF(sequence,self.DQMOFFLINEDefaultCFF)
1936  sequenceList=sequence.split('.')[-1].split('+')
1937  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 1690 of file ConfigBuilder.py.

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

Definition at line 2035 of file ConfigBuilder.py.

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

2035  def prepare_ENDJOB(self, sequence = 'endOfProcess'):
2036  self.loadDefaultOrSpecifiedCFF(sequence,self.ENDJOBDefaultCFF)
2037  self.scheduleSequenceAtEnd(sequence.split('.')[-1],'endjob_step')
2038  return
2039 
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 1609 of file ConfigBuilder.py.

1609  def prepare_FILTER(self, sequence = None):
1610  ''' 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 1306 of file ConfigBuilder.py.

1306  def prepare_GEN(self, sequence = None):
1307  """ 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 1969 of file ConfigBuilder.py.

1969  def prepare_HARVESTING(self, sequence = None):
1970  """ Enrich the process with harvesting step """
1971  self.DQMSaverCFF='Configuration/StandardSequences/DQMSaver'+self._options.harvesting+'_cff'
1972  self.loadAndRemember(self.DQMSaverCFF)
1973 
1974  harvestingConfig = self.loadDefaultOrSpecifiedCFF(sequence,self.HARVESTINGDefaultCFF)
1975  sequence = sequence.split('.')[-1]
1976 
1977  # decide which HARVESTING paths to use
1978  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 1511 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.executeAndRemember(), join(), ConfigBuilder.ConfigBuilder.loadAndRemember(), CMSTestAnalyzer.CMSTestAnalyzer.process(), Filter.Filter.process(), edm::ProductLabels.process, Printer.Printer.process(), DTTTrigProd.DTTTrigProd.process, HcalHitRelabeller.process(), SimpleMuonAnalyzer.SimpleMuonAnalyzer.process(), SimpleTreeAnalyzer.ZJetsTreeAnalyzer.process(), Histogrammer.Histogrammer.process(), DTValidSummary.DTValidSummary.process, helper::NullPostProcessor< reco::CandidateCollection, edm::EDFilter >.process(), DTDqm.DTDqm.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(), NullPostProcessor< OutputCollection, EdmFilter >.process(), helper::NullPostProcessor< OutputCollection, EdmFilter >.process(), DTDQMMerge.DTDQMMerge.process, SimpleTreeProducer.SimpleTreeProducer.process(), DTAnalysisResiduals.DTAnalysisResiduals.process, DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.process, tfwliteselectortest::ThingsWorker.process(), DTDQMHarvesting.DTDQMHarvesting.process, ZJetsTreeAnalyzer.ZJetsTreeAnalyzer.process(), DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.process, DTNoiseCalibration.DTNoiseCalibration.process, DTResidualCalibration.DTResidualCalibration.process, DTTTrigValid.DTTTrigValid.process, DTDQMValidation.DTDQMValidation.process, clangcms::CatchAll.process(), core.Analyzer.Analyzer.process(), EcalFenixTcpsFgvbEB.process(), CSCTFDTReceiver.process(), gen.LHEAnalyzer.LHEAnalyzer.process(), EcalFenixPeakFinder.process(), EcalFenixBypassLin.process(), tfwliteselectortest::ThingsTSelector.process(), MetTreeProducer.MetTreeProducer.process(), CSCTFMonitorInterface.process(), EcalFenixMaxof2.process(), examples::TrackAnalysisAlgorithm.process(), CSCMonitorInterface.process(), TTULogic.process(), RBCLogic.process(), TTUWedgeORLogic.process(), EcalFenixEtStrip.process(), RBCPatternLogic.process(), TTUSectorORLogic.process(), SimpleJetAnalyzer.SimpleJetAnalyzer.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(), DTT0DBValidation.DTT0DBValidation.process, npstat::AbsArrayProjector< Input, Result >.process(), DTVDriftMeanTimerWriter.DTVDriftMeanTimerWriter.process, RBCTestLogic.process(), DTVDriftSegmentWriter.DTVDriftSegmentWriter.process, MetAnalyzer.MetAnalyzer.process(), EcalFenixStripFormatEB.process(), TTUPointingLogic.process(), EcalFenixEtTot.process(), DTTTrigResidualCorr.DTTTrigResidualCorr.process, TTUTwoORLogic.process(), EcalFenixStripFgvbEE.process(), gen.LHEWeightAnalyzer.LHEWeightAnalyzer.process(), EcalFenixTcpFgvbEE.process(), core.TriggerMatchAnalyzer.TriggerMatchAnalyzer.process(), RBCChamberORLogic.process(), TTUTrackingAlg.process(), core.TriggerBitFilter.TriggerBitFilter.process(), DTTTrigCorrFirst.DTTTrigCorrFirst.process, gen.HiggsDecayModeAnalyzer.HiggsDecayModeAnalyzer.process(), HcalSimpleReconstructor.process(), EcalFenixFgvbEB.process(), L1GctNullJetFinder.process(), L1GctEmLeafCard.process(), edm::ConsumesInfo.process(), SiStripClusterToDigiProducer.process(), L1GctSimpleJetFinder.process(), EcalFenixLinearizer.process(), TriggerAnalyzer.TriggerAnalyzer.process(), edm::InputTag.process(), L1GctHardwareJetFinder.process(), RPCWheel.process(), DTTTrigTimeBoxesWriter.DTTTrigTimeBoxesWriter.process, gen.GenHeavyFlavourAnalyzer.GenHeavyFlavourAnalyzer.process(), L1GctJetFinalStage.process(), L1GctProcessor.process(), TTUConfigurator.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(), ZMuMuRochCorAnalyzer.ZMuMuRochCorAnalyzer.process(), TrackingRecHitStripGSPlugin.process(), L1Comparator.process(), L1GctWheelEnergyFpga.process(), L1GctWheelJetFpga.process(), TrackingRecHitAlgorithm.process(), SeedClusterRemoverPhase2.process(), core.JSONAnalyzer.JSONAnalyzer.process(), core.SkimAnalyzerCount.SkimAnalyzerCount.process(), analyzer.Analyzer.process(), AlphaTAnalyzer.AlphaTAnalyzer.process(), Matcher.Matcher.process(), cscdqm::HWStandbyType.process, L1GctGlobalEnergyAlgos.process(), L1GctElectronSorter.process(), JetAnalyzer.JetAnalyzer.process(), L1GctTdrJetFinder.process(), fwlite::internal::DataKey.process(), core.TriggerBitAnalyzer.TriggerBitAnalyzer.process(), TFWLiteSelectorBasic.process(), L1GctJetLeafCard.process(), KDTreeLinkerBase.process(), DTTFFEDReader.process(), L1GlobalCaloTrigger.process(), ResonanceBuilder.ResonanceBuilder.process(), TFWLiteSelector< ThingsWorker >.process(), TFWLiteSelector< __class__Worker >.process(), TFWLiteSelector< TrackAnalysisAlgorithm >.process(), TFWLiteSelector< TWorker >.process(), EcalFenixTcp.process(), SeedClusterRemover.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(), 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().

1511  def prepare_HLT(self, sequence = None):
1512  """ Enrich the schedule with the HLT simulation step"""
1513  if not sequence:
1514  print "no specification of the hlt menu has been given, should never happen"
1515  raise Exception('no HLT sequence provided')
1516 
1517  if '@' in sequence:
1518  # case where HLT:@something was provided
1519  from Configuration.HLT.autoHLT import autoHLT
1520  key = sequence[1:]
1521  if key in autoHLT:
1522  sequence = autoHLT[key]
1523  else:
1524  raise ValueError('no HLT mapping key "%s" found in autoHLT' % key)
1525 
1526  if ',' in sequence:
1527  #case where HLT:something:something was provided
1528  self.executeAndRemember('import HLTrigger.Configuration.Utilities')
1529  optionsForHLT = {}
1530  if self._options.scenario == 'HeavyIons':
1531  optionsForHLT['type'] = 'HIon'
1532  else:
1533  optionsForHLT['type'] = 'GRun'
1534  optionsForHLTConfig = ', '.join('%s=%s' % (key, repr(val)) for (key, val) in optionsForHLT.iteritems())
1535  if sequence == 'run,fromSource':
1536  if hasattr(self.process.source,'firstRun'):
1537  self.executeAndRemember('process.loadHltConfiguration("run:%%d"%%(process.source.firstRun.value()),%s)'%(optionsForHLTConfig))
1538  elif hasattr(self.process.source,'setRunNumber'):
1539  self.executeAndRemember('process.loadHltConfiguration("run:%%d"%%(process.source.setRunNumber.value()),%s)'%(optionsForHLTConfig))
1540  else:
1541  raise Exception('Cannot replace menu to load %s'%(sequence))
1542  else:
1543  self.executeAndRemember('process.loadHltConfiguration("%s",%s)'%(sequence.replace(',',':'),optionsForHLTConfig))
1544  else:
1545  self.loadAndRemember('HLTrigger/Configuration/HLT_%s_cff' % sequence)
1546 
1547  if self._options.isMC:
1548  self._options.customisation_file.append("HLTrigger/Configuration/customizeHLTforMC.customizeHLTforMC")
1549 
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 1491 of file ConfigBuilder.py.

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

1491  def prepare_L1(self, sequence = None):
1492  """ Enrich the schedule with the L1 simulation step"""
1493  assert(sequence == None)
1494  self.loadAndRemember(self.L1EMDefaultCFF)
1495  self.scheduleSequence('SimL1Emulator','L1simulation_step')
1496  return
1497 
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 1590 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.loadDefaultOrSpecifiedCFF().

1590  def prepare_L1HwVal(self, sequence = 'L1HwVal'):
1591  ''' Enrich the schedule with L1 HW validation '''
1592  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 1597 of file ConfigBuilder.py.

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

1597  def prepare_L1Reco(self, sequence = "L1Reco"):
1598  ''' Enrich the schedule with L1 reconstruction '''
1599  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 1498 of file ConfigBuilder.py.

1498  def prepare_L1REPACK(self, sequence = None):
1499  """ 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"""
1500  supported = ['GT','GT1','GT2','GCTGT','Full','FullSimTP','FullMC','Full2015Data','uGT']
1501  if sequence in supported:
1502  self.loadAndRemember('Configuration/StandardSequences/SimL1EmulatorRepack_%s_cff'%sequence)
1503  if self._options.scenario == 'HeavyIons':
1504  self.renameInputTagsInSequence("SimL1Emulator","rawDataCollector","rawDataRepacker")
1505  self.scheduleSequence('SimL1Emulator','L1RePack_step')
1506  else:
1507  print "L1REPACK with '",sequence,"' is not supported! Supported choices are: ",supported
1508  raise Exception('unsupported feature')
1509 
1510 
def prepare_L1REPACK(self, sequence=None)
def ConfigBuilder.ConfigBuilder.prepare_L1TrackTrigger (   self,
  sequence = "L1TrackTrigger" 
)
Enrich the schedule with L1 reconstruction 

Definition at line 1603 of file ConfigBuilder.py.

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

1603  def prepare_L1TrackTrigger(self, sequence = "L1TrackTrigger"):
1604  ''' 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 1289 of file ConfigBuilder.py.

References createfilelist.int, CMSTestAnalyzer.CMSTestAnalyzer.process(), Filter.Filter.process(), edm::ProductLabels.process, Printer.Printer.process(), DTTTrigProd.DTTTrigProd.process, SimpleMuonAnalyzer.SimpleMuonAnalyzer.process(), SimpleTreeAnalyzer.ZJetsTreeAnalyzer.process(), HcalHitRelabeller.process(), Histogrammer.Histogrammer.process(), helper::NullPostProcessor< reco::CandidateCollection, edm::EDFilter >.process(), helper::NullPostProcessor< typename::helper::SelectedOutputCollectionTrait< reco::TrackCollection >::type, EdmFilter >.process(), DTDqm.DTDqm.process, NullPostProcessor< OutputCollection, edm::EDFilter >.process(), EDFilter<>.process(), EDProducer<>.process(), NullPostProcessor< OutputCollection >.process(), NullPostProcessor< reco::CandidateCollection >.process(), NullPostProcessor< OutputCollection, EdmFilter >.process(), DTDQMMerge.DTDQMMerge.process, DTValidSummary.DTValidSummary.process, helper::NullPostProcessor< OutputCollection, EdmFilter >.process(), SimpleTreeProducer.SimpleTreeProducer.process(), DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.process, DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.process, DTDQMHarvesting.DTDQMHarvesting.process, tfwliteselectortest::ThingsWorker.process(), ZJetsTreeAnalyzer.ZJetsTreeAnalyzer.process(), DTAnalysisResiduals.DTAnalysisResiduals.process, DTResidualCalibration.DTResidualCalibration.process, DTNoiseCalibration.DTNoiseCalibration.process, clangcms::CatchAll.process(), core.Analyzer.Analyzer.process(), DTDQMValidation.DTDQMValidation.process, DTTTrigValid.DTTTrigValid.process, EcalFenixTcpsFgvbEB.process(), CSCTFDTReceiver.process(), gen.LHEAnalyzer.LHEAnalyzer.process(), EcalFenixPeakFinder.process(), EcalFenixBypassLin.process(), tfwliteselectortest::ThingsTSelector.process(), MetTreeProducer.MetTreeProducer.process(), CSCTFMonitorInterface.process(), EcalFenixMaxof2.process(), CSCMonitorInterface.process(), TTULogic.process(), examples::TrackAnalysisAlgorithm.process(), RBCLogic.process(), TTUWedgeORLogic.process(), EcalFenixEtStrip.process(), RBCPatternLogic.process(), SimpleJetAnalyzer.SimpleJetAnalyzer.process(), PFPileUpAlgo.process(), TTUSectorORLogic.process(), npstat::AbsVisitor< Input, unsigned long >.process(), __class__Worker.process(), npstat::AbsVisitor< Input, Result >.process(), HcalCableMapper.process(), BTagDifferentialPlot.process(), EcalFenixAmplitudeFilter.process(), EcalFenixTcpFormat.process(), DTT0DBValidation.DTT0DBValidation.process, EcalFenixStripFormatEE.process(), npstat::AbsArrayProjector< Input, Result >.process(), DTVDriftMeanTimerWriter.DTVDriftMeanTimerWriter.process, RBCTestLogic.process(), DTVDriftSegmentWriter.DTVDriftSegmentWriter.process, TTUPointingLogic.process(), MetAnalyzer.MetAnalyzer.process(), EcalFenixStripFormatEB.process(), EcalFenixEtTot.process(), TTUTwoORLogic.process(), DTTTrigResidualCorr.DTTTrigResidualCorr.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(), DTTTrigCorrFirst.DTTTrigCorrFirst.process, HcalSimpleReconstructor.process(), EcalFenixFgvbEB.process(), L1GctNullJetFinder.process(), edm::ConsumesInfo.process(), L1GctEmLeafCard.process(), SiStripClusterToDigiProducer.process(), L1GctSimpleJetFinder.process(), EcalFenixLinearizer.process(), TriggerAnalyzer.TriggerAnalyzer.process(), edm::InputTag.process(), L1GctHardwareJetFinder.process(), RPCWheel.process(), DTTTrigTimeBoxesWriter.DTTTrigTimeBoxesWriter.process, gen.GenHeavyFlavourAnalyzer.GenHeavyFlavourAnalyzer.process(), L1GctProcessor.process(), TTUConfigurator.process(), L1GctJetFinalStage.process(), gen.PDFWeightsAnalyzer.PDFWeightsAnalyzer.process(), L1GctGlobalHfSumAlgos.process(), PFMETBenchmark.process(), npstat::VisitCounter< Input >.process(), L1GctElectronFinalSort.process(), PFJetBenchmark.process(), TrackingRecHitNoSmearingPlugin.process(), core.EventSelector.EventSelector.process(), core.ProvenanceAnalyzer.ProvenanceAnalyzer.process(), PFTauElecRejectionBenchmark.process(), EgammaHLTPixelMatchElectronAlgo.process(), ZMuMuRochCorAnalyzer.ZMuMuRochCorAnalyzer.process(), L1Comparator.process(), TrackingRecHitStripGSPlugin.process(), L1GctWheelEnergyFpga.process(), L1GctWheelJetFpga.process(), core.JSONAnalyzer.JSONAnalyzer.process(), TrackingRecHitAlgorithm.process(), core.SkimAnalyzerCount.SkimAnalyzerCount.process(), SeedClusterRemoverPhase2.process(), analyzer.Analyzer.process(), Matcher.Matcher.process(), AlphaTAnalyzer.AlphaTAnalyzer.process(), cscdqm::HWStandbyType.process, L1GctElectronSorter.process(), L1GctGlobalEnergyAlgos.process(), JetAnalyzer.JetAnalyzer.process(), L1GctTdrJetFinder.process(), core.TriggerBitAnalyzer.TriggerBitAnalyzer.process(), fwlite::internal::DataKey.process(), TFWLiteSelectorBasic.process(), KDTreeLinkerBase.process(), L1GctJetLeafCard.process(), DTTFFEDReader.process(), L1GlobalCaloTrigger.process(), ResonanceBuilder.ResonanceBuilder.process(), TFWLiteSelector< ThingsWorker >.process(), TFWLiteSelector< __class__Worker >.process(), TFWLiteSelector< TrackAnalysisAlgorithm >.process(), TFWLiteSelector< TWorker >.process(), EcalFenixTcp.process(), SeedClusterRemover.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(), 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(), 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().

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

Definition at line 1656 of file ConfigBuilder.py.

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

1656  def prepare_PAT(self, sequence = "miniAOD"):
1657  ''' Enrich the schedule with PAT '''
1658  self.prepare_PATFILTER(self)
1659  self.loadDefaultOrSpecifiedCFF(sequence,self.PATDefaultCFF)
1660  self.labelsToAssociate.append('patTask')
1661  if not self._options.runUnscheduled:
1662  raise Exception("MiniAOD production can only run in unscheduled mode, please run cmsDriver with --runUnscheduled")
1663  if self._options.isData:
1664  self._options.customisation_file_unsch.insert(0,"PhysicsTools/PatAlgos/slimming/miniAOD_tools.miniAOD_customizeAllData")
1665  else:
1666  self._options.customisation_file_unsch.insert(0,"PhysicsTools/PatAlgos/slimming/miniAOD_tools.miniAOD_customizeAllMC")
1667  if self._options.fast:
1668  self._options.customisation_file_unsch.insert(1,"PhysicsTools/PatAlgos/slimming/metFilterPaths_cff.miniAOD_customizeMETFiltersFastSim")
1669 
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 1584 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.loadAndRemember(), CMSTestAnalyzer.CMSTestAnalyzer.process(), Filter.Filter.process(), edm::ProductLabels.process, Printer.Printer.process(), DTTTrigProd.DTTTrigProd.process, SimpleMuonAnalyzer.SimpleMuonAnalyzer.process(), SimpleTreeAnalyzer.ZJetsTreeAnalyzer.process(), HcalHitRelabeller.process(), Histogrammer.Histogrammer.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, EdmFilter >.process(), DTDQMMerge.DTDQMMerge.process, DTDqm.DTDqm.process, NullPostProcessor< OutputCollection >.process(), DTValidSummary.DTValidSummary.process, helper::NullPostProcessor< OutputCollection, EdmFilter >.process(), SimpleTreeProducer.SimpleTreeProducer.process(), DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.process, DTDQMHarvesting.DTDQMHarvesting.process, DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.process, DTAnalysisResiduals.DTAnalysisResiduals.process, tfwliteselectortest::ThingsWorker.process(), ZJetsTreeAnalyzer.ZJetsTreeAnalyzer.process(), DTResidualCalibration.DTResidualCalibration.process, DTNoiseCalibration.DTNoiseCalibration.process, clangcms::CatchAll.process(), core.Analyzer.Analyzer.process(), DTDQMValidation.DTDQMValidation.process, DTTTrigValid.DTTTrigValid.process, EcalFenixTcpsFgvbEB.process(), CSCTFDTReceiver.process(), gen.LHEAnalyzer.LHEAnalyzer.process(), EcalFenixPeakFinder.process(), EcalFenixBypassLin.process(), tfwliteselectortest::ThingsTSelector.process(), MetTreeProducer.MetTreeProducer.process(), CSCTFMonitorInterface.process(), EcalFenixMaxof2.process(), CSCMonitorInterface.process(), TTULogic.process(), examples::TrackAnalysisAlgorithm.process(), RBCLogic.process(), TTUWedgeORLogic.process(), EcalFenixEtStrip.process(), RBCPatternLogic.process(), TTUSectorORLogic.process(), SimpleJetAnalyzer.SimpleJetAnalyzer.process(), PFPileUpAlgo.process(), npstat::AbsVisitor< Input, unsigned long >.process(), __class__Worker.process(), npstat::AbsVisitor< Input, Result >.process(), HcalCableMapper.process(), BTagDifferentialPlot.process(), EcalFenixAmplitudeFilter.process(), EcalFenixTcpFormat.process(), DTT0DBValidation.DTT0DBValidation.process, npstat::AbsArrayProjector< Input, Result >.process(), EcalFenixStripFormatEE.process(), DTVDriftMeanTimerWriter.DTVDriftMeanTimerWriter.process, EcalFenixStripFormatEB.process(), RBCTestLogic.process(), TTUPointingLogic.process(), DTVDriftSegmentWriter.DTVDriftSegmentWriter.process, MetAnalyzer.MetAnalyzer.process(), EcalFenixEtTot.process(), DTTTrigResidualCorr.DTTTrigResidualCorr.process, TTUTwoORLogic.process(), gen.LHEWeightAnalyzer.LHEWeightAnalyzer.process(), EcalFenixStripFgvbEE.process(), RBCChamberORLogic.process(), EcalFenixTcpFgvbEE.process(), TTUTrackingAlg.process(), core.TriggerMatchAnalyzer.TriggerMatchAnalyzer.process(), core.TriggerBitFilter.TriggerBitFilter.process(), DTTTrigCorrFirst.DTTTrigCorrFirst.process, gen.HiggsDecayModeAnalyzer.HiggsDecayModeAnalyzer.process(), HcalSimpleReconstructor.process(), EcalFenixFgvbEB.process(), L1GctNullJetFinder.process(), edm::ConsumesInfo.process(), L1GctEmLeafCard.process(), L1GctSimpleJetFinder.process(), SiStripClusterToDigiProducer.process(), TriggerAnalyzer.TriggerAnalyzer.process(), EcalFenixLinearizer.process(), edm::InputTag.process(), L1GctHardwareJetFinder.process(), DTTTrigTimeBoxesWriter.DTTTrigTimeBoxesWriter.process, RPCWheel.process(), gen.GenHeavyFlavourAnalyzer.GenHeavyFlavourAnalyzer.process(), L1GctProcessor.process(), TTUConfigurator.process(), L1GctJetFinalStage.process(), gen.PDFWeightsAnalyzer.PDFWeightsAnalyzer.process(), L1GctGlobalHfSumAlgos.process(), PFMETBenchmark.process(), npstat::VisitCounter< Input >.process(), L1GctElectronFinalSort.process(), TrackingRecHitNoSmearingPlugin.process(), core.EventSelector.EventSelector.process(), core.ProvenanceAnalyzer.ProvenanceAnalyzer.process(), PFJetBenchmark.process(), PFTauElecRejectionBenchmark.process(), EgammaHLTPixelMatchElectronAlgo.process(), ZMuMuRochCorAnalyzer.ZMuMuRochCorAnalyzer.process(), L1Comparator.process(), TrackingRecHitStripGSPlugin.process(), L1GctWheelEnergyFpga.process(), L1GctWheelJetFpga.process(), SeedClusterRemoverPhase2.process(), core.JSONAnalyzer.JSONAnalyzer.process(), core.SkimAnalyzerCount.SkimAnalyzerCount.process(), TrackingRecHitAlgorithm.process(), analyzer.Analyzer.process(), AlphaTAnalyzer.AlphaTAnalyzer.process(), Matcher.Matcher.process(), cscdqm::HWStandbyType.process, L1GctGlobalEnergyAlgos.process(), L1GctElectronSorter.process(), JetAnalyzer.JetAnalyzer.process(), L1GctTdrJetFinder.process(), TFWLiteSelectorBasic.process(), fwlite::internal::DataKey.process(), core.TriggerBitAnalyzer.TriggerBitAnalyzer.process(), L1GctJetLeafCard.process(), KDTreeLinkerBase.process(), DTTFFEDReader.process(), L1GlobalCaloTrigger.process(), ResonanceBuilder.ResonanceBuilder.process(), TFWLiteSelector< __class__Worker >.process(), TFWLiteSelector< TWorker >.process(), TFWLiteSelector< TrackAnalysisAlgorithm >.process(), TFWLiteSelector< ThingsWorker >.process(), EcalFenixTcp.process(), SeedClusterRemover.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(), CaloTowersCreationAlgo.process(), objects.JetAnalyzer.JetAnalyzer.process(), objects.TauAnalyzer.TauAnalyzer.process(), core.AutoFillTreeProducer.AutoFillTreeProducer.process(), EgammaHLTValidationUtils.EgammaDQMModuleMaker.process, cond::payloadInspector::PlotBase.process(), L1GctJetFinderBase.process(), Config.Process.process, looper.Looper.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().

1584  def prepare_PATFILTER(self, sequence=None):
1585  self.loadAndRemember("PhysicsTools/PatAlgos/slimming/metFilterPaths_cff")
1586  from PhysicsTools.PatAlgos.slimming.metFilterPaths_cff import allMetFilterPaths
1587  for filt in allMetFilterPaths:
1588  self.schedule.append(getattr(self.process,'Flag_'+filt))
1589 
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 1680 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.loadDefaultOrSpecifiedCFF().

1680  def prepare_PATGEN(self, sequence = "miniGEN"):
1681  ''' Enrich the schedule with PATGEN '''
1682  self.loadDefaultOrSpecifiedCFF(sequence,self.PATGENDefaultCFF) #this is unscheduled
1683  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 1752 of file ConfigBuilder.py.

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

1752  def prepare_POSTRECO(self, sequence = None):
1753  """ Enrich the schedule with the postreco step """
1754  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 1577 of file ConfigBuilder.py.

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

Referenced by ConfigBuilder.ConfigBuilder.prepare_RAW2RECO().

1577  def prepare_RAW2DIGI(self, sequence = "RawToDigi"):
1578  self.loadDefaultOrSpecifiedCFF(sequence,self.RAW2DIGIDefaultCFF)
1579  self.scheduleSequence(sequence,'raw2digi_step')
1580  # if self._options.isRepacked:
1581  #self.renameInputTagsInSequence(sequence)
1582  return
1583 
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 1566 of file ConfigBuilder.py.

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

1566  def prepare_RAW2RECO(self, sequence = None):
1567  if ','in sequence:
1568  seqReco=sequence.split(',')[1]
1569  seqDigi=sequence.split(',')[0]
1570  else:
1571  print "RAW2RECO requires two specifications",sequence,"insufficient"
1572 
1573  self.prepare_RAW2DIGI(seqDigi)
1574  self.prepare_RECO(seqReco)
1575  return
1576 
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 1641 of file ConfigBuilder.py.

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

Referenced by ConfigBuilder.ConfigBuilder.prepare_RAW2RECO().

1641  def prepare_RECO(self, sequence = "reconstruction"):
1642  ''' Enrich the schedule with reconstruction '''
1643  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 1647 of file ConfigBuilder.py.

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

1647  def prepare_RECOBEFMIX(self, sequence = "reconstruction"):
1648  ''' Enrich the schedule with the part of reconstruction that is done before mixing in FastSim'''
1649  if not self._options.fast:
1650  print "ERROR: this step is only implemented for FastSim"
1651  sys.exit()
1652  self.loadDefaultOrSpecifiedCFF(self.RECOBEFMIXDefaultSeq,self.RECOBEFMIXDefaultCFF)
1653  self.scheduleSequence(sequence.split('.')[-1],'reconstruction_befmix_step')
1654  return
1655 
def loadDefaultOrSpecifiedCFF(self, sequence, defaultCFF)
def prepare_RECOBEFMIX(self, sequence="reconstruction")
def scheduleSequence(self, seq, prefix, what='Path')
def ConfigBuilder.ConfigBuilder.prepare_REPACK (   self,
  sequence = None 
)

Definition at line 1486 of file ConfigBuilder.py.

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

1486  def prepare_REPACK(self, sequence = None):
1487  self.loadDefaultOrSpecifiedCFF(sequence,self.REPACKDefaultCFF)
1488  self.scheduleSequence(sequence.split('.')[-1],'digi2repack_step')
1489  return
1490 
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 1388 of file ConfigBuilder.py.

1388  def prepare_SIM(self, sequence = None):
1389  """ 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 1702 of file ConfigBuilder.py.

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

1702  def prepare_SKIM(self, sequence = "all"):
1703  ''' Enrich the schedule with skimming fragments'''
1704  skimConfig = self.loadDefaultOrSpecifiedCFF(sequence,self.SKIMDefaultCFF)
1705  sequence = sequence.split('.')[-1]
1706 
1707  skimlist=sequence.split('+')
1708  ## 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 1746 of file ConfigBuilder.py.

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

1746  def prepare_USER(self, sequence = None):
1747  ''' Enrich the schedule with a user defined sequence '''
1748  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 1759 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(), DTTTrigProd.DTTTrigProd.process, HcalHitRelabeller.process(), SimpleMuonAnalyzer.SimpleMuonAnalyzer.process(), SimpleTreeAnalyzer.ZJetsTreeAnalyzer.process(), Histogrammer.Histogrammer.process(), DTValidSummary.DTValidSummary.process, helper::NullPostProcessor< reco::CandidateCollection, edm::EDFilter >.process(), NullPostProcessor< OutputCollection, edm::EDFilter >.process(), EDFilter<>.process(), DTDqm.DTDqm.process, NullPostProcessor< OutputCollection >.process(), NullPostProcessor< OutputCollection, EdmFilter >.process(), helper::NullPostProcessor< typename::helper::SelectedOutputCollectionTrait< reco::TrackCollection >::type, EdmFilter >.process(), EDProducer<>.process(), NullPostProcessor< reco::CandidateCollection >.process(), helper::NullPostProcessor< OutputCollection, EdmFilter >.process(), DTDQMMerge.DTDQMMerge.process, SimpleTreeProducer.SimpleTreeProducer.process(), DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.process, DTAnalysisResiduals.DTAnalysisResiduals.process, DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.process, tfwliteselectortest::ThingsWorker.process(), DTDQMHarvesting.DTDQMHarvesting.process, ZJetsTreeAnalyzer.ZJetsTreeAnalyzer.process(), DTNoiseCalibration.DTNoiseCalibration.process, DTResidualCalibration.DTResidualCalibration.process, DTTTrigValid.DTTTrigValid.process, DTDQMValidation.DTDQMValidation.process, clangcms::CatchAll.process(), core.Analyzer.Analyzer.process(), EcalFenixTcpsFgvbEB.process(), CSCTFDTReceiver.process(), gen.LHEAnalyzer.LHEAnalyzer.process(), EcalFenixPeakFinder.process(), EcalFenixBypassLin.process(), tfwliteselectortest::ThingsTSelector.process(), MetTreeProducer.MetTreeProducer.process(), CSCTFMonitorInterface.process(), EcalFenixMaxof2.process(), examples::TrackAnalysisAlgorithm.process(), CSCMonitorInterface.process(), TTULogic.process(), RBCLogic.process(), TTUWedgeORLogic.process(), EcalFenixEtStrip.process(), RBCPatternLogic.process(), TTUSectorORLogic.process(), SimpleJetAnalyzer.SimpleJetAnalyzer.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(), DTT0DBValidation.DTT0DBValidation.process, npstat::AbsArrayProjector< Input, Result >.process(), DTVDriftMeanTimerWriter.DTVDriftMeanTimerWriter.process, RBCTestLogic.process(), MetAnalyzer.MetAnalyzer.process(), EcalFenixStripFormatEB.process(), TTUPointingLogic.process(), DTVDriftSegmentWriter.DTVDriftSegmentWriter.process, EcalFenixEtTot.process(), TTUTwoORLogic.process(), DTTTrigResidualCorr.DTTTrigResidualCorr.process, EcalFenixStripFgvbEE.process(), gen.LHEWeightAnalyzer.LHEWeightAnalyzer.process(), EcalFenixTcpFgvbEE.process(), core.TriggerMatchAnalyzer.TriggerMatchAnalyzer.process(), RBCChamberORLogic.process(), TTUTrackingAlg.process(), core.TriggerBitFilter.TriggerBitFilter.process(), DTTTrigCorrFirst.DTTTrigCorrFirst.process, gen.HiggsDecayModeAnalyzer.HiggsDecayModeAnalyzer.process(), HcalSimpleReconstructor.process(), EcalFenixFgvbEB.process(), L1GctNullJetFinder.process(), edm::ConsumesInfo.process(), L1GctEmLeafCard.process(), SiStripClusterToDigiProducer.process(), L1GctSimpleJetFinder.process(), EcalFenixLinearizer.process(), TriggerAnalyzer.TriggerAnalyzer.process(), edm::InputTag.process(), L1GctHardwareJetFinder.process(), RPCWheel.process(), gen.GenHeavyFlavourAnalyzer.GenHeavyFlavourAnalyzer.process(), DTTTrigTimeBoxesWriter.DTTTrigTimeBoxesWriter.process, L1GctJetFinalStage.process(), L1GctProcessor.process(), TTUConfigurator.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(), ZMuMuRochCorAnalyzer.ZMuMuRochCorAnalyzer.process(), L1Comparator.process(), TrackingRecHitStripGSPlugin.process(), L1GctWheelEnergyFpga.process(), L1GctWheelJetFpga.process(), SeedClusterRemoverPhase2.process(), TrackingRecHitAlgorithm.process(), core.JSONAnalyzer.JSONAnalyzer.process(), core.SkimAnalyzerCount.SkimAnalyzerCount.process(), analyzer.Analyzer.process(), Matcher.Matcher.process(), AlphaTAnalyzer.AlphaTAnalyzer.process(), cscdqm::HWStandbyType.process, L1GctGlobalEnergyAlgos.process(), L1GctElectronSorter.process(), JetAnalyzer.JetAnalyzer.process(), L1GctTdrJetFinder.process(), fwlite::internal::DataKey.process(), core.TriggerBitAnalyzer.TriggerBitAnalyzer.process(), TFWLiteSelectorBasic.process(), L1GctJetLeafCard.process(), KDTreeLinkerBase.process(), DTTFFEDReader.process(), L1GlobalCaloTrigger.process(), ResonanceBuilder.ResonanceBuilder.process(), TFWLiteSelector< TWorker >.process(), TFWLiteSelector< ThingsWorker >.process(), TFWLiteSelector< TrackAnalysisAlgorithm >.process(), TFWLiteSelector< __class__Worker >.process(), EcalFenixTcp.process(), SeedClusterRemover.process(), TestOutliers.process, HLTTrackClusterRemoverNew.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(), CaloTowersCreationAlgo.process(), objects.JetAnalyzer.JetAnalyzer.process(), objects.TauAnalyzer.TauAnalyzer.process(), core.AutoFillTreeProducer.AutoFillTreeProducer.process(), EgammaHLTValidationUtils.EgammaDQMModuleMaker.process, cond::payloadInspector::PlotBase.process(), L1GctJetFinderBase.process(), Config.Process.process, looper.Looper.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.

1759  def prepare_VALIDATION(self, sequence = 'validation'):
1760  print sequence,"in preparing validation"
1761  self.loadDefaultOrSpecifiedCFF(sequence,self.VALIDATIONDefaultCFF)
1762  from Validation.Configuration.autoValidation import autoValidation
1763  #in case VALIDATION:something:somethingelse -> something,somethingelse
1764  sequence=sequence.split('.')[-1]
1765  if sequence.find(',')!=-1:
1766  prevalSeqName=sequence.split(',')[0].split('+')
1767  valSeqName=sequence.split(',')[1].split('+')
1768  self.expandMapping(prevalSeqName,autoValidation,index=0)
1769  self.expandMapping(valSeqName,autoValidation,index=1)
1770  else:
1771  if '@' in sequence:
1772  prevalSeqName=sequence.split('+')
1773  valSeqName=sequence.split('+')
1774  self.expandMapping(prevalSeqName,autoValidation,index=0)
1775  self.expandMapping(valSeqName,autoValidation,index=1)
1776  else:
1777  postfix=''
1778  if sequence:
1779  postfix='_'+sequence
1780  prevalSeqName=['prevalidation'+postfix]
1781  valSeqName=['validation'+postfix]
1782  if not hasattr(self.process,valSeqName[0]):
1783  prevalSeqName=['']
1784  valSeqName=[sequence]
1785 
1786  def NFI(index):
1787  ##name from index, required to keep backward compatibility
1788  if index==0:
1789  return ''
1790  else:
1791  return '%s'%index
1792 
1793 
1794  #rename the HLT process in validation steps
1795  if ('HLT' in self.stepMap and not self._options.fast) or self._options.hltProcess:
1796  for s in valSeqName+prevalSeqName:
1797  if s:
1799  for (i,s) in enumerate(prevalSeqName):
1800  if s:
1801  setattr(self.process,'prevalidation_step%s'%NFI(i), cms.Path( getattr(self.process, s)) )
1802  self.schedule.append(getattr(self.process,'prevalidation_step%s'%NFI(i)))
1803 
1804  for (i,s) in enumerate(valSeqName):
1805  setattr(self.process,'validation_step%s'%NFI(i), cms.EndPath( getattr(self.process, s)))
1806  self.schedule.append(getattr(self.process,'validation_step%s'%NFI(i)))
1807 
1808  #needed in case the miniAODValidation sequence is run starting from AODSIM
1809  if 'PAT' in self.stepMap and not 'RECO' in self.stepMap:
1810  return
1811 
1812  if not 'DIGI' in self.stepMap and not self._options.fast and not any(map( lambda s : s.startswith('genvalid'), valSeqName)):
1813  if self._options.restoreRNDSeeds==False and not self._options.restoreRNDSeeds==True:
1814  self._options.restoreRNDSeeds=True
1815 
1816  if not 'DIGI' in self.stepMap and not self._options.fast:
1817  self.executeAndRemember("process.mix.playback = True")
1818  self.executeAndRemember("process.mix.digitizers = cms.PSet()")
1819  self.executeAndRemember("for a in process.aliases: delattr(process, a)")
1820  self._options.customisation_file.append("SimGeneral/MixingModule/fullMixCustomize_cff.setCrossingFrameOn")
1821 
1822  if hasattr(self.process,"genstepfilter") and len(self.process.genstepfilter.triggerConditions):
1823  #will get in the schedule, smoothly
1824  for (i,s) in enumerate(valSeqName):
1825  getattr(self.process,'validation_step%s'%NFI(i))._seq = self.process.genstepfilter * getattr(self.process,'validation_step%s'%NFI(i))._seq
1826 
1827  return
1828 
1829 
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 267 of file ConfigBuilder.py.

References createfilelist.int.

Referenced by ConfigBuilder.ConfigBuilder.addCommon().

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

Definition at line 1899 of file ConfigBuilder.py.

References CMSTestAnalyzer.CMSTestAnalyzer.process(), Filter.Filter.process(), edm::ProductLabels.process, Printer.Printer.process(), DTTTrigProd.DTTTrigProd.process, SimpleMuonAnalyzer.SimpleMuonAnalyzer.process(), SimpleTreeAnalyzer.ZJetsTreeAnalyzer.process(), HcalHitRelabeller.process(), Histogrammer.Histogrammer.process(), helper::NullPostProcessor< reco::CandidateCollection, edm::EDFilter >.process(), helper::NullPostProcessor< typename::helper::SelectedOutputCollectionTrait< reco::TrackCollection >::type, EdmFilter >.process(), DTDqm.DTDqm.process, DTDQMMerge.DTDQMMerge.process, NullPostProcessor< reco::CandidateCollection >.process(), NullPostProcessor< OutputCollection, edm::EDFilter >.process(), EDFilter<>.process(), EDProducer<>.process(), NullPostProcessor< OutputCollection >.process(), DTValidSummary.DTValidSummary.process, helper::NullPostProcessor< OutputCollection, EdmFilter >.process(), NullPostProcessor< OutputCollection, EdmFilter >.process(), SimpleTreeProducer.SimpleTreeProducer.process(), DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.process, DTAnalysisResiduals.DTAnalysisResiduals.process, tfwliteselectortest::ThingsWorker.process(), ZJetsTreeAnalyzer.ZJetsTreeAnalyzer.process(), DTDQMHarvesting.DTDQMHarvesting.process, DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.process, DTNoiseCalibration.DTNoiseCalibration.process, DTResidualCalibration.DTResidualCalibration.process, clangcms::CatchAll.process(), DTDQMValidation.DTDQMValidation.process, core.Analyzer.Analyzer.process(), DTTTrigValid.DTTTrigValid.process, EcalFenixTcpsFgvbEB.process(), CSCTFDTReceiver.process(), gen.LHEAnalyzer.LHEAnalyzer.process(), EcalFenixPeakFinder.process(), EcalFenixBypassLin.process(), tfwliteselectortest::ThingsTSelector.process(), MetTreeProducer.MetTreeProducer.process(), CSCTFMonitorInterface.process(), EcalFenixMaxof2.process(), CSCMonitorInterface.process(), TTULogic.process(), examples::TrackAnalysisAlgorithm.process(), RBCLogic.process(), TTUWedgeORLogic.process(), RBCPatternLogic.process(), EcalFenixEtStrip.process(), TTUSectorORLogic.process(), SimpleJetAnalyzer.SimpleJetAnalyzer.process(), PFPileUpAlgo.process(), __class__Worker.process(), HcalCableMapper.process(), npstat::AbsVisitor< Input, Result >.process(), npstat::AbsVisitor< Input, unsigned long >.process(), DTT0DBValidation.DTT0DBValidation.process, EcalFenixAmplitudeFilter.process(), EcalFenixTcpFormat.process(), EcalFenixStripFormatEE.process(), npstat::AbsArrayProjector< Input, Result >.process(), BTagDifferentialPlot.process(), DTVDriftMeanTimerWriter.DTVDriftMeanTimerWriter.process, EcalFenixStripFormatEB.process(), DTVDriftSegmentWriter.DTVDriftSegmentWriter.process, TTUPointingLogic.process(), MetAnalyzer.MetAnalyzer.process(), RBCTestLogic.process(), EcalFenixEtTot.process(), DTTTrigResidualCorr.DTTTrigResidualCorr.process, TTUTwoORLogic.process(), EcalFenixStripFgvbEE.process(), gen.LHEWeightAnalyzer.LHEWeightAnalyzer.process(), RBCChamberORLogic.process(), EcalFenixTcpFgvbEE.process(), TTUTrackingAlg.process(), core.TriggerMatchAnalyzer.TriggerMatchAnalyzer.process(), DTTTrigCorrFirst.DTTTrigCorrFirst.process, core.TriggerBitFilter.TriggerBitFilter.process(), gen.HiggsDecayModeAnalyzer.HiggsDecayModeAnalyzer.process(), HcalSimpleReconstructor.process(), EcalFenixFgvbEB.process(), L1GctNullJetFinder.process(), edm::ConsumesInfo.process(), L1GctEmLeafCard.process(), L1GctSimpleJetFinder.process(), EcalFenixLinearizer.process(), TriggerAnalyzer.TriggerAnalyzer.process(), SiStripClusterToDigiProducer.process(), edm::InputTag.process(), L1GctHardwareJetFinder.process(), RPCWheel.process(), DTTTrigTimeBoxesWriter.DTTTrigTimeBoxesWriter.process, gen.GenHeavyFlavourAnalyzer.GenHeavyFlavourAnalyzer.process(), L1GctProcessor.process(), TTUConfigurator.process(), L1GctJetFinalStage.process(), gen.PDFWeightsAnalyzer.PDFWeightsAnalyzer.process(), L1GctGlobalHfSumAlgos.process(), PFMETBenchmark.process(), npstat::VisitCounter< Input >.process(), L1GctElectronFinalSort.process(), PFJetBenchmark.process(), TrackingRecHitNoSmearingPlugin.process(), core.EventSelector.EventSelector.process(), core.ProvenanceAnalyzer.ProvenanceAnalyzer.process(), PFTauElecRejectionBenchmark.process(), EgammaHLTPixelMatchElectronAlgo.process(), ZMuMuRochCorAnalyzer.ZMuMuRochCorAnalyzer.process(), TrackingRecHitStripGSPlugin.process(), L1Comparator.process(), L1GctWheelEnergyFpga.process(), L1GctWheelJetFpga.process(), core.JSONAnalyzer.JSONAnalyzer.process(), core.SkimAnalyzerCount.SkimAnalyzerCount.process(), SeedClusterRemoverPhase2.process(), TrackingRecHitAlgorithm.process(), analyzer.Analyzer.process(), Matcher.Matcher.process(), AlphaTAnalyzer.AlphaTAnalyzer.process(), cscdqm::HWStandbyType.process, L1GctGlobalEnergyAlgos.process(), L1GctElectronSorter.process(), JetAnalyzer.JetAnalyzer.process(), L1GctTdrJetFinder.process(), core.TriggerBitAnalyzer.TriggerBitAnalyzer.process(), TFWLiteSelectorBasic.process(), fwlite::internal::DataKey.process(), KDTreeLinkerBase.process(), L1GctJetLeafCard.process(), DTTFFEDReader.process(), L1GlobalCaloTrigger.process(), ResonanceBuilder.ResonanceBuilder.process(), TFWLiteSelector< TWorker >.process(), TFWLiteSelector< TrackAnalysisAlgorithm >.process(), TFWLiteSelector< ThingsWorker >.process(), TFWLiteSelector< __class__Worker >.process(), EcalFenixTcp.process(), SeedClusterRemover.process(), TestOutliers.process, HLTTrackClusterRemoverNew.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(), 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().

1899  def renameHLTprocessInSequence(self,sequence,proc=None,HLTprocess='HLT'):
1900  if self._options.hltProcess:
1901  proc=self._options.hltProcess
1902  else:
1903  proc=self.process.name_()
1904  if proc==HLTprocess: return
1905  # look up all module in dqm sequence
1906  print "replacing %s process name - sequence %s will use '%s'" % (HLTprocess,sequence, proc)
1907  getattr(self.process,sequence).visit(ConfigBuilder.MassSearchReplaceProcessNameVisitor(HLTprocess,proc,whitelist = ("subSystemFolder",)))
1908  if 'from Configuration.Applications.ConfigBuilder import ConfigBuilder' not in self.additionalCommands:
1909  self.additionalCommands.append('from Configuration.Applications.ConfigBuilder import ConfigBuilder')
1910  self.additionalCommands.append('process.%s.visit(ConfigBuilder.MassSearchReplaceProcessNameVisitor("%s", "%s", whitelist = ("subSystemFolder",)))'% (sequence,HLTprocess, proc))
1911 
1912 
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 1889 of file ConfigBuilder.py.

References MassReplace.massSearchReplaceAnyInputTag(), CMSTestAnalyzer.CMSTestAnalyzer.process(), Filter.Filter.process(), edm::ProductLabels.process, Printer.Printer.process(), DTTTrigProd.DTTTrigProd.process, SimpleMuonAnalyzer.SimpleMuonAnalyzer.process(), SimpleTreeAnalyzer.ZJetsTreeAnalyzer.process(), HcalHitRelabeller.process(), Histogrammer.Histogrammer.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, EdmFilter >.process(), DTDQMMerge.DTDQMMerge.process, DTDqm.DTDqm.process, NullPostProcessor< OutputCollection >.process(), DTValidSummary.DTValidSummary.process, helper::NullPostProcessor< OutputCollection, EdmFilter >.process(), SimpleTreeProducer.SimpleTreeProducer.process(), DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.process, DTDQMHarvesting.DTDQMHarvesting.process, DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.process, DTAnalysisResiduals.DTAnalysisResiduals.process, tfwliteselectortest::ThingsWorker.process(), ZJetsTreeAnalyzer.ZJetsTreeAnalyzer.process(), DTResidualCalibration.DTResidualCalibration.process, DTNoiseCalibration.DTNoiseCalibration.process, clangcms::CatchAll.process(), core.Analyzer.Analyzer.process(), DTDQMValidation.DTDQMValidation.process, DTTTrigValid.DTTTrigValid.process, EcalFenixTcpsFgvbEB.process(), CSCTFDTReceiver.process(), gen.LHEAnalyzer.LHEAnalyzer.process(), EcalFenixPeakFinder.process(), EcalFenixBypassLin.process(), tfwliteselectortest::ThingsTSelector.process(), MetTreeProducer.MetTreeProducer.process(), CSCTFMonitorInterface.process(), EcalFenixMaxof2.process(), CSCMonitorInterface.process(), TTULogic.process(), examples::TrackAnalysisAlgorithm.process(), RBCLogic.process(), TTUWedgeORLogic.process(), EcalFenixEtStrip.process(), RBCPatternLogic.process(), TTUSectorORLogic.process(), SimpleJetAnalyzer.SimpleJetAnalyzer.process(), PFPileUpAlgo.process(), npstat::AbsVisitor< Input, unsigned long >.process(), __class__Worker.process(), npstat::AbsVisitor< Input, Result >.process(), HcalCableMapper.process(), BTagDifferentialPlot.process(), EcalFenixAmplitudeFilter.process(), EcalFenixTcpFormat.process(), DTT0DBValidation.DTT0DBValidation.process, npstat::AbsArrayProjector< Input, Result >.process(), EcalFenixStripFormatEE.process(), DTVDriftMeanTimerWriter.DTVDriftMeanTimerWriter.process, EcalFenixStripFormatEB.process(), RBCTestLogic.process(), TTUPointingLogic.process(), DTVDriftSegmentWriter.DTVDriftSegmentWriter.process, MetAnalyzer.MetAnalyzer.process(), EcalFenixEtTot.process(), DTTTrigResidualCorr.DTTTrigResidualCorr.process, TTUTwoORLogic.process(), gen.LHEWeightAnalyzer.LHEWeightAnalyzer.process(), EcalFenixStripFgvbEE.process(), RBCChamberORLogic.process(), EcalFenixTcpFgvbEE.process(), TTUTrackingAlg.process(), core.TriggerMatchAnalyzer.TriggerMatchAnalyzer.process(), core.TriggerBitFilter.TriggerBitFilter.process(), DTTTrigCorrFirst.DTTTrigCorrFirst.process, gen.HiggsDecayModeAnalyzer.HiggsDecayModeAnalyzer.process(), HcalSimpleReconstructor.process(), EcalFenixFgvbEB.process(), L1GctNullJetFinder.process(), edm::ConsumesInfo.process(), L1GctEmLeafCard.process(), L1GctSimpleJetFinder.process(), SiStripClusterToDigiProducer.process(), TriggerAnalyzer.TriggerAnalyzer.process(), EcalFenixLinearizer.process(), edm::InputTag.process(), L1GctHardwareJetFinder.process(), DTTTrigTimeBoxesWriter.DTTTrigTimeBoxesWriter.process, RPCWheel.process(), gen.GenHeavyFlavourAnalyzer.GenHeavyFlavourAnalyzer.process(), L1GctProcessor.process(), TTUConfigurator.process(), L1GctJetFinalStage.process(), gen.PDFWeightsAnalyzer.PDFWeightsAnalyzer.process(), L1GctGlobalHfSumAlgos.process(), PFMETBenchmark.process(), npstat::VisitCounter< Input >.process(), L1GctElectronFinalSort.process(), TrackingRecHitNoSmearingPlugin.process(), core.EventSelector.EventSelector.process(), core.ProvenanceAnalyzer.ProvenanceAnalyzer.process(), PFJetBenchmark.process(), PFTauElecRejectionBenchmark.process(), EgammaHLTPixelMatchElectronAlgo.process(), ZMuMuRochCorAnalyzer.ZMuMuRochCorAnalyzer.process(), L1Comparator.process(), TrackingRecHitStripGSPlugin.process(), L1GctWheelEnergyFpga.process(), L1GctWheelJetFpga.process(), SeedClusterRemoverPhase2.process(), core.JSONAnalyzer.JSONAnalyzer.process(), core.SkimAnalyzerCount.SkimAnalyzerCount.process(), TrackingRecHitAlgorithm.process(), analyzer.Analyzer.process(), AlphaTAnalyzer.AlphaTAnalyzer.process(), Matcher.Matcher.process(), cscdqm::HWStandbyType.process, L1GctGlobalEnergyAlgos.process(), L1GctElectronSorter.process(), JetAnalyzer.JetAnalyzer.process(), L1GctTdrJetFinder.process(), TFWLiteSelectorBasic.process(), fwlite::internal::DataKey.process(), core.TriggerBitAnalyzer.TriggerBitAnalyzer.process(), L1GctJetLeafCard.process(), KDTreeLinkerBase.process(), DTTFFEDReader.process(), L1GlobalCaloTrigger.process(), ResonanceBuilder.ResonanceBuilder.process(), TFWLiteSelector< __class__Worker >.process(), TFWLiteSelector< TWorker >.process(), TFWLiteSelector< TrackAnalysisAlgorithm >.process(), TFWLiteSelector< ThingsWorker >.process(), EcalFenixTcp.process(), SeedClusterRemover.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(), CaloTowersCreationAlgo.process(), objects.JetAnalyzer.JetAnalyzer.process(), objects.TauAnalyzer.TauAnalyzer.process(), core.AutoFillTreeProducer.AutoFillTreeProducer.process(), EgammaHLTValidationUtils.EgammaDQMModuleMaker.process, cond::payloadInspector::PlotBase.process(), L1GctJetFinderBase.process(), Config.Process.process, looper.Looper.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().

1889  def renameInputTagsInSequence(self,sequence,oldT="rawDataCollector",newT="rawDataRepacker"):
1890  print "Replacing all InputTag %s => %s"%(oldT,newT)
1891  from PhysicsTools.PatAlgos.tools.helpers import massSearchReplaceAnyInputTag
1892  massSearchReplaceAnyInputTag(getattr(self.process,sequence),oldT,newT)
1893  loadMe='from PhysicsTools.PatAlgos.tools.helpers import massSearchReplaceAnyInputTag'
1894  if not loadMe in self.additionalCommands:
1895  self.additionalCommands.append(loadMe)
1896  self.additionalCommands.append('massSearchReplaceAnyInputTag(process.%s,"%s","%s",False,True)'%(sequence,oldT,newT))
1897 
def massSearchReplaceAnyInputTag(sequence, oldInputTag, newInputTag, verbose=False, moduleLabelOnly=False, skipLabelTest=False)
Definition: MassReplace.py:71
def renameInputTagsInSequence(self, sequence, oldT="rawDataCollector", newT="rawDataRepacker")
def ConfigBuilder.ConfigBuilder.scheduleSequence (   self,
  seq,
  prefix,
  what = 'Path' 
)

Definition at line 1196 of file ConfigBuilder.py.

References CMSTestAnalyzer.CMSTestAnalyzer.process(), Filter.Filter.process(), edm::ProductLabels.process, Printer.Printer.process(), DTTTrigProd.DTTTrigProd.process, SimpleMuonAnalyzer.SimpleMuonAnalyzer.process(), SimpleTreeAnalyzer.ZJetsTreeAnalyzer.process(), HcalHitRelabeller.process(), Histogrammer.Histogrammer.process(), helper::NullPostProcessor< reco::CandidateCollection, edm::EDFilter >.process(), helper::NullPostProcessor< typename::helper::SelectedOutputCollectionTrait< reco::TrackCollection >::type, EdmFilter >.process(), DTDqm.DTDqm.process, DTDQMMerge.DTDQMMerge.process, NullPostProcessor< reco::CandidateCollection >.process(), NullPostProcessor< OutputCollection, edm::EDFilter >.process(), EDFilter<>.process(), EDProducer<>.process(), NullPostProcessor< OutputCollection >.process(), DTValidSummary.DTValidSummary.process, helper::NullPostProcessor< OutputCollection, EdmFilter >.process(), NullPostProcessor< OutputCollection, EdmFilter >.process(), SimpleTreeProducer.SimpleTreeProducer.process(), DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.process, DTAnalysisResiduals.DTAnalysisResiduals.process, tfwliteselectortest::ThingsWorker.process(), ZJetsTreeAnalyzer.ZJetsTreeAnalyzer.process(), DTDQMHarvesting.DTDQMHarvesting.process, DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.process, DTNoiseCalibration.DTNoiseCalibration.process, DTResidualCalibration.DTResidualCalibration.process, clangcms::CatchAll.process(), DTDQMValidation.DTDQMValidation.process, core.Analyzer.Analyzer.process(), DTTTrigValid.DTTTrigValid.process, EcalFenixTcpsFgvbEB.process(), CSCTFDTReceiver.process(), gen.LHEAnalyzer.LHEAnalyzer.process(), EcalFenixPeakFinder.process(), EcalFenixBypassLin.process(), tfwliteselectortest::ThingsTSelector.process(), MetTreeProducer.MetTreeProducer.process(), CSCTFMonitorInterface.process(), EcalFenixMaxof2.process(), CSCMonitorInterface.process(), TTULogic.process(), examples::TrackAnalysisAlgorithm.process(), RBCLogic.process(), TTUWedgeORLogic.process(), RBCPatternLogic.process(), EcalFenixEtStrip.process(), SimpleJetAnalyzer.SimpleJetAnalyzer.process(), TTUSectorORLogic.process(), PFPileUpAlgo.process(), __class__Worker.process(), npstat::AbsVisitor< Input, unsigned long >.process(), HcalCableMapper.process(), npstat::AbsVisitor< Input, Result >.process(), DTT0DBValidation.DTT0DBValidation.process, EcalFenixAmplitudeFilter.process(), EcalFenixTcpFormat.process(), EcalFenixStripFormatEE.process(), npstat::AbsArrayProjector< Input, Result >.process(), BTagDifferentialPlot.process(), DTVDriftMeanTimerWriter.DTVDriftMeanTimerWriter.process, EcalFenixStripFormatEB.process(), DTVDriftSegmentWriter.DTVDriftSegmentWriter.process, TTUPointingLogic.process(), MetAnalyzer.MetAnalyzer.process(), RBCTestLogic.process(), EcalFenixEtTot.process(), DTTTrigResidualCorr.DTTTrigResidualCorr.process, TTUTwoORLogic.process(), EcalFenixStripFgvbEE.process(), gen.LHEWeightAnalyzer.LHEWeightAnalyzer.process(), EcalFenixTcpFgvbEE.process(), TTUTrackingAlg.process(), RBCChamberORLogic.process(), core.TriggerMatchAnalyzer.TriggerMatchAnalyzer.process(), DTTTrigCorrFirst.DTTTrigCorrFirst.process, core.TriggerBitFilter.TriggerBitFilter.process(), gen.HiggsDecayModeAnalyzer.HiggsDecayModeAnalyzer.process(), HcalSimpleReconstructor.process(), EcalFenixFgvbEB.process(), L1GctNullJetFinder.process(), edm::ConsumesInfo.process(), L1GctEmLeafCard.process(), L1GctSimpleJetFinder.process(), SiStripClusterToDigiProducer.process(), TriggerAnalyzer.TriggerAnalyzer.process(), EcalFenixLinearizer.process(), edm::InputTag.process(), L1GctHardwareJetFinder.process(), RPCWheel.process(), DTTTrigTimeBoxesWriter.DTTTrigTimeBoxesWriter.process, gen.GenHeavyFlavourAnalyzer.GenHeavyFlavourAnalyzer.process(), L1GctProcessor.process(), TTUConfigurator.process(), L1GctJetFinalStage.process(), gen.PDFWeightsAnalyzer.PDFWeightsAnalyzer.process(), L1GctGlobalHfSumAlgos.process(), PFMETBenchmark.process(), npstat::VisitCounter< Input >.process(), L1GctElectronFinalSort.process(), TrackingRecHitNoSmearingPlugin.process(), core.EventSelector.EventSelector.process(), core.ProvenanceAnalyzer.ProvenanceAnalyzer.process(), PFJetBenchmark.process(), PFTauElecRejectionBenchmark.process(), EgammaHLTPixelMatchElectronAlgo.process(), ZMuMuRochCorAnalyzer.ZMuMuRochCorAnalyzer.process(), L1Comparator.process(), TrackingRecHitStripGSPlugin.process(), L1GctWheelEnergyFpga.process(), L1GctWheelJetFpga.process(), core.JSONAnalyzer.JSONAnalyzer.process(), core.SkimAnalyzerCount.SkimAnalyzerCount.process(), SeedClusterRemoverPhase2.process(), TrackingRecHitAlgorithm.process(), analyzer.Analyzer.process(), Matcher.Matcher.process(), AlphaTAnalyzer.AlphaTAnalyzer.process(), cscdqm::HWStandbyType.process, L1GctElectronSorter.process(), L1GctGlobalEnergyAlgos.process(), JetAnalyzer.JetAnalyzer.process(), L1GctTdrJetFinder.process(), fwlite::internal::DataKey.process(), TFWLiteSelectorBasic.process(), core.TriggerBitAnalyzer.TriggerBitAnalyzer.process(), KDTreeLinkerBase.process(), L1GctJetLeafCard.process(), DTTFFEDReader.process(), L1GlobalCaloTrigger.process(), ResonanceBuilder.ResonanceBuilder.process(), TFWLiteSelector< TWorker >.process(), TFWLiteSelector< ThingsWorker >.process(), TFWLiteSelector< TrackAnalysisAlgorithm >.process(), TFWLiteSelector< __class__Worker >.process(), EcalFenixTcp.process(), SeedClusterRemover.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(), 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_DIGIPREMIX(), ConfigBuilder.ConfigBuilder.prepare_L1(), ConfigBuilder.ConfigBuilder.prepare_L1Reco(), ConfigBuilder.ConfigBuilder.prepare_L1TrackTrigger(), ConfigBuilder.ConfigBuilder.prepare_POSTRECO(), ConfigBuilder.ConfigBuilder.prepare_RAW2DIGI(), ConfigBuilder.ConfigBuilder.prepare_RECO(), ConfigBuilder.ConfigBuilder.prepare_RECOBEFMIX(), ConfigBuilder.ConfigBuilder.prepare_REPACK(), ConfigBuilder.ConfigBuilder.prepare_USER(), and ConfigBuilder.ConfigBuilder.scheduleSequenceAtEnd().

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

Definition at line 1221 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.scheduleSequence().

Referenced by ConfigBuilder.ConfigBuilder.prepare_ENDJOB().

1221  def scheduleSequenceAtEnd(self,seq,prefix):
1222  self.scheduleSequence(seq,prefix,what='EndPath')
1223  return
1224 
def scheduleSequence(self, seq, prefix, what='Path')
def scheduleSequenceAtEnd(self, seq, prefix)

Member Data Documentation

ConfigBuilder.ConfigBuilder._options
private
ConfigBuilder.ConfigBuilder.ALCADefaultCFF

Definition at line 911 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare_ALCA().

ConfigBuilder.ConfigBuilder.DIGI2RAWDefaultCFF

Definition at line 915 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare_DIGI2RAW().

ConfigBuilder.ConfigBuilder.DIGIDefaultCFF
ConfigBuilder.ConfigBuilder.DQMSaverCFF

Definition at line 1971 of file ConfigBuilder.py.

ConfigBuilder.ConfigBuilder.GENDefaultCFF

Definition at line 912 of file ConfigBuilder.py.

ConfigBuilder.ConfigBuilder.HLTDefaultCFF

Definition at line 918 of file ConfigBuilder.py.

ConfigBuilder.ConfigBuilder.L1EMDefaultCFF

Definition at line 916 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare_L1().

ConfigBuilder.ConfigBuilder.L1MENUDefaultCFF

Definition at line 917 of file ConfigBuilder.py.

ConfigBuilder.ConfigBuilder.L1RecoDefaultCFF

Definition at line 920 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare_L1Reco().

ConfigBuilder.ConfigBuilder.L1TrackTriggerDefaultCFF
ConfigBuilder.ConfigBuilder.PATDefaultCFF

Definition at line 923 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare_PAT().

ConfigBuilder.ConfigBuilder.RAW2DIGIDefaultCFF

Definition at line 919 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare_RAW2DIGI().

ConfigBuilder.ConfigBuilder.RECODefaultCFF
ConfigBuilder.ConfigBuilder.SIMDefaultCFF

Definition at line 913 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.inGeometryKeys().