CMS 3D CMS Logo

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

Classes

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

Public Member Functions

def __init__ (self, options, process=None, with_output=False, with_input=False)
 
def addCommon (self)
 
def addConditions (self)
 
def addCustomise (self, unsch=0)
 
def addCustomiseCmdLine (self)
 now for a useful command More...
 
def addExtraStream (self, name, stream, workflow='full')
 
def addMaxEvents (self)
 
def addOutput (self)
 
def addSource (self)
 
def addStandardSequences (self)
 
def build_production_info (self, evt_type, evtnumber)
 
def completeInputCommand (self)
 add the corresponding input content More...
 
def define_Configs (self)
 
def doNotInlineEventContent (instance, label="cms.untracked.vstring(process."+theStreamType+"EventContent.outputCommands)")
 event content More...
 
def doNotInlineEventContent (instance, label="process."+streamType+"EventContent.outputCommands")
 
def executeAndRemember (self, command)
 
def expandMapping (self, seqList, mapping, index=None)
 
def filesFromOption (self)
 
def finalizeFastSimHLT (self)
 
def inGeometryKeys (opt)
 
def load (self, includeFile)
 
def loadAndRemember (self, includeFile)
 
def loadDefaultOrSpecifiedCFF (self, sequence, defaultCFF)
 
def prepare (self, doChecking=False)
 
def prepare_ALCA (self, sequence=None, workflow='full')
 
def prepare_ALCAHARVEST (self, sequence=None)
 
def prepare_ALCAOUTPUT (self, sequence=None)
 
def prepare_ALCAPRODUCER (self, sequence=None)
 
def prepare_CFWRITER (self, sequence=None)
 
def prepare_DATAMIX (self, sequence=None)
 
def prepare_DIGI (self, sequence=None)
 
def prepare_DIGI2RAW (self, sequence=None)
 
def prepare_DIGIPREMIX (self, sequence=None)
 
def prepare_DIGIPREMIX_S2 (self, sequence=None)
 
def prepare_DQM (self, sequence='DQMOffline')
 
def prepare_EI (self, sequence=None)
 
def prepare_ENDJOB (self, sequence='endOfProcess')
 
def prepare_FILTER (self, sequence=None)
 
def prepare_GEN (self, sequence=None)
 
def prepare_HARVESTING (self, sequence=None)
 
def prepare_HLT (self, sequence=None)
 
def prepare_L1 (self, sequence=None)
 
def prepare_L1HwVal (self, sequence='L1HwVal')
 
def prepare_L1Reco (self, sequence="L1Reco")
 
def prepare_L1REPACK (self, sequence=None)
 
def prepare_L1TrackTrigger (self, sequence="L1TrackTrigger")
 
def prepare_LHE (self, sequence=None)
 
def prepare_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 796 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare().

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

Definition at line 811 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare().

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

now for a useful command

Definition at line 884 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.executeAndRemember().

Referenced by ConfigBuilder.ConfigBuilder.prepare().

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

Definition at line 1124 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.doNotInlineEventContent(), CMSTestAnalyzer.CMSTestAnalyzer.process(), Filter.Filter.process(), edm::ProductLabels.process, Printer.Printer.process(), 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().

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

Definition at line 362 of file ConfigBuilder.py.

References createfilelist.int.

Referenced by ConfigBuilder.ConfigBuilder.prepare().

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

Definition at line 497 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare().

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

Definition at line 369 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare().

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

Definition at line 670 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare().

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

Definition at line 2072 of file ConfigBuilder.py.

References harvestTrackValidationPlots.str.

Referenced by ConfigBuilder.ConfigBuilder.prepare().

2072  def build_production_info(self, evt_type, evtnumber):
2073  """ Add useful info for the production. """
2074  self.process.configurationMetadata=cms.untracked.PSet\
2075  (version=cms.untracked.string("$Revision: 1.19 $"),
2076  name=cms.untracked.string("Applications"),
2077  annotation=cms.untracked.string(evt_type+ " nevts:"+str(evtnumber))
2078  )
2079 
2080  self.addedObjects.append(("Production Info","configurationMetadata"))
2081 
2082 
def build_production_info(self, evt_type, evtnumber)
def ConfigBuilder.ConfigBuilder.completeInputCommand (   self)

