CMS 3D CMS Logo

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

Classes

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

Public Member Functions

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

Public Attributes

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

Private Attributes

 _options
 

Detailed Description

The main building routines 

Definition at line 190 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 193 of file ConfigBuilder.py.

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

Referenced by ConfigBuilder.ConfigBuilder.prepare().

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

Definition at line 820 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare().

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

now for a useful command

Definition at line 893 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.executeAndRemember().

Referenced by ConfigBuilder.ConfigBuilder.prepare().

894  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 1124 of file ConfigBuilder.py.

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

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

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

Referenced by ConfigBuilder.ConfigBuilder.prepare().

680  """
681  Add selected standard sequences to the process
682  """
683  # 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 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)
#define str(s)
def ConfigBuilder.ConfigBuilder.completeInputCommand (   self)

add the corresponding input content

Definition at line 774 of file ConfigBuilder.py.

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

Referenced by ConfigBuilder.ConfigBuilder.prepare().

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

Definition at line 2056 of file ConfigBuilder.py.

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

Definition at line 908 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.loadAndRemember().

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

event content

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

Definition at line 671 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.doNotInlineEventContent().

671  def doNotInlineEventContent(instance,label = "process."+tmpstreamType+"EventContent.outputCommands"):
672  return label
673  outputModule.outputCommands.__dict__["dumpPython"] = doNotInlineEventContent
674 
675  result+="\nprocess."+outputModuleName+" = "+outputModule.dumpPython()
676 
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_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 1908 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().

1908  def expandMapping(self,seqList,mapping,index=None):
1909  maxLevel=20
1910  level=0
1911  while '@' in repr(seqList) and level<maxLevel:
1912  level+=1
1913  for specifiedCommand in seqList:
1914  if specifiedCommand.startswith('@'):
1915  location=specifiedCommand[1:]
1916  if not location in mapping:
1917  raise Exception("Impossible to map "+location+" from "+repr(mapping))
1918  mappedTo=mapping[location]
1919  if index!=None:
1920  mappedTo=mappedTo[index]
1921  seqList.remove(specifiedCommand)
1922  seqList.extend(mappedTo.split('+'))
1923  break;
1924  if level==maxLevel:
1925  raise Exception("Could not fully expand "+repr(seqList)+" from "+repr(mapping))
1926 
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 1063 of file ConfigBuilder.py.

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

1063  def inGeometryKeys(opt):
1064  from Configuration.StandardSequences.GeometryConf import GeometryConf
1065  if opt in GeometryConf:
1066  return GeometryConf[opt]
1067  else:
1068  return opt
1069 
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_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 1189 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.loadAndRemember().

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

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

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

2102  def prepare(self, doChecking = False):
2103  """ Prepare the configuration string and add missing pieces."""
2104 
2105  self.loadAndRemember(self.EVTCONTDefaultCFF) #load the event contents regardless
2106  self.addMaxEvents()
2107  if self.with_input:
2108  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 1236 of file ConfigBuilder.py.

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

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

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

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

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

Definition at line 1233 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.prepare_ALCA().

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

References ConfigBuilder.ConfigBuilder.prepare_ALCA().

1230  def prepare_ALCAPRODUCER(self, sequence = None):
1231  self.prepare_ALCA(sequence, workflow = "producers")
1232 
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 1429 of file ConfigBuilder.py.

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

1429  def prepare_CFWRITER(self, sequence = None):
1430  """ Enrich the schedule with the crossing frame writer step"""
1431  self.loadAndRemember(self.CFWRITERDefaultCFF)
1432  self.scheduleSequence('pcfw','cfwriter_step')
1433  return
1434 
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 1435 of file ConfigBuilder.py.

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

1435  def prepare_DATAMIX(self, sequence = None):
1436  """ Enrich the schedule with the digitisation step"""
1437  self.loadAndRemember(self.DATAMIXDefaultCFF)
1438  self.scheduleSequence('pdatamix','datamixing_step')
1439 
1440  if self._options.pileup_input:
1441  theFiles=''
1442  if self._options.pileup_input.startswith('dbs:') or self._options.pileup_input.startswith('das:'):
1443  theFiles=filesFromDASQuery('file dataset = %s'%(self._options.pileup_input[4:],),self._options.pileup_dasoption)[0]
1444  elif self._options.pileup_input.startswith("filelist:"):
1445  theFiles= (filesFromList(self._options.pileup_input[9:]))[0]
1446  else:
1447  theFiles=self._options.pileup_input.split(',')
1448  #print theFiles
1449  self.executeAndRemember( "process.mixData.input.fileNames = cms.untracked.vstring(%s)"%( theFiles ) )
1450 
1451  return
1452 
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 1409 of file ConfigBuilder.py.

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

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

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

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

