CMS 3D CMS Logo

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

Classes

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

Public Member Functions

def __init__ (self, options, process=None, with_output=False, with_input=False)
 
def addCommon (self)
 
def addConditions (self)
 
def addCustomise (self, unsch=0)
 
def addCustomiseCmdLine (self)
 now for a useful command More...
 
def addExtraStream (self, name, stream, workflow='full')
 
def addMaxEvents (self)
 
def addOutput (self)
 
def addSource (self)
 
def addStandardSequences (self)
 
def build_production_info (self, evt_type, evtnumber)
 
def completeInputCommand (self)
 add the corresponding input content More...
 
def define_Configs (self)
 
def doNotInlineEventContent (instance, label="cms.untracked.vstring(process."+theStreamType+"EventContent.outputCommands)")
 event content More...
 
def doNotInlineEventContent (instance, label="process."+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_DIGIPREMIX (self, sequence=None)
 
def prepare_DIGIPREMIX_S2 (self, sequence=None)
 
def prepare_DQM (self, sequence='DQMOffline')
 
def prepare_EI (self, sequence=None)
 
def prepare_ENDJOB (self, sequence='endOfProcess')
 
def prepare_FILTER (self, sequence=None)
 
def prepare_GEN (self, sequence=None)
 
def prepare_HARVESTING (self, sequence=None)
 
def prepare_HLT (self, sequence=None)
 
def prepare_L1 (self, sequence=None)
 
def prepare_L1HwVal (self, sequence='L1HwVal')
 
def prepare_L1Reco (self, sequence="L1Reco")
 
def prepare_L1REPACK (self, sequence=None)
 
def prepare_L1TrackTrigger (self, sequence="L1TrackTrigger")
 
def prepare_LHE (self, sequence=None)
 
def prepare_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
 
 RAW2DIGIDefaultCFF
 
 RECODefaultCFF
 
 RECOSIMDefaultCFF
 
 SIMDefaultCFF
 

Private Attributes

 _options
 

Detailed Description

The main building routines 

Definition at line 189 of file ConfigBuilder.py.

Constructor & Destructor Documentation

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

Definition at line 192 of file ConfigBuilder.py.

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

Member Function Documentation

def ConfigBuilder.ConfigBuilder.addCommon (   self)

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

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

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

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

References harvestTrackValidationPlots.str.

Referenced by ConfigBuilder.ConfigBuilder.prepare().

2081  def build_production_info(self, evt_type, evtnumber):
2082  """ Add useful info for the production. """
2083  self.process.configurationMetadata=cms.untracked.PSet\
2084  (version=cms.untracked.string("$Revision: 1.19 $"),
2085  name=cms.untracked.string("Applications"),
2086  annotation=cms.untracked.string(evt_type+ " nevts:"+str(evtnumber))
2087  )
2088 
2089  self.addedObjects.append(("Production Info","configurationMetadata"))
2090 
2091 
def build_production_info(self, evt_type, evtnumber)
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(), DTTTrigProd.DTTTrigProd.process, SimpleMuonAnalyzer.SimpleMuonAnalyzer.process(), HcalHitRelabeller.process(), SimpleTreeAnalyzer.ZJetsTreeAnalyzer.process(), Histogrammer.Histogrammer.process(), SingleHitTrack.process(), EDProducer<>.process(), AngleCalculation.process(), SimpleTreeProducer.SimpleTreeProducer.process(), BestTrackSelection.process(), DTDqm.DTDqm.process, DTDQMMerge.DTDQMMerge.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(), NullPostProcessor< OutputCollection >.process(), NullPostProcessor< OutputCollection, EdmFilter >.process(), helper::NullPostProcessor< OutputCollection, EdmFilter >.process(), DTValidSummary.DTValidSummary.process, DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.process, DTAnalysisResiduals.DTAnalysisResiduals.process, PrimitiveSelection.process(), tfwliteselectortest::ThingsWorker.process(), DTDQMHarvesting.DTDQMHarvesting.process, ZJetsTreeAnalyzer.ZJetsTreeAnalyzer.process(), DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.process, PrimitiveMatching.process(), DTNoiseCalibration.DTNoiseCalibration.process, DTResidualCalibration.DTResidualCalibration.process, clangcms::CatchAll.process(), DTDQMValidation.DTDQMValidation.process, core.Analyzer.Analyzer.process(), DTTTrigValid.DTTTrigValid.process, PtAssignment.process(), EcalFenixTcpsFgvbEB.process(), CSCTFDTReceiver.process(), gen.LHEAnalyzer.LHEAnalyzer.process(), PrimitiveConversion.process(), EcalFenixPeakFinder.process(), EcalFenixBypassLin.process(), tfwliteselectortest::ThingsTSelector.process(), MetTreeProducer.MetTreeProducer.process(), PatternRecognition.process(), TrackFinder.process(), CSCTFMonitorInterface.process(), EcalFenixMaxof2.process(), CSCMonitorInterface.process(), examples::TrackAnalysisAlgorithm.process(), TTULogic.process(), RBCLogic.process(), TTUWedgeORLogic.process(), EcalFenixEtStrip.process(), RBCPatternLogic.process(), TTUSectorORLogic.process(), PFPileUpAlgo.process(), SimpleJetAnalyzer.SimpleJetAnalyzer.process(), npstat::AbsVisitor< Input, unsigned long >.process(), HcalCableMapper.process(), npstat::AbsVisitor< Input, Result >.process(), __class__Worker.process(), DTT0DBValidation.DTT0DBValidation.process, EcalFenixAmplitudeFilter.process(), EcalFenixTcpFormat.process(), EcalFenixStripFormatEE.process(), npstat::AbsArrayProjector< Input, Result >.process(), BTagDifferentialPlot.process(), TTUPointingLogic.process(), DTVDriftMeanTimerWriter.DTVDriftMeanTimerWriter.process, DTVDriftSegmentWriter.DTVDriftSegmentWriter.process, EcalFenixStripFormatEB.process(), MetAnalyzer.MetAnalyzer.process(), RBCTestLogic.process(), EcalFenixEtTot.process(), TTUTwoORLogic.process(), DTTTrigResidualCorr.DTTTrigResidualCorr.process, EcalFenixStripFgvbEE.process(), gen.LHEWeightAnalyzer.LHEWeightAnalyzer.process(), RBCChamberORLogic.process(), EcalFenixTcpFgvbEE.process(), TTUTrackingAlg.process(), core.TriggerMatchAnalyzer.TriggerMatchAnalyzer.process(), DTTTrigCorrFirst.DTTTrigCorrFirst.process, core.TriggerBitFilter.TriggerBitFilter.process(), gen.HiggsDecayModeAnalyzer.HiggsDecayModeAnalyzer.process(), HcalSimpleReconstructor.process(), EcalFenixFgvbEB.process(), L1GctNullJetFinder.process(), edm::ConsumesInfo.process(), L1GctEmLeafCard.process(), L1GctSimpleJetFinder.process(), SiStripClusterToDigiProducer.process(), TriggerAnalyzer.TriggerAnalyzer.process(), EcalFenixLinearizer.process(), edm::InputTag.process(), L1GctHardwareJetFinder.process(), DTTTrigTimeBoxesWriter.DTTTrigTimeBoxesWriter.process, RPCWheel.process(), gen.GenHeavyFlavourAnalyzer.GenHeavyFlavourAnalyzer.process(), L1GctProcessor.process(), TTUConfigurator.process(), L1GctJetFinalStage.process(), gen.PDFWeightsAnalyzer.PDFWeightsAnalyzer.process(), L1GctGlobalHfSumAlgos.process(), PFMETBenchmark.process(), npstat::VisitCounter< Input >.process(), L1GctElectronFinalSort.process(), core.EventSelector.EventSelector.process(), core.ProvenanceAnalyzer.ProvenanceAnalyzer.process(), TrackingRecHitNoSmearingPlugin.process(), PFJetBenchmark.process(), PFTauElecRejectionBenchmark.process(), EgammaHLTPixelMatchElectronAlgo.process(), SectorProcessor.process(), ZMuMuRochCorAnalyzer.ZMuMuRochCorAnalyzer.process(), L1Comparator.process(), TrackingRecHitStripGSPlugin.process(), L1GctWheelEnergyFpga.process(), L1GctWheelJetFpga.process(), SeedClusterRemoverPhase2.process(), core.JSONAnalyzer.JSONAnalyzer.process(), TrackingRecHitAlgorithm.process(), core.SkimAnalyzerCount.SkimAnalyzerCount.process(), analyzer.Analyzer.process(), Matcher.Matcher.process(), AlphaTAnalyzer.AlphaTAnalyzer.process(), cscdqm::HWStandbyType.process, L1GctGlobalEnergyAlgos.process(), L1GctElectronSorter.process(), JetAnalyzer.JetAnalyzer.process(), L1GctTdrJetFinder.process(), TFWLiteSelectorBasic.process(), core.TriggerBitAnalyzer.TriggerBitAnalyzer.process(), fwlite::internal::DataKey.process(), KDTreeLinkerBase.process(), L1GctJetLeafCard.process(), DTTFFEDReader.process(), L1GlobalCaloTrigger.process(), ResonanceBuilder.ResonanceBuilder.process(), TFWLiteSelector< TrackAnalysisAlgorithm >.process(), TFWLiteSelector< __class__Worker >.process(), TFWLiteSelector< TWorker >.process(), TFWLiteSelector< ThingsWorker >.process(), EcalFenixTcp.process(), SeedClusterRemover.process(), HLTTrackClusterRemoverNew.process(), TestOutliers.process, DiLeptonAnalyzer.DiLeptonAnalyzer.process(), HTTP.RequestManager.process(), HITrackClusterRemover.process(), PixelTemplateSmearerBase.process(), GenLumiInfoProduct::ProcessInfo.process(), objects.VertexAnalyzer.VertexAnalyzer.process(), core.PileUpAnalyzer.PileUpAnalyzer.process(), EcalFenixStrip.process(), lhef::LHERunInfo::Process.process(), CaloTowersCreationAlgo.process(), objects.JetAnalyzer.JetAnalyzer.process(), objects.TauAnalyzer.TauAnalyzer.process(), core.AutoFillTreeProducer.AutoFillTreeProducer.process(), EgammaHLTValidationUtils.EgammaDQMModuleMaker.process, cond::payloadInspector::PlotBase.process(), L1GctJetFinderBase.process(), Config.Process.process, looper.Looper.process(), gen.GeneratorAnalyzer.GeneratorAnalyzer.process(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.process(), edm::ProductResolverIndexHelper::Item.process(), objects.PhotonAnalyzer.PhotonAnalyzer.process(), JsonOutputProducer::JsonConfigurationBlock.process, objects.LeptonAnalyzer.LeptonAnalyzer.process(), and Config.SubProcess.process().

Referenced by ConfigBuilder.ConfigBuilder.prepare().

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.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(), DTTTrigProd.DTTTrigProd.process, SimpleMuonAnalyzer.SimpleMuonAnalyzer.process(), HcalHitRelabeller.process(), SimpleTreeAnalyzer.ZJetsTreeAnalyzer.process(), Histogrammer.Histogrammer.process(), SingleHitTrack.process(), AngleCalculation.process(), SimpleTreeProducer.SimpleTreeProducer.process(), BestTrackSelection.process(), DTDqm.DTDqm.process, DTDQMMerge.DTDQMMerge.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(), NullPostProcessor< OutputCollection, EdmFilter >.process(), NullPostProcessor< OutputCollection >.process(), helper::NullPostProcessor< OutputCollection, EdmFilter >.process(), DTValidSummary.DTValidSummary.process, EDProducer<>.process(), DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.process, DTAnalysisResiduals.DTAnalysisResiduals.process, PrimitiveSelection.process(), tfwliteselectortest::ThingsWorker.process(), DTDQMHarvesting.DTDQMHarvesting.process, ZJetsTreeAnalyzer.ZJetsTreeAnalyzer.process(), DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.process, PrimitiveMatching.process(), DTNoiseCalibration.DTNoiseCalibration.process, DTResidualCalibration.DTResidualCalibration.process, clangcms::CatchAll.process(), DTDQMValidation.DTDQMValidation.process, core.Analyzer.Analyzer.process(), DTTTrigValid.DTTTrigValid.process, PtAssignment.process(), EcalFenixTcpsFgvbEB.process(), CSCTFDTReceiver.process(), gen.LHEAnalyzer.LHEAnalyzer.process(), PrimitiveConversion.process(), EcalFenixPeakFinder.process(), EcalFenixBypassLin.process(), tfwliteselectortest::ThingsTSelector.process(), MetTreeProducer.MetTreeProducer.process(), PatternRecognition.process(), TrackFinder.process(), CSCTFMonitorInterface.process(), EcalFenixMaxof2.process(), CSCMonitorInterface.process(), examples::TrackAnalysisAlgorithm.process(), TTULogic.process(), RBCLogic.process(), TTUWedgeORLogic.process(), EcalFenixEtStrip.process(), RBCPatternLogic.process(), TTUSectorORLogic.process(), PFPileUpAlgo.process(), SimpleJetAnalyzer.SimpleJetAnalyzer.process(), npstat::AbsVisitor< Input, unsigned long >.process(), HcalCableMapper.process(), npstat::AbsVisitor< Input, Result >.process(), __class__Worker.process(), DTT0DBValidation.DTT0DBValidation.process, EcalFenixAmplitudeFilter.process(), EcalFenixTcpFormat.process(), EcalFenixStripFormatEE.process(), npstat::AbsArrayProjector< Input, Result >.process(), BTagDifferentialPlot.process(), RBCTestLogic.process(), DTVDriftMeanTimerWriter.DTVDriftMeanTimerWriter.process, TTUPointingLogic.process(), DTVDriftSegmentWriter.DTVDriftSegmentWriter.process, EcalFenixStripFormatEB.process(), MetAnalyzer.MetAnalyzer.process(), EcalFenixEtTot.process(), TTUTwoORLogic.process(), DTTTrigResidualCorr.DTTTrigResidualCorr.process, EcalFenixStripFgvbEE.process(), gen.LHEWeightAnalyzer.LHEWeightAnalyzer.process(), EcalFenixTcpFgvbEE.process(), RBCChamberORLogic.process(), TTUTrackingAlg.process(), core.TriggerMatchAnalyzer.TriggerMatchAnalyzer.process(), DTTTrigCorrFirst.DTTTrigCorrFirst.process, core.TriggerBitFilter.TriggerBitFilter.process(), gen.HiggsDecayModeAnalyzer.HiggsDecayModeAnalyzer.process(), HcalSimpleReconstructor.process(), EcalFenixFgvbEB.process(), L1GctNullJetFinder.process(), edm::ConsumesInfo.process(), L1GctEmLeafCard.process(), TriggerAnalyzer.TriggerAnalyzer.process(), L1GctSimpleJetFinder.process(), SiStripClusterToDigiProducer.process(), EcalFenixLinearizer.process(), edm::InputTag.process(), L1GctHardwareJetFinder.process(), RPCWheel.process(), DTTTrigTimeBoxesWriter.DTTTrigTimeBoxesWriter.process, gen.GenHeavyFlavourAnalyzer.GenHeavyFlavourAnalyzer.process(), L1GctProcessor.process(), L1GctJetFinalStage.process(), TTUConfigurator.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(), SectorProcessor.process(), ZMuMuRochCorAnalyzer.ZMuMuRochCorAnalyzer.process(), TrackingRecHitStripGSPlugin.process(), L1Comparator.process(), L1GctWheelEnergyFpga.process(), L1GctWheelJetFpga.process(), SeedClusterRemoverPhase2.process(), TrackingRecHitAlgorithm.process(), core.JSONAnalyzer.JSONAnalyzer.process(), core.SkimAnalyzerCount.SkimAnalyzerCount.process(), analyzer.Analyzer.process(), Matcher.Matcher.process(), AlphaTAnalyzer.AlphaTAnalyzer.process(), cscdqm::HWStandbyType.process, L1GctElectronSorter.process(), L1GctGlobalEnergyAlgos.process(), JetAnalyzer.JetAnalyzer.process(), L1GctTdrJetFinder.process(), fwlite::internal::DataKey.process(), core.TriggerBitAnalyzer.TriggerBitAnalyzer.process(), TFWLiteSelectorBasic.process(), KDTreeLinkerBase.process(), L1GctJetLeafCard.process(), DTTFFEDReader.process(), L1GlobalCaloTrigger.process(), ResonanceBuilder.ResonanceBuilder.process(), TFWLiteSelector< ThingsWorker >.process(), TFWLiteSelector< __class__Worker >.process(), TFWLiteSelector< TWorker >.process(), TFWLiteSelector< TrackAnalysisAlgorithm >.process(), EcalFenixTcp.process(), SeedClusterRemover.process(), HLTTrackClusterRemoverNew.process(), TestOutliers.process, DiLeptonAnalyzer.DiLeptonAnalyzer.process(), HTTP.RequestManager.process(), PixelTemplateSmearerBase.process(), HITrackClusterRemover.process(), GenLumiInfoProduct::ProcessInfo.process(), objects.VertexAnalyzer.VertexAnalyzer.process(), core.PileUpAnalyzer.PileUpAnalyzer.process(), EcalFenixStrip.process(), lhef::LHERunInfo::Process.process(), objects.JetAnalyzer.JetAnalyzer.process(), CaloTowersCreationAlgo.process(), objects.TauAnalyzer.TauAnalyzer.process(), core.AutoFillTreeProducer.AutoFillTreeProducer.process(), EgammaHLTValidationUtils.EgammaDQMModuleMaker.process, cond::payloadInspector::PlotBase.process(), L1GctJetFinderBase.process(), Config.Process.process, looper.Looper.process(), gen.GeneratorAnalyzer.GeneratorAnalyzer.process(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.process(), edm::ProductResolverIndexHelper::Item.process(), objects.PhotonAnalyzer.PhotonAnalyzer.process(), JsonOutputProducer::JsonConfigurationBlock.process, objects.LeptonAnalyzer.LeptonAnalyzer.process(), Config.SubProcess.process(), 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_DIGI2RAW(), ConfigBuilder.ConfigBuilder.prepare_DIGIPREMIX(), ConfigBuilder.ConfigBuilder.prepare_HLT(), and ConfigBuilder.ConfigBuilder.prepare_VALIDATION().

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

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

1949  def expandMapping(self,seqList,mapping,index=None):
1950  maxLevel=20
1951  level=0
1952  while '@' in repr(seqList) and level<maxLevel:
1953  level+=1
1954  for specifiedCommand in seqList:
1955  if specifiedCommand.startswith('@'):
1956  location=specifiedCommand[1:]
1957  if not location in mapping:
1958  raise Exception("Impossible to map "+location+" from "+repr(mapping))
1959  mappedTo=mapping[location]
1960  if index!=None:
1961  mappedTo=mappedTo[index]
1962  seqList.remove(specifiedCommand)
1963  seqList.extend(mappedTo.split('+'))
1964  break;
1965  if level==maxLevel:
1966  raise Exception("Could not fully expand "+repr(seqList)+" from "+repr(mapping))
1967 
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 2076 of file ConfigBuilder.py.

2077  self.process.reconstruction = cms.Path(self.process.reconstructionWithFamos)
2078  self.schedule.append(self.process.reconstruction)
2079 
2080 
def ConfigBuilder.ConfigBuilder.inGeometryKeys (   opt)

Definition at line 1073 of file ConfigBuilder.py.

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

1073  def inGeometryKeys(opt):
1074  from Configuration.StandardSequences.GeometryConf import GeometryConf
1075  if opt in GeometryConf:
1076  return GeometryConf[opt]
1077  else:
1078  return opt
1079 
def ConfigBuilder.ConfigBuilder.load (   self,
  includeFile 
)

Definition at line 310 of file ConfigBuilder.py.

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

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

Definition at line 315 of file ConfigBuilder.py.

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

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

Definition at line 1198 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.loadAndRemember().

Referenced by ConfigBuilder.ConfigBuilder.prepare_ALCA(), ConfigBuilder.ConfigBuilder.prepare_DIGI(), ConfigBuilder.ConfigBuilder.prepare_DIGI2RAW(), ConfigBuilder.ConfigBuilder.prepare_DIGIPREMIX(), ConfigBuilder.ConfigBuilder.prepare_DQM(), ConfigBuilder.ConfigBuilder.prepare_ENDJOB(), ConfigBuilder.ConfigBuilder.prepare_L1HwVal(), ConfigBuilder.ConfigBuilder.prepare_L1Reco(), ConfigBuilder.ConfigBuilder.prepare_L1TrackTrigger(), ConfigBuilder.ConfigBuilder.prepare_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().

1198  def loadDefaultOrSpecifiedCFF(self, sequence,defaultCFF):
1199  if ( len(sequence.split('.'))==1 ):
1200  l=self.loadAndRemember(defaultCFF)
1201  elif ( len(sequence.split('.'))==2 ):
1202  l=self.loadAndRemember(sequence.split('.')[0])
1203  sequence=sequence.split('.')[1]
1204  else:
1205  print "sub sequence configuration must be of the form dir/subdir/cff.a+b+c or cff.a"
1206  print sequence,"not recognized"
1207  raise
1208  return l
1209 
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 2092 of file ConfigBuilder.py.

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

2092  def prepare(self, doChecking = False):
2093  """ Prepare the configuration string and add missing pieces."""
2094 
2095  self.loadAndRemember(self.EVTCONTDefaultCFF) #load the event contents regardless
2096  self.addMaxEvents()
2097  if self.with_input:
2098  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 1245 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.addExtraStream(), ConfigBuilder.ConfigBuilder.ALCADefaultCFF, ConfigBuilder.ConfigBuilder.executeAndRemember(), ConfigBuilder.ConfigBuilder.expandMapping(), ConfigBuilder.ConfigBuilder.loadDefaultOrSpecifiedCFF(), CMSTestAnalyzer.CMSTestAnalyzer.process(), Filter.Filter.process(), edm::ProductLabels.process, Printer.Printer.process(), DTTTrigProd.DTTTrigProd.process, HcalHitRelabeller.process(), SimpleMuonAnalyzer.SimpleMuonAnalyzer.process(), SimpleTreeAnalyzer.ZJetsTreeAnalyzer.process(), Histogrammer.Histogrammer.process(), SingleHitTrack.process(), helper::NullPostProcessor< OutputCollection, EdmFilter >.process(), SimpleTreeProducer.SimpleTreeProducer.process(), DTDQMMerge.DTDQMMerge.process, DTValidSummary.DTValidSummary.process, AngleCalculation.process(), BestTrackSelection.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(), NullPostProcessor< OutputCollection, EdmFilter >.process(), DTDqm.DTDqm.process, DTDQMHarvesting.DTDQMHarvesting.process, PrimitiveSelection.process(), DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.process, DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.process, tfwliteselectortest::ThingsWorker.process(), DTAnalysisResiduals.DTAnalysisResiduals.process, ZJetsTreeAnalyzer.ZJetsTreeAnalyzer.process(), DTNoiseCalibration.DTNoiseCalibration.process, PrimitiveMatching.process(), DTResidualCalibration.DTResidualCalibration.process, DTTTrigValid.DTTTrigValid.process, DTDQMValidation.DTDQMValidation.process, clangcms::CatchAll.process(), core.Analyzer.Analyzer.process(), PtAssignment.process(), EcalFenixTcpsFgvbEB.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(), CSCMonitorInterface.process(), TTULogic.process(), RBCLogic.process(), TTUWedgeORLogic.process(), EcalFenixEtStrip.process(), TTUSectorORLogic.process(), SimpleJetAnalyzer.SimpleJetAnalyzer.process(), RBCPatternLogic.process(), PFPileUpAlgo.process(), npstat::AbsVisitor< Input, unsigned long >.process(), __class__Worker.process(), npstat::AbsVisitor< Input, Result >.process(), HcalCableMapper.process(), EcalFenixTcpFormat.process(), BTagDifferentialPlot.process(), EcalFenixAmplitudeFilter.process(), EcalFenixStripFormatEE.process(), DTT0DBValidation.DTT0DBValidation.process, npstat::AbsArrayProjector< Input, Result >.process(), RBCTestLogic.process(), DTVDriftMeanTimerWriter.DTVDriftMeanTimerWriter.process, DTVDriftSegmentWriter.DTVDriftSegmentWriter.process, TTUPointingLogic.process(), EcalFenixStripFormatEB.process(), MetAnalyzer.MetAnalyzer.process(), EcalFenixEtTot.process(), DTTTrigResidualCorr.DTTTrigResidualCorr.process, TTUTwoORLogic.process(), EcalFenixStripFgvbEE.process(), gen.LHEWeightAnalyzer.LHEWeightAnalyzer.process(), EcalFenixTcpFgvbEE.process(), RBCChamberORLogic.process(), TTUTrackingAlg.process(), core.TriggerMatchAnalyzer.TriggerMatchAnalyzer.process(), core.TriggerBitFilter.TriggerBitFilter.process(), DTTTrigCorrFirst.DTTTrigCorrFirst.process, gen.HiggsDecayModeAnalyzer.HiggsDecayModeAnalyzer.process(), HcalSimpleReconstructor.process(), EcalFenixFgvbEB.process(), L1GctNullJetFinder.process(), edm::ConsumesInfo.process(), L1GctEmLeafCard.process(), L1GctSimpleJetFinder.process(), SiStripClusterToDigiProducer.process(), EcalFenixLinearizer.process(), TriggerAnalyzer.TriggerAnalyzer.process(), L1GctHardwareJetFinder.process(), edm::InputTag.process(), DTTTrigTimeBoxesWriter.DTTTrigTimeBoxesWriter.process, gen.GenHeavyFlavourAnalyzer.GenHeavyFlavourAnalyzer.process(), RPCWheel.process(), L1GctJetFinalStage.process(), L1GctProcessor.process(), TTUConfigurator.process(), gen.PDFWeightsAnalyzer.PDFWeightsAnalyzer.process(), L1GctGlobalHfSumAlgos.process(), PFMETBenchmark.process(), npstat::VisitCounter< Input >.process(), L1GctElectronFinalSort.process(), PFJetBenchmark.process(), TrackingRecHitNoSmearingPlugin.process(), core.EventSelector.EventSelector.process(), core.ProvenanceAnalyzer.ProvenanceAnalyzer.process(), PFTauElecRejectionBenchmark.process(), SectorProcessor.process(), EgammaHLTPixelMatchElectronAlgo.process(), ZMuMuRochCorAnalyzer.ZMuMuRochCorAnalyzer.process(), L1Comparator.process(), TrackingRecHitStripGSPlugin.process(), L1GctWheelEnergyFpga.process(), L1GctWheelJetFpga.process(), core.SkimAnalyzerCount.SkimAnalyzerCount.process(), TrackingRecHitAlgorithm.process(), SeedClusterRemoverPhase2.process(), core.JSONAnalyzer.JSONAnalyzer.process(), analyzer.Analyzer.process(), Matcher.Matcher.process(), AlphaTAnalyzer.AlphaTAnalyzer.process(), cscdqm::HWStandbyType.process, L1GctElectronSorter.process(), L1GctGlobalEnergyAlgos.process(), JetAnalyzer.JetAnalyzer.process(), L1GctTdrJetFinder.process(), TFWLiteSelectorBasic.process(), core.TriggerBitAnalyzer.TriggerBitAnalyzer.process(), fwlite::internal::DataKey.process(), KDTreeLinkerBase.process(), L1GctJetLeafCard.process(), DTTFFEDReader.process(), L1GlobalCaloTrigger.process(), ResonanceBuilder.ResonanceBuilder.process(), TFWLiteSelector< ThingsWorker >.process(), TFWLiteSelector< __class__Worker >.process(), TFWLiteSelector< TWorker >.process(), TFWLiteSelector< TrackAnalysisAlgorithm >.process(), EcalFenixTcp.process(), SeedClusterRemover.process(), TestOutliers.process, HLTTrackClusterRemoverNew.process(), DiLeptonAnalyzer.DiLeptonAnalyzer.process(), HTTP.RequestManager.process(), PixelTemplateSmearerBase.process(), HITrackClusterRemover.process(), GenLumiInfoProduct::ProcessInfo.process(), objects.VertexAnalyzer.VertexAnalyzer.process(), core.PileUpAnalyzer.PileUpAnalyzer.process(), EcalFenixStrip.process(), lhef::LHERunInfo::Process.process(), CaloTowersCreationAlgo.process(), objects.JetAnalyzer.JetAnalyzer.process(), objects.TauAnalyzer.TauAnalyzer.process(), core.AutoFillTreeProducer.AutoFillTreeProducer.process(), EgammaHLTValidationUtils.EgammaDQMModuleMaker.process, cond::payloadInspector::PlotBase.process(), L1GctJetFinderBase.process(), Config.Process.process, looper.Looper.process(), gen.GeneratorAnalyzer.GeneratorAnalyzer.process(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.process(), edm::ProductResolverIndexHelper::Item.process(), objects.PhotonAnalyzer.PhotonAnalyzer.process(), JsonOutputProducer::JsonConfigurationBlock.process, objects.LeptonAnalyzer.LeptonAnalyzer.process(), Config.SubProcess.process(), ConfigBuilder.ConfigBuilder.renameHLTprocessInSequence(), and harvestTrackValidationPlots.str.

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

1245  def prepare_ALCA(self, sequence = None, workflow = 'full'):
1246  """ Enrich the process with alca streams """
1247  alcaConfig=self.loadDefaultOrSpecifiedCFF(sequence,self.ALCADefaultCFF)
1248  sequence = sequence.split('.')[-1]
1249 
1250  # decide which ALCA paths to use
1251  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 2041 of file ConfigBuilder.py.

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

2041  def prepare_ALCAHARVEST(self, sequence = None):
2042  """ Enrich the process with AlCaHarvesting step """
2043  harvestingConfig = self.loadAndRemember(self.ALCAHARVESTDefaultCFF)
2044  sequence=sequence.split(".")[-1]
2045 
2046  # decide which AlcaHARVESTING paths to use
2047  harvestingList = sequence.split("+")
2048 
2049 
2050 
def loadAndRemember(self, includeFile)
def prepare_ALCAHARVEST(self, sequence=None)
def ConfigBuilder.ConfigBuilder.prepare_ALCAOUTPUT (   self,
  sequence = None 
)

Definition at line 1242 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.prepare_ALCA().

1242  def prepare_ALCAOUTPUT(self, sequence = None):
1243  self.prepare_ALCA(sequence, workflow = "output")
1244 
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 1239 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.prepare_ALCA().

1239  def prepare_ALCAPRODUCER(self, sequence = None):
1240  self.prepare_ALCA(sequence, workflow = "producers")
1241 
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 1467 of file ConfigBuilder.py.

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

1467  def prepare_CFWRITER(self, sequence = None):
1468  """ Enrich the schedule with the crossing frame writer step"""
1469  self.loadAndRemember(self.CFWRITERDefaultCFF)
1470  self.scheduleSequence('pcfw','cfwriter_step')
1471  return
1472 
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 1473 of file ConfigBuilder.py.

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

1473  def prepare_DATAMIX(self, sequence = None):
1474  """ Enrich the schedule with the digitisation step"""
1475  self.loadAndRemember(self.DATAMIXDefaultCFF)
1476  self.scheduleSequence('pdatamix','datamixing_step')
1477 
1478  if self._options.pileup_input:
1479  theFiles=''
1480  if self._options.pileup_input.startswith('dbs:') or self._options.pileup_input.startswith('das:'):
1481  theFiles=filesFromDASQuery('file dataset = %s'%(self._options.pileup_input[4:],),self._options.pileup_dasoption)[0]
1482  elif self._options.pileup_input.startswith("filelist:"):
1483  theFiles= (filesFromList(self._options.pileup_input[9:]))[0]
1484  else:
1485  theFiles=self._options.pileup_input.split(',')
1486  #print theFiles
1487  self.executeAndRemember( "process.mixData.input.fileNames = cms.untracked.vstring(%s)"%( theFiles ) )
1488 
1489  return
1490 
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 1418 of file ConfigBuilder.py.

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

1418  def prepare_DIGI(self, sequence = None):
1419  """ Enrich the schedule with the digitisation step"""
1420  self.loadDefaultOrSpecifiedCFF(sequence,self.DIGIDefaultCFF)
1421 
1422  if self._options.gflash==True:
1423  self.loadAndRemember("Configuration/StandardSequences/GFlashDIGI_cff")
1424 
1425  if sequence == 'pdigi_valid' or sequence == 'pdigi_hi':
1426  self.executeAndRemember("process.mix.digitizers = cms.PSet(process.theDigitizersValid)")
1427 
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 1491 of file ConfigBuilder.py.

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

1491  def prepare_DIGI2RAW(self, sequence = None):
1492  self.loadDefaultOrSpecifiedCFF(sequence,self.DIGI2RAWDefaultCFF)
1493  self.scheduleSequence(sequence.split('.')[-1],'digi2raw_step')
1494  if "DIGIPREMIX" in self.stepMap.keys():
1495  self.executeAndRemember("process.esDigiToRaw.Label = cms.string('mix')") ##terrible hack - bypass zero suppression
1496  self.executeAndRemember("process.SiStripDigiToRaw.FedReadoutMode = cms.string('PREMIX_RAW')") ##special readout mode for StripTracker
1497 
1498  return
1499 
def loadDefaultOrSpecifiedCFF(self, sequence, defaultCFF)
def scheduleSequence(self, seq, prefix, what='Path')
def prepare_DIGI2RAW(self, sequence=None)
def executeAndRemember(self, command)
def ConfigBuilder.ConfigBuilder.prepare_DIGIPREMIX (   self,
  sequence = None 
)
Enrich the schedule with the digitisation step

Definition at line 1438 of file ConfigBuilder.py.

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

1438  def prepare_DIGIPREMIX(self, sequence = None):
1439  """ Enrich the schedule with the digitisation step"""
1440  self.loadDefaultOrSpecifiedCFF(sequence,self.DIGIDefaultCFF)
1441 
def loadDefaultOrSpecifiedCFF(self, sequence, defaultCFF)
def prepare_DIGIPREMIX(self, sequence=None)
def ConfigBuilder.ConfigBuilder.prepare_DIGIPREMIX_S2 (   self,
  sequence = None 
)
Enrich the schedule with the digitisation step

Definition at line 1452 of file ConfigBuilder.py.

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

Definition at line 1968 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.expandMapping(), edm::eventsetup::heterocontainer.insert(), list(), ConfigBuilder.ConfigBuilder.loadDefaultOrSpecifiedCFF(), CMSTestAnalyzer.CMSTestAnalyzer.process(), Filter.Filter.process(), edm::ProductLabels.process, Printer.Printer.process(), DTTTrigProd.DTTTrigProd.process, HcalHitRelabeller.process(), SimpleMuonAnalyzer.SimpleMuonAnalyzer.process(), SimpleTreeAnalyzer.ZJetsTreeAnalyzer.process(), Histogrammer.Histogrammer.process(), SingleHitTrack.process(), DTDQMMerge.DTDQMMerge.process, helper::NullPostProcessor< OutputCollection, EdmFilter >.process(), SimpleTreeProducer.SimpleTreeProducer.process(), DTValidSummary.DTValidSummary.process, AngleCalculation.process(), BestTrackSelection.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(), EDFilter<>.process(), NullPostProcessor< OutputCollection, edm::EDFilter >.process(), NullPostProcessor< OutputCollection >.process(), EDProducer<>.process(), DTDqm.DTDqm.process, DTDQMHarvesting.DTDQMHarvesting.process, PrimitiveSelection.process(), DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.process, DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.process, tfwliteselectortest::ThingsWorker.process(), DTAnalysisResiduals.DTAnalysisResiduals.process, ZJetsTreeAnalyzer.ZJetsTreeAnalyzer.process(), DTNoiseCalibration.DTNoiseCalibration.process, PrimitiveMatching.process(), DTResidualCalibration.DTResidualCalibration.process, DTDQMValidation.DTDQMValidation.process, DTTTrigValid.DTTTrigValid.process, clangcms::CatchAll.process(), core.Analyzer.Analyzer.process(), PtAssignment.process(), EcalFenixTcpsFgvbEB.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(), CSCMonitorInterface.process(), TTULogic.process(), RBCLogic.process(), TTUWedgeORLogic.process(), EcalFenixEtStrip.process(), TTUSectorORLogic.process(), SimpleJetAnalyzer.SimpleJetAnalyzer.process(), RBCPatternLogic.process(), PFPileUpAlgo.process(), npstat::AbsVisitor< Input, unsigned long >.process(), __class__Worker.process(), npstat::AbsVisitor< Input, Result >.process(), HcalCableMapper.process(), EcalFenixTcpFormat.process(), BTagDifferentialPlot.process(), EcalFenixAmplitudeFilter.process(), EcalFenixStripFormatEE.process(), DTT0DBValidation.DTT0DBValidation.process, npstat::AbsArrayProjector< Input, Result >.process(), DTVDriftMeanTimerWriter.DTVDriftMeanTimerWriter.process, DTVDriftSegmentWriter.DTVDriftSegmentWriter.process, TTUPointingLogic.process(), EcalFenixStripFormatEB.process(), RBCTestLogic.process(), MetAnalyzer.MetAnalyzer.process(), EcalFenixEtTot.process(), DTTTrigResidualCorr.DTTTrigResidualCorr.process, TTUTwoORLogic.process(), EcalFenixStripFgvbEE.process(), gen.LHEWeightAnalyzer.LHEWeightAnalyzer.process(), EcalFenixTcpFgvbEE.process(), RBCChamberORLogic.process(), TTUTrackingAlg.process(), core.TriggerMatchAnalyzer.TriggerMatchAnalyzer.process(), core.TriggerBitFilter.TriggerBitFilter.process(), DTTTrigCorrFirst.DTTTrigCorrFirst.process, gen.HiggsDecayModeAnalyzer.HiggsDecayModeAnalyzer.process(), HcalSimpleReconstructor.process(), EcalFenixFgvbEB.process(), L1GctNullJetFinder.process(), edm::ConsumesInfo.process(), L1GctEmLeafCard.process(), L1GctSimpleJetFinder.process(), SiStripClusterToDigiProducer.process(), EcalFenixLinearizer.process(), TriggerAnalyzer.TriggerAnalyzer.process(), L1GctHardwareJetFinder.process(), edm::InputTag.process(), RPCWheel.process(), DTTTrigTimeBoxesWriter.DTTTrigTimeBoxesWriter.process, gen.GenHeavyFlavourAnalyzer.GenHeavyFlavourAnalyzer.process(), L1GctJetFinalStage.process(), L1GctProcessor.process(), TTUConfigurator.process(), gen.PDFWeightsAnalyzer.PDFWeightsAnalyzer.process(), L1GctGlobalHfSumAlgos.process(), PFMETBenchmark.process(), npstat::VisitCounter< Input >.process(), L1GctElectronFinalSort.process(), PFJetBenchmark.process(), TrackingRecHitNoSmearingPlugin.process(), core.EventSelector.EventSelector.process(), core.ProvenanceAnalyzer.ProvenanceAnalyzer.process(), PFTauElecRejectionBenchmark.process(), EgammaHLTPixelMatchElectronAlgo.process(), SectorProcessor.process(), ZMuMuRochCorAnalyzer.ZMuMuRochCorAnalyzer.process(), L1Comparator.process(), TrackingRecHitStripGSPlugin.process(), L1GctWheelEnergyFpga.process(), L1GctWheelJetFpga.process(), TrackingRecHitAlgorithm.process(), core.SkimAnalyzerCount.SkimAnalyzerCount.process(), SeedClusterRemoverPhase2.process(), core.JSONAnalyzer.JSONAnalyzer.process(), analyzer.Analyzer.process(), Matcher.Matcher.process(), AlphaTAnalyzer.AlphaTAnalyzer.process(), cscdqm::HWStandbyType.process, L1GctElectronSorter.process(), L1GctGlobalEnergyAlgos.process(), JetAnalyzer.JetAnalyzer.process(), L1GctTdrJetFinder.process(), TFWLiteSelectorBasic.process(), core.TriggerBitAnalyzer.TriggerBitAnalyzer.process(), fwlite::internal::DataKey.process(), KDTreeLinkerBase.process(), L1GctJetLeafCard.process(), DTTFFEDReader.process(), L1GlobalCaloTrigger.process(), ResonanceBuilder.ResonanceBuilder.process(), TFWLiteSelector< TWorker >.process(), TFWLiteSelector< __class__Worker >.process(), TFWLiteSelector< TrackAnalysisAlgorithm >.process(), TFWLiteSelector< ThingsWorker >.process(), EcalFenixTcp.process(), SeedClusterRemover.process(), HLTTrackClusterRemoverNew.process(), TestOutliers.process, DiLeptonAnalyzer.DiLeptonAnalyzer.process(), HTTP.RequestManager.process(), PixelTemplateSmearerBase.process(), HITrackClusterRemover.process(), GenLumiInfoProduct::ProcessInfo.process(), objects.VertexAnalyzer.VertexAnalyzer.process(), core.PileUpAnalyzer.PileUpAnalyzer.process(), EcalFenixStrip.process(), lhef::LHERunInfo::Process.process(), CaloTowersCreationAlgo.process(), objects.JetAnalyzer.JetAnalyzer.process(), objects.TauAnalyzer.TauAnalyzer.process(), core.AutoFillTreeProducer.AutoFillTreeProducer.process(), EgammaHLTValidationUtils.EgammaDQMModuleMaker.process, cond::payloadInspector::PlotBase.process(), L1GctJetFinderBase.process(), Config.Process.process, looper.Looper.process(), gen.GeneratorAnalyzer.GeneratorAnalyzer.process(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.process(), edm::ProductResolverIndexHelper::Item.process(), objects.PhotonAnalyzer.PhotonAnalyzer.process(), JsonOutputProducer::JsonConfigurationBlock.process, objects.LeptonAnalyzer.LeptonAnalyzer.process(), Config.SubProcess.process(), ConfigBuilder.ConfigBuilder.renameHLTprocessInSequence(), and split.

1968  def prepare_DQM(self, sequence = 'DQMOffline'):
1969  # this one needs replacement
1970 
1971  self.loadDefaultOrSpecifiedCFF(sequence,self.DQMOFFLINEDefaultCFF)
1972  sequenceList=sequence.split('.')[-1].split('+')
1973  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 1726 of file ConfigBuilder.py.

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

Definition at line 2071 of file ConfigBuilder.py.

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

2071  def prepare_ENDJOB(self, sequence = 'endOfProcess'):
2072  self.loadDefaultOrSpecifiedCFF(sequence,self.ENDJOBDefaultCFF)
2073  self.scheduleSequenceAtEnd(sequence.split('.')[-1],'endjob_step')
2074  return
2075 
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 1623 of file ConfigBuilder.py.

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

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

2005  def prepare_HARVESTING(self, sequence = None):
2006  """ Enrich the process with harvesting step """
2007  self.DQMSaverCFF='Configuration/StandardSequences/DQMSaver'+self._options.harvesting+'_cff'
2008  self.loadAndRemember(self.DQMSaverCFF)
2009 
2010  harvestingConfig = self.loadDefaultOrSpecifiedCFF(sequence,self.HARVESTINGDefaultCFF)
2011  sequence = sequence.split('.')[-1]
2012 
2013  # decide which HARVESTING paths to use
2014  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 1525 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.executeAndRemember(), join(), ConfigBuilder.ConfigBuilder.loadAndRemember(), CMSTestAnalyzer.CMSTestAnalyzer.process(), Filter.Filter.process(), edm::ProductLabels.process, Printer.Printer.process(), DTTTrigProd.DTTTrigProd.process, HcalHitRelabeller.process(), SimpleMuonAnalyzer.SimpleMuonAnalyzer.process(), SimpleTreeAnalyzer.ZJetsTreeAnalyzer.process(), Histogrammer.Histogrammer.process(), SingleHitTrack.process(), DTValidSummary.DTValidSummary.process, SimpleTreeProducer.SimpleTreeProducer.process(), AngleCalculation.process(), BestTrackSelection.process(), DTDqm.DTDqm.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(), NullPostProcessor< OutputCollection, EdmFilter >.process(), DTDQMMerge.DTDQMMerge.process, helper::NullPostProcessor< OutputCollection, EdmFilter >.process(), DTAnalysisResiduals.DTAnalysisResiduals.process, DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.process, DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.process, PrimitiveSelection.process(), tfwliteselectortest::ThingsWorker.process(), DTDQMHarvesting.DTDQMHarvesting.process, ZJetsTreeAnalyzer.ZJetsTreeAnalyzer.process(), DTNoiseCalibration.DTNoiseCalibration.process, PrimitiveMatching.process(), DTResidualCalibration.DTResidualCalibration.process, DTTTrigValid.DTTTrigValid.process, DTDQMValidation.DTDQMValidation.process, clangcms::CatchAll.process(), core.Analyzer.Analyzer.process(), PtAssignment.process(), EcalFenixTcpsFgvbEB.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(), TTULogic.process(), examples::TrackAnalysisAlgorithm.process(), CSCMonitorInterface.process(), RBCLogic.process(), TTUWedgeORLogic.process(), EcalFenixEtStrip.process(), TTUSectorORLogic.process(), RBCPatternLogic.process(), SimpleJetAnalyzer.SimpleJetAnalyzer.process(), PFPileUpAlgo.process(), __class__Worker.process(), npstat::AbsVisitor< Input, Result >.process(), npstat::AbsVisitor< Input, unsigned long >.process(), HcalCableMapper.process(), BTagDifferentialPlot.process(), EcalFenixAmplitudeFilter.process(), EcalFenixTcpFormat.process(), EcalFenixStripFormatEE.process(), DTT0DBValidation.DTT0DBValidation.process, npstat::AbsArrayProjector< Input, Result >.process(), DTVDriftSegmentWriter.DTVDriftSegmentWriter.process, EcalFenixStripFormatEB.process(), RBCTestLogic.process(), TTUPointingLogic.process(), MetAnalyzer.MetAnalyzer.process(), DTVDriftMeanTimerWriter.DTVDriftMeanTimerWriter.process, EcalFenixEtTot.process(), TTUTwoORLogic.process(), DTTTrigResidualCorr.DTTTrigResidualCorr.process, EcalFenixStripFgvbEE.process(), gen.LHEWeightAnalyzer.LHEWeightAnalyzer.process(), EcalFenixTcpFgvbEE.process(), RBCChamberORLogic.process(), TTUTrackingAlg.process(), core.TriggerMatchAnalyzer.TriggerMatchAnalyzer.process(), DTTTrigCorrFirst.DTTTrigCorrFirst.process, core.TriggerBitFilter.TriggerBitFilter.process(), gen.HiggsDecayModeAnalyzer.HiggsDecayModeAnalyzer.process(), HcalSimpleReconstructor.process(), EcalFenixFgvbEB.process(), L1GctNullJetFinder.process(), edm::ConsumesInfo.process(), L1GctEmLeafCard.process(), L1GctSimpleJetFinder.process(), SiStripClusterToDigiProducer.process(), EcalFenixLinearizer.process(), TriggerAnalyzer.TriggerAnalyzer.process(), edm::InputTag.process(), L1GctHardwareJetFinder.process(), RPCWheel.process(), DTTTrigTimeBoxesWriter.DTTTrigTimeBoxesWriter.process, gen.GenHeavyFlavourAnalyzer.GenHeavyFlavourAnalyzer.process(), L1GctJetFinalStage.process(), L1GctProcessor.process(), TTUConfigurator.process(), gen.PDFWeightsAnalyzer.PDFWeightsAnalyzer.process(), L1GctGlobalHfSumAlgos.process(), PFMETBenchmark.process(), npstat::VisitCounter< Input >.process(), L1GctElectronFinalSort.process(), PFJetBenchmark.process(), TrackingRecHitNoSmearingPlugin.process(), core.EventSelector.EventSelector.process(), core.ProvenanceAnalyzer.ProvenanceAnalyzer.process(), PFTauElecRejectionBenchmark.process(), EgammaHLTPixelMatchElectronAlgo.process(), SectorProcessor.process(), ZMuMuRochCorAnalyzer.ZMuMuRochCorAnalyzer.process(), TrackingRecHitStripGSPlugin.process(), L1Comparator.process(), L1GctWheelEnergyFpga.process(), L1GctWheelJetFpga.process(), TrackingRecHitAlgorithm.process(), core.JSONAnalyzer.JSONAnalyzer.process(), core.SkimAnalyzerCount.SkimAnalyzerCount.process(), SeedClusterRemoverPhase2.process(), analyzer.Analyzer.process(), AlphaTAnalyzer.AlphaTAnalyzer.process(), Matcher.Matcher.process(), cscdqm::HWStandbyType.process, L1GctElectronSorter.process(), L1GctGlobalEnergyAlgos.process(), JetAnalyzer.JetAnalyzer.process(), L1GctTdrJetFinder.process(), fwlite::internal::DataKey.process(), TFWLiteSelectorBasic.process(), core.TriggerBitAnalyzer.TriggerBitAnalyzer.process(), L1GctJetLeafCard.process(), KDTreeLinkerBase.process(), DTTFFEDReader.process(), L1GlobalCaloTrigger.process(), ResonanceBuilder.ResonanceBuilder.process(), TFWLiteSelector< TrackAnalysisAlgorithm >.process(), TFWLiteSelector< TWorker >.process(), TFWLiteSelector< ThingsWorker >.process(), TFWLiteSelector< __class__Worker >.process(), EcalFenixTcp.process(), SeedClusterRemover.process(), TestOutliers.process, HLTTrackClusterRemoverNew.process(), DiLeptonAnalyzer.DiLeptonAnalyzer.process(), HTTP.RequestManager.process(), HITrackClusterRemover.process(), PixelTemplateSmearerBase.process(), GenLumiInfoProduct::ProcessInfo.process(), objects.VertexAnalyzer.VertexAnalyzer.process(), core.PileUpAnalyzer.PileUpAnalyzer.process(), EcalFenixStrip.process(), lhef::LHERunInfo::Process.process(), objects.JetAnalyzer.JetAnalyzer.process(), CaloTowersCreationAlgo.process(), objects.TauAnalyzer.TauAnalyzer.process(), core.AutoFillTreeProducer.AutoFillTreeProducer.process(), EgammaHLTValidationUtils.EgammaDQMModuleMaker.process, cond::payloadInspector::PlotBase.process(), L1GctJetFinderBase.process(), Config.Process.process, looper.Looper.process(), gen.GeneratorAnalyzer.GeneratorAnalyzer.process(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.process(), edm::ProductResolverIndexHelper::Item.process(), objects.PhotonAnalyzer.PhotonAnalyzer.process(), JsonOutputProducer::JsonConfigurationBlock.process, objects.LeptonAnalyzer.LeptonAnalyzer.process(), Config.SubProcess.process(), and CustomConfigs.ProcessName().

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

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

1505  def prepare_L1(self, sequence = None):
1506  """ Enrich the schedule with the L1 simulation step"""
1507  assert(sequence == None)
1508  self.loadAndRemember(self.L1EMDefaultCFF)
1509  self.scheduleSequence('SimL1Emulator','L1simulation_step')
1510  return
1511 
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 1604 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.loadDefaultOrSpecifiedCFF().

1604  def prepare_L1HwVal(self, sequence = 'L1HwVal'):
1605  ''' Enrich the schedule with L1 HW validation '''
1606  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 1611 of file ConfigBuilder.py.

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

1611  def prepare_L1Reco(self, sequence = "L1Reco"):
1612  ''' Enrich the schedule with L1 reconstruction '''
1613  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 1512 of file ConfigBuilder.py.

1512  def prepare_L1REPACK(self, sequence = None):
1513  """ 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"""
1514  supported = ['GT','GT1','GT2','GCTGT','Full','FullSimTP','FullMC','Full2015Data','uGT']
1515  if sequence in supported:
1516  self.loadAndRemember('Configuration/StandardSequences/SimL1EmulatorRepack_%s_cff'%sequence)
1517  if self._options.scenario == 'HeavyIons':
1518  self.renameInputTagsInSequence("SimL1Emulator","rawDataCollector","rawDataRepacker")
1519  self.scheduleSequence('SimL1Emulator','L1RePack_step')
1520  else:
1521  print "L1REPACK with '",sequence,"' is not supported! Supported choices are: ",supported
1522  raise Exception('unsupported feature')
1523 
1524 
def prepare_L1REPACK(self, sequence=None)
def ConfigBuilder.ConfigBuilder.prepare_L1TrackTrigger (   self,
  sequence = "L1TrackTrigger" 
)
Enrich the schedule with L1 reconstruction 

Definition at line 1617 of file ConfigBuilder.py.

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

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

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

1303  def prepare_LHE(self, sequence = None):
1304  #load the fragment
1305  ##make it loadable
1306  loadFragment = self._options.evt_type.replace('.py','',).replace('.','_').replace('python/','').replace('/','.')
1307  print "Loading lhe fragment from",loadFragment
1308  __import__(loadFragment)
1309  self.process.load(loadFragment)
1310  ##inline the modules
1311  self._options.inlineObjets+=','+sequence
1312 
1313  getattr(self.process,sequence).nEvents = int(self._options.number)
1314 
1315  #schedule it
1316  self.process.lhe_step = cms.Path( getattr( self.process,sequence) )
1317  self.excludedPaths.append("lhe_step")
1318  self.schedule.append( self.process.lhe_step )
1319 
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 1711 of file ConfigBuilder.py.

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

1711  def prepare_NANO(self, sequence = "nanoAOD"):
1712  ''' Enrich the schedule with NANO '''
1713  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 1676 of file ConfigBuilder.py.

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

1676  def prepare_PAT(self, sequence = "miniAOD"):
1677  ''' Enrich the schedule with PAT '''
1678  self.prepare_PATFILTER(self)
1679  self.loadDefaultOrSpecifiedCFF(sequence,self.PATDefaultCFF)
1680  self.labelsToAssociate.append('patTask')
1681  if not self._options.runUnscheduled:
1682  raise Exception("MiniAOD production can only run in unscheduled mode, please run cmsDriver with --runUnscheduled")
1683  if self._options.isData:
1684  self._options.customisation_file_unsch.insert(0,"PhysicsTools/PatAlgos/slimming/miniAOD_tools.miniAOD_customizeAllData")
1685  else:
1686  if self._options.fast:
1687  self._options.customisation_file_unsch.insert(0,"PhysicsTools/PatAlgos/slimming/miniAOD_tools.miniAOD_customizeAllMCFastSim")
1688  else:
1689  self._options.customisation_file_unsch.insert(0,"PhysicsTools/PatAlgos/slimming/miniAOD_tools.miniAOD_customizeAllMC")
1690 
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 1598 of file ConfigBuilder.py.

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

Referenced by ConfigBuilder.ConfigBuilder.prepare_PAT().

1598  def prepare_PATFILTER(self, sequence=None):
1599  self.loadAndRemember("PhysicsTools/PatAlgos/slimming/metFilterPaths_cff")
1600  from PhysicsTools.PatAlgos.slimming.metFilterPaths_cff import allMetFilterPaths
1601  for filt in allMetFilterPaths:
1602  self.schedule.append(getattr(self.process,'Flag_'+filt))
1603 
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 1701 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.loadDefaultOrSpecifiedCFF().

1701  def prepare_PATGEN(self, sequence = "miniGEN"):
1702  ''' Enrich the schedule with PATGEN '''
1703  self.loadDefaultOrSpecifiedCFF(sequence,self.PATGENDefaultCFF) #this is unscheduled
1704  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 1788 of file ConfigBuilder.py.

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

1788  def prepare_POSTRECO(self, sequence = None):
1789  """ Enrich the schedule with the postreco step """
1790  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 1591 of file ConfigBuilder.py.

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

Referenced by ConfigBuilder.ConfigBuilder.prepare_RAW2RECO().

1591  def prepare_RAW2DIGI(self, sequence = "RawToDigi"):
1592  self.loadDefaultOrSpecifiedCFF(sequence,self.RAW2DIGIDefaultCFF)
1593  self.scheduleSequence(sequence,'raw2digi_step')
1594  # if self._options.isRepacked:
1595  #self.renameInputTagsInSequence(sequence)
1596  return
1597 
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 1580 of file ConfigBuilder.py.

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

1580  def prepare_RAW2RECO(self, sequence = None):
1581  if ','in sequence:
1582  seqReco=sequence.split(',')[1]
1583  seqDigi=sequence.split(',')[0]
1584  else:
1585  print "RAW2RECO requires two specifications",sequence,"insufficient"
1586 
1587  self.prepare_RAW2DIGI(seqDigi)
1588  self.prepare_RECO(seqReco)
1589  return
1590 
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 1655 of file ConfigBuilder.py.

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

Referenced by ConfigBuilder.ConfigBuilder.prepare_RAW2RECO().

1655  def prepare_RECO(self, sequence = "reconstruction"):
1656  ''' Enrich the schedule with reconstruction '''
1657  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 1667 of file ConfigBuilder.py.

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

1667  def prepare_RECOBEFMIX(self, sequence = "reconstruction"):
1668  ''' Enrich the schedule with the part of reconstruction that is done before mixing in FastSim'''
1669  if not self._options.fast:
1670  print "ERROR: this step is only implemented for FastSim"
1671  sys.exit()
1672  self.loadDefaultOrSpecifiedCFF(self.RECOBEFMIXDefaultSeq,self.RECOBEFMIXDefaultCFF)
1673  self.scheduleSequence(sequence.split('.')[-1],'reconstruction_befmix_step')
1674  return
1675 
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 1661 of file ConfigBuilder.py.

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

1661  def prepare_RECOSIM(self, sequence = "recosim"):
1662  ''' Enrich the schedule with reconstruction '''
1663  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 1500 of file ConfigBuilder.py.

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

1500  def prepare_REPACK(self, sequence = None):
1501  self.loadDefaultOrSpecifiedCFF(sequence,self.REPACKDefaultCFF)
1502  self.scheduleSequence(sequence.split('.')[-1],'digi2repack_step')
1503  return
1504 
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 1402 of file ConfigBuilder.py.

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

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

1738  def prepare_SKIM(self, sequence = "all"):
1739  ''' Enrich the schedule with skimming fragments'''
1740  skimConfig = self.loadDefaultOrSpecifiedCFF(sequence,self.SKIMDefaultCFF)
1741  sequence = sequence.split('.')[-1]
1742 
1743  skimlist=sequence.split('+')
1744  ## 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 1782 of file ConfigBuilder.py.

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

1782  def prepare_USER(self, sequence = None):
1783  ''' Enrich the schedule with a user defined sequence '''
1784  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 1795 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(), DTTTrigProd.DTTTrigProd.process, HcalHitRelabeller.process(), SimpleMuonAnalyzer.SimpleMuonAnalyzer.process(), SimpleTreeAnalyzer.ZJetsTreeAnalyzer.process(), SingleHitTrack.process(), Histogrammer.Histogrammer.process(), DTValidSummary.DTValidSummary.process, SimpleTreeProducer.SimpleTreeProducer.process(), AngleCalculation.process(), BestTrackSelection.process(), helper::NullPostProcessor< reco::CandidateCollection, edm::EDFilter >.process(), helper::NullPostProcessor< typename::helper::SelectedOutputCollectionTrait< reco::TrackCollection >::type, EdmFilter >.process(), NullPostProcessor< reco::CandidateCollection >.process(), NullPostProcessor< OutputCollection, EdmFilter >.process(), DTDqm.DTDqm.process, EDProducer<>.process(), NullPostProcessor< OutputCollection >.process(), NullPostProcessor< OutputCollection, edm::EDFilter >.process(), EDFilter<>.process(), DTDQMMerge.DTDQMMerge.process, helper::NullPostProcessor< OutputCollection, EdmFilter >.process(), DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.process, DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.process, PrimitiveSelection.process(), DTAnalysisResiduals.DTAnalysisResiduals.process, tfwliteselectortest::ThingsWorker.process(), DTDQMHarvesting.DTDQMHarvesting.process, ZJetsTreeAnalyzer.ZJetsTreeAnalyzer.process(), DTNoiseCalibration.DTNoiseCalibration.process, PrimitiveMatching.process(), DTResidualCalibration.DTResidualCalibration.process, DTTTrigValid.DTTTrigValid.process, DTDQMValidation.DTDQMValidation.process, clangcms::CatchAll.process(), core.Analyzer.Analyzer.process(), PtAssignment.process(), EcalFenixTcpsFgvbEB.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(), TTULogic.process(), examples::TrackAnalysisAlgorithm.process(), CSCMonitorInterface.process(), RBCLogic.process(), TTUWedgeORLogic.process(), EcalFenixEtStrip.process(), RBCPatternLogic.process(), TTUSectorORLogic.process(), SimpleJetAnalyzer.SimpleJetAnalyzer.process(), PFPileUpAlgo.process(), __class__Worker.process(), npstat::AbsVisitor< Input, Result >.process(), npstat::AbsVisitor< Input, unsigned long >.process(), HcalCableMapper.process(), BTagDifferentialPlot.process(), EcalFenixAmplitudeFilter.process(), EcalFenixTcpFormat.process(), EcalFenixStripFormatEE.process(), DTT0DBValidation.DTT0DBValidation.process, npstat::AbsArrayProjector< Input, Result >.process(), DTVDriftSegmentWriter.DTVDriftSegmentWriter.process, EcalFenixStripFormatEB.process(), DTVDriftMeanTimerWriter.DTVDriftMeanTimerWriter.process, RBCTestLogic.process(), TTUPointingLogic.process(), MetAnalyzer.MetAnalyzer.process(), EcalFenixEtTot.process(), TTUTwoORLogic.process(), DTTTrigResidualCorr.DTTTrigResidualCorr.process, EcalFenixStripFgvbEE.process(), gen.LHEWeightAnalyzer.LHEWeightAnalyzer.process(), EcalFenixTcpFgvbEE.process(), TTUTrackingAlg.process(), core.TriggerMatchAnalyzer.TriggerMatchAnalyzer.process(), RBCChamberORLogic.process(), DTTTrigCorrFirst.DTTTrigCorrFirst.process, core.TriggerBitFilter.TriggerBitFilter.process(), gen.HiggsDecayModeAnalyzer.HiggsDecayModeAnalyzer.process(), HcalSimpleReconstructor.process(), EcalFenixFgvbEB.process(), L1GctNullJetFinder.process(), edm::ConsumesInfo.process(), L1GctEmLeafCard.process(), SiStripClusterToDigiProducer.process(), EcalFenixLinearizer.process(), L1GctSimpleJetFinder.process(), TriggerAnalyzer.TriggerAnalyzer.process(), edm::InputTag.process(), L1GctHardwareJetFinder.process(), DTTTrigTimeBoxesWriter.DTTTrigTimeBoxesWriter.process, RPCWheel.process(), gen.GenHeavyFlavourAnalyzer.GenHeavyFlavourAnalyzer.process(), L1GctJetFinalStage.process(), L1GctProcessor.process(), TTUConfigurator.process(), gen.PDFWeightsAnalyzer.PDFWeightsAnalyzer.process(), L1GctGlobalHfSumAlgos.process(), PFMETBenchmark.process(), npstat::VisitCounter< Input >.process(), L1GctElectronFinalSort.process(), PFJetBenchmark.process(), TrackingRecHitNoSmearingPlugin.process(), core.ProvenanceAnalyzer.ProvenanceAnalyzer.process(), core.EventSelector.EventSelector.process(), PFTauElecRejectionBenchmark.process(), SectorProcessor.process(), EgammaHLTPixelMatchElectronAlgo.process(), ZMuMuRochCorAnalyzer.ZMuMuRochCorAnalyzer.process(), L1Comparator.process(), TrackingRecHitStripGSPlugin.process(), L1GctWheelEnergyFpga.process(), L1GctWheelJetFpga.process(), SeedClusterRemoverPhase2.process(), TrackingRecHitAlgorithm.process(), core.JSONAnalyzer.JSONAnalyzer.process(), core.SkimAnalyzerCount.SkimAnalyzerCount.process(), analyzer.Analyzer.process(), AlphaTAnalyzer.AlphaTAnalyzer.process(), Matcher.Matcher.process(), cscdqm::HWStandbyType.process, L1GctElectronSorter.process(), L1GctGlobalEnergyAlgos.process(), JetAnalyzer.JetAnalyzer.process(), L1GctTdrJetFinder.process(), fwlite::internal::DataKey.process(), core.TriggerBitAnalyzer.TriggerBitAnalyzer.process(), TFWLiteSelectorBasic.process(), L1GctJetLeafCard.process(), KDTreeLinkerBase.process(), DTTFFEDReader.process(), L1GlobalCaloTrigger.process(), ResonanceBuilder.ResonanceBuilder.process(), TFWLiteSelector< __class__Worker >.process(), TFWLiteSelector< TrackAnalysisAlgorithm >.process(), TFWLiteSelector< TWorker >.process(), TFWLiteSelector< ThingsWorker >.process(), EcalFenixTcp.process(), SeedClusterRemover.process(), HLTTrackClusterRemoverNew.process(), TestOutliers.process, DiLeptonAnalyzer.DiLeptonAnalyzer.process(), HTTP.RequestManager.process(), HITrackClusterRemover.process(), PixelTemplateSmearerBase.process(), GenLumiInfoProduct::ProcessInfo.process(), objects.VertexAnalyzer.VertexAnalyzer.process(), core.PileUpAnalyzer.PileUpAnalyzer.process(), EcalFenixStrip.process(), lhef::LHERunInfo::Process.process(), objects.JetAnalyzer.JetAnalyzer.process(), CaloTowersCreationAlgo.process(), objects.TauAnalyzer.TauAnalyzer.process(), core.AutoFillTreeProducer.AutoFillTreeProducer.process(), EgammaHLTValidationUtils.EgammaDQMModuleMaker.process, cond::payloadInspector::PlotBase.process(), L1GctJetFinderBase.process(), Config.Process.process, looper.Looper.process(), gen.GeneratorAnalyzer.GeneratorAnalyzer.process(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.process(), edm::ProductResolverIndexHelper::Item.process(), objects.PhotonAnalyzer.PhotonAnalyzer.process(), JsonOutputProducer::JsonConfigurationBlock.process, objects.LeptonAnalyzer.LeptonAnalyzer.process(), Config.SubProcess.process(), ConfigBuilder.ConfigBuilder.renameHLTprocessInSequence(), and split.

1795  def prepare_VALIDATION(self, sequence = 'validation'):
1796  print sequence,"in preparing validation"
1797  self.loadDefaultOrSpecifiedCFF(sequence,self.VALIDATIONDefaultCFF)
1798  from Validation.Configuration.autoValidation import autoValidation
1799  #in case VALIDATION:something:somethingelse -> something,somethingelse
1800  sequence=sequence.split('.')[-1]
1801  if sequence.find(',')!=-1:
1802  prevalSeqName=sequence.split(',')[0].split('+')
1803  valSeqName=sequence.split(',')[1].split('+')
1804  self.expandMapping(prevalSeqName,autoValidation,index=0)
1805  self.expandMapping(valSeqName,autoValidation,index=1)
1806  else:
1807  if '@' in sequence:
1808  prevalSeqName=sequence.split('+')
1809  valSeqName=sequence.split('+')
1810  self.expandMapping(prevalSeqName,autoValidation,index=0)
1811  self.expandMapping(valSeqName,autoValidation,index=1)
1812  else:
1813  postfix=''
1814  if sequence:
1815  postfix='_'+sequence
1816  prevalSeqName=['prevalidation'+postfix]
1817  valSeqName=['validation'+postfix]
1818  if not hasattr(self.process,valSeqName[0]):
1819  prevalSeqName=['']
1820  valSeqName=[sequence]
1821 
1822  def NFI(index):
1823  ##name from index, required to keep backward compatibility
1824  if index==0:
1825  return ''
1826  else:
1827  return '%s'%index
1828 
1829 
1830  #rename the HLT process in validation steps
1831  if ('HLT' in self.stepMap and not self._options.fast) or self._options.hltProcess:
1832  for s in valSeqName+prevalSeqName:
1833  if s:
1835  for (i,s) in enumerate(prevalSeqName):
1836  if s:
1837  setattr(self.process,'prevalidation_step%s'%NFI(i), cms.Path( getattr(self.process, s)) )
1838  self.schedule.append(getattr(self.process,'prevalidation_step%s'%NFI(i)))
1839 
1840  for (i,s) in enumerate(valSeqName):
1841  setattr(self.process,'validation_step%s'%NFI(i), cms.EndPath( getattr(self.process, s)))
1842  self.schedule.append(getattr(self.process,'validation_step%s'%NFI(i)))
1843 
1844  #needed in case the miniAODValidation sequence is run starting from AODSIM
1845  if 'PAT' in self.stepMap and not 'RECO' in self.stepMap:
1846  return
1847 
1848  if not 'DIGI' in self.stepMap and not self._options.fast and not any(map( lambda s : s.startswith('genvalid'), valSeqName)):
1849  if self._options.restoreRNDSeeds==False and not self._options.restoreRNDSeeds==True:
1850  self._options.restoreRNDSeeds=True
1851 
1852  if not 'DIGI' in self.stepMap and not self._options.fast:
1853  self.executeAndRemember("process.mix.playback = True")
1854  self.executeAndRemember("process.mix.digitizers = cms.PSet()")
1855  self.executeAndRemember("for a in process.aliases: delattr(process, a)")
1856  self._options.customisation_file.append("SimGeneral/MixingModule/fullMixCustomize_cff.setCrossingFrameOn")
1857 
1858  if hasattr(self.process,"genstepfilter") and len(self.process.genstepfilter.triggerConditions):
1859  #will get in the schedule, smoothly
1860  for (i,s) in enumerate(valSeqName):
1861  getattr(self.process,'validation_step%s'%NFI(i))._seq = self.process.genstepfilter * getattr(self.process,'validation_step%s'%NFI(i))._seq
1862 
1863  return
1864 
1865 
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 1935 of file ConfigBuilder.py.

References CMSTestAnalyzer.CMSTestAnalyzer.process(), Filter.Filter.process(), edm::ProductLabels.process, Printer.Printer.process(), DTTTrigProd.DTTTrigProd.process, SimpleMuonAnalyzer.SimpleMuonAnalyzer.process(), HcalHitRelabeller.process(), SimpleTreeAnalyzer.ZJetsTreeAnalyzer.process(), Histogrammer.Histogrammer.process(), SingleHitTrack.process(), EDProducer<>.process(), AngleCalculation.process(), SimpleTreeProducer.SimpleTreeProducer.process(), BestTrackSelection.process(), DTDqm.DTDqm.process, DTDQMMerge.DTDQMMerge.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(), NullPostProcessor< OutputCollection >.process(), NullPostProcessor< OutputCollection, EdmFilter >.process(), helper::NullPostProcessor< OutputCollection, EdmFilter >.process(), DTValidSummary.DTValidSummary.process, DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.process, DTAnalysisResiduals.DTAnalysisResiduals.process, PrimitiveSelection.process(), tfwliteselectortest::ThingsWorker.process(), DTDQMHarvesting.DTDQMHarvesting.process, ZJetsTreeAnalyzer.ZJetsTreeAnalyzer.process(), DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.process, PrimitiveMatching.process(), DTNoiseCalibration.DTNoiseCalibration.process, DTResidualCalibration.DTResidualCalibration.process, clangcms::CatchAll.process(), DTDQMValidation.DTDQMValidation.process, core.Analyzer.Analyzer.process(), DTTTrigValid.DTTTrigValid.process, PtAssignment.process(), EcalFenixTcpsFgvbEB.process(), CSCTFDTReceiver.process(), gen.LHEAnalyzer.LHEAnalyzer.process(), PrimitiveConversion.process(), EcalFenixPeakFinder.process(), EcalFenixBypassLin.process(), tfwliteselectortest::ThingsTSelector.process(), MetTreeProducer.MetTreeProducer.process(), PatternRecognition.process(), TrackFinder.process(), CSCTFMonitorInterface.process(), EcalFenixMaxof2.process(), CSCMonitorInterface.process(), examples::TrackAnalysisAlgorithm.process(), TTULogic.process(), RBCLogic.process(), TTUWedgeORLogic.process(), EcalFenixEtStrip.process(), RBCPatternLogic.process(), TTUSectorORLogic.process(), PFPileUpAlgo.process(), SimpleJetAnalyzer.SimpleJetAnalyzer.process(), npstat::AbsVisitor< Input, unsigned long >.process(), HcalCableMapper.process(), npstat::AbsVisitor< Input, Result >.process(), __class__Worker.process(), DTT0DBValidation.DTT0DBValidation.process, EcalFenixAmplitudeFilter.process(), EcalFenixTcpFormat.process(), EcalFenixStripFormatEE.process(), npstat::AbsArrayProjector< Input, Result >.process(), BTagDifferentialPlot.process(), DTVDriftMeanTimerWriter.DTVDriftMeanTimerWriter.process, RBCTestLogic.process(), DTVDriftSegmentWriter.DTVDriftSegmentWriter.process, EcalFenixStripFormatEB.process(), TTUPointingLogic.process(), MetAnalyzer.MetAnalyzer.process(), EcalFenixEtTot.process(), TTUTwoORLogic.process(), DTTTrigResidualCorr.DTTTrigResidualCorr.process, EcalFenixStripFgvbEE.process(), gen.LHEWeightAnalyzer.LHEWeightAnalyzer.process(), RBCChamberORLogic.process(), EcalFenixTcpFgvbEE.process(), TTUTrackingAlg.process(), core.TriggerMatchAnalyzer.TriggerMatchAnalyzer.process(), DTTTrigCorrFirst.DTTTrigCorrFirst.process, core.TriggerBitFilter.TriggerBitFilter.process(), gen.HiggsDecayModeAnalyzer.HiggsDecayModeAnalyzer.process(), HcalSimpleReconstructor.process(), EcalFenixFgvbEB.process(), L1GctNullJetFinder.process(), edm::ConsumesInfo.process(), L1GctEmLeafCard.process(), L1GctSimpleJetFinder.process(), SiStripClusterToDigiProducer.process(), TriggerAnalyzer.TriggerAnalyzer.process(), EcalFenixLinearizer.process(), edm::InputTag.process(), L1GctHardwareJetFinder.process(), DTTTrigTimeBoxesWriter.DTTTrigTimeBoxesWriter.process, gen.GenHeavyFlavourAnalyzer.GenHeavyFlavourAnalyzer.process(), RPCWheel.process(), L1GctProcessor.process(), L1GctJetFinalStage.process(), TTUConfigurator.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(), SectorProcessor.process(), ZMuMuRochCorAnalyzer.ZMuMuRochCorAnalyzer.process(), L1Comparator.process(), TrackingRecHitStripGSPlugin.process(), L1GctWheelEnergyFpga.process(), L1GctWheelJetFpga.process(), SeedClusterRemoverPhase2.process(), core.JSONAnalyzer.JSONAnalyzer.process(), core.SkimAnalyzerCount.SkimAnalyzerCount.process(), TrackingRecHitAlgorithm.process(), analyzer.Analyzer.process(), Matcher.Matcher.process(), AlphaTAnalyzer.AlphaTAnalyzer.process(), cscdqm::HWStandbyType.process, L1GctGlobalEnergyAlgos.process(), L1GctElectronSorter.process(), JetAnalyzer.JetAnalyzer.process(), L1GctTdrJetFinder.process(), fwlite::internal::DataKey.process(), TFWLiteSelectorBasic.process(), core.TriggerBitAnalyzer.TriggerBitAnalyzer.process(), KDTreeLinkerBase.process(), L1GctJetLeafCard.process(), DTTFFEDReader.process(), L1GlobalCaloTrigger.process(), ResonanceBuilder.ResonanceBuilder.process(), TFWLiteSelector< __class__Worker >.process(), TFWLiteSelector< TrackAnalysisAlgorithm >.process(), TFWLiteSelector< TWorker >.process(), TFWLiteSelector< ThingsWorker >.process(), EcalFenixTcp.process(), SeedClusterRemover.process(), TestOutliers.process, HLTTrackClusterRemoverNew.process(), DiLeptonAnalyzer.DiLeptonAnalyzer.process(), HTTP.RequestManager.process(), HITrackClusterRemover.process(), PixelTemplateSmearerBase.process(), GenLumiInfoProduct::ProcessInfo.process(), objects.VertexAnalyzer.VertexAnalyzer.process(), core.PileUpAnalyzer.PileUpAnalyzer.process(), EcalFenixStrip.process(), lhef::LHERunInfo::Process.process(), objects.JetAnalyzer.JetAnalyzer.process(), CaloTowersCreationAlgo.process(), objects.TauAnalyzer.TauAnalyzer.process(), core.AutoFillTreeProducer.AutoFillTreeProducer.process(), EgammaHLTValidationUtils.EgammaDQMModuleMaker.process, cond::payloadInspector::PlotBase.process(), L1GctJetFinderBase.process(), Config.Process.process, looper.Looper.process(), gen.GeneratorAnalyzer.GeneratorAnalyzer.process(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.process(), edm::ProductResolverIndexHelper::Item.process(), objects.PhotonAnalyzer.PhotonAnalyzer.process(), JsonOutputProducer::JsonConfigurationBlock.process, objects.LeptonAnalyzer.LeptonAnalyzer.process(), Config.SubProcess.process(), and cmsPerfHarvest.visit().

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

1935  def renameHLTprocessInSequence(self,sequence,proc=None,HLTprocess='HLT'):
1936  if self._options.hltProcess:
1937  proc=self._options.hltProcess
1938  else:
1939  proc=self.process.name_()
1940  if proc==HLTprocess: return
1941  # look up all module in dqm sequence
1942  print "replacing %s process name - sequence %s will use '%s'" % (HLTprocess,sequence, proc)
1943  getattr(self.process,sequence).visit(ConfigBuilder.MassSearchReplaceProcessNameVisitor(HLTprocess,proc,whitelist = ("subSystemFolder",)))
1944  if 'from Configuration.Applications.ConfigBuilder import ConfigBuilder' not in self.additionalCommands:
1945  self.additionalCommands.append('from Configuration.Applications.ConfigBuilder import ConfigBuilder')
1946  self.additionalCommands.append('process.%s.visit(ConfigBuilder.MassSearchReplaceProcessNameVisitor("%s", "%s", whitelist = ("subSystemFolder",)))'% (sequence,HLTprocess, proc))
1947 
1948 
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 1925 of file ConfigBuilder.py.

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

1925  def renameInputTagsInSequence(self,sequence,oldT="rawDataCollector",newT="rawDataRepacker"):
1926  print "Replacing all InputTag %s => %s"%(oldT,newT)
1927  from PhysicsTools.PatAlgos.tools.helpers import massSearchReplaceAnyInputTag
1928  massSearchReplaceAnyInputTag(getattr(self.process,sequence),oldT,newT)
1929  loadMe='from PhysicsTools.PatAlgos.tools.helpers import massSearchReplaceAnyInputTag'
1930  if not loadMe in self.additionalCommands:
1931  self.additionalCommands.append(loadMe)
1932  self.additionalCommands.append('massSearchReplaceAnyInputTag(process.%s,"%s","%s",False,True)'%(sequence,oldT,newT))
1933 
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 1210 of file ConfigBuilder.py.

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

Referenced by ConfigBuilder.ConfigBuilder.PrintAllModules.leave(), ConfigBuilder.ConfigBuilder.prepare_CFWRITER(), ConfigBuilder.ConfigBuilder.prepare_DATAMIX(), ConfigBuilder.ConfigBuilder.prepare_DIGI(), ConfigBuilder.ConfigBuilder.prepare_DIGI2RAW(), ConfigBuilder.ConfigBuilder.prepare_DIGIPREMIX(), ConfigBuilder.ConfigBuilder.prepare_L1(), ConfigBuilder.ConfigBuilder.prepare_L1Reco(), ConfigBuilder.ConfigBuilder.prepare_L1TrackTrigger(), ConfigBuilder.ConfigBuilder.prepare_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().

1210  def scheduleSequence(self,seq,prefix,what='Path'):
1211  if '*' in seq:
1212  #create only one path with all sequences in it
1213  for i,s in enumerate(seq.split('*')):
1214  if i==0:
1215  setattr(self.process,prefix,getattr(cms,what)( getattr(self.process, s) ))
1216  else:
1217  p=getattr(self.process,prefix)
1218  p+=getattr(self.process, s)
1219  self.schedule.append(getattr(self.process,prefix))
1220  return
1221  else:
1222  #create as many path as many sequences
1223  if not '+' in seq:
1224  if self.nextScheduleIsConditional:
1225  self.conditionalPaths.append(prefix)
1226  setattr(self.process,prefix,getattr(cms,what)( getattr(self.process, seq) ))
1227  self.schedule.append(getattr(self.process,prefix))
1228  else:
1229  for i,s in enumerate(seq.split('+')):
1230  sn=prefix+'%d'%(i)
1231  setattr(self.process,sn,getattr(cms,what)( getattr(self.process, s) ))
1232  self.schedule.append(getattr(self.process,sn))
1233  return
1234 
def scheduleSequence(self, seq, prefix, what='Path')
def ConfigBuilder.ConfigBuilder.scheduleSequenceAtEnd (   self,
  seq,
  prefix 
)

Definition at line 1235 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.scheduleSequence().

Referenced by ConfigBuilder.ConfigBuilder.prepare_ENDJOB().

1235  def scheduleSequenceAtEnd(self,seq,prefix):
1236  self.scheduleSequence(seq,prefix,what='EndPath')
1237  return
1238 
def scheduleSequence(self, seq, prefix, what='Path')
def scheduleSequenceAtEnd(self, seq, prefix)

Member Data Documentation

ConfigBuilder.ConfigBuilder._options
private
ConfigBuilder.ConfigBuilder.ALCADefaultCFF

Definition at line 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
ConfigBuilder.ConfigBuilder.DQMSaverCFF

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