add the corresponding input content

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

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

Definition at line 899 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.loadAndRemember().

899  def define_Configs(self):
900  if len(self.stepMap):
901  self.loadAndRemember('Configuration/StandardSequences/Services_cff')
902  if self._options.particleTable not in defaultOptions.particleTableList:
903  print 'Invalid particle table provided. Options are:'
904  print defaultOptions.particleTable
905  sys.exit(-1)
906  else:
907  if len(self.stepMap):
908  self.loadAndRemember('SimGeneral.HepPDTESSource.'+self._options.particleTable+'_cfi')
909 
910  self.loadAndRemember('FWCore/MessageService/MessageLogger_cfi')
911 
912  self.ALCADefaultCFF="Configuration/StandardSequences/AlCaRecoStreams_cff"
913  self.GENDefaultCFF="Configuration/StandardSequences/Generator_cff"
914  self.SIMDefaultCFF="Configuration/StandardSequences/Sim_cff"
915  self.DIGIDefaultCFF="Configuration/StandardSequences/Digi_cff"
916  self.DIGI2RAWDefaultCFF="Configuration/StandardSequences/DigiToRaw_cff"
917  self.L1EMDefaultCFF='Configuration/StandardSequences/SimL1Emulator_cff'
918  self.L1MENUDefaultCFF="Configuration/StandardSequences/L1TriggerDefaultMenu_cff"
919  self.HLTDefaultCFF="Configuration/StandardSequences/HLTtable_cff"
920  self.RAW2DIGIDefaultCFF="Configuration/StandardSequences/RawToDigi_Data_cff"
921  self.L1RecoDefaultCFF="Configuration/StandardSequences/L1Reco_cff"
922  self.L1TrackTriggerDefaultCFF="Configuration/StandardSequences/L1TrackTrigger_cff"
923  self.RECODefaultCFF="Configuration/StandardSequences/Reconstruction_Data_cff"
924  self.RECOSIMDefaultCFF="Configuration/StandardSequences/RecoSim_cff"
925  self.PATDefaultCFF="Configuration/StandardSequences/PAT_cff"
926  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."+streamType+"EventContent.outputCommands" 
)

Definition at line 662 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.doNotInlineEventContent().

662  def doNotInlineEventContent(instance,label = "process."+streamType+"EventContent.outputCommands"):
663  return label
def doNotInlineEventContent(instance, label="cms.untracked.vstring(process."+theStreamType+"EventContent.outputCommands)")
event content
def ConfigBuilder.ConfigBuilder.executeAndRemember (   self,
  command 
)
helper routine to remember replace statements

Definition at line 324 of file ConfigBuilder.py.

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

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

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

1940  def expandMapping(self,seqList,mapping,index=None):
1941  maxLevel=20
1942  level=0
1943  while '@' in repr(seqList) and level<maxLevel:
1944  level+=1
1945  for specifiedCommand in seqList:
1946  if specifiedCommand.startswith('@'):
1947  location=specifiedCommand[1:]
1948  if not location in mapping:
1949  raise Exception("Impossible to map "+location+" from "+repr(mapping))
1950  mappedTo=mapping[location]
1951  if index!=None:
1952  mappedTo=mappedTo[index]
1953  seqList.remove(specifiedCommand)
1954  seqList.extend(mappedTo.split('+'))
1955  break;
1956  if level==maxLevel:
1957  raise Exception("Could not fully expand "+repr(seqList)+" from "+repr(mapping))
1958 
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 2067 of file ConfigBuilder.py.

2068  self.process.reconstruction = cms.Path(self.process.reconstructionWithFamos)
2069  self.schedule.append(self.process.reconstruction)
2070 
2071 
def ConfigBuilder.ConfigBuilder.inGeometryKeys (   opt)

Definition at line 1064 of file ConfigBuilder.py.

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

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

References ConfigBuilder.ConfigBuilder.loadAndRemember().

Referenced by ConfigBuilder.ConfigBuilder.prepare_ALCA(), ConfigBuilder.ConfigBuilder.prepare_DIGI(), ConfigBuilder.ConfigBuilder.prepare_DIGI2RAW(), ConfigBuilder.ConfigBuilder.prepare_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().

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

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