Definition at line 1927 of file ConfigBuilder.py.

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

1927  def prepare_DQM(self, sequence = 'DQMOffline'):
1928  # this one needs replacement
1929 
1930  self.loadDefaultOrSpecifiedCFF(sequence,self.DQMOFFLINEDefaultCFF)
1931  sequenceList=sequence.split('.')[-1].split('+')
1932  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 1685 of file ConfigBuilder.py.

1685  def prepare_EI(self, sequence = None):
1686  ''' 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 1581 of file ConfigBuilder.py.

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

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

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

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

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

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

1463  def prepare_L1(self, sequence = None):
1464  """ Enrich the schedule with the L1 simulation step"""
1465  assert(sequence == None)
1466  self.loadAndRemember(self.L1EMDefaultCFF)
1467  self.scheduleSequence('SimL1Emulator','L1simulation_step')
1468  return
1469 
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 1562 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.loadDefaultOrSpecifiedCFF().

1562  def prepare_L1HwVal(self, sequence = 'L1HwVal'):
1563  ''' Enrich the schedule with L1 HW validation '''
1564  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 1569 of file ConfigBuilder.py.

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

1569  def prepare_L1Reco(self, sequence = "L1Reco"):
1570  ''' Enrich the schedule with L1 reconstruction '''
1571  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 1470 of file ConfigBuilder.py.

1470  def prepare_L1REPACK(self, sequence = None):
1471  """ 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"""
1472  supported = ['GT','GT1','GT2','GCTGT','Full','FullSimTP','FullMC','Full2015Data','uGT','CalouGT']
1473  if sequence in supported:
1474  self.loadAndRemember('Configuration/StandardSequences/SimL1EmulatorRepack_%s_cff'%sequence)
1475  if self._options.scenario == 'HeavyIons':
1476  self.renameInputTagsInSequence("SimL1Emulator","rawDataCollector","rawDataRepacker")
1477  self.scheduleSequence('SimL1Emulator','L1RePack_step')
1478  else:
1479  print "L1REPACK with '",sequence,"' is not supported! Supported choices are: ",supported
1480  raise Exception('unsupported feature')
1481 
1482 
def prepare_L1REPACK(self, sequence=None)
def ConfigBuilder.ConfigBuilder.prepare_L1TrackTrigger (   self,
  sequence = "L1TrackTrigger" 
)
Enrich the schedule with L1 reconstruction 

Definition at line 1575 of file ConfigBuilder.py.

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

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

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

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

Definition at line 1670 of file ConfigBuilder.py.

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

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

Definition at line 1634 of file ConfigBuilder.py.

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

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

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

Referenced by ConfigBuilder.ConfigBuilder.prepare_PAT().

1556  def prepare_PATFILTER(self, sequence=None):
1557  self.loadAndRemember("PhysicsTools/PatAlgos/slimming/metFilterPaths_cff")
1558  from PhysicsTools.PatAlgos.slimming.metFilterPaths_cff import allMetFilterPaths
1559  for filt in allMetFilterPaths:
1560  self.schedule.append(getattr(self.process,'Flag_'+filt))
1561 
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 1660 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.loadDefaultOrSpecifiedCFF().

1660  def prepare_PATGEN(self, sequence = "miniGEN"):
1661  ''' Enrich the schedule with PATGEN '''
1662  self.loadDefaultOrSpecifiedCFF(sequence,self.PATGENDefaultCFF) #this is unscheduled
1663  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 1747 of file ConfigBuilder.py.

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

1747  def prepare_POSTRECO(self, sequence = None):
1748  """ Enrich the schedule with the postreco step """
1749  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 1549 of file ConfigBuilder.py.

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

Referenced by ConfigBuilder.ConfigBuilder.prepare_RAW2RECO().

1549  def prepare_RAW2DIGI(self, sequence = "RawToDigi"):
1550  self.loadDefaultOrSpecifiedCFF(sequence,self.RAW2DIGIDefaultCFF)
1551  self.scheduleSequence(sequence,'raw2digi_step')
1552  # if self._options.isRepacked:
1553  #self.renameInputTagsInSequence(sequence)
1554  return
1555 
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 1538 of file ConfigBuilder.py.

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

1538  def prepare_RAW2RECO(self, sequence = None):
1539  if ','in sequence:
1540  seqReco=sequence.split(',')[1]
1541  seqDigi=sequence.split(',')[0]
1542  else:
1543  print "RAW2RECO requires two specifications",sequence,"insufficient"
1544 
1545  self.prepare_RAW2DIGI(seqDigi)
1546  self.prepare_RECO(seqReco)
1547  return
1548 
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 1613 of file ConfigBuilder.py.

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

Referenced by ConfigBuilder.ConfigBuilder.prepare_RAW2RECO().

1613  def prepare_RECO(self, sequence = "reconstruction"):
1614  ''' Enrich the schedule with reconstruction '''
1615  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 1625 of file ConfigBuilder.py.

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

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

Definition at line 1619 of file ConfigBuilder.py.

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

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

Definition at line 1458 of file ConfigBuilder.py.

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

1458  def prepare_REPACK(self, sequence = None):
1459  self.loadDefaultOrSpecifiedCFF(sequence,self.REPACKDefaultCFF)
1460  self.scheduleSequence(sequence.split('.')[-1],'digi2repack_step')
1461  return
1462 
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 1393 of file ConfigBuilder.py.

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

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

1697  def prepare_SKIM(self, sequence = "all"):
1698  ''' Enrich the schedule with skimming fragments'''
1699  skimConfig = self.loadDefaultOrSpecifiedCFF(sequence,self.SKIMDefaultCFF)
1700  sequence = sequence.split('.')[-1]
1701 
1702  skimlist=sequence.split('+')
1703  ## 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 1741 of file ConfigBuilder.py.

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

1741  def prepare_USER(self, sequence = None):
1742  ''' Enrich the schedule with a user defined sequence '''
1743  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 1754 of file ConfigBuilder.py.

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

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

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

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

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

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

Definition at line 1201 of file ConfigBuilder.py.

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

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

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

Definition at line 1226 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.scheduleSequence().

Referenced by ConfigBuilder.ConfigBuilder.prepare_ENDJOB().

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

Member Data Documentation

ConfigBuilder.ConfigBuilder._options
private

Definition at line 198 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.filesFromOption().

ConfigBuilder.ConfigBuilder.ALCADefaultCFF

Definition at line 921 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare_ALCA().

ConfigBuilder.ConfigBuilder.DIGI2RAWDefaultCFF

Definition at line 925 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare_DIGI2RAW().

ConfigBuilder.ConfigBuilder.DIGIDefaultCFF

Definition at line 924 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare_DIGI().

ConfigBuilder.ConfigBuilder.DQMSaverCFF

Definition at line 1966 of file ConfigBuilder.py.

ConfigBuilder.ConfigBuilder.GENDefaultCFF

Definition at line 922 of file ConfigBuilder.py.

ConfigBuilder.ConfigBuilder.HLTDefaultCFF

Definition at line 928 of file ConfigBuilder.py.

ConfigBuilder.ConfigBuilder.L1EMDefaultCFF

Definition at line 926 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare_L1().

ConfigBuilder.ConfigBuilder.L1MENUDefaultCFF

Definition at line 927 of file ConfigBuilder.py.

ConfigBuilder.ConfigBuilder.L1RecoDefaultCFF

Definition at line 930 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare_L1Reco().

ConfigBuilder.ConfigBuilder.L1TrackTriggerDefaultCFF
ConfigBuilder.ConfigBuilder.NANODefaultCFF

Definition at line 935 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare_NANO().

ConfigBuilder.ConfigBuilder.PATDefaultCFF

Definition at line 934 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare_PAT().

ConfigBuilder.ConfigBuilder.pythonCfgCode

Definition at line 2057 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare().

ConfigBuilder.ConfigBuilder.RAW2DIGIDefaultCFF

Definition at line 929 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare_RAW2DIGI().

ConfigBuilder.ConfigBuilder.RECODefaultCFF
ConfigBuilder.ConfigBuilder.RECOSIMDefaultCFF

Definition at line 933 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare_RECOSIM().

ConfigBuilder.ConfigBuilder.SIMDefaultCFF

Definition at line 923 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.inGeometryKeys().