2083  def prepare(self, doChecking = False):
2084  """ Prepare the configuration string and add missing pieces."""
2085 
2086  self.loadAndRemember(self.EVTCONTDefaultCFF) #load the event contents regardless
2087  self.addMaxEvents()
2088  if self.with_input:
2089  self.addSource()
def loadAndRemember(self, includeFile)
def prepare(self, doChecking=False)
def ConfigBuilder.ConfigBuilder.prepare_ALCA (   self,
  sequence = None,
  workflow = 'full' 
)
Enrich the process with alca streams 

Definition at line 1236 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.addExtraStream(), ConfigBuilder.ConfigBuilder.ALCADefaultCFF, ConfigBuilder.ConfigBuilder.executeAndRemember(), ConfigBuilder.ConfigBuilder.expandMapping(), ConfigBuilder.ConfigBuilder.loadDefaultOrSpecifiedCFF(), CMSTestAnalyzer.CMSTestAnalyzer.process(), Filter.Filter.process(), edm::ProductLabels.process, Printer.Printer.process(), 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().

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

Definition at line 2032 of file ConfigBuilder.py.

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

2032  def prepare_ALCAHARVEST(self, sequence = None):
2033  """ Enrich the process with AlCaHarvesting step """
2034  harvestingConfig = self.loadAndRemember(self.ALCAHARVESTDefaultCFF)
2035  sequence=sequence.split(".")[-1]
2036 
2037  # decide which AlcaHARVESTING paths to use
2038  harvestingList = sequence.split("+")
2039 
2040 
2041 
def loadAndRemember(self, includeFile)
def prepare_ALCAHARVEST(self, sequence=None)
def ConfigBuilder.ConfigBuilder.prepare_ALCAOUTPUT (   self,
  sequence = None 
)

Definition at line 1233 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.prepare_ALCA().

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

Definition at line 1230 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.prepare_ALCA().

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

Definition at line 1458 of file ConfigBuilder.py.

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

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

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

1464  def prepare_DATAMIX(self, sequence = None):
1465  """ Enrich the schedule with the digitisation step"""
1466  self.loadAndRemember(self.DATAMIXDefaultCFF)
1467  self.scheduleSequence('pdatamix','datamixing_step')
1468 
1469  if self._options.pileup_input:
1470  theFiles=''
1471  if self._options.pileup_input.startswith('dbs:') or self._options.pileup_input.startswith('das:'):
1472  theFiles=filesFromDASQuery('file dataset = %s'%(self._options.pileup_input[4:],),self._options.pileup_dasoption)[0]
1473  elif self._options.pileup_input.startswith("filelist:"):
1474  theFiles= (filesFromList(self._options.pileup_input[9:]))[0]
1475  else:
1476  theFiles=self._options.pileup_input.split(',')
1477  #print theFiles
1478  self.executeAndRemember( "process.mixData.input.fileNames = cms.untracked.vstring(%s)"%( theFiles ) )
1479 
1480  return
1481 
def prepare_DATAMIX(self, sequence=None)
def filesFromDASQuery(query, option="", s=None)
def scheduleSequence(self, seq, prefix, what='Path')
def loadAndRemember(self, includeFile)
def filesFromList(fileName, s=None)
def executeAndRemember(self, command)
def ConfigBuilder.ConfigBuilder.prepare_DIGI (   self,
  sequence = None 
)
Enrich the schedule with the digitisation step

Definition at line 1409 of file ConfigBuilder.py.

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

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

Definition at line 1482 of file ConfigBuilder.py.

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

1482  def prepare_DIGI2RAW(self, sequence = None):
1483  self.loadDefaultOrSpecifiedCFF(sequence,self.DIGI2RAWDefaultCFF)
1484  self.scheduleSequence(sequence.split('.')[-1],'digi2raw_step')
1485  if "DIGIPREMIX" in self.stepMap.keys():
1486  self.executeAndRemember("process.esDigiToRaw.Label = cms.string('mix')") ##terrible hack - bypass zero suppression
1487  self.executeAndRemember("process.SiStripDigiToRaw.FedReadoutMode = cms.string('PREMIX_RAW')") ##special readout mode for StripTracker
1488 
1489  return
1490 
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 1429 of file ConfigBuilder.py.

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

1429  def prepare_DIGIPREMIX(self, sequence = None):
1430  """ Enrich the schedule with the digitisation step"""
1431  self.loadDefaultOrSpecifiedCFF(sequence,self.DIGIDefaultCFF)
1432 
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 1443 of file ConfigBuilder.py.

1443  def prepare_DIGIPREMIX_S2(self, sequence = None):
1444  """ 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 1959 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.

1959  def prepare_DQM(self, sequence = 'DQMOffline'):
1960  # this one needs replacement
1961 
1962  self.loadDefaultOrSpecifiedCFF(sequence,self.DQMOFFLINEDefaultCFF)
1963  sequenceList=sequence.split('.')[-1].split('+')
1964  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 1717 of file ConfigBuilder.py.

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

Definition at line 2062 of file ConfigBuilder.py.

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

2062  def prepare_ENDJOB(self, sequence = 'endOfProcess'):
2063  self.loadDefaultOrSpecifiedCFF(sequence,self.ENDJOBDefaultCFF)
2064  self.scheduleSequenceAtEnd(sequence.split('.')[-1],'endjob_step')
2065  return
2066 
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 1614 of file ConfigBuilder.py.

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

Definition at line 1311 of file ConfigBuilder.py.

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

Definition at line 1996 of file ConfigBuilder.py.

1996  def prepare_HARVESTING(self, sequence = None):
1997  """ Enrich the process with harvesting step """
1998  self.DQMSaverCFF='Configuration/StandardSequences/DQMSaver'+self._options.harvesting+'_cff'
1999  self.loadAndRemember(self.DQMSaverCFF)
2000 
2001  harvestingConfig = self.loadDefaultOrSpecifiedCFF(sequence,self.HARVESTINGDefaultCFF)
2002  sequence = sequence.split('.')[-1]
2003 
2004  # decide which HARVESTING paths to use
2005  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 1516 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().

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

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

1496  def prepare_L1(self, sequence = None):
1497  """ Enrich the schedule with the L1 simulation step"""
1498  assert(sequence == None)
1499  self.loadAndRemember(self.L1EMDefaultCFF)
1500  self.scheduleSequence('SimL1Emulator','L1simulation_step')
1501  return
1502 
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 1595 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.loadDefaultOrSpecifiedCFF().

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

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

1602  def prepare_L1Reco(self, sequence = "L1Reco"):
1603  ''' Enrich the schedule with L1 reconstruction '''
1604  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 1503 of file ConfigBuilder.py.

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

Definition at line 1608 of file ConfigBuilder.py.

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

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

Definition at line 1294 of file ConfigBuilder.py.

References createfilelist.int, CMSTestAnalyzer.CMSTestAnalyzer.process(), Filter.Filter.process(), edm::ProductLabels.process, Printer.Printer.process(), 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().

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

Definition at line 1702 of file ConfigBuilder.py.

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

1702  def prepare_NANO(self, sequence = "nanoAOD"):
1703  ''' Enrich the schedule with NANO '''
1704  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 1667 of file ConfigBuilder.py.

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

1667  def prepare_PAT(self, sequence = "miniAOD"):
1668  ''' Enrich the schedule with PAT '''
1669  self.prepare_PATFILTER(self)
1670  self.loadDefaultOrSpecifiedCFF(sequence,self.PATDefaultCFF)
1671  self.labelsToAssociate.append('patTask')
1672  if not self._options.runUnscheduled:
1673  raise Exception("MiniAOD production can only run in unscheduled mode, please run cmsDriver with --runUnscheduled")
1674  if self._options.isData:
1675  self._options.customisation_file_unsch.insert(0,"PhysicsTools/PatAlgos/slimming/miniAOD_tools.miniAOD_customizeAllData")
1676  else:
1677  if self._options.fast:
1678  self._options.customisation_file_unsch.insert(0,"PhysicsTools/PatAlgos/slimming/miniAOD_tools.miniAOD_customizeAllMCFastSim")
1679  else:
1680  self._options.customisation_file_unsch.insert(0,"PhysicsTools/PatAlgos/slimming/miniAOD_tools.miniAOD_customizeAllMC")
1681 
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 1589 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().

1589  def prepare_PATFILTER(self, sequence=None):
1590  self.loadAndRemember("PhysicsTools/PatAlgos/slimming/metFilterPaths_cff")
1591  from PhysicsTools.PatAlgos.slimming.metFilterPaths_cff import allMetFilterPaths
1592  for filt in allMetFilterPaths:
1593  self.schedule.append(getattr(self.process,'Flag_'+filt))
1594 
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 1692 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.loadDefaultOrSpecifiedCFF().

1692  def prepare_PATGEN(self, sequence = "miniGEN"):
1693  ''' Enrich the schedule with PATGEN '''
1694  self.loadDefaultOrSpecifiedCFF(sequence,self.PATGENDefaultCFF) #this is unscheduled
1695  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 1779 of file ConfigBuilder.py.

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

1779  def prepare_POSTRECO(self, sequence = None):
1780  """ Enrich the schedule with the postreco step """
1781  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 1582 of file ConfigBuilder.py.

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

Referenced by ConfigBuilder.ConfigBuilder.prepare_RAW2RECO().

1582  def prepare_RAW2DIGI(self, sequence = "RawToDigi"):
1583  self.loadDefaultOrSpecifiedCFF(sequence,self.RAW2DIGIDefaultCFF)
1584  self.scheduleSequence(sequence,'raw2digi_step')
1585  # if self._options.isRepacked:
1586  #self.renameInputTagsInSequence(sequence)
1587  return
1588 
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 1571 of file ConfigBuilder.py.

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

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

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

Referenced by ConfigBuilder.ConfigBuilder.prepare_RAW2RECO().

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

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

1658  def prepare_RECOBEFMIX(self, sequence = "reconstruction"):
1659  ''' Enrich the schedule with the part of reconstruction that is done before mixing in FastSim'''
1660  if not self._options.fast:
1661  print "ERROR: this step is only implemented for FastSim"
1662  sys.exit()
1663  self.loadDefaultOrSpecifiedCFF(self.RECOBEFMIXDefaultSeq,self.RECOBEFMIXDefaultCFF)
1664  self.scheduleSequence(sequence.split('.')[-1],'reconstruction_befmix_step')
1665  return
1666 
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 1652 of file ConfigBuilder.py.

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

1652  def prepare_RECOSIM(self, sequence = "recosim"):
1653  ''' Enrich the schedule with reconstruction '''
1654  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 1491 of file ConfigBuilder.py.

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

1491  def prepare_REPACK(self, sequence = None):
1492  self.loadDefaultOrSpecifiedCFF(sequence,self.REPACKDefaultCFF)
1493  self.scheduleSequence(sequence.split('.')[-1],'digi2repack_step')
1494  return
1495 
def loadDefaultOrSpecifiedCFF(self, sequence, defaultCFF)
def prepare_REPACK(self, sequence=None)
def scheduleSequence(self, seq, prefix, what='Path')
def ConfigBuilder.ConfigBuilder.prepare_SIM (   self,
  sequence = None 
)
Enrich the schedule with the summary of the filter step 
Enrich the schedule with the simulation step

Definition at line 1393 of file ConfigBuilder.py.

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

Definition at line 1729 of file ConfigBuilder.py.

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

1729  def prepare_SKIM(self, sequence = "all"):
1730  ''' Enrich the schedule with skimming fragments'''
1731  skimConfig = self.loadDefaultOrSpecifiedCFF(sequence,self.SKIMDefaultCFF)
1732  sequence = sequence.split('.')[-1]
1733 
1734  skimlist=sequence.split('+')
1735  ## 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 1773 of file ConfigBuilder.py.

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

1773  def prepare_USER(self, sequence = None):
1774  ''' Enrich the schedule with a user defined sequence '''
1775  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 1786 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.

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

1926  def renameHLTprocessInSequence(self,sequence,proc=None,HLTprocess='HLT'):
1927  if self._options.hltProcess:
1928  proc=self._options.hltProcess
1929  else:
1930  proc=self.process.name_()
1931  if proc==HLTprocess: return
1932  # look up all module in dqm sequence
1933  print "replacing %s process name - sequence %s will use '%s'" % (HLTprocess,sequence, proc)
1934  getattr(self.process,sequence).visit(ConfigBuilder.MassSearchReplaceProcessNameVisitor(HLTprocess,proc,whitelist = ("subSystemFolder",)))
1935  if 'from Configuration.Applications.ConfigBuilder import ConfigBuilder' not in self.additionalCommands:
1936  self.additionalCommands.append('from Configuration.Applications.ConfigBuilder import ConfigBuilder')
1937  self.additionalCommands.append('process.%s.visit(ConfigBuilder.MassSearchReplaceProcessNameVisitor("%s", "%s", whitelist = ("subSystemFolder",)))'% (sequence,HLTprocess, proc))
1938 
1939 
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 1916 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().

1916  def renameInputTagsInSequence(self,sequence,oldT="rawDataCollector",newT="rawDataRepacker"):
1917  print "Replacing all InputTag %s => %s"%(oldT,newT)
1918  from PhysicsTools.PatAlgos.tools.helpers import massSearchReplaceAnyInputTag
1919  massSearchReplaceAnyInputTag(getattr(self.process,sequence),oldT,newT)
1920  loadMe='from PhysicsTools.PatAlgos.tools.helpers import massSearchReplaceAnyInputTag'
1921  if not loadMe in self.additionalCommands:
1922  self.additionalCommands.append(loadMe)
1923  self.additionalCommands.append('massSearchReplaceAnyInputTag(process.%s,"%s","%s",False,True)'%(sequence,oldT,newT))
1924 
def massSearchReplaceAnyInputTag(sequence, oldInputTag, newInputTag, verbose=False, moduleLabelOnly=False, skipLabelTest=False)
Definition: MassReplace.py:72
def renameInputTagsInSequence(self, sequence, oldT="rawDataCollector", newT="rawDataRepacker")
def ConfigBuilder.ConfigBuilder.scheduleSequence (   self,
  seq,
  prefix,
  what = 'Path' 
)

Definition at line 1201 of file ConfigBuilder.py.

References CMSTestAnalyzer.CMSTestAnalyzer.process(), Filter.Filter.process(), edm::ProductLabels.process, Printer.Printer.process(), 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().

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

Definition at line 1226 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.scheduleSequence().

Referenced by ConfigBuilder.ConfigBuilder.prepare_ENDJOB().

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

Member Data Documentation

ConfigBuilder.ConfigBuilder._options
private
ConfigBuilder.ConfigBuilder.ALCADefaultCFF

Definition at line 912 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare_ALCA().

ConfigBuilder.ConfigBuilder.DIGI2RAWDefaultCFF

Definition at line 916 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare_DIGI2RAW().

ConfigBuilder.ConfigBuilder.DIGIDefaultCFF
ConfigBuilder.ConfigBuilder.DQMSaverCFF

Definition at line 1998 of file ConfigBuilder.py.

ConfigBuilder.ConfigBuilder.GENDefaultCFF

Definition at line 913 of file ConfigBuilder.py.

ConfigBuilder.ConfigBuilder.HLTDefaultCFF

Definition at line 919 of file ConfigBuilder.py.

ConfigBuilder.ConfigBuilder.L1EMDefaultCFF

Definition at line 917 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare_L1().

ConfigBuilder.ConfigBuilder.L1MENUDefaultCFF

Definition at line 918 of file ConfigBuilder.py.

ConfigBuilder.ConfigBuilder.L1RecoDefaultCFF

Definition at line 921 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare_L1Reco().

ConfigBuilder.ConfigBuilder.L1TrackTriggerDefaultCFF
ConfigBuilder.ConfigBuilder.NANODefaultCFF

Definition at line 926 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare_NANO().

ConfigBuilder.ConfigBuilder.PATDefaultCFF

Definition at line 925 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare_PAT().

ConfigBuilder.ConfigBuilder.RAW2DIGIDefaultCFF

Definition at line 920 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare_RAW2DIGI().

ConfigBuilder.ConfigBuilder.RECODefaultCFF
ConfigBuilder.ConfigBuilder.RECOSIMDefaultCFF

Definition at line 924 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare_RECOSIM().

ConfigBuilder.ConfigBuilder.SIMDefaultCFF

Definition at line 914 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.inGeometryKeys().