CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Classes | Public Member Functions | Public Attributes | Static Public Attributes | Private Attributes
ConfigBuilder.ConfigBuilder Class Reference
Inheritance diagram for ConfigBuilder.ConfigBuilder:

Classes

class  MassSearchReplaceProcessNameVisitor
 
class  PrintAllModules
 print it in the configuration More...
 

Public Member Functions

def __init__
 
def __init__
 
def addCommon
 
def addCommon
 
def addConditions
 
def addConditions
 
def addCustomise
 
def addCustomise
 
def addExtraStream
 
def addExtraStream
 
def addMaxEvents
 
def addMaxEvents
 
def addOutput
 
def addOutput
 
def addSource
 
def addSource
 
def addStandardSequences
 
def addStandardSequences
 
def anyOf
 
def build_production_info
 
def build_production_info
 
def completeInputCommand
 
def completeInputCommand
 
def define_Configs
 
def define_Configs
 
def doNotInlineEventContent
 
def doNotInlineEventContent
 
def doNotInlineEventContent
 
def doNotInlineEventContent
 
def executeAndRemember
 
def executeAndRemember
 
def expandMapping
 
def expandMapping
 
def filesFromOption
 
def filesFromOption
 
def finalizeFastSimHLT
 
def finalizeFastSimHLT
 
def inGeometryKeys
 
def inGeometryKeys
 
def load
 
def load
 
def loadAndRemember
 
def loadAndRemember
 
def loadDefaultOrSpecifiedCFF
 
def loadDefaultOrSpecifiedCFF
 
def prepare
 
def prepare
 
def prepare_ALCA
 
def prepare_ALCA
 
def prepare_ALCAHARVEST
 
def prepare_ALCAHARVEST
 
def prepare_ALCAOUTPUT
 
def prepare_ALCAOUTPUT
 
def prepare_ALCAPRODUCER
 
def prepare_ALCAPRODUCER
 
def prepare_CFWRITER
 
def prepare_CFWRITER
 
def prepare_DATAMIX
 
def prepare_DATAMIX
 
def prepare_DIGI
 
def prepare_DIGI
 
def prepare_DIGI2RAW
 
def prepare_DIGI2RAW
 
def prepare_DIGIPREMIX
 
def prepare_DIGIPREMIX
 
def prepare_DIGIPREMIX_S2
 
def prepare_DIGIPREMIX_S2
 
def prepare_DQM
 
def prepare_DQM
 
def prepare_EI
 
def prepare_EI
 
def prepare_ENDJOB
 
def prepare_ENDJOB
 
def prepare_FASTSIM
 
def prepare_FILTER
 
def prepare_FILTER
 
def prepare_GEN
 
def prepare_GEN
 
def prepare_HARVESTING
 
def prepare_HARVESTING
 
def prepare_HLT
 
def prepare_HLT
 
def prepare_L1
 
def prepare_L1
 
def prepare_L1HwVal
 
def prepare_L1HwVal
 
def prepare_L1Reco
 
def prepare_L1Reco
 
def prepare_L1REPACK
 
def prepare_L1REPACK
 
def prepare_L1TrackTrigger
 
def prepare_L1TrackTrigger
 
def prepare_LHE
 
def prepare_LHE
 
def prepare_PAT
 
def prepare_PAT
 
def prepare_PATFILTER
 
def prepare_POSTRECO
 
def prepare_POSTRECO
 
def prepare_RAW2DIGI
 
def prepare_RAW2DIGI
 
def prepare_RAW2RECO
 
def prepare_RAW2RECO
 
def prepare_RECO
 put the filtering path in the schedule More...
 
def prepare_RECO
 put the filtering path in the schedule More...
 
def prepare_RECOBEFMIX
 
def prepare_REPACK
 
def prepare_REPACK
 
def prepare_SIM
 
def prepare_SIM
 
def prepare_SKIM
 
def prepare_SKIM
 
def prepare_USER
 
def prepare_USER
 
def prepare_VALIDATION
 
def prepare_VALIDATION
 
def profileOptions
 
def profileOptions
 
def renameHLTprocessInSequence
 
def renameHLTprocessInSequence
 
def renameInputTagsInSequence
 
def renameInputTagsInSequence
 
def scheduleSequence
 
def scheduleSequence
 
def scheduleSequenceAtEnd
 
def scheduleSequenceAtEnd
 

Public Attributes

 ALCADefaultCFF
 
 DIGI2RAWDefaultCFF
 
 DIGIDefaultCFF
 
 EDMtoMECFF
 
 GENDefaultCFF
 
 HLTDefaultCFF
 
 L1EMDefaultCFF
 
 L1MENUDefaultCFF
 
 L1RecoDefaultCFF
 
 L1TrackTriggerDefaultCFF
 
 PATDefaultCFF
 
 RAW2DIGIDefaultCFF
 
 RECODefaultCFF
 
 SIMDefaultCFF
 

Static Public Attributes

 addAlCaSelects = False
 
list afterHLT = self.schedule[self.schedule.index(self.process.HLTSchedule)+1:]
 
tuple alcastream = getattr(alcaConfig,name)
 
list allFcn = []
 
list available = []
 
string beamspotName = 'process.%sVtxSmearingParameters'
 
string beamspotType = 'Flat'
 
list beforeHLT = self.schedule[:self.schedule.index(self.process.HLTSchedule)]
 
list cffToBeLoaded = VtxSmeared[self._options.beamspot]
 
tuple com = string.lstrip(com)
 
tuple combined_mapping = copy.deepcopy( autoDQM )
 
tuple command = command.strip()
 
string CppType = 'PoolOutputModule'
 
dictionary custMap = {}
 
tuple custMap = DictTypes.SortedKeysDict()
 
tuple customiseFile = re.sub(r'\.pyc$', '.py', package.__file__)
 
 defaultFileName = self._options.outfile_name
 
tuple defaultFileName = self._options.outfile_name.replace('.root','_in'+theTier+'.root')
 
tuple fileName = opt.split('.')
 
tuple filterConfig = self.load(sequence.split('.')[0])
 load the relevant part More...
 
tuple filterSeq = sequence.split('.')
 
string final_snippet = '\n'
 
 GEN_mixing = False
 
list generatorModule = sys.modules[loadFragment]
 
 genModules = generatorModule.__dict__
 
tuple genSeqName = sequence.split('.')
 
tuple harvestingConfig = self.loadDefaultOrSpecifiedCFF(sequence,self.HARVESTINGDefaultCFF)
 
tuple harvestingList = sequence.split("+")
 
tuple harvestingstream = getattr(harvestingConfig,name)
 
tuple io = open(self._options.io,'w')
 
dictionary ioJson = {}
 
tuple lastStep = getattr(harvestingConfig,"ALCAHARVESTDQMSaveAndMetadataWriter")
 
 loadFailure = True
 
tuple loadFragment = self._options.evt_type.replace('.py','',)
 
string loadFragment = 'Configuration.Generator.'
 
string message = pileupSpec+' is not a know mixing scenario:\n available are: '
 
dictionary mixingDict = {'file':pileupSpec}
 
tuple mixingDict = copy.copy(Mixing[pileupSpec])
 
tuple nl = self.additionalOutputs.keys()
 
tuple outDefDictStr = outDefDict.__str__()
 
tuple outList = eval(self._options.outputDefinition)
 
tuple output
 
list output = self.additionalOutputs[name]
 
tuple outputModule = getattr(self.process,theModuleLabel)
 
string outputModuleCfgCode = ""
 adding standard sequences might change the inputEventContent option and therefore needs to be finalized after More...
 
tuple outputModuleCfgCode = self.addOutput()
 
string outputModuleName = streamType+'output'
 
list package = sys.modules[packageName]
 
tuple packageName = f.replace(".py","")
 
tuple path = getattr(self.process,theModuleLabel+'_step')
 
string pathName = 'dqmoffline_step'
 
list pathNames = ['process.'+p.label_() for p in beforeHLT]
 
tuple pfs = getattr(self.process,self.productionFilterSequence)
 
tuple pileupSpec = self._options.pileup.split(',')
 
list pileupSpec = pileupSpec[4:]
 
tuple rest = opt.split('.')
 
string result = "process.schedule = cms.Schedule("
 
string sequence = 'EIsequence'
 
tuple sequence = sequence.split('.')
 
tuple sequenceList = list(set(sequenceList))
 
tuple shortName = name.replace('ALCARECOStream','')
 
tuple shortname = skim.replace('SKIMStream','')
 
string simGeometry = ''
 
list simGeometry = geoms[0]
 
tuple skimstream = getattr(skimConfig,skim)
 
tuple skimstreamDQM
 
tuple specialization = defineMixing(mixingDict)
 
list stepList = [re.sub(r'^prepare_', '', methodName) for methodName in ConfigBuilder.__dict__ if methodName.startswith('prepare_')]
 
list stepName = stepParts[0]
 add the corresponding input content More...
 
tuple stepParts = step.split(":")
 
list stepSpec = self.stepMap[stepName]
 
tuple streamTypes = self._options.eventcontent.split(',')
 ends the –output options model More...
 
tuple theEventContent = cms.PSet(outputCommands = cms.untracked.vstring('keep *'))
 
tuple theExtraOutputCommands = anyOf(['o','oC','outputCommands'],outDefDict,'')
 
tuple theFileName = self._options.dirout+anyOf(['fn','fileName'],outDefDict,defaultFileName)
 
 theFileName = self._options.outfile_name
 
tuple theFilterName = anyOf(['f','ftN','filterName'],outDefDict,'')
 
string theFilterName = 'StreamALCACombined'
 
 theFilterName = self._options.filtername
 
tuple theModuleLabel = anyOf(['l','mL','moduleLabel'],outDefDict,'')
 
 theModuleLabel = name
 
tuple theObject = getattr(generatorModule,name)
 
tuple theSelectEvent = anyOf(['s','sE','selectEvents'],outDefDict,'')
 
tuple theStreamType = anyOf(['e','ec','eventContent','streamType'],outDefDict,theTier)
 event content More...
 
tuple theTier = anyOf(['t','tier','dataTier'],outDefDict)
 
tuple tiers = self._options.datatier.split(',')
 
tuple tmpOut = cms.EndPath(output)
 
list tryNames
 

Private Attributes

 _options
 

Detailed Description

The main building routines 

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

Referenced by ConfigBuilder.ConfigBuilder.__init__().

177  def __init__(self, options, process = None, with_output = False, with_input = False ):
178  """options taken from old cmsDriver and optparse """
179 
180  options.outfile_name = options.dirout+options.fileout
182  self._options = options
183 
184  if self._options.isData and options.isMC:
185  raise Exception("ERROR: You may specify only --data or --mc, not both")
186  #if not self._options.conditions:
187  # raise Exception("ERROR: No conditions given!\nPlease specify conditions. E.g. via --conditions=IDEAL_30X::All")
def ConfigBuilder.ConfigBuilder.__init__ (   self,
  options,
  process = None,
  with_output = False,
  with_input = False 
)
options taken from old cmsDriver and optparse 

Definition at line 165 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.__init__(), ConfigBuilder.ConfigBuilder._options, ConfigBuilder.ConfigBuilder.define_Configs(), list(), CMSTestAnalyzer.CMSTestAnalyzer.process(), Printer.Printer.process(), DTTTrigProd.DTTTrigProd.process, HcalHitRelabeller.process(), SimpleTreeAnalyzer.SimpleTreeAnalyzer.process(), Histogrammer.Histogrammer.process(), helper::NullPostProcessor< OutputCollection, EdmFilter >.process(), DTValidSummary.DTValidSummary.process, helper::NullPostProcessor< reco::CandidateCollection, edm::EDFilter >.process(), helper::NullPostProcessor< typename::helper::SelectedOutputCollectionTrait< reco::TrackCollection >::type, EdmFilter >.process(), NullPostProcessor< OutputCollection, edm::EDFilter >.process(), EDFilter<>.process(), NullPostProcessor< OutputCollection >.process(), DTDqm.DTDqm.process, NullPostProcessor< reco::CandidateCollection >.process(), NullPostProcessor< OutputCollection, EdmFilter >.process(), DTDQMMerge.DTDQMMerge.process, SimpleJetAnalyzer.SimpleJetAnalyzer.process(), SimpleTreeProducer.SimpleTreeProducer.process(), DTAnalysisResiduals.DTAnalysisResiduals.process, DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.process, DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.process, tfwliteselectortest::ThingsWorker.process(), DTDQMHarvesting.DTDQMHarvesting.process, DTNoiseCalibration.DTNoiseCalibration.process, DTResidualCalibration.DTResidualCalibration.process, DTTTrigValid.DTTTrigValid.process, DTDQMValidation.DTDQMValidation.process, clangcms::CatchAll.process(), core.Analyzer.Analyzer.process(), DummyUpdator.process(), CSCTFDTReceiver.process(), EcalFenixTcpsFgvbEB.process(), tfwliteselectortest::ThingsTSelector.process(), gen.LHEAnalyzer.LHEAnalyzer.process(), EcalFenixBypassLin.process(), EcalFenixPeakFinder.process(), MetTreeProducer.MetTreeProducer.process(), EcalFenixMaxof2.process(), CSCTFMonitorInterface.process(), TTULogic.process(), CSCMonitorInterface.process(), SingleTrajectoryUpdator.process(), examples::TrackAnalysisAlgorithm.process(), RBCLogic.process(), TTUWedgeORLogic.process(), EcalFenixEtStrip.process(), RBCPatternLogic.process(), TTUSectorORLogic.process(), PFPileUpAlgo.process(), EcalFenixTcpFormat.process(), npstat::AbsVisitor< Input, unsigned long >.process(), KalmanAlignmentUpdator.process(), __class__Worker.process(), HcalCableMapper.process(), npstat::AbsVisitor< Input, Result >.process(), EcalFenixAmplitudeFilter.process(), EcalFenixStripFormatEE.process(), DTT0DBValidation.DTT0DBValidation.process, BTagDifferentialPlot.process(), npstat::AbsArrayProjector< Input, Result >.process(), DTVDriftSegmentWriter.DTVDriftSegmentWriter.process, EcalFenixStripFormatEB.process(), DTVDriftMeanTimerWriter.DTVDriftMeanTimerWriter.process, RBCTestLogic.process(), TTUPointingLogic.process(), MetAnalyzer.MetAnalyzer.process(), EcalFenixEtTot.process(), core.TriggerBitFilter.TriggerBitFilter.process(), HcalSimpleReconstructor.process(), ora::IRelationalMapping.process(), TTUTwoORLogic.process(), DTTTrigResidualCorr.DTTTrigResidualCorr.process, EcalFenixStripFgvbEE.process(), EcalFenixTcpFgvbEE.process(), TTUTrackingAlg.process(), RBCChamberORLogic.process(), DTTTrigCorrFirst.DTTTrigCorrFirst.process, gen.HiggsDecayModeAnalyzer.HiggsDecayModeAnalyzer.process(), EcalFenixFgvbEB.process(), L1GctEmLeafCard.process(), L1GctNullJetFinder.process(), edm::ConsumesInfo.process(), EcalFenixLinearizer.process(), L1GctSimpleJetFinder.process(), SiStripClusterToDigiProducer.process(), TriggerAnalyzer.TriggerAnalyzer.process(), L1GctHardwareJetFinder.process(), RPCWheel.process(), gen.GenHeavyFlavourAnalyzer.GenHeavyFlavourAnalyzer.process(), DTTTrigTimeBoxesWriter.DTTTrigTimeBoxesWriter.process, L1GctJetFinalStage.process(), TTUConfigurator.process(), L1GctProcessor.process(), gen.PDFWeightsAnalyzer.PDFWeightsAnalyzer.process(), L1GctGlobalHfSumAlgos.process(), PFMETBenchmark.process(), edm::InputTag.process(), npstat::VisitCounter< Input >.process(), L1GctElectronFinalSort.process(), core.EventSelector.EventSelector.process(), PFJetBenchmark.process(), core.JSONAnalyzer.JSONAnalyzer.process(), core.TriggerBitAnalyzer.TriggerBitAnalyzer.process(), PFTauElecRejectionBenchmark.process(), ora::PrimitiveMapping.process(), EgammaHLTPixelMatchElectronAlgo.process(), ZMuMuRochCorAnalyzer.ZMuMuRochCorAnalyzer.process(), L1Comparator.process(), L1GctWheelEnergyFpga.process(), L1GctWheelJetFpga.process(), core.SkimAnalyzerCount.SkimAnalyzerCount.process(), analyzer.Analyzer.process(), AlphaTAnalyzer.AlphaTAnalyzer.process(), cscdqm::HWStandbyType.process, ora::BlobMapping.process(), L1GctElectronSorter.process(), L1GctGlobalEnergyAlgos.process(), JetAnalyzer.JetAnalyzer.process(), TFWLiteSelectorBasic.process(), L1GctTdrJetFinder.process(), fwlite::internal::DataKey.process(), KDTreeLinkerBase.process(), L1GctJetLeafCard.process(), DTTFFEDReader.process(), L1GlobalCaloTrigger.process(), TFWLiteSelector< ThingsWorker >.process(), TFWLiteSelector< TWorker >.process(), TFWLiteSelector< TrackAnalysisAlgorithm >.process(), TFWLiteSelector< __class__Worker >.process(), edm::EDConsumerBase::Labels.process, EcalFenixTcp.process(), ora::OraReferenceMapping.process(), SeedClusterRemover.process(), HLTTrackClusterRemoverNew.process(), objects.JetAnalyzer.JetAnalyzer.process(), TestOutliers.process, DiLeptonAnalyzer.DiLeptonAnalyzer.process(), objects.VertexAnalyzer.VertexAnalyzer.process(), HITrackClusterRemover.process(), HTTP.RequestManager.process(), GenLumiInfoProduct::ProcessInfo.process(), ora::UniqueReferenceMapping.process(), core.PileUpAnalyzer.PileUpAnalyzer.process(), EcalFenixStrip.process(), ora::OraPtrMapping.process(), lhef::LHERunInfo::Process.process(), ora::NamedRefMapping.process(), CaloTowersCreationAlgo.process(), objects.TauAnalyzer.TauAnalyzer.process(), ora::ArrayMapping.process(), core.AutoFillTreeProducer.AutoFillTreeProducer.process(), EgammaHLTValidationUtils.EgammaDQMModuleMaker.process, ora::CArrayMapping.process(), L1GctJetFinderBase.process(), ora::ObjectMapping.process(), ora::EmptyMapping.process(), Config.Process.process, looper.Looper.process(), edm::SubProcess.process(), gen.GeneratorAnalyzer.GeneratorAnalyzer.process(), objects.PhotonAnalyzer.PhotonAnalyzer.process(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.process(), edm::ProductHolderIndexHelper::Item.process(), objects.LeptonAnalyzer.LeptonAnalyzer.process(), Config.Process.schedule, and split.

166  def __init__(self, options, process = None, with_output = False, with_input = False ):
167  """options taken from old cmsDriver and optparse """
168 
169  options.outfile_name = options.dirout+options.fileout
170 
171  self._options = options
172 
173  if self._options.isData and options.isMC:
174  raise Exception("ERROR: You may specify only --data or --mc, not both")
175  #if not self._options.conditions:
176  # raise Exception("ERROR: No conditions given!\nPlease specify conditions. E.g. via --conditions=IDEAL_30X::All")

Member Function Documentation

def ConfigBuilder.ConfigBuilder.addCommon (   self)

Definition at line 304 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.addCommon(), and ConfigBuilder.ConfigBuilder.profileOptions().

305  def addCommon(self):
306  if 'HARVESTING' in self.stepMap.keys() or 'ALCAHARVEST' in self.stepMap.keys():
307  self.process.options = cms.untracked.PSet( Rethrow = cms.untracked.vstring('ProductNotFound'),fileMode = cms.untracked.string('FULLMERGE'))
308  else:
309  self.process.options = cms.untracked.PSet( )
310 
311  if self._options.runUnscheduled:
312  self.process.options.allowUnscheduled=cms.untracked.bool(True)
313 
314  self.addedObjects.append(("","options"))
315 
316  if self._options.lazy_download:
317  self.process.AdaptorConfig = cms.Service("AdaptorConfig",
318  stats = cms.untracked.bool(True),
319  enable = cms.untracked.bool(True),
320  cacheHint = cms.untracked.string("lazy-download"),
321  readHint = cms.untracked.string("read-ahead-buffered")
322  )
323  self.addedObjects.append(("Setup lazy download","AdaptorConfig"))
324 
325  #self.process.cmsDriverCommand = cms.untracked.PSet( command=cms.untracked.string('cmsDriver.py '+self._options.arguments) )
326  #self.addedObjects.append(("what cmsDriver command was used","cmsDriverCommand"))
327 
328  if self._options.profile:
329  (start, interval, eventFormat, jobFormat)=self.profileOptions()
330  self.process.IgProfService = cms.Service("IgProfService",
331  reportFirstEvent = cms.untracked.int32(start),
332  reportEventInterval = cms.untracked.int32(interval),
333  reportToFileAtPostEvent = cms.untracked.string("| gzip -c > %s"%(eventFormat)),
334  reportToFileAtPostEndJob = cms.untracked.string("| gzip -c > %s"%(jobFormat)))
335  self.addedObjects.append(("Setup IGProf Service for profiling","IgProfService"))
def ConfigBuilder.ConfigBuilder.addCommon (   self)

Definition at line 321 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.profileOptions().

Referenced by ConfigBuilder.ConfigBuilder.addCommon(), and ConfigBuilder.ConfigBuilder.prepare().

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

Definition at line 753 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.addConditions().

754  def addConditions(self):
"""Add conditions to the process"""
def ConfigBuilder.ConfigBuilder.addConditions (   self)
Add conditions to the process

Definition at line 782 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.addConditions(), and ConfigBuilder.ConfigBuilder.prepare().

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

Definition at line 781 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.addCustomise().

782  def addCustomise(self,unsch=0):
783  """Include the customise code """
def ConfigBuilder.ConfigBuilder.addCustomise (   self,
  unsch = 0 
)
Include the customise code 

Definition at line 810 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.addCustomise(), and ConfigBuilder.ConfigBuilder.prepare().

811  def addCustomise(self,unsch=0):
812  """Include the customise code """
def ConfigBuilder.ConfigBuilder.addExtraStream (   self,
  name,
  stream,
  workflow = 'full' 
)

Definition at line 1112 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.addExtraStream(), ConfigBuilder.ConfigBuilder.doNotInlineEventContent(), CMSTestAnalyzer.CMSTestAnalyzer.process(), Printer.Printer.process(), DTTTrigProd.DTTTrigProd.process, HcalHitRelabeller.process(), SimpleTreeAnalyzer.SimpleTreeAnalyzer.process(), Histogrammer.Histogrammer.process(), helper::NullPostProcessor< reco::CandidateCollection, edm::EDFilter >.process(), helper::NullPostProcessor< typename::helper::SelectedOutputCollectionTrait< reco::TrackCollection >::type, EdmFilter >.process(), NullPostProcessor< OutputCollection, EdmFilter >.process(), DTDQMMerge.DTDQMMerge.process, NullPostProcessor< reco::CandidateCollection >.process(), NullPostProcessor< OutputCollection, edm::EDFilter >.process(), NullPostProcessor< OutputCollection >.process(), EDFilter<>.process(), DTDqm.DTDqm.process, SimpleJetAnalyzer.SimpleJetAnalyzer.process(), DTValidSummary.DTValidSummary.process, helper::NullPostProcessor< OutputCollection, EdmFilter >.process(), SimpleTreeProducer.SimpleTreeProducer.process(), DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.process, DTDQMHarvesting.DTDQMHarvesting.process, DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.process, DTAnalysisResiduals.DTAnalysisResiduals.process, tfwliteselectortest::ThingsWorker.process(), DTResidualCalibration.DTResidualCalibration.process, DTNoiseCalibration.DTNoiseCalibration.process, clangcms::CatchAll.process(), core.Analyzer.Analyzer.process(), DTDQMValidation.DTDQMValidation.process, DummyUpdator.process(), DTTTrigValid.DTTTrigValid.process, EcalFenixTcpsFgvbEB.process(), tfwliteselectortest::ThingsTSelector.process(), gen.LHEAnalyzer.LHEAnalyzer.process(), CSCTFDTReceiver.process(), EcalFenixBypassLin.process(), EcalFenixPeakFinder.process(), MetTreeProducer.MetTreeProducer.process(), EcalFenixMaxof2.process(), CSCTFMonitorInterface.process(), TTULogic.process(), CSCMonitorInterface.process(), SingleTrajectoryUpdator.process(), examples::TrackAnalysisAlgorithm.process(), RBCLogic.process(), TTUWedgeORLogic.process(), EcalFenixEtStrip.process(), RBCPatternLogic.process(), TTUSectorORLogic.process(), PFPileUpAlgo.process(), EcalFenixTcpFormat.process(), npstat::AbsVisitor< Input, unsigned long >.process(), KalmanAlignmentUpdator.process(), __class__Worker.process(), HcalCableMapper.process(), npstat::AbsVisitor< Input, Result >.process(), EcalFenixAmplitudeFilter.process(), DTT0DBValidation.DTT0DBValidation.process, EcalFenixStripFormatEE.process(), BTagDifferentialPlot.process(), npstat::AbsArrayProjector< Input, Result >.process(), DTVDriftMeanTimerWriter.DTVDriftMeanTimerWriter.process, EcalFenixStripFormatEB.process(), DTVDriftSegmentWriter.DTVDriftSegmentWriter.process, TTUPointingLogic.process(), MetAnalyzer.MetAnalyzer.process(), RBCTestLogic.process(), EcalFenixEtTot.process(), core.TriggerBitFilter.TriggerBitFilter.process(), HcalSimpleReconstructor.process(), TTUTwoORLogic.process(), DTTTrigResidualCorr.DTTTrigResidualCorr.process, ora::IRelationalMapping.process(), EcalFenixStripFgvbEE.process(), RBCChamberORLogic.process(), TTUTrackingAlg.process(), EcalFenixTcpFgvbEE.process(), DTTTrigCorrFirst.DTTTrigCorrFirst.process, gen.HiggsDecayModeAnalyzer.HiggsDecayModeAnalyzer.process(), EcalFenixFgvbEB.process(), L1GctEmLeafCard.process(), L1GctNullJetFinder.process(), edm::ConsumesInfo.process(), SiStripClusterToDigiProducer.process(), EcalFenixLinearizer.process(), L1GctSimpleJetFinder.process(), TriggerAnalyzer.TriggerAnalyzer.process(), L1GctHardwareJetFinder.process(), RPCWheel.process(), DTTTrigTimeBoxesWriter.DTTTrigTimeBoxesWriter.process, gen.GenHeavyFlavourAnalyzer.GenHeavyFlavourAnalyzer.process(), L1GctJetFinalStage.process(), TTUConfigurator.process(), L1GctProcessor.process(), gen.PDFWeightsAnalyzer.PDFWeightsAnalyzer.process(), L1GctGlobalHfSumAlgos.process(), PFMETBenchmark.process(), edm::InputTag.process(), npstat::VisitCounter< Input >.process(), L1GctElectronFinalSort.process(), PFJetBenchmark.process(), core.EventSelector.EventSelector.process(), core.JSONAnalyzer.JSONAnalyzer.process(), core.TriggerBitAnalyzer.TriggerBitAnalyzer.process(), ora::PrimitiveMapping.process(), PFTauElecRejectionBenchmark.process(), EgammaHLTPixelMatchElectronAlgo.process(), ZMuMuRochCorAnalyzer.ZMuMuRochCorAnalyzer.process(), L1Comparator.process(), L1GctWheelEnergyFpga.process(), L1GctWheelJetFpga.process(), core.SkimAnalyzerCount.SkimAnalyzerCount.process(), analyzer.Analyzer.process(), AlphaTAnalyzer.AlphaTAnalyzer.process(), cscdqm::HWStandbyType.process, ora::BlobMapping.process(), L1GctGlobalEnergyAlgos.process(), L1GctElectronSorter.process(), JetAnalyzer.JetAnalyzer.process(), L1GctTdrJetFinder.process(), TFWLiteSelectorBasic.process(), fwlite::internal::DataKey.process(), KDTreeLinkerBase.process(), L1GctJetLeafCard.process(), DTTFFEDReader.process(), L1GlobalCaloTrigger.process(), TFWLiteSelector< ThingsWorker >.process(), TFWLiteSelector< __class__Worker >.process(), edm::EDConsumerBase::Labels.process, TFWLiteSelector< TWorker >.process(), TFWLiteSelector< TrackAnalysisAlgorithm >.process(), ora::OraReferenceMapping.process(), EcalFenixTcp.process(), SeedClusterRemover.process(), HLTTrackClusterRemoverNew.process(), objects.JetAnalyzer.JetAnalyzer.process(), TestOutliers.process, DiLeptonAnalyzer.DiLeptonAnalyzer.process(), HITrackClusterRemover.process(), objects.VertexAnalyzer.VertexAnalyzer.process(), HTTP.RequestManager.process(), GenLumiInfoProduct::ProcessInfo.process(), ora::UniqueReferenceMapping.process(), core.PileUpAnalyzer.PileUpAnalyzer.process(), EcalFenixStrip.process(), ora::OraPtrMapping.process(), lhef::LHERunInfo::Process.process(), ora::NamedRefMapping.process(), CaloTowersCreationAlgo.process(), objects.TauAnalyzer.TauAnalyzer.process(), ora::ArrayMapping.process(), core.AutoFillTreeProducer.AutoFillTreeProducer.process(), EgammaHLTValidationUtils.EgammaDQMModuleMaker.process, ora::CArrayMapping.process(), L1GctJetFinderBase.process(), ora::ObjectMapping.process(), ora::EmptyMapping.process(), Config.Process.process, looper.Looper.process(), edm::SubProcess.process(), gen.GeneratorAnalyzer.GeneratorAnalyzer.process(), objects.PhotonAnalyzer.PhotonAnalyzer.process(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.process(), edm::ProductHolderIndexHelper::Item.process(), and objects.LeptonAnalyzer.LeptonAnalyzer.process().

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

Definition at line 1145 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.doNotInlineEventContent(), CMSTestAnalyzer.CMSTestAnalyzer.process(), Printer.Printer.process(), DTTTrigProd.DTTTrigProd.process, HcalHitRelabeller.process(), SimpleTreeAnalyzer.SimpleTreeAnalyzer.process(), Histogrammer.Histogrammer.process(), DTDqm.DTDqm.process, helper::NullPostProcessor< reco::CandidateCollection, edm::EDFilter >.process(), helper::NullPostProcessor< typename::helper::SelectedOutputCollectionTrait< reco::TrackCollection >::type, EdmFilter >.process(), DTDQMMerge.DTDQMMerge.process, NullPostProcessor< reco::CandidateCollection >.process(), EDFilter<>.process(), NullPostProcessor< OutputCollection, edm::EDFilter >.process(), NullPostProcessor< OutputCollection, EdmFilter >.process(), NullPostProcessor< OutputCollection >.process(), DTValidSummary.DTValidSummary.process, SimpleJetAnalyzer.SimpleJetAnalyzer.process(), helper::NullPostProcessor< OutputCollection, EdmFilter >.process(), SimpleTreeProducer.SimpleTreeProducer.process(), DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.process, DTAnalysisResiduals.DTAnalysisResiduals.process, tfwliteselectortest::ThingsWorker.process(), DTDQMHarvesting.DTDQMHarvesting.process, DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.process, DTNoiseCalibration.DTNoiseCalibration.process, DTResidualCalibration.DTResidualCalibration.process, clangcms::CatchAll.process(), DTDQMValidation.DTDQMValidation.process, core.Analyzer.Analyzer.process(), DummyUpdator.process(), DTTTrigValid.DTTTrigValid.process, EcalFenixTcpsFgvbEB.process(), tfwliteselectortest::ThingsTSelector.process(), gen.LHEAnalyzer.LHEAnalyzer.process(), CSCTFDTReceiver.process(), EcalFenixBypassLin.process(), EcalFenixPeakFinder.process(), MetTreeProducer.MetTreeProducer.process(), EcalFenixMaxof2.process(), CSCTFMonitorInterface.process(), TTULogic.process(), CSCMonitorInterface.process(), SingleTrajectoryUpdator.process(), examples::TrackAnalysisAlgorithm.process(), RBCLogic.process(), TTUWedgeORLogic.process(), EcalFenixEtStrip.process(), RBCPatternLogic.process(), TTUSectorORLogic.process(), PFPileUpAlgo.process(), EcalFenixTcpFormat.process(), KalmanAlignmentUpdator.process(), __class__Worker.process(), npstat::AbsVisitor< Input, unsigned long >.process(), HcalCableMapper.process(), npstat::AbsVisitor< Input, Result >.process(), EcalFenixAmplitudeFilter.process(), DTT0DBValidation.DTT0DBValidation.process, EcalFenixStripFormatEE.process(), BTagDifferentialPlot.process(), npstat::AbsArrayProjector< Input, Result >.process(), DTVDriftMeanTimerWriter.DTVDriftMeanTimerWriter.process, EcalFenixStripFormatEB.process(), DTVDriftSegmentWriter.DTVDriftSegmentWriter.process, TTUPointingLogic.process(), MetAnalyzer.MetAnalyzer.process(), RBCTestLogic.process(), EcalFenixEtTot.process(), core.TriggerBitFilter.TriggerBitFilter.process(), TTUTwoORLogic.process(), DTTTrigResidualCorr.DTTTrigResidualCorr.process, ora::IRelationalMapping.process(), HcalSimpleReconstructor.process(), EcalFenixStripFgvbEE.process(), RBCChamberORLogic.process(), TTUTrackingAlg.process(), EcalFenixTcpFgvbEE.process(), DTTTrigCorrFirst.DTTTrigCorrFirst.process, gen.HiggsDecayModeAnalyzer.HiggsDecayModeAnalyzer.process(), EcalFenixFgvbEB.process(), L1GctEmLeafCard.process(), L1GctNullJetFinder.process(), edm::ConsumesInfo.process(), SiStripClusterToDigiProducer.process(), L1GctSimpleJetFinder.process(), TriggerAnalyzer.TriggerAnalyzer.process(), EcalFenixLinearizer.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(), edm::InputTag.process(), npstat::VisitCounter< Input >.process(), L1GctElectronFinalSort.process(), core.EventSelector.EventSelector.process(), PFJetBenchmark.process(), core.JSONAnalyzer.JSONAnalyzer.process(), core.TriggerBitAnalyzer.TriggerBitAnalyzer.process(), PFTauElecRejectionBenchmark.process(), ora::PrimitiveMapping.process(), EgammaHLTPixelMatchElectronAlgo.process(), ZMuMuRochCorAnalyzer.ZMuMuRochCorAnalyzer.process(), L1Comparator.process(), L1GctWheelEnergyFpga.process(), L1GctWheelJetFpga.process(), core.SkimAnalyzerCount.SkimAnalyzerCount.process(), analyzer.Analyzer.process(), AlphaTAnalyzer.AlphaTAnalyzer.process(), cscdqm::HWStandbyType.process, ora::BlobMapping.process(), L1GctGlobalEnergyAlgos.process(), L1GctElectronSorter.process(), JetAnalyzer.JetAnalyzer.process(), L1GctTdrJetFinder.process(), TFWLiteSelectorBasic.process(), fwlite::internal::DataKey.process(), KDTreeLinkerBase.process(), L1GctJetLeafCard.process(), DTTFFEDReader.process(), L1GlobalCaloTrigger.process(), TFWLiteSelector< ThingsWorker >.process(), TFWLiteSelector< __class__Worker >.process(), edm::EDConsumerBase::Labels.process, TFWLiteSelector< TrackAnalysisAlgorithm >.process(), TFWLiteSelector< TWorker >.process(), EcalFenixTcp.process(), ora::OraReferenceMapping.process(), SeedClusterRemover.process(), HLTTrackClusterRemoverNew.process(), TestOutliers.process, objects.JetAnalyzer.JetAnalyzer.process(), DiLeptonAnalyzer.DiLeptonAnalyzer.process(), objects.VertexAnalyzer.VertexAnalyzer.process(), HITrackClusterRemover.process(), HTTP.RequestManager.process(), GenLumiInfoProduct::ProcessInfo.process(), ora::UniqueReferenceMapping.process(), core.PileUpAnalyzer.PileUpAnalyzer.process(), EcalFenixStrip.process(), ora::OraPtrMapping.process(), lhef::LHERunInfo::Process.process(), ora::NamedRefMapping.process(), CaloTowersCreationAlgo.process(), objects.TauAnalyzer.TauAnalyzer.process(), ora::ArrayMapping.process(), core.AutoFillTreeProducer.AutoFillTreeProducer.process(), EgammaHLTValidationUtils.EgammaDQMModuleMaker.process, ora::CArrayMapping.process(), L1GctJetFinderBase.process(), ora::ObjectMapping.process(), ora::EmptyMapping.process(), Config.Process.process, looper.Looper.process(), edm::SubProcess.process(), gen.GeneratorAnalyzer.GeneratorAnalyzer.process(), objects.PhotonAnalyzer.PhotonAnalyzer.process(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.process(), edm::ProductHolderIndexHelper::Item.process(), and objects.LeptonAnalyzer.LeptonAnalyzer.process().

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

1146  def addExtraStream(self,name,stream,workflow='full'):
1147  # define output module and go from there
1148  output = cms.OutputModule("PoolOutputModule")
1149  if stream.selectEvents.parameters_().__len__()!=0:
1150  output.SelectEvents = stream.selectEvents
1151  else:
1152  output.SelectEvents = cms.untracked.PSet()
1153  output.SelectEvents.SelectEvents=cms.vstring()
1154  if isinstance(stream.paths,tuple):
1155  for path in stream.paths:
1156  output.SelectEvents.SelectEvents.append(path.label())
1157  else:
1158  output.SelectEvents.SelectEvents.append(stream.paths.label())
1159 
1160 
1161 
1162  if isinstance(stream.content,str):
1163  evtPset=getattr(self.process,stream.content)
1164  for p in evtPset.parameters_():
1165  setattr(output,p,getattr(evtPset,p))
1166  if not self._options.inlineEventContent:
1167  def doNotInlineEventContent(instance,label = "process."+stream.content+".outputCommands"):
1168  return label
1169  output.outputCommands.__dict__["dumpPython"] = doNotInlineEventContent
1170  else:
1171  output.outputCommands = stream.content
1172 
1173 
1174  output.fileName = cms.untracked.string(self._options.dirout+stream.name+'.root')
1175 
1176  output.dataset = cms.untracked.PSet( dataTier = stream.dataTier,
1177  filterName = cms.untracked.string(stream.name))
1178 
1179  if self._options.filtername:
1180  output.dataset.filterName= cms.untracked.string(self._options.filtername+"_"+stream.name)
1181 
1182  #add an automatic flushing to limit memory consumption
1183  output.eventAutoFlushCompressedSize=cms.untracked.int32(5*1024*1024)
1184 
1185  if workflow in ("producers,full"):
1186  if isinstance(stream.paths,tuple):
1187  for path in stream.paths:
1188  self.schedule.append(path)
1189  else:
1190  self.schedule.append(stream.paths)
1191 
1192 
1193  # in case of relvals we don't want to have additional outputs
1194  if (not self._options.relval) and workflow in ("full","output"):
1195  self.additionalOutputs[name] = output
1196  setattr(self.process,name,output)
1197 
1198  if workflow == 'output':
1199  # adjust the select events to the proper trigger results from previous process
1200  filterList = output.SelectEvents.SelectEvents
1201  for i, filter in enumerate(filterList):
1202  filterList[i] = filter+":"+self._options.triggerResultsProcess
1203 
1204  return output
def ConfigBuilder.ConfigBuilder.addMaxEvents (   self)
Here we decide how many evts will be processed

Definition at line 336 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.addMaxEvents().

337  def addMaxEvents(self):
338  """Here we decide how many evts will be processed"""
self.process.maxEvents=cms.untracked.PSet(input=cms.untracked.int32(int(self._options.number)))
def ConfigBuilder.ConfigBuilder.addMaxEvents (   self)
Here we decide how many evts will be processed

Definition at line 353 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.addMaxEvents(), and ConfigBuilder.ConfigBuilder.prepare().

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

References ConfigBuilder.ConfigBuilder.addOutput().

459  def addOutput(self):
""" Add output module to the process """
def ConfigBuilder.ConfigBuilder.addOutput (   self)
Add output module to the process 

Definition at line 471 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.addOutput(), and ConfigBuilder.ConfigBuilder.prepare().

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

Definition at line 343 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.addSource().

344  def addSource(self):
345  """Here the source is built. Priority: file, generator"""
346  self.addedObjects.append(("Input source","source"))
def ConfigBuilder.ConfigBuilder.addSource (   self)
Here the source is built. Priority: file, generator

Definition at line 360 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.addSource(), and ConfigBuilder.ConfigBuilder.prepare().

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

Definition at line 631 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.addStandardSequences().

632  def addStandardSequences(self):
633  """
634  Add selected standard sequences to the process
635  """
# load the pile up file
def ConfigBuilder.ConfigBuilder.addStandardSequences (   self)
Add selected standard sequences to the process

Definition at line 643 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.addStandardSequences(), and ConfigBuilder.ConfigBuilder.prepare().

644  def addStandardSequences(self):
645  """
646  Add selected standard sequences to the process
647  """
# load the pile up file
def ConfigBuilder.ConfigBuilder.anyOf (   listOfKeys,
  dict,
  opt = None 
)

Definition at line 465 of file ConfigBuilder.py.

References join(), CMSTestAnalyzer.CMSTestAnalyzer.process(), Printer.Printer.process(), DTTTrigProd.DTTTrigProd.process, HcalHitRelabeller.process(), SimpleTreeAnalyzer.SimpleTreeAnalyzer.process(), Histogrammer.Histogrammer.process(), DTDqm.DTDqm.process, DTValidSummary.DTValidSummary.process, helper::NullPostProcessor< reco::CandidateCollection, edm::EDFilter >.process(), helper::NullPostProcessor< typename::helper::SelectedOutputCollectionTrait< reco::TrackCollection >::type, EdmFilter >.process(), NullPostProcessor< reco::CandidateCollection >.process(), NullPostProcessor< OutputCollection, edm::EDFilter >.process(), EDFilter<>.process(), NullPostProcessor< OutputCollection >.process(), NullPostProcessor< OutputCollection, EdmFilter >.process(), DTDQMMerge.DTDQMMerge.process, SimpleJetAnalyzer.SimpleJetAnalyzer.process(), helper::NullPostProcessor< OutputCollection, EdmFilter >.process(), SimpleTreeProducer.SimpleTreeProducer.process(), DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.process, DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.process, DTAnalysisResiduals.DTAnalysisResiduals.process, tfwliteselectortest::ThingsWorker.process(), DTDQMHarvesting.DTDQMHarvesting.process, DTNoiseCalibration.DTNoiseCalibration.process, DTResidualCalibration.DTResidualCalibration.process, clangcms::CatchAll.process(), core.Analyzer.Analyzer.process(), DummyUpdator.process(), DTDQMValidation.DTDQMValidation.process, DTTTrigValid.DTTTrigValid.process, EcalFenixTcpsFgvbEB.process(), tfwliteselectortest::ThingsTSelector.process(), gen.LHEAnalyzer.LHEAnalyzer.process(), CSCTFDTReceiver.process(), EcalFenixBypassLin.process(), EcalFenixPeakFinder.process(), MetTreeProducer.MetTreeProducer.process(), EcalFenixMaxof2.process(), CSCTFMonitorInterface.process(), TTULogic.process(), CSCMonitorInterface.process(), SingleTrajectoryUpdator.process(), examples::TrackAnalysisAlgorithm.process(), RBCLogic.process(), TTUWedgeORLogic.process(), EcalFenixEtStrip.process(), RBCPatternLogic.process(), TTUSectorORLogic.process(), PFPileUpAlgo.process(), EcalFenixTcpFormat.process(), npstat::AbsVisitor< Input, unsigned long >.process(), __class__Worker.process(), KalmanAlignmentUpdator.process(), HcalCableMapper.process(), npstat::AbsVisitor< Input, Result >.process(), EcalFenixAmplitudeFilter.process(), EcalFenixStripFormatEE.process(), BTagDifferentialPlot.process(), DTT0DBValidation.DTT0DBValidation.process, npstat::AbsArrayProjector< Input, Result >.process(), DTVDriftMeanTimerWriter.DTVDriftMeanTimerWriter.process, EcalFenixStripFormatEB.process(), RBCTestLogic.process(), TTUPointingLogic.process(), MetAnalyzer.MetAnalyzer.process(), DTVDriftSegmentWriter.DTVDriftSegmentWriter.process, EcalFenixEtTot.process(), core.TriggerBitFilter.TriggerBitFilter.process(), ora::IRelationalMapping.process(), HcalSimpleReconstructor.process(), TTUTwoORLogic.process(), DTTTrigResidualCorr.DTTTrigResidualCorr.process, EcalFenixStripFgvbEE.process(), RBCChamberORLogic.process(), EcalFenixTcpFgvbEE.process(), TTUTrackingAlg.process(), DTTTrigCorrFirst.DTTTrigCorrFirst.process, gen.HiggsDecayModeAnalyzer.HiggsDecayModeAnalyzer.process(), EcalFenixFgvbEB.process(), L1GctEmLeafCard.process(), edm::ConsumesInfo.process(), L1GctNullJetFinder.process(), SiStripClusterToDigiProducer.process(), EcalFenixLinearizer.process(), L1GctSimpleJetFinder.process(), TriggerAnalyzer.TriggerAnalyzer.process(), L1GctHardwareJetFinder.process(), RPCWheel.process(), gen.GenHeavyFlavourAnalyzer.GenHeavyFlavourAnalyzer.process(), DTTTrigTimeBoxesWriter.DTTTrigTimeBoxesWriter.process, L1GctJetFinalStage.process(), TTUConfigurator.process(), L1GctProcessor.process(), gen.PDFWeightsAnalyzer.PDFWeightsAnalyzer.process(), L1GctGlobalHfSumAlgos.process(), PFMETBenchmark.process(), edm::InputTag.process(), npstat::VisitCounter< Input >.process(), L1GctElectronFinalSort.process(), core.EventSelector.EventSelector.process(), PFJetBenchmark.process(), core.JSONAnalyzer.JSONAnalyzer.process(), core.TriggerBitAnalyzer.TriggerBitAnalyzer.process(), ora::PrimitiveMapping.process(), PFTauElecRejectionBenchmark.process(), EgammaHLTPixelMatchElectronAlgo.process(), ZMuMuRochCorAnalyzer.ZMuMuRochCorAnalyzer.process(), L1Comparator.process(), L1GctWheelEnergyFpga.process(), L1GctWheelJetFpga.process(), core.SkimAnalyzerCount.SkimAnalyzerCount.process(), analyzer.Analyzer.process(), AlphaTAnalyzer.AlphaTAnalyzer.process(), cscdqm::HWStandbyType.process, ora::BlobMapping.process(), L1GctElectronSorter.process(), L1GctGlobalEnergyAlgos.process(), JetAnalyzer.JetAnalyzer.process(), L1GctTdrJetFinder.process(), TFWLiteSelectorBasic.process(), fwlite::internal::DataKey.process(), L1GctJetLeafCard.process(), KDTreeLinkerBase.process(), DTTFFEDReader.process(), L1GlobalCaloTrigger.process(), TFWLiteSelector< __class__Worker >.process(), TFWLiteSelector< TrackAnalysisAlgorithm >.process(), TFWLiteSelector< ThingsWorker >.process(), edm::EDConsumerBase::Labels.process, TFWLiteSelector< TWorker >.process(), ora::OraReferenceMapping.process(), EcalFenixTcp.process(), SeedClusterRemover.process(), HLTTrackClusterRemoverNew.process(), TestOutliers.process, objects.JetAnalyzer.JetAnalyzer.process(), DiLeptonAnalyzer.DiLeptonAnalyzer.process(), HITrackClusterRemover.process(), HTTP.RequestManager.process(), objects.VertexAnalyzer.VertexAnalyzer.process(), GenLumiInfoProduct::ProcessInfo.process(), ora::UniqueReferenceMapping.process(), core.PileUpAnalyzer.PileUpAnalyzer.process(), EcalFenixStrip.process(), ora::OraPtrMapping.process(), lhef::LHERunInfo::Process.process(), CaloTowersCreationAlgo.process(), ora::NamedRefMapping.process(), objects.TauAnalyzer.TauAnalyzer.process(), ora::ArrayMapping.process(), core.AutoFillTreeProducer.AutoFillTreeProducer.process(), EgammaHLTValidationUtils.EgammaDQMModuleMaker.process, ora::CArrayMapping.process(), L1GctJetFinderBase.process(), ora::ObjectMapping.process(), ora::EmptyMapping.process(), Config.Process.process, looper.Looper.process(), edm::SubProcess.process(), gen.GeneratorAnalyzer.GeneratorAnalyzer.process(), objects.PhotonAnalyzer.PhotonAnalyzer.process(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.process(), edm::ProductHolderIndexHelper::Item.process(), objects.LeptonAnalyzer.LeptonAnalyzer.process(), and python.rootplot.root2matplotlib.replace().

466  def anyOf(listOfKeys,dict,opt=None):
467  for k in listOfKeys:
468  if k in dict:
469  toReturn=dict[k]
470  dict.pop(k)
471  return toReturn
472  if opt!=None:
473  return opt
474  else:
475  raise Exception("any of "+','.join(listOfKeys)+" are mandatory entries of --output options")
static std::string join(char **cmd)
Definition: RemoteFile.cc:18
def ConfigBuilder.ConfigBuilder.build_production_info (   self,
  evt_type,
  evtnumber 
)
Add useful info for the production. 

Definition at line 2039 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.build_production_info(), and ConfigBuilder.ConfigBuilder.prepare().

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

Definition at line 2062 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.build_production_info().

2063  def build_production_info(self, evt_type, evtnumber):
2064  """ Add useful info for the production. """
2065  self.process.configurationMetadata=cms.untracked.PSet\
2066  (version=cms.untracked.string("$Revision: 1.19 $"),
2067  name=cms.untracked.string("Applications"),
2068  annotation=cms.untracked.string(evt_type+ " nevts:"+str(evtnumber))
2069  )
2070 
2071  self.addedObjects.append(("Production Info","configurationMetadata"))
2072 
def ConfigBuilder.ConfigBuilder.completeInputCommand (   self)

Definition at line 722 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.completeInputCommand(), CMSTestAnalyzer.CMSTestAnalyzer.process(), Printer.Printer.process(), DTTTrigProd.DTTTrigProd.process, HcalHitRelabeller.process(), SimpleTreeAnalyzer.SimpleTreeAnalyzer.process(), Histogrammer.Histogrammer.process(), helper::NullPostProcessor< reco::CandidateCollection, edm::EDFilter >.process(), helper::NullPostProcessor< typename::helper::SelectedOutputCollectionTrait< reco::TrackCollection >::type, EdmFilter >.process(), DTDQMMerge.DTDQMMerge.process, NullPostProcessor< reco::CandidateCollection >.process(), NullPostProcessor< OutputCollection, edm::EDFilter >.process(), EDFilter<>.process(), NullPostProcessor< OutputCollection >.process(), NullPostProcessor< OutputCollection, EdmFilter >.process(), DTDqm.DTDqm.process, SimpleJetAnalyzer.SimpleJetAnalyzer.process(), DTValidSummary.DTValidSummary.process, helper::NullPostProcessor< OutputCollection, EdmFilter >.process(), SimpleTreeProducer.SimpleTreeProducer.process(), DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.process, DTDQMHarvesting.DTDQMHarvesting.process, DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.process, DTAnalysisResiduals.DTAnalysisResiduals.process, tfwliteselectortest::ThingsWorker.process(), DTResidualCalibration.DTResidualCalibration.process, DTNoiseCalibration.DTNoiseCalibration.process, clangcms::CatchAll.process(), core.Analyzer.Analyzer.process(), DTDQMValidation.DTDQMValidation.process, DummyUpdator.process(), DTTTrigValid.DTTTrigValid.process, EcalFenixTcpsFgvbEB.process(), tfwliteselectortest::ThingsTSelector.process(), gen.LHEAnalyzer.LHEAnalyzer.process(), CSCTFDTReceiver.process(), EcalFenixBypassLin.process(), EcalFenixPeakFinder.process(), MetTreeProducer.MetTreeProducer.process(), EcalFenixMaxof2.process(), CSCTFMonitorInterface.process(), TTULogic.process(), CSCMonitorInterface.process(), SingleTrajectoryUpdator.process(), examples::TrackAnalysisAlgorithm.process(), RBCLogic.process(), TTUWedgeORLogic.process(), EcalFenixEtStrip.process(), RBCPatternLogic.process(), TTUSectorORLogic.process(), PFPileUpAlgo.process(), EcalFenixTcpFormat.process(), npstat::AbsVisitor< Input, unsigned long >.process(), KalmanAlignmentUpdator.process(), __class__Worker.process(), HcalCableMapper.process(), npstat::AbsVisitor< Input, Result >.process(), EcalFenixAmplitudeFilter.process(), DTT0DBValidation.DTT0DBValidation.process, EcalFenixStripFormatEE.process(), BTagDifferentialPlot.process(), npstat::AbsArrayProjector< Input, Result >.process(), DTVDriftMeanTimerWriter.DTVDriftMeanTimerWriter.process, EcalFenixStripFormatEB.process(), DTVDriftSegmentWriter.DTVDriftSegmentWriter.process, TTUPointingLogic.process(), MetAnalyzer.MetAnalyzer.process(), RBCTestLogic.process(), EcalFenixEtTot.process(), core.TriggerBitFilter.TriggerBitFilter.process(), HcalSimpleReconstructor.process(), TTUTwoORLogic.process(), DTTTrigResidualCorr.DTTTrigResidualCorr.process, ora::IRelationalMapping.process(), EcalFenixStripFgvbEE.process(), RBCChamberORLogic.process(), TTUTrackingAlg.process(), EcalFenixTcpFgvbEE.process(), DTTTrigCorrFirst.DTTTrigCorrFirst.process, gen.HiggsDecayModeAnalyzer.HiggsDecayModeAnalyzer.process(), EcalFenixFgvbEB.process(), L1GctEmLeafCard.process(), L1GctNullJetFinder.process(), edm::ConsumesInfo.process(), SiStripClusterToDigiProducer.process(), EcalFenixLinearizer.process(), L1GctSimpleJetFinder.process(), TriggerAnalyzer.TriggerAnalyzer.process(), L1GctHardwareJetFinder.process(), RPCWheel.process(), DTTTrigTimeBoxesWriter.DTTTrigTimeBoxesWriter.process, gen.GenHeavyFlavourAnalyzer.GenHeavyFlavourAnalyzer.process(), L1GctJetFinalStage.process(), TTUConfigurator.process(), L1GctProcessor.process(), gen.PDFWeightsAnalyzer.PDFWeightsAnalyzer.process(), L1GctGlobalHfSumAlgos.process(), PFMETBenchmark.process(), edm::InputTag.process(), npstat::VisitCounter< Input >.process(), L1GctElectronFinalSort.process(), PFJetBenchmark.process(), core.EventSelector.EventSelector.process(), core.JSONAnalyzer.JSONAnalyzer.process(), core.TriggerBitAnalyzer.TriggerBitAnalyzer.process(), ora::PrimitiveMapping.process(), PFTauElecRejectionBenchmark.process(), EgammaHLTPixelMatchElectronAlgo.process(), ZMuMuRochCorAnalyzer.ZMuMuRochCorAnalyzer.process(), L1Comparator.process(), L1GctWheelEnergyFpga.process(), L1GctWheelJetFpga.process(), core.SkimAnalyzerCount.SkimAnalyzerCount.process(), analyzer.Analyzer.process(), AlphaTAnalyzer.AlphaTAnalyzer.process(), cscdqm::HWStandbyType.process, ora::BlobMapping.process(), L1GctGlobalEnergyAlgos.process(), L1GctElectronSorter.process(), JetAnalyzer.JetAnalyzer.process(), L1GctTdrJetFinder.process(), TFWLiteSelectorBasic.process(), fwlite::internal::DataKey.process(), KDTreeLinkerBase.process(), L1GctJetLeafCard.process(), DTTFFEDReader.process(), L1GlobalCaloTrigger.process(), TFWLiteSelector< ThingsWorker >.process(), TFWLiteSelector< __class__Worker >.process(), edm::EDConsumerBase::Labels.process, TFWLiteSelector< TWorker >.process(), TFWLiteSelector< TrackAnalysisAlgorithm >.process(), ora::OraReferenceMapping.process(), EcalFenixTcp.process(), SeedClusterRemover.process(), HLTTrackClusterRemoverNew.process(), objects.JetAnalyzer.JetAnalyzer.process(), TestOutliers.process, DiLeptonAnalyzer.DiLeptonAnalyzer.process(), HITrackClusterRemover.process(), objects.VertexAnalyzer.VertexAnalyzer.process(), HTTP.RequestManager.process(), GenLumiInfoProduct::ProcessInfo.process(), ora::UniqueReferenceMapping.process(), core.PileUpAnalyzer.PileUpAnalyzer.process(), EcalFenixStrip.process(), ora::OraPtrMapping.process(), lhef::LHERunInfo::Process.process(), ora::NamedRefMapping.process(), CaloTowersCreationAlgo.process(), objects.TauAnalyzer.TauAnalyzer.process(), ora::ArrayMapping.process(), core.AutoFillTreeProducer.AutoFillTreeProducer.process(), EgammaHLTValidationUtils.EgammaDQMModuleMaker.process, ora::CArrayMapping.process(), L1GctJetFinderBase.process(), ora::ObjectMapping.process(), ora::EmptyMapping.process(), Config.Process.process, looper.Looper.process(), edm::SubProcess.process(), gen.GeneratorAnalyzer.GeneratorAnalyzer.process(), objects.PhotonAnalyzer.PhotonAnalyzer.process(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.process(), edm::ProductHolderIndexHelper::Item.process(), and objects.LeptonAnalyzer.LeptonAnalyzer.process().

723  def completeInputCommand(self):
724  if self._options.inputEventContent:
725  import copy
726  def dropSecondDropStar(iec):
727  #drop occurence of 'drop *' in the list
728  count=0
729  for item in iec:
730  if item=='drop *':
731  if count!=0:
732  iec.remove(item)
733  count+=1
734 
735 
736  ## allow comma separated input eventcontent
737  if not hasattr(self.process.source,'inputCommands'): self.process.source.inputCommands=cms.untracked.vstring()
738  for evct in self._options.inputEventContent.split(','):
739  if evct=='': continue
740  theEventContent = getattr(self.process, evct+"EventContent")
741  if hasattr(theEventContent,'outputCommands'):
742  self.process.source.inputCommands.extend(copy.copy(theEventContent.outputCommands))
743  if hasattr(theEventContent,'inputCommands'):
744  self.process.source.inputCommands.extend(copy.copy(theEventContent.inputCommands))
745 
746  dropSecondDropStar(self.process.source.inputCommands)
747 
748  if not self._options.dropDescendant:
749  self.process.source.dropDescendantsOfDroppedBranches = cms.untracked.bool(False)
750 
751 
752  return
def ConfigBuilder.ConfigBuilder.completeInputCommand (   self)

Definition at line 751 of file ConfigBuilder.py.

References CMSTestAnalyzer.CMSTestAnalyzer.process(), Printer.Printer.process(), DTTTrigProd.DTTTrigProd.process, HcalHitRelabeller.process(), SimpleTreeAnalyzer.SimpleTreeAnalyzer.process(), Histogrammer.Histogrammer.process(), DTDqm.DTDqm.process, helper::NullPostProcessor< reco::CandidateCollection, edm::EDFilter >.process(), helper::NullPostProcessor< typename::helper::SelectedOutputCollectionTrait< reco::TrackCollection >::type, EdmFilter >.process(), DTDQMMerge.DTDQMMerge.process, NullPostProcessor< reco::CandidateCollection >.process(), NullPostProcessor< OutputCollection, edm::EDFilter >.process(), EDFilter<>.process(), NullPostProcessor< OutputCollection >.process(), NullPostProcessor< OutputCollection, EdmFilter >.process(), DTValidSummary.DTValidSummary.process, SimpleJetAnalyzer.SimpleJetAnalyzer.process(), helper::NullPostProcessor< OutputCollection, EdmFilter >.process(), SimpleTreeProducer.SimpleTreeProducer.process(), DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.process, DTAnalysisResiduals.DTAnalysisResiduals.process, tfwliteselectortest::ThingsWorker.process(), DTDQMHarvesting.DTDQMHarvesting.process, DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.process, DTNoiseCalibration.DTNoiseCalibration.process, DTResidualCalibration.DTResidualCalibration.process, clangcms::CatchAll.process(), DTDQMValidation.DTDQMValidation.process, core.Analyzer.Analyzer.process(), DummyUpdator.process(), DTTTrigValid.DTTTrigValid.process, EcalFenixTcpsFgvbEB.process(), tfwliteselectortest::ThingsTSelector.process(), gen.LHEAnalyzer.LHEAnalyzer.process(), CSCTFDTReceiver.process(), EcalFenixBypassLin.process(), EcalFenixPeakFinder.process(), MetTreeProducer.MetTreeProducer.process(), EcalFenixMaxof2.process(), CSCTFMonitorInterface.process(), TTULogic.process(), CSCMonitorInterface.process(), SingleTrajectoryUpdator.process(), examples::TrackAnalysisAlgorithm.process(), RBCLogic.process(), TTUWedgeORLogic.process(), EcalFenixEtStrip.process(), RBCPatternLogic.process(), TTUSectorORLogic.process(), PFPileUpAlgo.process(), EcalFenixTcpFormat.process(), KalmanAlignmentUpdator.process(), __class__Worker.process(), npstat::AbsVisitor< Input, unsigned long >.process(), HcalCableMapper.process(), npstat::AbsVisitor< Input, Result >.process(), EcalFenixAmplitudeFilter.process(), DTT0DBValidation.DTT0DBValidation.process, EcalFenixStripFormatEE.process(), BTagDifferentialPlot.process(), npstat::AbsArrayProjector< Input, Result >.process(), DTVDriftMeanTimerWriter.DTVDriftMeanTimerWriter.process, EcalFenixStripFormatEB.process(), DTVDriftSegmentWriter.DTVDriftSegmentWriter.process, TTUPointingLogic.process(), MetAnalyzer.MetAnalyzer.process(), RBCTestLogic.process(), EcalFenixEtTot.process(), core.TriggerBitFilter.TriggerBitFilter.process(), TTUTwoORLogic.process(), DTTTrigResidualCorr.DTTTrigResidualCorr.process, ora::IRelationalMapping.process(), HcalSimpleReconstructor.process(), EcalFenixStripFgvbEE.process(), RBCChamberORLogic.process(), TTUTrackingAlg.process(), EcalFenixTcpFgvbEE.process(), DTTTrigCorrFirst.DTTTrigCorrFirst.process, gen.HiggsDecayModeAnalyzer.HiggsDecayModeAnalyzer.process(), EcalFenixFgvbEB.process(), L1GctEmLeafCard.process(), L1GctNullJetFinder.process(), edm::ConsumesInfo.process(), SiStripClusterToDigiProducer.process(), L1GctSimpleJetFinder.process(), TriggerAnalyzer.TriggerAnalyzer.process(), EcalFenixLinearizer.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(), edm::InputTag.process(), npstat::VisitCounter< Input >.process(), L1GctElectronFinalSort.process(), core.EventSelector.EventSelector.process(), PFJetBenchmark.process(), core.JSONAnalyzer.JSONAnalyzer.process(), core.TriggerBitAnalyzer.TriggerBitAnalyzer.process(), PFTauElecRejectionBenchmark.process(), ora::PrimitiveMapping.process(), EgammaHLTPixelMatchElectronAlgo.process(), ZMuMuRochCorAnalyzer.ZMuMuRochCorAnalyzer.process(), L1Comparator.process(), L1GctWheelEnergyFpga.process(), L1GctWheelJetFpga.process(), core.SkimAnalyzerCount.SkimAnalyzerCount.process(), analyzer.Analyzer.process(), AlphaTAnalyzer.AlphaTAnalyzer.process(), cscdqm::HWStandbyType.process, ora::BlobMapping.process(), L1GctGlobalEnergyAlgos.process(), L1GctElectronSorter.process(), JetAnalyzer.JetAnalyzer.process(), L1GctTdrJetFinder.process(), TFWLiteSelectorBasic.process(), fwlite::internal::DataKey.process(), KDTreeLinkerBase.process(), L1GctJetLeafCard.process(), DTTFFEDReader.process(), L1GlobalCaloTrigger.process(), TFWLiteSelector< ThingsWorker >.process(), edm::EDConsumerBase::Labels.process, TFWLiteSelector< TrackAnalysisAlgorithm >.process(), TFWLiteSelector< __class__Worker >.process(), TFWLiteSelector< TWorker >.process(), EcalFenixTcp.process(), ora::OraReferenceMapping.process(), SeedClusterRemover.process(), HLTTrackClusterRemoverNew.process(), objects.JetAnalyzer.JetAnalyzer.process(), TestOutliers.process, DiLeptonAnalyzer.DiLeptonAnalyzer.process(), HTTP.RequestManager.process(), HITrackClusterRemover.process(), objects.VertexAnalyzer.VertexAnalyzer.process(), GenLumiInfoProduct::ProcessInfo.process(), ora::UniqueReferenceMapping.process(), core.PileUpAnalyzer.PileUpAnalyzer.process(), EcalFenixStrip.process(), ora::OraPtrMapping.process(), lhef::LHERunInfo::Process.process(), ora::NamedRefMapping.process(), CaloTowersCreationAlgo.process(), objects.TauAnalyzer.TauAnalyzer.process(), ora::ArrayMapping.process(), core.AutoFillTreeProducer.AutoFillTreeProducer.process(), EgammaHLTValidationUtils.EgammaDQMModuleMaker.process, ora::CArrayMapping.process(), L1GctJetFinderBase.process(), ora::ObjectMapping.process(), ora::EmptyMapping.process(), Config.Process.process, looper.Looper.process(), edm::SubProcess.process(), gen.GeneratorAnalyzer.GeneratorAnalyzer.process(), objects.PhotonAnalyzer.PhotonAnalyzer.process(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.process(), edm::ProductHolderIndexHelper::Item.process(), and objects.LeptonAnalyzer.LeptonAnalyzer.process().

Referenced by ConfigBuilder.ConfigBuilder.completeInputCommand(), and ConfigBuilder.ConfigBuilder.prepare().

752  def completeInputCommand(self):
753  if self._options.inputEventContent:
754  import copy
755  def dropSecondDropStar(iec):
756  #drop occurence of 'drop *' in the list
757  count=0
758  for item in iec:
759  if item=='drop *':
760  if count!=0:
761  iec.remove(item)
762  count+=1
763 
764 
765  ## allow comma separated input eventcontent
766  if not hasattr(self.process.source,'inputCommands'): self.process.source.inputCommands=cms.untracked.vstring()
767  for evct in self._options.inputEventContent.split(','):
768  if evct=='': continue
769  theEventContent = getattr(self.process, evct+"EventContent")
770  if hasattr(theEventContent,'outputCommands'):
771  self.process.source.inputCommands.extend(copy.copy(theEventContent.outputCommands))
772  if hasattr(theEventContent,'inputCommands'):
773  self.process.source.inputCommands.extend(copy.copy(theEventContent.inputCommands))
774 
775  dropSecondDropStar(self.process.source.inputCommands)
776 
777  if not self._options.dropDescendant:
778  self.process.source.dropDescendantsOfDroppedBranches = cms.untracked.bool(False)
779 
780 
781  return
def ConfigBuilder.ConfigBuilder.define_Configs (   self)

Definition at line 866 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.ALCADefaultCFF, ConfigBuilder.ConfigBuilder.define_Configs(), ConfigBuilder.ConfigBuilder.DIGI2RAWDefaultCFF, ConfigBuilder.ConfigBuilder.DIGIDefaultCFF, ConfigBuilder.ConfigBuilder.GENDefaultCFF, ConfigBuilder.ConfigBuilder.HLTDefaultCFF, join(), ConfigBuilder.ConfigBuilder.L1EMDefaultCFF, ConfigBuilder.ConfigBuilder.L1MENUDefaultCFF, ConfigBuilder.ConfigBuilder.L1RecoDefaultCFF, ConfigBuilder.ConfigBuilder.L1TrackTriggerDefaultCFF, ConfigBuilder.ConfigBuilder.loadAndRemember(), ConfigBuilder.ConfigBuilder.PATDefaultCFF, ConfigBuilder.ConfigBuilder.RAW2DIGIDefaultCFF, ConfigBuilder.ConfigBuilder.RECODefaultCFF, and ConfigBuilder.ConfigBuilder.SIMDefaultCFF.

867  def define_Configs(self):
868  if len(self.stepMap):
869  self.loadAndRemember('Configuration/StandardSequences/Services_cff')
870  if self._options.particleTable not in defaultOptions.particleTableList:
871  print 'Invalid particle table provided. Options are:'
872  print defaultOptions.particleTable
873  sys.exit(-1)
874  else:
875  if len(self.stepMap):
876  self.loadAndRemember('SimGeneral.HepPDTESSource.'+self._options.particleTable+'_cfi')
877 
878  self.loadAndRemember('FWCore/MessageService/MessageLogger_cfi')
879 
880  self.ALCADefaultCFF="Configuration/StandardSequences/AlCaRecoStreams_cff"
881  self.GENDefaultCFF="Configuration/StandardSequences/Generator_cff"
882  self.SIMDefaultCFF="Configuration/StandardSequences/Sim_cff"
883  self.DIGIDefaultCFF="Configuration/StandardSequences/Digi_cff"
884  self.DIGI2RAWDefaultCFF="Configuration/StandardSequences/DigiToRaw_cff"
885  self.L1EMDefaultCFF='Configuration/StandardSequences/SimL1Emulator_cff'
886  self.L1MENUDefaultCFF="Configuration/StandardSequences/L1TriggerDefaultMenu_cff"
887  self.HLTDefaultCFF="Configuration/StandardSequences/HLTtable_cff"
888  self.RAW2DIGIDefaultCFF="Configuration/StandardSequences/RawToDigi_Data_cff"
889  self.L1RecoDefaultCFF="Configuration/StandardSequences/L1Reco_cff"
890  self.L1TrackTriggerDefaultCFF="Configuration/StandardSequences/L1TrackTrigger_cff"
891  self.RECODefaultCFF="Configuration/StandardSequences/Reconstruction_Data_cff"
self.PATDefaultCFF="Configuration/StandardSequences/PAT_cff"
def ConfigBuilder.ConfigBuilder.define_Configs (   self)

Definition at line 896 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.loadAndRemember().

Referenced by ConfigBuilder.ConfigBuilder.__init__(), and ConfigBuilder.ConfigBuilder.define_Configs().

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

Definition at line 551 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.doNotInlineEventContent(), ConfigBuilder.ConfigBuilder.executeAndRemember(), CMSTestAnalyzer.CMSTestAnalyzer.process(), Printer.Printer.process(), DTTTrigProd.DTTTrigProd.process, HcalHitRelabeller.process(), SimpleTreeAnalyzer.SimpleTreeAnalyzer.process(), Histogrammer.Histogrammer.process(), helper::NullPostProcessor< reco::CandidateCollection, edm::EDFilter >.process(), helper::NullPostProcessor< typename::helper::SelectedOutputCollectionTrait< reco::TrackCollection >::type, EdmFilter >.process(), DTDQMMerge.DTDQMMerge.process, NullPostProcessor< reco::CandidateCollection >.process(), NullPostProcessor< OutputCollection, edm::EDFilter >.process(), NullPostProcessor< OutputCollection >.process(), EDFilter<>.process(), DTDqm.DTDqm.process, SimpleJetAnalyzer.SimpleJetAnalyzer.process(), DTValidSummary.DTValidSummary.process, NullPostProcessor< OutputCollection, EdmFilter >.process(), helper::NullPostProcessor< OutputCollection, EdmFilter >.process(), SimpleTreeProducer.SimpleTreeProducer.process(), DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.process, DTDQMHarvesting.DTDQMHarvesting.process, DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.process, DTAnalysisResiduals.DTAnalysisResiduals.process, tfwliteselectortest::ThingsWorker.process(), DTResidualCalibration.DTResidualCalibration.process, DTNoiseCalibration.DTNoiseCalibration.process, clangcms::CatchAll.process(), core.Analyzer.Analyzer.process(), DTDQMValidation.DTDQMValidation.process, DummyUpdator.process(), DTTTrigValid.DTTTrigValid.process, EcalFenixTcpsFgvbEB.process(), tfwliteselectortest::ThingsTSelector.process(), gen.LHEAnalyzer.LHEAnalyzer.process(), CSCTFDTReceiver.process(), EcalFenixBypassLin.process(), EcalFenixPeakFinder.process(), MetTreeProducer.MetTreeProducer.process(), EcalFenixMaxof2.process(), CSCTFMonitorInterface.process(), TTULogic.process(), CSCMonitorInterface.process(), SingleTrajectoryUpdator.process(), examples::TrackAnalysisAlgorithm.process(), RBCLogic.process(), TTUWedgeORLogic.process(), EcalFenixEtStrip.process(), RBCPatternLogic.process(), TTUSectorORLogic.process(), PFPileUpAlgo.process(), EcalFenixTcpFormat.process(), KalmanAlignmentUpdator.process(), __class__Worker.process(), npstat::AbsVisitor< Input, unsigned long >.process(), HcalCableMapper.process(), npstat::AbsVisitor< Input, Result >.process(), EcalFenixAmplitudeFilter.process(), DTT0DBValidation.DTT0DBValidation.process, EcalFenixStripFormatEE.process(), BTagDifferentialPlot.process(), npstat::AbsArrayProjector< Input, Result >.process(), DTVDriftMeanTimerWriter.DTVDriftMeanTimerWriter.process, EcalFenixStripFormatEB.process(), DTVDriftSegmentWriter.DTVDriftSegmentWriter.process, RBCTestLogic.process(), TTUPointingLogic.process(), MetAnalyzer.MetAnalyzer.process(), EcalFenixEtTot.process(), core.TriggerBitFilter.TriggerBitFilter.process(), HcalSimpleReconstructor.process(), TTUTwoORLogic.process(), DTTTrigResidualCorr.DTTTrigResidualCorr.process, ora::IRelationalMapping.process(), EcalFenixStripFgvbEE.process(), RBCChamberORLogic.process(), TTUTrackingAlg.process(), EcalFenixTcpFgvbEE.process(), DTTTrigCorrFirst.DTTTrigCorrFirst.process, gen.HiggsDecayModeAnalyzer.HiggsDecayModeAnalyzer.process(), EcalFenixFgvbEB.process(), L1GctEmLeafCard.process(), L1GctNullJetFinder.process(), edm::ConsumesInfo.process(), SiStripClusterToDigiProducer.process(), EcalFenixLinearizer.process(), L1GctSimpleJetFinder.process(), TriggerAnalyzer.TriggerAnalyzer.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(), edm::InputTag.process(), npstat::VisitCounter< Input >.process(), L1GctElectronFinalSort.process(), PFJetBenchmark.process(), core.EventSelector.EventSelector.process(), core.JSONAnalyzer.JSONAnalyzer.process(), core.TriggerBitAnalyzer.TriggerBitAnalyzer.process(), ora::PrimitiveMapping.process(), PFTauElecRejectionBenchmark.process(), EgammaHLTPixelMatchElectronAlgo.process(), ZMuMuRochCorAnalyzer.ZMuMuRochCorAnalyzer.process(), L1Comparator.process(), L1GctWheelEnergyFpga.process(), L1GctWheelJetFpga.process(), core.SkimAnalyzerCount.SkimAnalyzerCount.process(), analyzer.Analyzer.process(), AlphaTAnalyzer.AlphaTAnalyzer.process(), cscdqm::HWStandbyType.process, ora::BlobMapping.process(), L1GctGlobalEnergyAlgos.process(), L1GctElectronSorter.process(), JetAnalyzer.JetAnalyzer.process(), TFWLiteSelectorBasic.process(), L1GctTdrJetFinder.process(), fwlite::internal::DataKey.process(), KDTreeLinkerBase.process(), L1GctJetLeafCard.process(), DTTFFEDReader.process(), L1GlobalCaloTrigger.process(), TFWLiteSelector< TWorker >.process(), TFWLiteSelector< __class__Worker >.process(), TFWLiteSelector< ThingsWorker >.process(), TFWLiteSelector< TrackAnalysisAlgorithm >.process(), edm::EDConsumerBase::Labels.process, EcalFenixTcp.process(), ora::OraReferenceMapping.process(), SeedClusterRemover.process(), HLTTrackClusterRemoverNew.process(), TestOutliers.process, objects.JetAnalyzer.JetAnalyzer.process(), DiLeptonAnalyzer.DiLeptonAnalyzer.process(), objects.VertexAnalyzer.VertexAnalyzer.process(), HITrackClusterRemover.process(), HTTP.RequestManager.process(), GenLumiInfoProduct::ProcessInfo.process(), ora::UniqueReferenceMapping.process(), core.PileUpAnalyzer.PileUpAnalyzer.process(), EcalFenixStrip.process(), ora::OraPtrMapping.process(), lhef::LHERunInfo::Process.process(), CaloTowersCreationAlgo.process(), ora::NamedRefMapping.process(), objects.TauAnalyzer.TauAnalyzer.process(), ora::ArrayMapping.process(), core.AutoFillTreeProducer.AutoFillTreeProducer.process(), EgammaHLTValidationUtils.EgammaDQMModuleMaker.process, ora::CArrayMapping.process(), L1GctJetFinderBase.process(), ora::ObjectMapping.process(), ora::EmptyMapping.process(), Config.Process.process, looper.Looper.process(), edm::SubProcess.process(), gen.GeneratorAnalyzer.GeneratorAnalyzer.process(), objects.PhotonAnalyzer.PhotonAnalyzer.process(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.process(), edm::ProductHolderIndexHelper::Item.process(), objects.LeptonAnalyzer.LeptonAnalyzer.process(), split, and archive.zip.

552  def doNotInlineEventContent(instance,label = "cms.untracked.vstring(process."+theStreamType+"EventContent.outputCommands)"):
return label
def ConfigBuilder.ConfigBuilder.doNotInlineEventContent (   instance,
  label = "cms.untracked.vstring(process."+theStreamType+"EventContent.outputCommands)" 
)

Definition at line 563 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.executeAndRemember(), CMSTestAnalyzer.CMSTestAnalyzer.process(), Printer.Printer.process(), DTTTrigProd.DTTTrigProd.process, HcalHitRelabeller.process(), SimpleTreeAnalyzer.SimpleTreeAnalyzer.process(), Histogrammer.Histogrammer.process(), DTDqm.DTDqm.process, helper::NullPostProcessor< reco::CandidateCollection, edm::EDFilter >.process(), helper::NullPostProcessor< typename::helper::SelectedOutputCollectionTrait< reco::TrackCollection >::type, EdmFilter >.process(), DTDQMMerge.DTDQMMerge.process, NullPostProcessor< reco::CandidateCollection >.process(), EDFilter<>.process(), NullPostProcessor< OutputCollection, edm::EDFilter >.process(), NullPostProcessor< OutputCollection, EdmFilter >.process(), NullPostProcessor< OutputCollection >.process(), DTValidSummary.DTValidSummary.process, SimpleJetAnalyzer.SimpleJetAnalyzer.process(), helper::NullPostProcessor< OutputCollection, EdmFilter >.process(), SimpleTreeProducer.SimpleTreeProducer.process(), DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.process, DTAnalysisResiduals.DTAnalysisResiduals.process, tfwliteselectortest::ThingsWorker.process(), DTDQMHarvesting.DTDQMHarvesting.process, DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.process, DTNoiseCalibration.DTNoiseCalibration.process, DTResidualCalibration.DTResidualCalibration.process, clangcms::CatchAll.process(), DTDQMValidation.DTDQMValidation.process, core.Analyzer.Analyzer.process(), DummyUpdator.process(), DTTTrigValid.DTTTrigValid.process, EcalFenixTcpsFgvbEB.process(), tfwliteselectortest::ThingsTSelector.process(), gen.LHEAnalyzer.LHEAnalyzer.process(), CSCTFDTReceiver.process(), EcalFenixBypassLin.process(), EcalFenixPeakFinder.process(), MetTreeProducer.MetTreeProducer.process(), EcalFenixMaxof2.process(), CSCTFMonitorInterface.process(), TTULogic.process(), CSCMonitorInterface.process(), SingleTrajectoryUpdator.process(), examples::TrackAnalysisAlgorithm.process(), RBCLogic.process(), TTUWedgeORLogic.process(), EcalFenixEtStrip.process(), RBCPatternLogic.process(), TTUSectorORLogic.process(), PFPileUpAlgo.process(), EcalFenixTcpFormat.process(), KalmanAlignmentUpdator.process(), __class__Worker.process(), npstat::AbsVisitor< Input, unsigned long >.process(), HcalCableMapper.process(), npstat::AbsVisitor< Input, Result >.process(), EcalFenixAmplitudeFilter.process(), DTT0DBValidation.DTT0DBValidation.process, EcalFenixStripFormatEE.process(), BTagDifferentialPlot.process(), npstat::AbsArrayProjector< Input, Result >.process(), DTVDriftMeanTimerWriter.DTVDriftMeanTimerWriter.process, EcalFenixStripFormatEB.process(), DTVDriftSegmentWriter.DTVDriftSegmentWriter.process, TTUPointingLogic.process(), MetAnalyzer.MetAnalyzer.process(), RBCTestLogic.process(), EcalFenixEtTot.process(), core.TriggerBitFilter.TriggerBitFilter.process(), TTUTwoORLogic.process(), DTTTrigResidualCorr.DTTTrigResidualCorr.process, ora::IRelationalMapping.process(), HcalSimpleReconstructor.process(), EcalFenixStripFgvbEE.process(), RBCChamberORLogic.process(), TTUTrackingAlg.process(), EcalFenixTcpFgvbEE.process(), DTTTrigCorrFirst.DTTTrigCorrFirst.process, gen.HiggsDecayModeAnalyzer.HiggsDecayModeAnalyzer.process(), EcalFenixFgvbEB.process(), L1GctEmLeafCard.process(), L1GctNullJetFinder.process(), edm::ConsumesInfo.process(), SiStripClusterToDigiProducer.process(), L1GctSimpleJetFinder.process(), TriggerAnalyzer.TriggerAnalyzer.process(), EcalFenixLinearizer.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(), edm::InputTag.process(), npstat::VisitCounter< Input >.process(), L1GctElectronFinalSort.process(), core.EventSelector.EventSelector.process(), PFJetBenchmark.process(), core.JSONAnalyzer.JSONAnalyzer.process(), core.TriggerBitAnalyzer.TriggerBitAnalyzer.process(), PFTauElecRejectionBenchmark.process(), ora::PrimitiveMapping.process(), EgammaHLTPixelMatchElectronAlgo.process(), ZMuMuRochCorAnalyzer.ZMuMuRochCorAnalyzer.process(), L1Comparator.process(), L1GctWheelEnergyFpga.process(), L1GctWheelJetFpga.process(), core.SkimAnalyzerCount.SkimAnalyzerCount.process(), analyzer.Analyzer.process(), AlphaTAnalyzer.AlphaTAnalyzer.process(), cscdqm::HWStandbyType.process, ora::BlobMapping.process(), L1GctGlobalEnergyAlgos.process(), L1GctElectronSorter.process(), JetAnalyzer.JetAnalyzer.process(), L1GctTdrJetFinder.process(), TFWLiteSelectorBasic.process(), fwlite::internal::DataKey.process(), KDTreeLinkerBase.process(), L1GctJetLeafCard.process(), DTTFFEDReader.process(), L1GlobalCaloTrigger.process(), TFWLiteSelector< ThingsWorker >.process(), TFWLiteSelector< __class__Worker >.process(), edm::EDConsumerBase::Labels.process, TFWLiteSelector< TrackAnalysisAlgorithm >.process(), TFWLiteSelector< TWorker >.process(), EcalFenixTcp.process(), ora::OraReferenceMapping.process(), SeedClusterRemover.process(), HLTTrackClusterRemoverNew.process(), TestOutliers.process, objects.JetAnalyzer.JetAnalyzer.process(), DiLeptonAnalyzer.DiLeptonAnalyzer.process(), objects.VertexAnalyzer.VertexAnalyzer.process(), HITrackClusterRemover.process(), HTTP.RequestManager.process(), GenLumiInfoProduct::ProcessInfo.process(), ora::UniqueReferenceMapping.process(), core.PileUpAnalyzer.PileUpAnalyzer.process(), EcalFenixStrip.process(), ora::OraPtrMapping.process(), lhef::LHERunInfo::Process.process(), ora::NamedRefMapping.process(), CaloTowersCreationAlgo.process(), objects.TauAnalyzer.TauAnalyzer.process(), ora::ArrayMapping.process(), core.AutoFillTreeProducer.AutoFillTreeProducer.process(), EgammaHLTValidationUtils.EgammaDQMModuleMaker.process, ora::CArrayMapping.process(), L1GctJetFinderBase.process(), ora::ObjectMapping.process(), ora::EmptyMapping.process(), Config.Process.process, looper.Looper.process(), edm::SubProcess.process(), gen.GeneratorAnalyzer.GeneratorAnalyzer.process(), objects.PhotonAnalyzer.PhotonAnalyzer.process(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.process(), edm::ProductHolderIndexHelper::Item.process(), and objects.LeptonAnalyzer.LeptonAnalyzer.process().

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

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

Definition at line 623 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.doNotInlineEventContent().

624  def doNotInlineEventContent(instance,label = "process."+streamType+"EventContent.outputCommands"):
return label
def ConfigBuilder.ConfigBuilder.doNotInlineEventContent (   instance,
  label = "process."+streamType+"EventContent.outputCommands" 
)

Definition at line 635 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.doNotInlineEventContent().

636  def doNotInlineEventContent(instance,label = "process."+streamType+"EventContent.outputCommands"):
return label
def ConfigBuilder.ConfigBuilder.executeAndRemember (   self,
  command 
)
helper routine to remember replace statements

Definition at line 295 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.executeAndRemember().

296  def executeAndRemember(self, command):
297  """helper routine to remember replace statements"""
298  self.additionalCommands.append(command)
299  if not command.strip().startswith("#"):
300  # substitute: process.foo = process.bar -> self.process.foo = self.process.bar
301  import re
302  exec(re.sub(r"([^a-zA-Z_0-9]|^)(process)([^a-zA-Z_0-9])",r"\1self.process\3",command))
303  #exec(command.replace("process.","self.process."))
def ConfigBuilder.ConfigBuilder.executeAndRemember (   self,
  command 
)
helper routine to remember replace statements

Definition at line 312 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.doNotInlineEventContent(), ConfigBuilder.ConfigBuilder.executeAndRemember(), 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_DIGIPREMIX_S2(), ConfigBuilder.ConfigBuilder.prepare_FASTSIM(), ConfigBuilder.ConfigBuilder.prepare_HLT(), and ConfigBuilder.ConfigBuilder.prepare_VALIDATION().

313  def executeAndRemember(self, command):
314  """helper routine to remember replace statements"""
315  self.additionalCommands.append(command)
316  if not command.strip().startswith("#"):
317  # substitute: process.foo = process.bar -> self.process.foo = self.process.bar
318  import re
319  exec(re.sub(r"([^a-zA-Z_0-9]|^)(process)([^a-zA-Z_0-9])",r"\1self.process\3",command))
320  #exec(command.replace("process.","self.process."))
def ConfigBuilder.ConfigBuilder.expandMapping (   self,
  seqList,
  mapping,
  index = None 
)

Definition at line 1870 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.expandMapping().

1871  def expandMapping(self,seqList,mapping,index=None):
1872  maxLevel=20
1873  level=0
1874  while '@' in repr(seqList) and level<maxLevel:
1875  level+=1
1876  for specifiedCommand in seqList:
1877  if specifiedCommand.startswith('@'):
1878  location=specifiedCommand[1:]
1879  if not location in mapping:
1880  raise Exception("Impossible to map "+location+" from "+repr(mapping))
1881  mappedTo=mapping[location]
1882  if index!=None:
1883  mappedTo=mappedTo[index]
1884  seqList.remove(specifiedCommand)
1885  seqList.extend(mappedTo.split('+'))
1886  break;
1887  if level==maxLevel:
1888  raise Exception("Could not fully expand "+repr(seqList)+" from "+repr(mapping))
def ConfigBuilder.ConfigBuilder.expandMapping (   self,
  seqList,
  mapping,
  index = None 
)

Definition at line 1913 of file ConfigBuilder.py.

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

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

Definition at line 347 of file ConfigBuilder.py.

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

348  def filesFromOption(self):
349  for entry in self._options.filein.split(','):
350  print "entry",entry
351  if entry.startswith("filelist:"):
352  filesFromList(entry[9:],self.process.source)
353  elif entry.startswith("dbs:") or entry.startswith("das:"):
354  filesFromDASQuery('file dataset = %s'%(entry[4:]),self.process.source)
355  else:
356  self.process.source.fileNames.append(self._options.dirin+entry)
357  if self._options.secondfilein:
358  if not hasattr(self.process.source,"secondaryFileNames"):
359  raise Exception("--secondfilein not compatible with "+self._options.filetype+"input type")
360  for entry in self._options.secondfilein.split(','):
361  print "entry",entry
362  if entry.startswith("filelist:"):
363  self.process.source.secondaryFileNames.extend((filesFromList(entry[9:]))[0])
364  elif entry.startswith("dbs:") or entry.startswith("das:"):
365  self.process.source.secondaryFileNames.extend((filesFromDASQuery('file dataset = %s'%(entry[4:])))[0])
366  else:
367  self.process.source.secondaryFileNames.append(self._options.dirin+entry)
368 
369  if self._options.filein or self._options.dasquery:
370  if self._options.filetype == "EDM":
371  self.process.source=cms.Source("PoolSource",
372  fileNames = cms.untracked.vstring(),
373  secondaryFileNames= cms.untracked.vstring())
374  filesFromOption(self)
375  elif self._options.filetype == "DAT":
376  self.process.source=cms.Source("NewEventStreamFileReader",fileNames = cms.untracked.vstring())
377  filesFromOption(self)
378  elif self._options.filetype == "LHE":
379  self.process.source=cms.Source("LHESource", fileNames = cms.untracked.vstring())
380  if self._options.filein.startswith("lhe:"):
381  #list the article directory automatically
382  args=self._options.filein.split(':')
383  article=args[1]
384  print 'LHE input from article ',article
385  location='/store/lhe/'
386  import os
387  textOfFiles=os.popen('cmsLHEtoEOSManager.py -l '+article)
388  for line in textOfFiles:
389  for fileName in [x for x in line.split() if '.lhe' in x]:
390  self.process.source.fileNames.append(location+article+'/'+fileName)
391  if len(args)>2:
392  self.process.source.skipEvents = cms.untracked.uint32(int(args[2]))
393  else:
394  filesFromOption(self)
395 
396 
397  elif self._options.filetype == "DQM":
398  self.process.source=cms.Source("DQMRootSource",
399  fileNames = cms.untracked.vstring())
400  filesFromOption(self)
401 
402  elif self._options.filetype == "DQMDAQ":
403  # FIXME: how to configure it if there are no input files specified?
404  self.process.source=cms.Source("DQMStreamerReader")
405 
406 
407  if ('HARVESTING' in self.stepMap.keys() or 'ALCAHARVEST' in self.stepMap.keys()) and (not self._options.filetype == "DQM"):
408  self.process.source.processingMode = cms.untracked.string("RunsAndLumis")
def ConfigBuilder.ConfigBuilder.filesFromOption (   self)

Definition at line 364 of file ConfigBuilder.py.

References ConfigBuilder.filesFromDASQuery(), and ConfigBuilder.filesFromList().

Referenced by ConfigBuilder.ConfigBuilder.filesFromOption().

365  def filesFromOption(self):
366  for entry in self._options.filein.split(','):
367  print "entry",entry
368  if entry.startswith("filelist:"):
369  filesFromList(entry[9:],self.process.source)
370  elif entry.startswith("dbs:") or entry.startswith("das:"):
371  filesFromDASQuery('file dataset = %s'%(entry[4:]),self.process.source)
372  else:
373  self.process.source.fileNames.append(self._options.dirin+entry)
374  if self._options.secondfilein:
375  if not hasattr(self.process.source,"secondaryFileNames"):
376  raise Exception("--secondfilein not compatible with "+self._options.filetype+"input type")
377  for entry in self._options.secondfilein.split(','):
378  print "entry",entry
379  if entry.startswith("filelist:"):
380  self.process.source.secondaryFileNames.extend((filesFromList(entry[9:]))[0])
381  elif entry.startswith("dbs:") or entry.startswith("das:"):
382  self.process.source.secondaryFileNames.extend((filesFromDASQuery('file dataset = %s'%(entry[4:])))[0])
383  else:
384  self.process.source.secondaryFileNames.append(self._options.dirin+entry)
385 
386  if self._options.filein or self._options.dasquery:
387  if self._options.filetype == "EDM":
388  self.process.source=cms.Source("PoolSource",
389  fileNames = cms.untracked.vstring(),
390  secondaryFileNames= cms.untracked.vstring())
391  filesFromOption(self)
392  elif self._options.filetype == "DAT":
393  self.process.source=cms.Source("NewEventStreamFileReader",fileNames = cms.untracked.vstring())
394  filesFromOption(self)
395  elif self._options.filetype == "LHE":
396  self.process.source=cms.Source("LHESource", fileNames = cms.untracked.vstring())
397  if self._options.filein.startswith("lhe:"):
398  #list the article directory automatically
399  args=self._options.filein.split(':')
400  article=args[1]
401  print 'LHE input from article ',article
402  location='/store/lhe/'
403  import os
404  textOfFiles=os.popen('cmsLHEtoEOSManager.py -l '+article)
405  for line in textOfFiles:
406  for fileName in [x for x in line.split() if '.lhe' in x]:
407  self.process.source.fileNames.append(location+article+'/'+fileName)
408  if len(args)>2:
409  self.process.source.skipEvents = cms.untracked.uint32(int(args[2]))
410  else:
411  filesFromOption(self)
412 
413 
414  elif self._options.filetype == "DQM":
415  self.process.source=cms.Source("DQMRootSource",
416  fileNames = cms.untracked.vstring())
417  filesFromOption(self)
418 
419  elif self._options.filetype == "DQMDAQ":
420  # FIXME: how to configure it if there are no input files specified?
421  self.process.source=cms.Source("DQMStreamerReader")
422 
423 
424  if ('HARVESTING' in self.stepMap.keys() or 'ALCAHARVEST' in self.stepMap.keys()) and (not self._options.filetype == "DQM"):
425  self.process.source.processingMode = cms.untracked.string("RunsAndLumis")
def ConfigBuilder.ConfigBuilder.finalizeFastSimHLT (   self)

Definition at line 1985 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.finalizeFastSimHLT().

1986  def finalizeFastSimHLT(self):
1987  self.process.reconstruction = cms.Path(self.process.reconstructionWithFamos)
1988  self.schedule.append(self.process.reconstruction)
def ConfigBuilder.ConfigBuilder.finalizeFastSimHLT (   self)

Definition at line 2034 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.finalizeFastSimHLT(), ConfigBuilder.ConfigBuilder.prepare_FASTSIM(), and ConfigBuilder.ConfigBuilder.prepare_HLT().

2035  def finalizeFastSimHLT(self):
2036  self.process.reconstruction = cms.Path(self.process.reconstructionWithFamos)
2037  self.schedule.append(self.process.reconstruction)
2038 
def ConfigBuilder.ConfigBuilder.inGeometryKeys (   opt)

Definition at line 1034 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.DIGIDefaultCFF, ConfigBuilder.ConfigBuilder.inGeometryKeys(), ConfigBuilder.ConfigBuilder.RECODefaultCFF, ConfigBuilder.ConfigBuilder.SIMDefaultCFF, and split.

1035  def inGeometryKeys(opt):
1036  from Configuration.StandardSequences.GeometryConf import GeometryConf
1037  if opt in GeometryConf:
1038  return GeometryConf[opt]
1039  else:
1040  return opt
def ConfigBuilder.ConfigBuilder.inGeometryKeys (   opt)

Definition at line 1055 of file ConfigBuilder.py.

References split.

Referenced by ConfigBuilder.ConfigBuilder.inGeometryKeys().

1056  def inGeometryKeys(opt):
1057  from Configuration.StandardSequences.GeometryConf import GeometryConf
1058  if opt in GeometryConf:
1059  return GeometryConf[opt]
1060  else:
1061  return opt
def ConfigBuilder.ConfigBuilder.load (   self,
  includeFile 
)

Definition at line 277 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.load().

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

278  def load(self,includeFile):
279  includeFile = includeFile.replace('/','.')
280  self.process.load(includeFile)
281  return sys.modules[includeFile]
def ConfigBuilder.ConfigBuilder.load (   self,
  includeFile 
)

Definition at line 294 of file ConfigBuilder.py.

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

295  def load(self,includeFile):
296  includeFile = includeFile.replace('/','.')
297  self.process.load(includeFile)
298  return sys.modules[includeFile]
def ConfigBuilder.ConfigBuilder.loadAndRemember (   self,
  includeFile,
  unsch = 0 
)
helper routine to load am memorize imports

Definition at line 282 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.loadAndRemember().

283  def loadAndRemember(self, includeFile,unsch=0):
284  """helper routine to load am memorize imports"""
285  # we could make the imports a on-the-fly data method of the process instance itself
286  # not sure if the latter is a good idea
includeFile = includeFile.replace('/','.')
def ConfigBuilder.ConfigBuilder.loadAndRemember (   self,
  includeFile,
  unsch = 0 
)
helper routine to load am memorize imports

Definition at line 299 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.define_Configs(), ConfigBuilder.ConfigBuilder.loadAndRemember(), 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_DIGIPREMIX_S2(), ConfigBuilder.ConfigBuilder.prepare_FASTSIM(), ConfigBuilder.ConfigBuilder.prepare_HARVESTING(), ConfigBuilder.ConfigBuilder.prepare_HLT(), ConfigBuilder.ConfigBuilder.prepare_L1(), ConfigBuilder.ConfigBuilder.prepare_L1REPACK(), ConfigBuilder.ConfigBuilder.prepare_PATFILTER(), and ConfigBuilder.ConfigBuilder.prepare_POSTRECO().

300  def loadAndRemember(self, includeFile,unsch=0):
301  """helper routine to load am memorize imports"""
302  # we could make the imports a on-the-fly data method of the process instance itself
303  # not sure if the latter is a good idea
includeFile = includeFile.replace('/','.')
def ConfigBuilder.ConfigBuilder.loadDefaultOrSpecifiedCFF (   self,
  sequence,
  defaultCFF,
  unsch = 0 
)

Definition at line 1177 of file ConfigBuilder.py.

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

1178  def loadDefaultOrSpecifiedCFF(self, sequence,defaultCFF,unsch=0):
1179  if ( len(sequence.split('.'))==1 ):
1180  l=self.loadAndRemember(defaultCFF,unsch)
1181  elif ( len(sequence.split('.'))==2 ):
1182  l=self.loadAndRemember(sequence.split('.')[0],unsch)
1183  sequence=sequence.split('.')[1]
1184  else:
1185  print "sub sequence configuration must be of the form dir/subdir/cff.a+b+c or cff.a"
1186  print sequence,"not recognized"
1187  raise
1188  return l
def ConfigBuilder.ConfigBuilder.loadDefaultOrSpecifiedCFF (   self,
  sequence,
  defaultCFF,
  unsch = 0 
)

Definition at line 1210 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.loadAndRemember().

Referenced by ConfigBuilder.ConfigBuilder.loadDefaultOrSpecifiedCFF(), ConfigBuilder.ConfigBuilder.prepare_ALCA(), ConfigBuilder.ConfigBuilder.prepare_DIGI(), ConfigBuilder.ConfigBuilder.prepare_DIGI2RAW(), ConfigBuilder.ConfigBuilder.prepare_DIGIPREMIX(), ConfigBuilder.ConfigBuilder.prepare_DIGIPREMIX_S2(), ConfigBuilder.ConfigBuilder.prepare_DQM(), ConfigBuilder.ConfigBuilder.prepare_ENDJOB(), ConfigBuilder.ConfigBuilder.prepare_HARVESTING(), ConfigBuilder.ConfigBuilder.prepare_L1HwVal(), ConfigBuilder.ConfigBuilder.prepare_L1Reco(), ConfigBuilder.ConfigBuilder.prepare_L1TrackTrigger(), ConfigBuilder.ConfigBuilder.prepare_PAT(), ConfigBuilder.ConfigBuilder.prepare_RAW2DIGI(), ConfigBuilder.ConfigBuilder.prepare_RECO(), ConfigBuilder.ConfigBuilder.prepare_RECOBEFMIX(), ConfigBuilder.ConfigBuilder.prepare_REPACK(), ConfigBuilder.ConfigBuilder.prepare_SKIM(), ConfigBuilder.ConfigBuilder.prepare_USER(), and ConfigBuilder.ConfigBuilder.prepare_VALIDATION().

1211  def loadDefaultOrSpecifiedCFF(self, sequence,defaultCFF,unsch=0):
1212  if ( len(sequence.split('.'))==1 ):
1213  l=self.loadAndRemember(defaultCFF,unsch)
1214  elif ( len(sequence.split('.'))==2 ):
1215  l=self.loadAndRemember(sequence.split('.')[0],unsch)
1216  sequence=sequence.split('.')[1]
1217  else:
1218  print "sub sequence configuration must be of the form dir/subdir/cff.a+b+c or cff.a"
1219  print sequence,"not recognized"
1220  raise
1221  return l
def ConfigBuilder.ConfigBuilder.prepare (   self,
  doChecking = False 
)
Prepare the configuration string and add missing pieces.

Definition at line 2050 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.addConditions(), ConfigBuilder.ConfigBuilder.addMaxEvents(), ConfigBuilder.ConfigBuilder.addSource(), ConfigBuilder.ConfigBuilder.addStandardSequences(), ConfigBuilder.ConfigBuilder.completeInputCommand(), and ConfigBuilder.ConfigBuilder.loadAndRemember().

Referenced by ConfigBuilder.ConfigBuilder.prepare().

2051  def prepare(self, doChecking = False):
2052  """ Prepare the configuration string and add missing pieces."""
2053 
2054  self.loadAndRemember(self.EVTCONTDefaultCFF) #load the event contents regardless
2055  self.addMaxEvents()
2056  if self.with_input:
self.addSource()
def ConfigBuilder.ConfigBuilder.prepare (   self,
  doChecking = False 
)
Prepare the configuration string and add missing pieces.

Definition at line 2073 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.addCommon(), ConfigBuilder.ConfigBuilder.addConditions(), ConfigBuilder.ConfigBuilder.addCustomise(), ConfigBuilder.ConfigBuilder.addMaxEvents(), ConfigBuilder.ConfigBuilder.addOutput(), ConfigBuilder.ConfigBuilder.addSource(), ConfigBuilder.ConfigBuilder.addStandardSequences(), ConfigBuilder.ConfigBuilder.build_production_info(), ConfigBuilder.ConfigBuilder.completeInputCommand(), ConfigBuilder.dumpPython(), join(), ConfigBuilder.ConfigBuilder.loadAndRemember(), ConfigBuilder.MassReplaceInputTag(), ConfigBuilder.ConfigBuilder.prepare(), CMSTestAnalyzer.CMSTestAnalyzer.process(), Printer.Printer.process(), DTTTrigProd.DTTTrigProd.process, HcalHitRelabeller.process(), SimpleTreeAnalyzer.SimpleTreeAnalyzer.process(), Histogrammer.Histogrammer.process(), SimpleTreeProducer.SimpleTreeProducer.process(), helper::NullPostProcessor< OutputCollection, EdmFilter >.process(), helper::NullPostProcessor< reco::CandidateCollection, edm::EDFilter >.process(), helper::NullPostProcessor< typename::helper::SelectedOutputCollectionTrait< reco::TrackCollection >::type, EdmFilter >.process(), NullPostProcessor< OutputCollection, edm::EDFilter >.process(), NullPostProcessor< reco::CandidateCollection >.process(), NullPostProcessor< OutputCollection >.process(), EDFilter<>.process(), NullPostProcessor< OutputCollection, EdmFilter >.process(), DTDqm.DTDqm.process, DTValidSummary.DTValidSummary.process, DTDQMMerge.DTDQMMerge.process, SimpleJetAnalyzer.SimpleJetAnalyzer.process(), tfwliteselectortest::ThingsWorker.process(), DTAnalysisResiduals.DTAnalysisResiduals.process, DTDQMHarvesting.DTDQMHarvesting.process, DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.process, DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.process, DTResidualCalibration.DTResidualCalibration.process, DTNoiseCalibration.DTNoiseCalibration.process, DummyUpdator.process(), DTTTrigValid.DTTTrigValid.process, clangcms::CatchAll.process(), core.Analyzer.Analyzer.process(), DTDQMValidation.DTDQMValidation.process, CSCTFDTReceiver.process(), EcalFenixTcpsFgvbEB.process(), gen.LHEAnalyzer.LHEAnalyzer.process(), tfwliteselectortest::ThingsTSelector.process(), EcalFenixBypassLin.process(), EcalFenixPeakFinder.process(), MetTreeProducer.MetTreeProducer.process(), EcalFenixMaxof2.process(), CSCTFMonitorInterface.process(), examples::TrackAnalysisAlgorithm.process(), SingleTrajectoryUpdator.process(), TTULogic.process(), CSCMonitorInterface.process(), RBCLogic.process(), TTUWedgeORLogic.process(), PFPileUpAlgo.process(), EcalFenixEtStrip.process(), RBCPatternLogic.process(), TTUSectorORLogic.process(), KalmanAlignmentUpdator.process(), npstat::AbsVisitor< Input, Result >.process(), HcalCableMapper.process(), EcalFenixTcpFormat.process(), npstat::AbsVisitor< Input, unsigned long >.process(), __class__Worker.process(), npstat::AbsArrayProjector< Input, Result >.process(), DTT0DBValidation.DTT0DBValidation.process, EcalFenixAmplitudeFilter.process(), EcalFenixStripFormatEE.process(), BTagDifferentialPlot.process(), EcalFenixStripFormatEB.process(), RBCTestLogic.process(), TTUPointingLogic.process(), DTVDriftMeanTimerWriter.DTVDriftMeanTimerWriter.process, DTVDriftSegmentWriter.DTVDriftSegmentWriter.process, MetAnalyzer.MetAnalyzer.process(), EcalFenixEtTot.process(), core.TriggerBitFilter.TriggerBitFilter.process(), ora::IRelationalMapping.process(), DTTTrigResidualCorr.DTTTrigResidualCorr.process, HcalSimpleReconstructor.process(), TTUTwoORLogic.process(), EcalFenixStripFgvbEE.process(), EcalFenixTcpFgvbEE.process(), TTUTrackingAlg.process(), RBCChamberORLogic.process(), DTTTrigCorrFirst.DTTTrigCorrFirst.process, gen.HiggsDecayModeAnalyzer.HiggsDecayModeAnalyzer.process(), EcalFenixFgvbEB.process(), L1GctNullJetFinder.process(), L1GctEmLeafCard.process(), edm::ConsumesInfo.process(), EcalFenixLinearizer.process(), L1GctSimpleJetFinder.process(), TriggerAnalyzer.TriggerAnalyzer.process(), SiStripClusterToDigiProducer.process(), L1GctHardwareJetFinder.process(), DTTTrigTimeBoxesWriter.DTTTrigTimeBoxesWriter.process, RPCWheel.process(), gen.GenHeavyFlavourAnalyzer.GenHeavyFlavourAnalyzer.process(), TTUConfigurator.process(), L1GctJetFinalStage.process(), L1GctProcessor.process(), gen.PDFWeightsAnalyzer.PDFWeightsAnalyzer.process(), L1GctGlobalHfSumAlgos.process(), edm::InputTag.process(), npstat::VisitCounter< Input >.process(), PFMETBenchmark.process(), L1GctElectronFinalSort.process(), PFJetBenchmark.process(), core.EventSelector.EventSelector.process(), core.JSONAnalyzer.JSONAnalyzer.process(), core.TriggerBitAnalyzer.TriggerBitAnalyzer.process(), PFTauElecRejectionBenchmark.process(), ora::PrimitiveMapping.process(), EgammaHLTPixelMatchElectronAlgo.process(), ZMuMuRochCorAnalyzer.ZMuMuRochCorAnalyzer.process(), L1Comparator.process(), L1GctWheelEnergyFpga.process(), core.SkimAnalyzerCount.SkimAnalyzerCount.process(), L1GctWheelJetFpga.process(), analyzer.Analyzer.process(), AlphaTAnalyzer.AlphaTAnalyzer.process(), cscdqm::HWStandbyType.process, ora::BlobMapping.process(), L1GctGlobalEnergyAlgos.process(), L1GctElectronSorter.process(), JetAnalyzer.JetAnalyzer.process(), L1GctTdrJetFinder.process(), TFWLiteSelectorBasic.process(), fwlite::internal::DataKey.process(), KDTreeLinkerBase.process(), L1GctJetLeafCard.process(), DTTFFEDReader.process(), L1GlobalCaloTrigger.process(), TFWLiteSelector< ThingsWorker >.process(), TFWLiteSelector< TrackAnalysisAlgorithm >.process(), TFWLiteSelector< __class__Worker >.process(), TFWLiteSelector< TWorker >.process(), edm::EDConsumerBase::Labels.process, ora::OraReferenceMapping.process(), EcalFenixTcp.process(), SeedClusterRemover.process(), HLTTrackClusterRemoverNew.process(), TestOutliers.process, objects.JetAnalyzer.JetAnalyzer.process(), DiLeptonAnalyzer.DiLeptonAnalyzer.process(), HITrackClusterRemover.process(), HTTP.RequestManager.process(), objects.VertexAnalyzer.VertexAnalyzer.process(), GenLumiInfoProduct::ProcessInfo.process(), ora::UniqueReferenceMapping.process(), core.PileUpAnalyzer.PileUpAnalyzer.process(), EcalFenixStrip.process(), ora::OraPtrMapping.process(), lhef::LHERunInfo::Process.process(), CaloTowersCreationAlgo.process(), ora::NamedRefMapping.process(), objects.TauAnalyzer.TauAnalyzer.process(), ora::ArrayMapping.process(), core.AutoFillTreeProducer.AutoFillTreeProducer.process(), EgammaHLTValidationUtils.EgammaDQMModuleMaker.process, ora::CArrayMapping.process(), L1GctJetFinderBase.process(), ora::ObjectMapping.process(), ora::EmptyMapping.process(), Config.Process.process, looper.Looper.process(), edm::SubProcess.process(), gen.GeneratorAnalyzer.GeneratorAnalyzer.process(), objects.PhotonAnalyzer.PhotonAnalyzer.process(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.process(), edm::ProductHolderIndexHelper::Item.process(), objects.LeptonAnalyzer.LeptonAnalyzer.process(), and Config.Process.schedule.

2074  def prepare(self, doChecking = False):
2075  """ Prepare the configuration string and add missing pieces."""
2076 
2077  self.loadAndRemember(self.EVTCONTDefaultCFF) #load the event contents regardless
2078  self.addMaxEvents()
2079  if self.with_input:
self.addSource()
def ConfigBuilder.ConfigBuilder.prepare_ALCA (   self,
  sequence = None,
  workflow = 'full' 
)
Enrich the process with alca streams 

Definition at line 1224 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.addExtraStream(), ConfigBuilder.ConfigBuilder.ALCADefaultCFF, ConfigBuilder.ConfigBuilder.executeAndRemember(), ConfigBuilder.ConfigBuilder.expandMapping(), ConfigBuilder.ConfigBuilder.loadDefaultOrSpecifiedCFF(), ConfigBuilder.ConfigBuilder.prepare_ALCA(), CMSTestAnalyzer.CMSTestAnalyzer.process(), Printer.Printer.process(), DTTTrigProd.DTTTrigProd.process, HcalHitRelabeller.process(), SimpleTreeAnalyzer.SimpleTreeAnalyzer.process(), Histogrammer.Histogrammer.process(), helper::NullPostProcessor< OutputCollection, EdmFilter >.process(), DTDQMMerge.DTDQMMerge.process, DTValidSummary.DTValidSummary.process, NullPostProcessor< OutputCollection, EdmFilter >.process(), helper::NullPostProcessor< typename::helper::SelectedOutputCollectionTrait< reco::TrackCollection >::type, EdmFilter >.process(), NullPostProcessor< reco::CandidateCollection >.process(), NullPostProcessor< OutputCollection, edm::EDFilter >.process(), helper::NullPostProcessor< reco::CandidateCollection, edm::EDFilter >.process(), EDFilter<>.process(), NullPostProcessor< OutputCollection >.process(), SimpleJetAnalyzer.SimpleJetAnalyzer.process(), DTDqm.DTDqm.process, SimpleTreeProducer.SimpleTreeProducer.process(), DTDQMHarvesting.DTDQMHarvesting.process, DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.process, DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.process, DTAnalysisResiduals.DTAnalysisResiduals.process, tfwliteselectortest::ThingsWorker.process(), DTNoiseCalibration.DTNoiseCalibration.process, DTResidualCalibration.DTResidualCalibration.process, DTTTrigValid.DTTTrigValid.process, clangcms::CatchAll.process(), DTDQMValidation.DTDQMValidation.process, core.Analyzer.Analyzer.process(), DummyUpdator.process(), CSCTFDTReceiver.process(), EcalFenixTcpsFgvbEB.process(), tfwliteselectortest::ThingsTSelector.process(), gen.LHEAnalyzer.LHEAnalyzer.process(), EcalFenixBypassLin.process(), EcalFenixPeakFinder.process(), MetTreeProducer.MetTreeProducer.process(), EcalFenixMaxof2.process(), CSCTFMonitorInterface.process(), examples::TrackAnalysisAlgorithm.process(), TTULogic.process(), CSCMonitorInterface.process(), SingleTrajectoryUpdator.process(), RBCLogic.process(), TTUWedgeORLogic.process(), PFPileUpAlgo.process(), EcalFenixEtStrip.process(), RBCPatternLogic.process(), TTUSectorORLogic.process(), npstat::AbsVisitor< Input, Result >.process(), HcalCableMapper.process(), EcalFenixTcpFormat.process(), npstat::AbsVisitor< Input, unsigned long >.process(), __class__Worker.process(), KalmanAlignmentUpdator.process(), EcalFenixAmplitudeFilter.process(), EcalFenixStripFormatEE.process(), BTagDifferentialPlot.process(), DTT0DBValidation.DTT0DBValidation.process, npstat::AbsArrayProjector< Input, Result >.process(), EcalFenixStripFormatEB.process(), RBCTestLogic.process(), TTUPointingLogic.process(), DTVDriftSegmentWriter.DTVDriftSegmentWriter.process, MetAnalyzer.MetAnalyzer.process(), DTVDriftMeanTimerWriter.DTVDriftMeanTimerWriter.process, EcalFenixEtTot.process(), core.TriggerBitFilter.TriggerBitFilter.process(), DTTTrigResidualCorr.DTTTrigResidualCorr.process, HcalSimpleReconstructor.process(), ora::IRelationalMapping.process(), TTUTwoORLogic.process(), EcalFenixStripFgvbEE.process(), RBCChamberORLogic.process(), EcalFenixTcpFgvbEE.process(), TTUTrackingAlg.process(), gen.HiggsDecayModeAnalyzer.HiggsDecayModeAnalyzer.process(), DTTTrigCorrFirst.DTTTrigCorrFirst.process, EcalFenixFgvbEB.process(), L1GctEmLeafCard.process(), L1GctNullJetFinder.process(), edm::ConsumesInfo.process(), L1GctSimpleJetFinder.process(), EcalFenixLinearizer.process(), SiStripClusterToDigiProducer.process(), TriggerAnalyzer.TriggerAnalyzer.process(), L1GctHardwareJetFinder.process(), DTTTrigTimeBoxesWriter.DTTTrigTimeBoxesWriter.process, RPCWheel.process(), gen.GenHeavyFlavourAnalyzer.GenHeavyFlavourAnalyzer.process(), L1GctProcessor.process(), L1GctJetFinalStage.process(), TTUConfigurator.process(), gen.PDFWeightsAnalyzer.PDFWeightsAnalyzer.process(), L1GctGlobalHfSumAlgos.process(), npstat::VisitCounter< Input >.process(), PFMETBenchmark.process(), edm::InputTag.process(), L1GctElectronFinalSort.process(), PFJetBenchmark.process(), core.EventSelector.EventSelector.process(), core.JSONAnalyzer.JSONAnalyzer.process(), core.TriggerBitAnalyzer.TriggerBitAnalyzer.process(), PFTauElecRejectionBenchmark.process(), ora::PrimitiveMapping.process(), EgammaHLTPixelMatchElectronAlgo.process(), ZMuMuRochCorAnalyzer.ZMuMuRochCorAnalyzer.process(), L1Comparator.process(), L1GctWheelEnergyFpga.process(), L1GctWheelJetFpga.process(), core.SkimAnalyzerCount.SkimAnalyzerCount.process(), analyzer.Analyzer.process(), AlphaTAnalyzer.AlphaTAnalyzer.process(), cscdqm::HWStandbyType.process, ora::BlobMapping.process(), L1GctGlobalEnergyAlgos.process(), L1GctElectronSorter.process(), JetAnalyzer.JetAnalyzer.process(), TFWLiteSelectorBasic.process(), L1GctTdrJetFinder.process(), fwlite::internal::DataKey.process(), KDTreeLinkerBase.process(), L1GctJetLeafCard.process(), DTTFFEDReader.process(), L1GlobalCaloTrigger.process(), TFWLiteSelector< ThingsWorker >.process(), TFWLiteSelector< TWorker >.process(), TFWLiteSelector< TrackAnalysisAlgorithm >.process(), edm::EDConsumerBase::Labels.process, TFWLiteSelector< __class__Worker >.process(), ora::OraReferenceMapping.process(), EcalFenixTcp.process(), SeedClusterRemover.process(), HLTTrackClusterRemoverNew.process(), TestOutliers.process, objects.JetAnalyzer.JetAnalyzer.process(), DiLeptonAnalyzer.DiLeptonAnalyzer.process(), objects.VertexAnalyzer.VertexAnalyzer.process(), HTTP.RequestManager.process(), HITrackClusterRemover.process(), GenLumiInfoProduct::ProcessInfo.process(), ora::UniqueReferenceMapping.process(), core.PileUpAnalyzer.PileUpAnalyzer.process(), EcalFenixStrip.process(), ora::OraPtrMapping.process(), lhef::LHERunInfo::Process.process(), CaloTowersCreationAlgo.process(), ora::NamedRefMapping.process(), objects.TauAnalyzer.TauAnalyzer.process(), ora::ArrayMapping.process(), core.AutoFillTreeProducer.AutoFillTreeProducer.process(), EgammaHLTValidationUtils.EgammaDQMModuleMaker.process, ora::CArrayMapping.process(), L1GctJetFinderBase.process(), ora::ObjectMapping.process(), ora::EmptyMapping.process(), Config.Process.process, looper.Looper.process(), edm::SubProcess.process(), gen.GeneratorAnalyzer.GeneratorAnalyzer.process(), objects.PhotonAnalyzer.PhotonAnalyzer.process(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.process(), edm::ProductHolderIndexHelper::Item.process(), objects.LeptonAnalyzer.LeptonAnalyzer.process(), and ConfigBuilder.ConfigBuilder.renameHLTprocessInSequence().

1225  def prepare_ALCA(self, sequence = None, workflow = 'full'):
1226  """ Enrich the process with alca streams """
1227  alcaConfig=self.loadDefaultOrSpecifiedCFF(sequence,self.ALCADefaultCFF)
1228  sequence = sequence.split('.')[-1]
1229 
1230  # decide which ALCA paths to use
alcaList = sequence.split("+")
def ConfigBuilder.ConfigBuilder.prepare_ALCA (   self,
  sequence = None,
  workflow = 'full' 
)
Enrich the process with alca streams 

Definition at line 1257 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.ALCADefaultCFF, ConfigBuilder.ConfigBuilder.expandMapping(), and ConfigBuilder.ConfigBuilder.loadDefaultOrSpecifiedCFF().

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

1258  def prepare_ALCA(self, sequence = None, workflow = 'full'):
1259  """ Enrich the process with alca streams """
1260  alcaConfig=self.loadDefaultOrSpecifiedCFF(sequence,self.ALCADefaultCFF)
1261  sequence = sequence.split('.')[-1]
1262 
1263  # decide which ALCA paths to use
alcaList = sequence.split("+")
def ConfigBuilder.ConfigBuilder.prepare_ALCAHARVEST (   self,
  sequence = None 
)
Enrich the process with AlCaHarvesting step 

Definition at line 1956 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.executeAndRemember(), ConfigBuilder.ConfigBuilder.loadAndRemember(), and ConfigBuilder.ConfigBuilder.prepare_ALCAHARVEST().

1957  def prepare_ALCAHARVEST(self, sequence = None):
1958  """ Enrich the process with AlCaHarvesting step """
1959  harvestingConfig = self.loadAndRemember(self.ALCAHARVESTDefaultCFF)
1960  sequence=sequence.split(".")[-1]
1961 
1962  # decide which AlcaHARVESTING paths to use
1963  harvestingList = sequence.split("+")
1964  for name in harvestingConfig.__dict__:
1965  harvestingstream = getattr(harvestingConfig,name)
1966  if name in harvestingList and isinstance(harvestingstream,cms.Path):
1967  self.schedule.append(harvestingstream)
1968  self.executeAndRemember("process.PoolDBOutputService.toPut.append(process.ALCAHARVEST" + name + "_dbOutput)")
1969  self.executeAndRemember("process.pclMetadataWriter.recordsToMap.append(process.ALCAHARVEST" + name + "_metadata)")
harvestingList.remove(name)
def ConfigBuilder.ConfigBuilder.prepare_ALCAHARVEST (   self,
  sequence = None 
)
Enrich the process with AlCaHarvesting step 

Definition at line 1999 of file ConfigBuilder.py.

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

Referenced by ConfigBuilder.ConfigBuilder.prepare_ALCAHARVEST().

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

Definition at line 1221 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.prepare_ALCA(), and ConfigBuilder.ConfigBuilder.prepare_ALCAOUTPUT().

1222  def prepare_ALCAOUTPUT(self, sequence = None):
1223  self.prepare_ALCA(sequence, workflow = "output")
def ConfigBuilder.ConfigBuilder.prepare_ALCAOUTPUT (   self,
  sequence = None 
)

Definition at line 1254 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.prepare_ALCA().

Referenced by ConfigBuilder.ConfigBuilder.prepare_ALCAOUTPUT().

1255  def prepare_ALCAOUTPUT(self, sequence = None):
1256  self.prepare_ALCA(sequence, workflow = "output")
def ConfigBuilder.ConfigBuilder.prepare_ALCAPRODUCER (   self,
  sequence = None 
)

Definition at line 1218 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.prepare_ALCA(), and ConfigBuilder.ConfigBuilder.prepare_ALCAPRODUCER().

1219  def prepare_ALCAPRODUCER(self, sequence = None):
1220  self.prepare_ALCA(sequence, workflow = "producers")
def ConfigBuilder.ConfigBuilder.prepare_ALCAPRODUCER (   self,
  sequence = None 
)

Definition at line 1251 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.prepare_ALCA().

Referenced by ConfigBuilder.ConfigBuilder.prepare_ALCAPRODUCER().

1252  def prepare_ALCAPRODUCER(self, sequence = None):
1253  self.prepare_ALCA(sequence, workflow = "producers")
def ConfigBuilder.ConfigBuilder.prepare_CFWRITER (   self,
  sequence = None 
)
Enrich the schedule with the crossing frame writer step

Definition at line 1439 of file ConfigBuilder.py.

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

1440  def prepare_CFWRITER(self, sequence = None):
1441  """ Enrich the schedule with the crossing frame writer step"""
1442  self.loadAndRemember(self.CFWRITERDefaultCFF)
1443  self.scheduleSequence('pcfw','cfwriter_step')
1444  return
def ConfigBuilder.ConfigBuilder.prepare_CFWRITER (   self,
  sequence = None 
)
Enrich the schedule with the crossing frame writer step

Definition at line 1475 of file ConfigBuilder.py.

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

Referenced by ConfigBuilder.ConfigBuilder.prepare_CFWRITER().

1476  def prepare_CFWRITER(self, sequence = None):
1477  """ Enrich the schedule with the crossing frame writer step"""
1478  self.loadAndRemember(self.CFWRITERDefaultCFF)
1479  self.scheduleSequence('pcfw','cfwriter_step')
1480  return
def ConfigBuilder.ConfigBuilder.prepare_DATAMIX (   self,
  sequence = None 
)
Enrich the schedule with the digitisation step

Definition at line 1445 of file ConfigBuilder.py.

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

1446  def prepare_DATAMIX(self, sequence = None):
1447  """ Enrich the schedule with the digitisation step"""
1448  self.loadAndRemember(self.DATAMIXDefaultCFF)
1449  self.scheduleSequence('pdatamix','datamixing_step')
1450 
1451  if self._options.pileup_input:
1452  theFiles=''
1453  if self._options.pileup_input.startswith('dbs:') or self._options.pileup_input.startswith('das:'):
1454  theFiles=filesFromDASQuery('file dataset = %s'%(self._options.pileup_input[4:],))[0]
1455  elif self._options.pileup_input.startswith("filelist:"):
1456  theFiles= (filesFromList(self._options.pileup_input[9:]))[0]
1457  else:
1458  theFiles=self._options.pileup_input.split(',')
1459  #print theFiles
1460  self.executeAndRemember( "process.mixData.input.fileNames = cms.untracked.vstring(%s)"%( theFiles ) )
1461 
1462  return
def ConfigBuilder.ConfigBuilder.prepare_DATAMIX (   self,
  sequence = None 
)
Enrich the schedule with the digitisation step

Definition at line 1481 of file ConfigBuilder.py.

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

Referenced by ConfigBuilder.ConfigBuilder.prepare_DATAMIX().

1482  def prepare_DATAMIX(self, sequence = None):
1483  """ Enrich the schedule with the digitisation step"""
1484  self.loadAndRemember(self.DATAMIXDefaultCFF)
1485  self.scheduleSequence('pdatamix','datamixing_step')
1486 
1487  if self._options.pileup_input:
1488  theFiles=''
1489  if self._options.pileup_input.startswith('dbs:') or self._options.pileup_input.startswith('das:'):
1490  theFiles=filesFromDASQuery('file dataset = %s'%(self._options.pileup_input[4:],))[0]
1491  elif self._options.pileup_input.startswith("filelist:"):
1492  theFiles= (filesFromList(self._options.pileup_input[9:]))[0]
1493  else:
1494  theFiles=self._options.pileup_input.split(',')
1495  #print theFiles
1496  self.executeAndRemember( "process.mixData.input.fileNames = cms.untracked.vstring(%s)"%( theFiles ) )
1497 
1498  return
def ConfigBuilder.ConfigBuilder.prepare_DIGI (   self,
  sequence = None 
)
Enrich the schedule with the digitisation step

Definition at line 1398 of file ConfigBuilder.py.

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

1399  def prepare_DIGI(self, sequence = None):
1400  """ Enrich the schedule with the digitisation step"""
1401  self.loadDefaultOrSpecifiedCFF(sequence,self.DIGIDefaultCFF)
1402 
1403  if self._options.gflash==True:
1404  self.loadAndRemember("Configuration/StandardSequences/GFlashDIGI_cff")
1405 
1406  if self._options.himix==True:
1407  self.loadAndRemember("SimGeneral/MixingModule/himixDIGI_cff")
1408 
1409  if sequence == 'pdigi_valid':
1410  self.executeAndRemember("process.mix.digitizers = cms.PSet(process.theDigitizersValid)")
def ConfigBuilder.ConfigBuilder.prepare_DIGI (   self,
  sequence = None 
)
Enrich the schedule with the digitisation step

Definition at line 1430 of file ConfigBuilder.py.

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

Referenced by ConfigBuilder.ConfigBuilder.prepare_DIGI().

1431  def prepare_DIGI(self, sequence = None):
1432  """ Enrich the schedule with the digitisation step"""
1433  self.loadDefaultOrSpecifiedCFF(sequence,self.DIGIDefaultCFF)
1434 
1435  if self._options.gflash==True:
1436  self.loadAndRemember("Configuration/StandardSequences/GFlashDIGI_cff")
1437 
1438  if sequence == 'pdigi_valid':
1439  self.executeAndRemember("process.mix.digitizers = cms.PSet(process.theDigitizersValid)")
def ConfigBuilder.ConfigBuilder.prepare_DIGI2RAW (   self,
  sequence = None 
)

Definition at line 1463 of file ConfigBuilder.py.

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

1464  def prepare_DIGI2RAW(self, sequence = None):
1465  self.loadDefaultOrSpecifiedCFF(sequence,self.DIGI2RAWDefaultCFF)
1466  self.scheduleSequence(sequence.split('.')[-1],'digi2raw_step')
1467  if "DIGIPREMIX" in self.stepMap.keys():
1468  self.executeAndRemember("process.esDigiToRaw.Label = cms.string('mix')") ##terrible hack - bypass zero suppression
1469  self.executeAndRemember("process.SiStripDigiToRaw.FedReadoutMode = cms.string('PREMIX_RAW')") ##special readout mode for StripTracker
1470 
1471  return
def ConfigBuilder.ConfigBuilder.prepare_DIGI2RAW (   self,
  sequence = None 
)

Definition at line 1499 of file ConfigBuilder.py.

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

Referenced by ConfigBuilder.ConfigBuilder.prepare_DIGI2RAW().

1500  def prepare_DIGI2RAW(self, sequence = None):
1501  self.loadDefaultOrSpecifiedCFF(sequence,self.DIGI2RAWDefaultCFF)
1502  self.scheduleSequence(sequence.split('.')[-1],'digi2raw_step')
1503  if "DIGIPREMIX" in self.stepMap.keys():
1504  self.executeAndRemember("process.esDigiToRaw.Label = cms.string('mix')") ##terrible hack - bypass zero suppression
1505  self.executeAndRemember("process.SiStripDigiToRaw.FedReadoutMode = cms.string('PREMIX_RAW')") ##special readout mode for StripTracker
1506 
1507  return
def ConfigBuilder.ConfigBuilder.prepare_DIGIPREMIX (   self,
  sequence = None 
)
Enrich the schedule with the digitisation step

Definition at line 1414 of file ConfigBuilder.py.

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

1415  def prepare_DIGIPREMIX(self, sequence = None):
1416  """ Enrich the schedule with the digitisation step"""
1417  self.loadDefaultOrSpecifiedCFF(sequence,self.DIGIDefaultCFF)
def ConfigBuilder.ConfigBuilder.prepare_DIGIPREMIX (   self,
  sequence = None 
)
Enrich the schedule with the digitisation step

Definition at line 1450 of file ConfigBuilder.py.

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

Referenced by ConfigBuilder.ConfigBuilder.prepare_DIGIPREMIX().

1451  def prepare_DIGIPREMIX(self, sequence = None):
1452  """ Enrich the schedule with the digitisation step"""
1453  self.loadDefaultOrSpecifiedCFF(sequence,self.DIGIDefaultCFF)
def ConfigBuilder.ConfigBuilder.prepare_DIGIPREMIX_S2 (   self,
  sequence = None 
)
Enrich the schedule with the digitisation step

Definition at line 1424 of file ConfigBuilder.py.

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

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

Definition at line 1460 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare_DIGIPREMIX_S2().

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

Definition at line 1889 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.expandMapping(), list(), ConfigBuilder.ConfigBuilder.loadDefaultOrSpecifiedCFF(), ConfigBuilder.ConfigBuilder.prepare_DQM(), CMSTestAnalyzer.CMSTestAnalyzer.process(), Printer.Printer.process(), DTTTrigProd.DTTTrigProd.process, HcalHitRelabeller.process(), SimpleTreeAnalyzer.SimpleTreeAnalyzer.process(), Histogrammer.Histogrammer.process(), DTDqm.DTDqm.process, helper::NullPostProcessor< OutputCollection, EdmFilter >.process(), NullPostProcessor< OutputCollection, EdmFilter >.process(), DTDQMMerge.DTDQMMerge.process, DTValidSummary.DTValidSummary.process, helper::NullPostProcessor< reco::CandidateCollection, edm::EDFilter >.process(), helper::NullPostProcessor< typename::helper::SelectedOutputCollectionTrait< reco::TrackCollection >::type, EdmFilter >.process(), NullPostProcessor< reco::CandidateCollection >.process(), NullPostProcessor< OutputCollection, edm::EDFilter >.process(), EDFilter<>.process(), NullPostProcessor< OutputCollection >.process(), SimpleJetAnalyzer.SimpleJetAnalyzer.process(), SimpleTreeProducer.SimpleTreeProducer.process(), DTDQMHarvesting.DTDQMHarvesting.process, DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.process, DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.process, DTAnalysisResiduals.DTAnalysisResiduals.process, tfwliteselectortest::ThingsWorker.process(), DTNoiseCalibration.DTNoiseCalibration.process, DTResidualCalibration.DTResidualCalibration.process, DTTTrigValid.DTTTrigValid.process, clangcms::CatchAll.process(), DTDQMValidation.DTDQMValidation.process, core.Analyzer.Analyzer.process(), DummyUpdator.process(), CSCTFDTReceiver.process(), EcalFenixTcpsFgvbEB.process(), gen.LHEAnalyzer.LHEAnalyzer.process(), tfwliteselectortest::ThingsTSelector.process(), EcalFenixBypassLin.process(), EcalFenixPeakFinder.process(), MetTreeProducer.MetTreeProducer.process(), EcalFenixMaxof2.process(), CSCTFMonitorInterface.process(), SingleTrajectoryUpdator.process(), examples::TrackAnalysisAlgorithm.process(), TTULogic.process(), CSCMonitorInterface.process(), RBCLogic.process(), TTUWedgeORLogic.process(), PFPileUpAlgo.process(), EcalFenixEtStrip.process(), RBCPatternLogic.process(), TTUSectorORLogic.process(), npstat::AbsVisitor< Input, Result >.process(), HcalCableMapper.process(), EcalFenixTcpFormat.process(), npstat::AbsVisitor< Input, unsigned long >.process(), __class__Worker.process(), KalmanAlignmentUpdator.process(), npstat::AbsArrayProjector< Input, Result >.process(), EcalFenixAmplitudeFilter.process(), EcalFenixStripFormatEE.process(), BTagDifferentialPlot.process(), DTT0DBValidation.DTT0DBValidation.process, EcalFenixStripFormatEB.process(), RBCTestLogic.process(), DTVDriftMeanTimerWriter.DTVDriftMeanTimerWriter.process, TTUPointingLogic.process(), DTVDriftSegmentWriter.DTVDriftSegmentWriter.process, MetAnalyzer.MetAnalyzer.process(), EcalFenixEtTot.process(), core.TriggerBitFilter.TriggerBitFilter.process(), HcalSimpleReconstructor.process(), DTTTrigResidualCorr.DTTTrigResidualCorr.process, ora::IRelationalMapping.process(), TTUTwoORLogic.process(), EcalFenixStripFgvbEE.process(), EcalFenixTcpFgvbEE.process(), RBCChamberORLogic.process(), TTUTrackingAlg.process(), gen.HiggsDecayModeAnalyzer.HiggsDecayModeAnalyzer.process(), DTTTrigCorrFirst.DTTTrigCorrFirst.process, EcalFenixFgvbEB.process(), L1GctEmLeafCard.process(), L1GctNullJetFinder.process(), edm::ConsumesInfo.process(), SiStripClusterToDigiProducer.process(), EcalFenixLinearizer.process(), L1GctSimpleJetFinder.process(), TriggerAnalyzer.TriggerAnalyzer.process(), L1GctHardwareJetFinder.process(), RPCWheel.process(), gen.GenHeavyFlavourAnalyzer.GenHeavyFlavourAnalyzer.process(), DTTTrigTimeBoxesWriter.DTTTrigTimeBoxesWriter.process, L1GctProcessor.process(), TTUConfigurator.process(), L1GctJetFinalStage.process(), gen.PDFWeightsAnalyzer.PDFWeightsAnalyzer.process(), L1GctGlobalHfSumAlgos.process(), PFMETBenchmark.process(), npstat::VisitCounter< Input >.process(), edm::InputTag.process(), L1GctElectronFinalSort.process(), core.EventSelector.EventSelector.process(), PFJetBenchmark.process(), core.JSONAnalyzer.JSONAnalyzer.process(), core.TriggerBitAnalyzer.TriggerBitAnalyzer.process(), PFTauElecRejectionBenchmark.process(), ora::PrimitiveMapping.process(), EgammaHLTPixelMatchElectronAlgo.process(), ZMuMuRochCorAnalyzer.ZMuMuRochCorAnalyzer.process(), L1Comparator.process(), L1GctWheelEnergyFpga.process(), core.SkimAnalyzerCount.SkimAnalyzerCount.process(), L1GctWheelJetFpga.process(), analyzer.Analyzer.process(), AlphaTAnalyzer.AlphaTAnalyzer.process(), cscdqm::HWStandbyType.process, ora::BlobMapping.process(), L1GctGlobalEnergyAlgos.process(), L1GctElectronSorter.process(), JetAnalyzer.JetAnalyzer.process(), TFWLiteSelectorBasic.process(), L1GctTdrJetFinder.process(), fwlite::internal::DataKey.process(), L1GctJetLeafCard.process(), KDTreeLinkerBase.process(), DTTFFEDReader.process(), L1GlobalCaloTrigger.process(), TFWLiteSelector< TrackAnalysisAlgorithm >.process(), edm::EDConsumerBase::Labels.process, TFWLiteSelector< __class__Worker >.process(), TFWLiteSelector< ThingsWorker >.process(), TFWLiteSelector< TWorker >.process(), ora::OraReferenceMapping.process(), EcalFenixTcp.process(), SeedClusterRemover.process(), HLTTrackClusterRemoverNew.process(), TestOutliers.process, objects.JetAnalyzer.JetAnalyzer.process(), DiLeptonAnalyzer.DiLeptonAnalyzer.process(), HITrackClusterRemover.process(), HTTP.RequestManager.process(), objects.VertexAnalyzer.VertexAnalyzer.process(), GenLumiInfoProduct::ProcessInfo.process(), ora::UniqueReferenceMapping.process(), core.PileUpAnalyzer.PileUpAnalyzer.process(), EcalFenixStrip.process(), ora::OraPtrMapping.process(), lhef::LHERunInfo::Process.process(), CaloTowersCreationAlgo.process(), ora::NamedRefMapping.process(), objects.TauAnalyzer.TauAnalyzer.process(), ora::ArrayMapping.process(), core.AutoFillTreeProducer.AutoFillTreeProducer.process(), EgammaHLTValidationUtils.EgammaDQMModuleMaker.process, ora::CArrayMapping.process(), L1GctJetFinderBase.process(), ora::ObjectMapping.process(), ora::EmptyMapping.process(), Config.Process.process, looper.Looper.process(), edm::SubProcess.process(), gen.GeneratorAnalyzer.GeneratorAnalyzer.process(), objects.PhotonAnalyzer.PhotonAnalyzer.process(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.process(), edm::ProductHolderIndexHelper::Item.process(), objects.LeptonAnalyzer.LeptonAnalyzer.process(), ConfigBuilder.ConfigBuilder.renameHLTprocessInSequence(), and split.

1890  def prepare_DQM(self, sequence = 'DQMOffline'):
1891  # this one needs replacement
1892 
1893  self.loadDefaultOrSpecifiedCFF(sequence,self.DQMOFFLINEDefaultCFF)
sequenceList=sequence.split('.')[-1].split('+')
double split
Definition: MVATrainer.cc:139
def ConfigBuilder.ConfigBuilder.prepare_DQM (   self,
  sequence = 'DQMOffline' 
)

Definition at line 1932 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.expandMapping(), ConfigBuilder.ConfigBuilder.loadDefaultOrSpecifiedCFF(), and split.

Referenced by ConfigBuilder.ConfigBuilder.prepare_DQM().

1933  def prepare_DQM(self, sequence = 'DQMOffline'):
1934  # this one needs replacement
1935 
1936  self.loadDefaultOrSpecifiedCFF(sequence,self.DQMOFFLINEDefaultCFF)
sequenceList=sequence.split('.')[-1].split('+')
double split
Definition: MVATrainer.cc:139
def ConfigBuilder.ConfigBuilder.prepare_EI (   self,
  sequence = None 
)
Enrich the schedule with event interpretation 

Definition at line 1652 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.prepare_EI().

1653  def prepare_EI(self, sequence = None):
''' Enrich the schedule with event interpretation '''
def ConfigBuilder.ConfigBuilder.prepare_EI (   self,
  sequence = None 
)
Enrich the schedule with event interpretation 

Definition at line 1695 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare_EI().

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

Definition at line 1980 of file ConfigBuilder.py.

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

1981  def prepare_ENDJOB(self, sequence = 'endOfProcess'):
1982  self.loadDefaultOrSpecifiedCFF(sequence,self.ENDJOBDefaultCFF)
1983  self.scheduleSequenceAtEnd(sequence.split('.')[-1],'endjob_step')
1984  return
def ConfigBuilder.ConfigBuilder.prepare_ENDJOB (   self,
  sequence = 'endOfProcess' 
)

Definition at line 2029 of file ConfigBuilder.py.

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

Referenced by ConfigBuilder.ConfigBuilder.prepare_ENDJOB().

2030  def prepare_ENDJOB(self, sequence = 'endOfProcess'):
2031  self.loadDefaultOrSpecifiedCFF(sequence,self.ENDJOBDefaultCFF)
2032  self.scheduleSequenceAtEnd(sequence.split('.')[-1],'endjob_step')
2033  return
def ConfigBuilder.ConfigBuilder.prepare_FASTSIM (   self,
  sequence = "all" 
)
Enrich the schedule with fastsim

Definition at line 1989 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.executeAndRemember(), ConfigBuilder.ConfigBuilder.finalizeFastSimHLT(), ConfigBuilder.ConfigBuilder.loadAndRemember(), ConfigBuilder.ConfigBuilder.prepare_HLT(), CMSTestAnalyzer.CMSTestAnalyzer.process(), Printer.Printer.process(), DTTTrigProd.DTTTrigProd.process, HcalHitRelabeller.process(), SimpleTreeAnalyzer.SimpleTreeAnalyzer.process(), Histogrammer.Histogrammer.process(), DTDQMMerge.DTDQMMerge.process, helper::NullPostProcessor< OutputCollection, EdmFilter >.process(), DTValidSummary.DTValidSummary.process, helper::NullPostProcessor< reco::CandidateCollection, edm::EDFilter >.process(), helper::NullPostProcessor< typename::helper::SelectedOutputCollectionTrait< reco::TrackCollection >::type, EdmFilter >.process(), NullPostProcessor< reco::CandidateCollection >.process(), NullPostProcessor< OutputCollection, edm::EDFilter >.process(), EDFilter<>.process(), NullPostProcessor< OutputCollection >.process(), NullPostProcessor< OutputCollection, EdmFilter >.process(), DTDqm.DTDqm.process, SimpleJetAnalyzer.SimpleJetAnalyzer.process(), SimpleTreeProducer.SimpleTreeProducer.process(), DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.process, DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.process, DTAnalysisResiduals.DTAnalysisResiduals.process, DTDQMHarvesting.DTDQMHarvesting.process, tfwliteselectortest::ThingsWorker.process(), DTNoiseCalibration.DTNoiseCalibration.process, DTResidualCalibration.DTResidualCalibration.process, DTTTrigValid.DTTTrigValid.process, DTDQMValidation.DTDQMValidation.process, clangcms::CatchAll.process(), core.Analyzer.Analyzer.process(), DummyUpdator.process(), CSCTFDTReceiver.process(), EcalFenixTcpsFgvbEB.process(), gen.LHEAnalyzer.LHEAnalyzer.process(), tfwliteselectortest::ThingsTSelector.process(), EcalFenixBypassLin.process(), EcalFenixPeakFinder.process(), MetTreeProducer.MetTreeProducer.process(), EcalFenixMaxof2.process(), CSCTFMonitorInterface.process(), examples::TrackAnalysisAlgorithm.process(), TTULogic.process(), CSCMonitorInterface.process(), SingleTrajectoryUpdator.process(), RBCLogic.process(), TTUWedgeORLogic.process(), PFPileUpAlgo.process(), EcalFenixEtStrip.process(), RBCPatternLogic.process(), TTUSectorORLogic.process(), EcalFenixTcpFormat.process(), npstat::AbsVisitor< Input, unsigned long >.process(), __class__Worker.process(), KalmanAlignmentUpdator.process(), HcalCableMapper.process(), npstat::AbsVisitor< Input, Result >.process(), EcalFenixAmplitudeFilter.process(), EcalFenixStripFormatEE.process(), BTagDifferentialPlot.process(), DTT0DBValidation.DTT0DBValidation.process, npstat::AbsArrayProjector< Input, Result >.process(), EcalFenixStripFormatEB.process(), DTVDriftMeanTimerWriter.DTVDriftMeanTimerWriter.process, RBCTestLogic.process(), DTVDriftSegmentWriter.DTVDriftSegmentWriter.process, TTUPointingLogic.process(), MetAnalyzer.MetAnalyzer.process(), EcalFenixEtTot.process(), core.TriggerBitFilter.TriggerBitFilter.process(), HcalSimpleReconstructor.process(), ora::IRelationalMapping.process(), TTUTwoORLogic.process(), DTTTrigResidualCorr.DTTTrigResidualCorr.process, EcalFenixStripFgvbEE.process(), EcalFenixTcpFgvbEE.process(), TTUTrackingAlg.process(), RBCChamberORLogic.process(), DTTTrigCorrFirst.DTTTrigCorrFirst.process, gen.HiggsDecayModeAnalyzer.HiggsDecayModeAnalyzer.process(), EcalFenixFgvbEB.process(), L1GctEmLeafCard.process(), L1GctNullJetFinder.process(), edm::ConsumesInfo.process(), SiStripClusterToDigiProducer.process(), EcalFenixLinearizer.process(), L1GctSimpleJetFinder.process(), TriggerAnalyzer.TriggerAnalyzer.process(), L1GctHardwareJetFinder.process(), DTTTrigTimeBoxesWriter.DTTTrigTimeBoxesWriter.process, RPCWheel.process(), gen.GenHeavyFlavourAnalyzer.GenHeavyFlavourAnalyzer.process(), L1GctProcessor.process(), TTUConfigurator.process(), L1GctJetFinalStage.process(), gen.PDFWeightsAnalyzer.PDFWeightsAnalyzer.process(), L1GctGlobalHfSumAlgos.process(), npstat::VisitCounter< Input >.process(), PFMETBenchmark.process(), edm::InputTag.process(), L1GctElectronFinalSort.process(), core.EventSelector.EventSelector.process(), PFJetBenchmark.process(), core.JSONAnalyzer.JSONAnalyzer.process(), core.TriggerBitAnalyzer.TriggerBitAnalyzer.process(), PFTauElecRejectionBenchmark.process(), ora::PrimitiveMapping.process(), EgammaHLTPixelMatchElectronAlgo.process(), ZMuMuRochCorAnalyzer.ZMuMuRochCorAnalyzer.process(), L1Comparator.process(), L1GctWheelEnergyFpga.process(), L1GctWheelJetFpga.process(), core.SkimAnalyzerCount.SkimAnalyzerCount.process(), analyzer.Analyzer.process(), AlphaTAnalyzer.AlphaTAnalyzer.process(), cscdqm::HWStandbyType.process, ora::BlobMapping.process(), L1GctElectronSorter.process(), L1GctGlobalEnergyAlgos.process(), JetAnalyzer.JetAnalyzer.process(), L1GctTdrJetFinder.process(), TFWLiteSelectorBasic.process(), fwlite::internal::DataKey.process(), KDTreeLinkerBase.process(), L1GctJetLeafCard.process(), DTTFFEDReader.process(), L1GlobalCaloTrigger.process(), TFWLiteSelector< __class__Worker >.process(), TFWLiteSelector< TrackAnalysisAlgorithm >.process(), edm::EDConsumerBase::Labels.process, TFWLiteSelector< TWorker >.process(), TFWLiteSelector< ThingsWorker >.process(), EcalFenixTcp.process(), ora::OraReferenceMapping.process(), SeedClusterRemover.process(), HLTTrackClusterRemoverNew.process(), TestOutliers.process, objects.JetAnalyzer.JetAnalyzer.process(), DiLeptonAnalyzer.DiLeptonAnalyzer.process(), objects.VertexAnalyzer.VertexAnalyzer.process(), HTTP.RequestManager.process(), HITrackClusterRemover.process(), GenLumiInfoProduct::ProcessInfo.process(), ora::UniqueReferenceMapping.process(), core.PileUpAnalyzer.PileUpAnalyzer.process(), EcalFenixStrip.process(), ora::OraPtrMapping.process(), lhef::LHERunInfo::Process.process(), CaloTowersCreationAlgo.process(), ora::NamedRefMapping.process(), objects.TauAnalyzer.TauAnalyzer.process(), ora::ArrayMapping.process(), core.AutoFillTreeProducer.AutoFillTreeProducer.process(), EgammaHLTValidationUtils.EgammaDQMModuleMaker.process, ora::CArrayMapping.process(), L1GctJetFinderBase.process(), ora::ObjectMapping.process(), ora::EmptyMapping.process(), Config.Process.process, looper.Looper.process(), edm::SubProcess.process(), gen.GeneratorAnalyzer.GeneratorAnalyzer.process(), objects.PhotonAnalyzer.PhotonAnalyzer.process(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.process(), edm::ProductHolderIndexHelper::Item.process(), and objects.LeptonAnalyzer.LeptonAnalyzer.process().

1990  def prepare_FASTSIM(self, sequence = "all"):
1991  """Enrich the schedule with fastsim"""
1992  self.loadAndRemember("FastSimulation/Configuration/FamosSequences_cff")
1993 
1994  if sequence in ('all','allWithHLTFiltering',''):
1995  if not 'HLT' in self.stepMap.keys():
1996  self.prepare_HLT(sequence=None)
1997 
1998  self.executeAndRemember("process.famosSimHits.SimulateCalorimetry = True")
1999  self.executeAndRemember("process.famosSimHits.SimulateTracking = True")
2000 
2001  self.executeAndRemember("process.simulation = cms.Sequence(process.simulationWithFamos)")
2002  self.executeAndRemember("process.HLTEndSequence = cms.Sequence(process.reconstructionWithFamos)")
2003 
2004  # since we have HLT here, the process should be called HLT
2005  self._options.name = "HLT"
2006 
2007  # if we don't want to filter after HLT but simulate everything regardless of what HLT tells, we have to add reconstruction explicitly
2008  if sequence == 'all' and not 'HLT' in self.stepMap.keys(): #(a)
self.finalizeFastSimHLT()
def ConfigBuilder.ConfigBuilder.prepare_FILTER (   self,
  sequence = None 
)
Enrich the schedule with a user defined filter sequence 

Definition at line 1601 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.prepare_FILTER().

1602  def prepare_FILTER(self, sequence = None):
''' Enrich the schedule with a user defined filter sequence '''
def ConfigBuilder.ConfigBuilder.prepare_FILTER (   self,
  sequence = None 
)
Enrich the schedule with a user defined filter sequence 

Definition at line 1634 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare_FILTER().

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

Definition at line 1297 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.prepare_GEN().

1298  def prepare_GEN(self, sequence = None):
""" load the fragment of generator configuration """
def ConfigBuilder.ConfigBuilder.prepare_GEN (   self,
  sequence = None 
)
load the fragment of generator configuration 

Definition at line 1332 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare_GEN().

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

Definition at line 1919 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.EDMtoMECFF, ConfigBuilder.ConfigBuilder.expandMapping(), list(), ConfigBuilder.ConfigBuilder.loadAndRemember(), ConfigBuilder.ConfigBuilder.loadDefaultOrSpecifiedCFF(), ConfigBuilder.ConfigBuilder.prepare_HARVESTING(), CMSTestAnalyzer.CMSTestAnalyzer.process(), Printer.Printer.process(), DTTTrigProd.DTTTrigProd.process, HcalHitRelabeller.process(), SimpleTreeAnalyzer.SimpleTreeAnalyzer.process(), Histogrammer.Histogrammer.process(), DTDqm.DTDqm.process, SimpleTreeProducer.SimpleTreeProducer.process(), helper::NullPostProcessor< OutputCollection, EdmFilter >.process(), DTValidSummary.DTValidSummary.process, helper::NullPostProcessor< reco::CandidateCollection, edm::EDFilter >.process(), helper::NullPostProcessor< typename::helper::SelectedOutputCollectionTrait< reco::TrackCollection >::type, EdmFilter >.process(), NullPostProcessor< reco::CandidateCollection >.process(), NullPostProcessor< OutputCollection, edm::EDFilter >.process(), EDFilter<>.process(), NullPostProcessor< OutputCollection, EdmFilter >.process(), DTDQMMerge.DTDQMMerge.process, NullPostProcessor< OutputCollection >.process(), SimpleJetAnalyzer.SimpleJetAnalyzer.process(), DTAnalysisResiduals.DTAnalysisResiduals.process, DTDQMHarvesting.DTDQMHarvesting.process, DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.process, DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.process, tfwliteselectortest::ThingsWorker.process(), DTNoiseCalibration.DTNoiseCalibration.process, DTResidualCalibration.DTResidualCalibration.process, DummyUpdator.process(), DTTTrigValid.DTTTrigValid.process, clangcms::CatchAll.process(), DTDQMValidation.DTDQMValidation.process, core.Analyzer.Analyzer.process(), CSCTFDTReceiver.process(), EcalFenixTcpsFgvbEB.process(), gen.LHEAnalyzer.LHEAnalyzer.process(), tfwliteselectortest::ThingsTSelector.process(), EcalFenixBypassLin.process(), EcalFenixPeakFinder.process(), MetTreeProducer.MetTreeProducer.process(), EcalFenixMaxof2.process(), CSCTFMonitorInterface.process(), examples::TrackAnalysisAlgorithm.process(), SingleTrajectoryUpdator.process(), TTULogic.process(), CSCMonitorInterface.process(), RBCLogic.process(), TTUWedgeORLogic.process(), PFPileUpAlgo.process(), EcalFenixEtStrip.process(), RBCPatternLogic.process(), TTUSectorORLogic.process(), npstat::AbsVisitor< Input, Result >.process(), HcalCableMapper.process(), EcalFenixTcpFormat.process(), npstat::AbsVisitor< Input, unsigned long >.process(), __class__Worker.process(), KalmanAlignmentUpdator.process(), npstat::AbsArrayProjector< Input, Result >.process(), EcalFenixAmplitudeFilter.process(), EcalFenixStripFormatEE.process(), BTagDifferentialPlot.process(), DTT0DBValidation.DTT0DBValidation.process, EcalFenixStripFormatEB.process(), RBCTestLogic.process(), DTVDriftMeanTimerWriter.DTVDriftMeanTimerWriter.process, TTUPointingLogic.process(), DTVDriftSegmentWriter.DTVDriftSegmentWriter.process, MetAnalyzer.MetAnalyzer.process(), EcalFenixEtTot.process(), core.TriggerBitFilter.TriggerBitFilter.process(), HcalSimpleReconstructor.process(), DTTTrigResidualCorr.DTTTrigResidualCorr.process, ora::IRelationalMapping.process(), TTUTwoORLogic.process(), EcalFenixStripFgvbEE.process(), EcalFenixTcpFgvbEE.process(), RBCChamberORLogic.process(), TTUTrackingAlg.process(), DTTTrigCorrFirst.DTTTrigCorrFirst.process, gen.HiggsDecayModeAnalyzer.HiggsDecayModeAnalyzer.process(), EcalFenixFgvbEB.process(), L1GctNullJetFinder.process(), edm::ConsumesInfo.process(), L1GctEmLeafCard.process(), SiStripClusterToDigiProducer.process(), L1GctSimpleJetFinder.process(), EcalFenixLinearizer.process(), TriggerAnalyzer.TriggerAnalyzer.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(), edm::InputTag.process(), L1GctElectronFinalSort.process(), PFJetBenchmark.process(), core.EventSelector.EventSelector.process(), core.JSONAnalyzer.JSONAnalyzer.process(), core.TriggerBitAnalyzer.TriggerBitAnalyzer.process(), PFTauElecRejectionBenchmark.process(), ora::PrimitiveMapping.process(), EgammaHLTPixelMatchElectronAlgo.process(), ZMuMuRochCorAnalyzer.ZMuMuRochCorAnalyzer.process(), L1Comparator.process(), L1GctWheelEnergyFpga.process(), core.SkimAnalyzerCount.SkimAnalyzerCount.process(), L1GctWheelJetFpga.process(), analyzer.Analyzer.process(), AlphaTAnalyzer.AlphaTAnalyzer.process(), cscdqm::HWStandbyType.process, ora::BlobMapping.process(), L1GctGlobalEnergyAlgos.process(), L1GctElectronSorter.process(), JetAnalyzer.JetAnalyzer.process(), L1GctTdrJetFinder.process(), TFWLiteSelectorBasic.process(), fwlite::internal::DataKey.process(), L1GctJetLeafCard.process(), KDTreeLinkerBase.process(), DTTFFEDReader.process(), L1GlobalCaloTrigger.process(), TFWLiteSelector< __class__Worker >.process(), TFWLiteSelector< TWorker >.process(), TFWLiteSelector< TrackAnalysisAlgorithm >.process(), edm::EDConsumerBase::Labels.process, TFWLiteSelector< ThingsWorker >.process(), ora::OraReferenceMapping.process(), EcalFenixTcp.process(), SeedClusterRemover.process(), HLTTrackClusterRemoverNew.process(), objects.JetAnalyzer.JetAnalyzer.process(), TestOutliers.process, DiLeptonAnalyzer.DiLeptonAnalyzer.process(), HTTP.RequestManager.process(), objects.VertexAnalyzer.VertexAnalyzer.process(), HITrackClusterRemover.process(), GenLumiInfoProduct::ProcessInfo.process(), ora::UniqueReferenceMapping.process(), core.PileUpAnalyzer.PileUpAnalyzer.process(), EcalFenixStrip.process(), ora::OraPtrMapping.process(), lhef::LHERunInfo::Process.process(), ora::NamedRefMapping.process(), CaloTowersCreationAlgo.process(), objects.TauAnalyzer.TauAnalyzer.process(), ora::ArrayMapping.process(), core.AutoFillTreeProducer.AutoFillTreeProducer.process(), EgammaHLTValidationUtils.EgammaDQMModuleMaker.process, ora::CArrayMapping.process(), L1GctJetFinderBase.process(), ora::ObjectMapping.process(), ora::EmptyMapping.process(), Config.Process.process, looper.Looper.process(), edm::SubProcess.process(), gen.GeneratorAnalyzer.GeneratorAnalyzer.process(), objects.PhotonAnalyzer.PhotonAnalyzer.process(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.process(), edm::ProductHolderIndexHelper::Item.process(), objects.LeptonAnalyzer.LeptonAnalyzer.process(), and ConfigBuilder.ConfigBuilder.scheduleSequence().

1920  def prepare_HARVESTING(self, sequence = None):
1921  """ Enrich the process with harvesting step """
1922  self.EDMtoMECFF='Configuration/StandardSequences/EDMtoME'+self._options.harvesting+'_cff'
self.loadAndRemember(self.EDMtoMECFF)
def ConfigBuilder.ConfigBuilder.prepare_HARVESTING (   self,
  sequence = None 
)
Enrich the process with harvesting step 

Definition at line 1962 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare_HARVESTING().

1963  def prepare_HARVESTING(self, sequence = None):
1964  """ Enrich the process with harvesting step """
1965  self.EDMtoMECFF='Configuration/StandardSequences/EDMtoME'+self._options.harvesting+'_cff'
self.loadAndRemember(self.EDMtoMECFF)
def ConfigBuilder.ConfigBuilder.prepare_HLT (   self,
  sequence = None 
)
Enrich the schedule with the HLT simulation step

Definition at line 1502 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.executeAndRemember(), ConfigBuilder.ConfigBuilder.finalizeFastSimHLT(), join(), ConfigBuilder.ConfigBuilder.loadAndRemember(), ConfigBuilder.ConfigBuilder.prepare_HLT(), CMSTestAnalyzer.CMSTestAnalyzer.process(), Printer.Printer.process(), DTTTrigProd.DTTTrigProd.process, HcalHitRelabeller.process(), SimpleTreeAnalyzer.SimpleTreeAnalyzer.process(), Histogrammer.Histogrammer.process(), DTDQMMerge.DTDQMMerge.process, helper::NullPostProcessor< OutputCollection, EdmFilter >.process(), DTValidSummary.DTValidSummary.process, helper::NullPostProcessor< reco::CandidateCollection, edm::EDFilter >.process(), helper::NullPostProcessor< typename::helper::SelectedOutputCollectionTrait< reco::TrackCollection >::type, EdmFilter >.process(), NullPostProcessor< OutputCollection, edm::EDFilter >.process(), EDFilter<>.process(), NullPostProcessor< reco::CandidateCollection >.process(), NullPostProcessor< OutputCollection >.process(), NullPostProcessor< OutputCollection, EdmFilter >.process(), DTDqm.DTDqm.process, SimpleJetAnalyzer.SimpleJetAnalyzer.process(), SimpleTreeProducer.SimpleTreeProducer.process(), DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.process, DTAnalysisResiduals.DTAnalysisResiduals.process, DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.process, DTDQMHarvesting.DTDQMHarvesting.process, tfwliteselectortest::ThingsWorker.process(), DTNoiseCalibration.DTNoiseCalibration.process, DTResidualCalibration.DTResidualCalibration.process, DTTTrigValid.DTTTrigValid.process, DTDQMValidation.DTDQMValidation.process, clangcms::CatchAll.process(), core.Analyzer.Analyzer.process(), DummyUpdator.process(), CSCTFDTReceiver.process(), EcalFenixTcpsFgvbEB.process(), gen.LHEAnalyzer.LHEAnalyzer.process(), tfwliteselectortest::ThingsTSelector.process(), EcalFenixBypassLin.process(), EcalFenixPeakFinder.process(), MetTreeProducer.MetTreeProducer.process(), EcalFenixMaxof2.process(), CSCTFMonitorInterface.process(), examples::TrackAnalysisAlgorithm.process(), TTULogic.process(), CSCMonitorInterface.process(), SingleTrajectoryUpdator.process(), RBCLogic.process(), TTUWedgeORLogic.process(), PFPileUpAlgo.process(), EcalFenixEtStrip.process(), TTUSectorORLogic.process(), RBCPatternLogic.process(), EcalFenixTcpFormat.process(), npstat::AbsVisitor< Input, unsigned long >.process(), __class__Worker.process(), KalmanAlignmentUpdator.process(), HcalCableMapper.process(), npstat::AbsVisitor< Input, Result >.process(), EcalFenixAmplitudeFilter.process(), EcalFenixStripFormatEE.process(), BTagDifferentialPlot.process(), DTT0DBValidation.DTT0DBValidation.process, npstat::AbsArrayProjector< Input, Result >.process(), EcalFenixStripFormatEB.process(), DTVDriftMeanTimerWriter.DTVDriftMeanTimerWriter.process, RBCTestLogic.process(), DTVDriftSegmentWriter.DTVDriftSegmentWriter.process, TTUPointingLogic.process(), MetAnalyzer.MetAnalyzer.process(), EcalFenixEtTot.process(), core.TriggerBitFilter.TriggerBitFilter.process(), HcalSimpleReconstructor.process(), ora::IRelationalMapping.process(), TTUTwoORLogic.process(), DTTTrigResidualCorr.DTTTrigResidualCorr.process, EcalFenixStripFgvbEE.process(), EcalFenixTcpFgvbEE.process(), TTUTrackingAlg.process(), RBCChamberORLogic.process(), DTTTrigCorrFirst.DTTTrigCorrFirst.process, gen.HiggsDecayModeAnalyzer.HiggsDecayModeAnalyzer.process(), EcalFenixFgvbEB.process(), L1GctEmLeafCard.process(), L1GctNullJetFinder.process(), edm::ConsumesInfo.process(), SiStripClusterToDigiProducer.process(), EcalFenixLinearizer.process(), L1GctSimpleJetFinder.process(), TriggerAnalyzer.TriggerAnalyzer.process(), L1GctHardwareJetFinder.process(), DTTTrigTimeBoxesWriter.DTTTrigTimeBoxesWriter.process, RPCWheel.process(), gen.GenHeavyFlavourAnalyzer.GenHeavyFlavourAnalyzer.process(), L1GctProcessor.process(), TTUConfigurator.process(), L1GctJetFinalStage.process(), gen.PDFWeightsAnalyzer.PDFWeightsAnalyzer.process(), L1GctGlobalHfSumAlgos.process(), npstat::VisitCounter< Input >.process(), edm::InputTag.process(), PFMETBenchmark.process(), L1GctElectronFinalSort.process(), PFJetBenchmark.process(), core.EventSelector.EventSelector.process(), core.JSONAnalyzer.JSONAnalyzer.process(), core.TriggerBitAnalyzer.TriggerBitAnalyzer.process(), PFTauElecRejectionBenchmark.process(), ora::PrimitiveMapping.process(), EgammaHLTPixelMatchElectronAlgo.process(), ZMuMuRochCorAnalyzer.ZMuMuRochCorAnalyzer.process(), L1Comparator.process(), L1GctWheelEnergyFpga.process(), L1GctWheelJetFpga.process(), core.SkimAnalyzerCount.SkimAnalyzerCount.process(), analyzer.Analyzer.process(), AlphaTAnalyzer.AlphaTAnalyzer.process(), cscdqm::HWStandbyType.process, ora::BlobMapping.process(), L1GctElectronSorter.process(), L1GctGlobalEnergyAlgos.process(), JetAnalyzer.JetAnalyzer.process(), L1GctTdrJetFinder.process(), TFWLiteSelectorBasic.process(), fwlite::internal::DataKey.process(), KDTreeLinkerBase.process(), L1GctJetLeafCard.process(), DTTFFEDReader.process(), L1GlobalCaloTrigger.process(), TFWLiteSelector< __class__Worker >.process(), TFWLiteSelector< TrackAnalysisAlgorithm >.process(), TFWLiteSelector< ThingsWorker >.process(), edm::EDConsumerBase::Labels.process, TFWLiteSelector< TWorker >.process(), ora::OraReferenceMapping.process(), EcalFenixTcp.process(), SeedClusterRemover.process(), HLTTrackClusterRemoverNew.process(), TestOutliers.process, objects.JetAnalyzer.JetAnalyzer.process(), DiLeptonAnalyzer.DiLeptonAnalyzer.process(), HTTP.RequestManager.process(), HITrackClusterRemover.process(), objects.VertexAnalyzer.VertexAnalyzer.process(), GenLumiInfoProduct::ProcessInfo.process(), ora::UniqueReferenceMapping.process(), core.PileUpAnalyzer.PileUpAnalyzer.process(), EcalFenixStrip.process(), ora::OraPtrMapping.process(), lhef::LHERunInfo::Process.process(), ora::NamedRefMapping.process(), CaloTowersCreationAlgo.process(), objects.TauAnalyzer.TauAnalyzer.process(), ora::ArrayMapping.process(), core.AutoFillTreeProducer.AutoFillTreeProducer.process(), EgammaHLTValidationUtils.EgammaDQMModuleMaker.process, ora::CArrayMapping.process(), L1GctJetFinderBase.process(), ora::ObjectMapping.process(), ora::EmptyMapping.process(), Config.Process.process, looper.Looper.process(), edm::SubProcess.process(), gen.GeneratorAnalyzer.GeneratorAnalyzer.process(), objects.PhotonAnalyzer.PhotonAnalyzer.process(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.process(), edm::ProductHolderIndexHelper::Item.process(), objects.LeptonAnalyzer.LeptonAnalyzer.process(), and CustomConfigs.ProcessName().

1503  def prepare_HLT(self, sequence = None):
1504  """ Enrich the schedule with the HLT simulation step"""
1505  if not sequence:
1506  print "no specification of the hlt menu has been given, should never happen"
1507  raise Exception('no HLT sequence provided')
1508 
1509  if '@' in sequence:
1510  # case where HLT:@something was provided
1511  from Configuration.HLT.autoHLT import autoHLT
1512  key = sequence[1:]
1513  if key in autoHLT:
1514  sequence = autoHLT[key]
1515  else:
1516  raise ValueError('no HLT mapping key "%s" found in autoHLT' % key)
1517 
1518  if ',' in sequence:
1519  #case where HLT:something:something was provided
1520  self.executeAndRemember('import HLTrigger.Configuration.Utilities')
1521  optionsForHLT = {}
1522  if self._options.scenario == 'HeavyIons':
1523  optionsForHLT['type'] = 'HIon'
1524  else:
1525  optionsForHLT['type'] = 'GRun'
1526  optionsForHLTConfig = ', '.join('%s=%s' % (key, repr(val)) for (key, val) in optionsForHLT.iteritems())
1527  if sequence == 'run,fromSource':
1528  if hasattr(self.process.source,'firstRun'):
1529  self.executeAndRemember('process.loadHltConfiguration("run:%%d"%%(process.source.firstRun.value()),%s)'%(optionsForHLTConfig))
1530  elif hasattr(self.process.source,'setRunNumber'):
1531  self.executeAndRemember('process.loadHltConfiguration("run:%%d"%%(process.source.setRunNumber.value()),%s)'%(optionsForHLTConfig))
1532  else:
1533  raise Exception('Cannot replace menu to load %s'%(sequence))
1534  else:
1535  self.executeAndRemember('process.loadHltConfiguration("%s",%s)'%(sequence.replace(',',':'),optionsForHLTConfig))
1536  else:
1537  if self._options.fast:
1538  self.loadAndRemember('HLTrigger/Configuration/HLT_%s_Famos_cff' % sequence)
1539  else:
1540  self.loadAndRemember('HLTrigger/Configuration/HLT_%s_cff' % sequence)
1541 
1542  if self._options.isMC:
1543  self._options.customisation_file.append("HLTrigger/Configuration/customizeHLTforMC.customizeHLTforMC")
static std::string join(char **cmd)
Definition: RemoteFile.cc:18
def ConfigBuilder.ConfigBuilder.prepare_HLT (   self,
  sequence = None 
)
Enrich the schedule with the HLT simulation step

Definition at line 1533 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.executeAndRemember(), join(), ConfigBuilder.ConfigBuilder.loadAndRemember(), CMSTestAnalyzer.CMSTestAnalyzer.process(), Printer.Printer.process(), DTTTrigProd.DTTTrigProd.process, HcalHitRelabeller.process(), SimpleTreeAnalyzer.SimpleTreeAnalyzer.process(), Histogrammer.Histogrammer.process(), helper::NullPostProcessor< OutputCollection, EdmFilter >.process(), DTValidSummary.DTValidSummary.process, helper::NullPostProcessor< reco::CandidateCollection, edm::EDFilter >.process(), helper::NullPostProcessor< typename::helper::SelectedOutputCollectionTrait< reco::TrackCollection >::type, EdmFilter >.process(), DTDqm.DTDqm.process, NullPostProcessor< reco::CandidateCollection >.process(), NullPostProcessor< OutputCollection, edm::EDFilter >.process(), EDFilter<>.process(), NullPostProcessor< OutputCollection >.process(), NullPostProcessor< OutputCollection, EdmFilter >.process(), SimpleJetAnalyzer.SimpleJetAnalyzer.process(), DTDQMMerge.DTDQMMerge.process, SimpleTreeProducer.SimpleTreeProducer.process(), DTAnalysisResiduals.DTAnalysisResiduals.process, DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.process, DTDQMHarvesting.DTDQMHarvesting.process, tfwliteselectortest::ThingsWorker.process(), DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.process, DTNoiseCalibration.DTNoiseCalibration.process, DTResidualCalibration.DTResidualCalibration.process, DTTTrigValid.DTTTrigValid.process, DTDQMValidation.DTDQMValidation.process, clangcms::CatchAll.process(), core.Analyzer.Analyzer.process(), DummyUpdator.process(), CSCTFDTReceiver.process(), EcalFenixTcpsFgvbEB.process(), tfwliteselectortest::ThingsTSelector.process(), gen.LHEAnalyzer.LHEAnalyzer.process(), EcalFenixBypassLin.process(), EcalFenixPeakFinder.process(), MetTreeProducer.MetTreeProducer.process(), EcalFenixMaxof2.process(), CSCTFMonitorInterface.process(), TTULogic.process(), CSCMonitorInterface.process(), SingleTrajectoryUpdator.process(), examples::TrackAnalysisAlgorithm.process(), TTUWedgeORLogic.process(), RBCLogic.process(), EcalFenixEtStrip.process(), RBCPatternLogic.process(), TTUSectorORLogic.process(), PFPileUpAlgo.process(), EcalFenixTcpFormat.process(), npstat::AbsVisitor< Input, unsigned long >.process(), KalmanAlignmentUpdator.process(), __class__Worker.process(), HcalCableMapper.process(), npstat::AbsVisitor< Input, Result >.process(), EcalFenixAmplitudeFilter.process(), EcalFenixStripFormatEE.process(), DTT0DBValidation.DTT0DBValidation.process, BTagDifferentialPlot.process(), npstat::AbsArrayProjector< Input, Result >.process(), EcalFenixStripFormatEB.process(), DTVDriftMeanTimerWriter.DTVDriftMeanTimerWriter.process, DTVDriftSegmentWriter.DTVDriftSegmentWriter.process, RBCTestLogic.process(), TTUPointingLogic.process(), MetAnalyzer.MetAnalyzer.process(), EcalFenixEtTot.process(), core.TriggerBitFilter.TriggerBitFilter.process(), HcalSimpleReconstructor.process(), ora::IRelationalMapping.process(), TTUTwoORLogic.process(), DTTTrigResidualCorr.DTTTrigResidualCorr.process, EcalFenixStripFgvbEE.process(), EcalFenixTcpFgvbEE.process(), TTUTrackingAlg.process(), RBCChamberORLogic.process(), DTTTrigCorrFirst.DTTTrigCorrFirst.process, gen.HiggsDecayModeAnalyzer.HiggsDecayModeAnalyzer.process(), EcalFenixFgvbEB.process(), L1GctEmLeafCard.process(), edm::ConsumesInfo.process(), L1GctNullJetFinder.process(), SiStripClusterToDigiProducer.process(), EcalFenixLinearizer.process(), L1GctSimpleJetFinder.process(), TriggerAnalyzer.TriggerAnalyzer.process(), L1GctHardwareJetFinder.process(), RPCWheel.process(), gen.GenHeavyFlavourAnalyzer.GenHeavyFlavourAnalyzer.process(), DTTTrigTimeBoxesWriter.DTTTrigTimeBoxesWriter.process, L1GctJetFinalStage.process(), TTUConfigurator.process(), L1GctProcessor.process(), gen.PDFWeightsAnalyzer.PDFWeightsAnalyzer.process(), L1GctGlobalHfSumAlgos.process(), PFMETBenchmark.process(), edm::InputTag.process(), npstat::VisitCounter< Input >.process(), L1GctElectronFinalSort.process(), PFJetBenchmark.process(), core.EventSelector.EventSelector.process(), core.JSONAnalyzer.JSONAnalyzer.process(), core.TriggerBitAnalyzer.TriggerBitAnalyzer.process(), ora::PrimitiveMapping.process(), PFTauElecRejectionBenchmark.process(), EgammaHLTPixelMatchElectronAlgo.process(), ZMuMuRochCorAnalyzer.ZMuMuRochCorAnalyzer.process(), L1Comparator.process(), L1GctWheelEnergyFpga.process(), L1GctWheelJetFpga.process(), core.SkimAnalyzerCount.SkimAnalyzerCount.process(), analyzer.Analyzer.process(), AlphaTAnalyzer.AlphaTAnalyzer.process(), cscdqm::HWStandbyType.process, ora::BlobMapping.process(), L1GctElectronSorter.process(), L1GctGlobalEnergyAlgos.process(), JetAnalyzer.JetAnalyzer.process(), L1GctTdrJetFinder.process(), TFWLiteSelectorBasic.process(), fwlite::internal::DataKey.process(), KDTreeLinkerBase.process(), L1GctJetLeafCard.process(), DTTFFEDReader.process(), L1GlobalCaloTrigger.process(), edm::EDConsumerBase::Labels.process, TFWLiteSelector< ThingsWorker >.process(), TFWLiteSelector< __class__Worker >.process(), TFWLiteSelector< TWorker >.process(), TFWLiteSelector< TrackAnalysisAlgorithm >.process(), ora::OraReferenceMapping.process(), EcalFenixTcp.process(), SeedClusterRemover.process(), HLTTrackClusterRemoverNew.process(), objects.JetAnalyzer.JetAnalyzer.process(), TestOutliers.process, DiLeptonAnalyzer.DiLeptonAnalyzer.process(), HITrackClusterRemover.process(), objects.VertexAnalyzer.VertexAnalyzer.process(), HTTP.RequestManager.process(), GenLumiInfoProduct::ProcessInfo.process(), ora::UniqueReferenceMapping.process(), core.PileUpAnalyzer.PileUpAnalyzer.process(), EcalFenixStrip.process(), ora::OraPtrMapping.process(), lhef::LHERunInfo::Process.process(), CaloTowersCreationAlgo.process(), ora::NamedRefMapping.process(), objects.TauAnalyzer.TauAnalyzer.process(), ora::ArrayMapping.process(), core.AutoFillTreeProducer.AutoFillTreeProducer.process(), EgammaHLTValidationUtils.EgammaDQMModuleMaker.process, ora::CArrayMapping.process(), L1GctJetFinderBase.process(), ora::ObjectMapping.process(), ora::EmptyMapping.process(), Config.Process.process, looper.Looper.process(), edm::SubProcess.process(), gen.GeneratorAnalyzer.GeneratorAnalyzer.process(), objects.PhotonAnalyzer.PhotonAnalyzer.process(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.process(), edm::ProductHolderIndexHelper::Item.process(), objects.LeptonAnalyzer.LeptonAnalyzer.process(), and CustomConfigs.ProcessName().

Referenced by ConfigBuilder.ConfigBuilder.prepare_FASTSIM(), and ConfigBuilder.ConfigBuilder.prepare_HLT().

1534  def prepare_HLT(self, sequence = None):
1535  """ Enrich the schedule with the HLT simulation step"""
1536  if not sequence:
1537  print "no specification of the hlt menu has been given, should never happen"
1538  raise Exception('no HLT sequence provided')
1539 
1540  if '@' in sequence:
1541  # case where HLT:@something was provided
1542  from Configuration.HLT.autoHLT import autoHLT
1543  key = sequence[1:]
1544  if key in autoHLT:
1545  sequence = autoHLT[key]
1546  else:
1547  raise ValueError('no HLT mapping key "%s" found in autoHLT' % key)
1548 
1549  if ',' in sequence:
1550  #case where HLT:something:something was provided
1551  self.executeAndRemember('import HLTrigger.Configuration.Utilities')
1552  optionsForHLT = {}
1553  if self._options.scenario == 'HeavyIons':
1554  optionsForHLT['type'] = 'HIon'
1555  else:
1556  optionsForHLT['type'] = 'GRun'
1557  optionsForHLTConfig = ', '.join('%s=%s' % (key, repr(val)) for (key, val) in optionsForHLT.iteritems())
1558  if sequence == 'run,fromSource':
1559  if hasattr(self.process.source,'firstRun'):
1560  self.executeAndRemember('process.loadHltConfiguration("run:%%d"%%(process.source.firstRun.value()),%s)'%(optionsForHLTConfig))
1561  elif hasattr(self.process.source,'setRunNumber'):
1562  self.executeAndRemember('process.loadHltConfiguration("run:%%d"%%(process.source.setRunNumber.value()),%s)'%(optionsForHLTConfig))
1563  else:
1564  raise Exception('Cannot replace menu to load %s'%(sequence))
1565  else:
1566  self.executeAndRemember('process.loadHltConfiguration("%s",%s)'%(sequence.replace(',',':'),optionsForHLTConfig))
1567  else:
1568  self.loadAndRemember('HLTrigger/Configuration/HLT_%s_cff' % sequence)
1569 
1570  if self._options.isMC:
1571  if self._options.fast:
1572  self._options.customisation_file.append("HLTrigger/Configuration/customizeHLTforMC.customizeHLTforFastSim")
1573  else:
1574  self._options.customisation_file.append("HLTrigger/Configuration/customizeHLTforMC.customizeHLTforFullSim")
static std::string join(char **cmd)
Definition: RemoteFile.cc:18
def ConfigBuilder.ConfigBuilder.prepare_L1 (   self,
  sequence = None 
)
Enrich the schedule with the L1 simulation step

Definition at line 1477 of file ConfigBuilder.py.

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

1478  def prepare_L1(self, sequence = None):
1479  """ Enrich the schedule with the L1 simulation step"""
1480  if not sequence:
1481  self.loadAndRemember(self.L1EMDefaultCFF)
1482  else:
1483  # let the L1 package decide for the scenarios available
1484  from L1Trigger.Configuration.ConfigBuilder import getConfigsForScenario
1485  listOfImports = getConfigsForScenario(sequence)
1486  for file in listOfImports:
1487  self.loadAndRemember(file)
1488  self.scheduleSequence('SimL1Emulator','L1simulation_step')
1489  return
def ConfigBuilder.ConfigBuilder.prepare_L1 (   self,
  sequence = None 
)
Enrich the schedule with the L1 simulation step

Definition at line 1513 of file ConfigBuilder.py.

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

Referenced by ConfigBuilder.ConfigBuilder.prepare_L1().

1514  def prepare_L1(self, sequence = None):
1515  """ Enrich the schedule with the L1 simulation step"""
1516  assert(sequence == None)
1517  self.loadAndRemember(self.L1EMDefaultCFF)
1518  self.scheduleSequence('SimL1Emulator','L1simulation_step')
1519  return
assert(m_qm.get())
def ConfigBuilder.ConfigBuilder.prepare_L1HwVal (   self,
  sequence = 'L1HwVal' 
)
Enrich the schedule with L1 HW validation 

Definition at line 1582 of file ConfigBuilder.py.

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

1583  def prepare_L1HwVal(self, sequence = 'L1HwVal'):
1584  ''' Enrich the schedule with L1 HW validation '''
self.loadDefaultOrSpecifiedCFF(sequence,self.L1HwValDefaultCFF)
def ConfigBuilder.ConfigBuilder.prepare_L1HwVal (   self,
  sequence = 'L1HwVal' 
)
Enrich the schedule with L1 HW validation 

Definition at line 1615 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.loadDefaultOrSpecifiedCFF().

Referenced by ConfigBuilder.ConfigBuilder.prepare_L1HwVal().

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

Definition at line 1589 of file ConfigBuilder.py.

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

1590  def prepare_L1Reco(self, sequence = "L1Reco"):
1591  ''' Enrich the schedule with L1 reconstruction '''
self.loadDefaultOrSpecifiedCFF(sequence,self.L1RecoDefaultCFF)
def ConfigBuilder.ConfigBuilder.prepare_L1Reco (   self,
  sequence = "L1Reco" 
)
Enrich the schedule with L1 reconstruction 

Definition at line 1622 of file ConfigBuilder.py.

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

Referenced by ConfigBuilder.ConfigBuilder.prepare_L1Reco().

1623  def prepare_L1Reco(self, sequence = "L1Reco"):
1624  ''' Enrich the schedule with L1 reconstruction '''
self.loadDefaultOrSpecifiedCFF(sequence,self.L1RecoDefaultCFF)
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 1490 of file ConfigBuilder.py.

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

1491  def prepare_L1REPACK(self, sequence = None):
1492  """ 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"""
1493  if sequence is not 'GT':
1494  print 'Running the full L1 emulator is not supported yet'
1495  raise Exception('unsupported feature')
1496  if sequence is 'GT':
1497  self.loadAndRemember('Configuration/StandardSequences/SimL1EmulatorRepack_GT_cff')
1498  if self._options.scenario == 'HeavyIons':
1499  self.renameInputTagsInSequence("SimL1Emulator","rawDataCollector","rawDataRepacker")
1500  self.scheduleSequence('SimL1Emulator','L1simulation_step')
1501 
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 1520 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare_L1REPACK().

1521  def prepare_L1REPACK(self, sequence = None):
1522  """ 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"""
1523  supported = ['GT','GT1','GT2','GCTGT']
1524  if sequence in supported:
1525  self.loadAndRemember('Configuration/StandardSequences/SimL1EmulatorRepack_%s_cff'%sequence)
1526  if self._options.scenario == 'HeavyIons':
1527  self.renameInputTagsInSequence("SimL1Emulator","rawDataCollector","rawDataRepacker")
1528  self.scheduleSequence('SimL1Emulator','L1RePack_step')
1529  else:
1530  print "L1REPACK with '",sequence,"' is not supported! Supported choices are: ",supported
1531  raise Exception('unsupported feature')
1532 
def ConfigBuilder.ConfigBuilder.prepare_L1TrackTrigger (   self,
  sequence = "L1TrackTrigger" 
)
Enrich the schedule with L1 reconstruction 

Definition at line 1595 of file ConfigBuilder.py.

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

1596  def prepare_L1TrackTrigger(self, sequence = "L1TrackTrigger"):
1597  ''' Enrich the schedule with L1 reconstruction '''
self.loadDefaultOrSpecifiedCFF(sequence,self.L1TrackTriggerDefaultCFF)
def ConfigBuilder.ConfigBuilder.prepare_L1TrackTrigger (   self,
  sequence = "L1TrackTrigger" 
)
Enrich the schedule with L1 reconstruction 

Definition at line 1628 of file ConfigBuilder.py.

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

Referenced by ConfigBuilder.ConfigBuilder.prepare_L1TrackTrigger().

1629  def prepare_L1TrackTrigger(self, sequence = "L1TrackTrigger"):
1630  ''' Enrich the schedule with L1 reconstruction '''
self.loadDefaultOrSpecifiedCFF(sequence,self.L1TrackTriggerDefaultCFF)
def ConfigBuilder.ConfigBuilder.prepare_LHE (   self,
  sequence = None 
)

Definition at line 1280 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.prepare_LHE(), CMSTestAnalyzer.CMSTestAnalyzer.process(), Printer.Printer.process(), DTTTrigProd.DTTTrigProd.process, HcalHitRelabeller.process(), SimpleTreeAnalyzer.SimpleTreeAnalyzer.process(), Histogrammer.Histogrammer.process(), DTDqm.DTDqm.process, DTValidSummary.DTValidSummary.process, helper::NullPostProcessor< reco::CandidateCollection, edm::EDFilter >.process(), helper::NullPostProcessor< typename::helper::SelectedOutputCollectionTrait< reco::TrackCollection >::type, EdmFilter >.process(), NullPostProcessor< reco::CandidateCollection >.process(), NullPostProcessor< OutputCollection, edm::EDFilter >.process(), EDFilter<>.process(), NullPostProcessor< OutputCollection >.process(), NullPostProcessor< OutputCollection, EdmFilter >.process(), DTDQMMerge.DTDQMMerge.process, SimpleJetAnalyzer.SimpleJetAnalyzer.process(), helper::NullPostProcessor< OutputCollection, EdmFilter >.process(), SimpleTreeProducer.SimpleTreeProducer.process(), DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.process, DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.process, DTAnalysisResiduals.DTAnalysisResiduals.process, tfwliteselectortest::ThingsWorker.process(), DTDQMHarvesting.DTDQMHarvesting.process, DTNoiseCalibration.DTNoiseCalibration.process, DTResidualCalibration.DTResidualCalibration.process, clangcms::CatchAll.process(), core.Analyzer.Analyzer.process(), DummyUpdator.process(), DTDQMValidation.DTDQMValidation.process, DTTTrigValid.DTTTrigValid.process, EcalFenixTcpsFgvbEB.process(), tfwliteselectortest::ThingsTSelector.process(), gen.LHEAnalyzer.LHEAnalyzer.process(), CSCTFDTReceiver.process(), EcalFenixBypassLin.process(), EcalFenixPeakFinder.process(), MetTreeProducer.MetTreeProducer.process(), EcalFenixMaxof2.process(), CSCTFMonitorInterface.process(), TTULogic.process(), CSCMonitorInterface.process(), SingleTrajectoryUpdator.process(), examples::TrackAnalysisAlgorithm.process(), RBCLogic.process(), TTUWedgeORLogic.process(), EcalFenixEtStrip.process(), RBCPatternLogic.process(), TTUSectorORLogic.process(), PFPileUpAlgo.process(), EcalFenixTcpFormat.process(), npstat::AbsVisitor< Input, unsigned long >.process(), __class__Worker.process(), KalmanAlignmentUpdator.process(), HcalCableMapper.process(), npstat::AbsVisitor< Input, Result >.process(), EcalFenixAmplitudeFilter.process(), EcalFenixStripFormatEE.process(), BTagDifferentialPlot.process(), DTT0DBValidation.DTT0DBValidation.process, npstat::AbsArrayProjector< Input, Result >.process(), DTVDriftMeanTimerWriter.DTVDriftMeanTimerWriter.process, EcalFenixStripFormatEB.process(), RBCTestLogic.process(), TTUPointingLogic.process(), MetAnalyzer.MetAnalyzer.process(), DTVDriftSegmentWriter.DTVDriftSegmentWriter.process, EcalFenixEtTot.process(), core.TriggerBitFilter.TriggerBitFilter.process(), ora::IRelationalMapping.process(), HcalSimpleReconstructor.process(), TTUTwoORLogic.process(), DTTTrigResidualCorr.DTTTrigResidualCorr.process, EcalFenixStripFgvbEE.process(), RBCChamberORLogic.process(), EcalFenixTcpFgvbEE.process(), TTUTrackingAlg.process(), DTTTrigCorrFirst.DTTTrigCorrFirst.process, gen.HiggsDecayModeAnalyzer.HiggsDecayModeAnalyzer.process(), EcalFenixFgvbEB.process(), L1GctEmLeafCard.process(), edm::ConsumesInfo.process(), L1GctNullJetFinder.process(), SiStripClusterToDigiProducer.process(), EcalFenixLinearizer.process(), L1GctSimpleJetFinder.process(), TriggerAnalyzer.TriggerAnalyzer.process(), L1GctHardwareJetFinder.process(), RPCWheel.process(), gen.GenHeavyFlavourAnalyzer.GenHeavyFlavourAnalyzer.process(), DTTTrigTimeBoxesWriter.DTTTrigTimeBoxesWriter.process, L1GctJetFinalStage.process(), TTUConfigurator.process(), L1GctProcessor.process(), gen.PDFWeightsAnalyzer.PDFWeightsAnalyzer.process(), L1GctGlobalHfSumAlgos.process(), PFMETBenchmark.process(), edm::InputTag.process(), npstat::VisitCounter< Input >.process(), L1GctElectronFinalSort.process(), core.EventSelector.EventSelector.process(), PFJetBenchmark.process(), core.JSONAnalyzer.JSONAnalyzer.process(), core.TriggerBitAnalyzer.TriggerBitAnalyzer.process(), ora::PrimitiveMapping.process(), PFTauElecRejectionBenchmark.process(), EgammaHLTPixelMatchElectronAlgo.process(), ZMuMuRochCorAnalyzer.ZMuMuRochCorAnalyzer.process(), L1Comparator.process(), L1GctWheelEnergyFpga.process(), L1GctWheelJetFpga.process(), core.SkimAnalyzerCount.SkimAnalyzerCount.process(), analyzer.Analyzer.process(), AlphaTAnalyzer.AlphaTAnalyzer.process(), cscdqm::HWStandbyType.process, ora::BlobMapping.process(), L1GctElectronSorter.process(), L1GctGlobalEnergyAlgos.process(), JetAnalyzer.JetAnalyzer.process(), L1GctTdrJetFinder.process(), TFWLiteSelectorBasic.process(), fwlite::internal::DataKey.process(), L1GctJetLeafCard.process(), KDTreeLinkerBase.process(), DTTFFEDReader.process(), L1GlobalCaloTrigger.process(), TFWLiteSelector< __class__Worker >.process(), TFWLiteSelector< TrackAnalysisAlgorithm >.process(), TFWLiteSelector< ThingsWorker >.process(), edm::EDConsumerBase::Labels.process, TFWLiteSelector< TWorker >.process(), ora::OraReferenceMapping.process(), EcalFenixTcp.process(), SeedClusterRemover.process(), HLTTrackClusterRemoverNew.process(), TestOutliers.process, objects.JetAnalyzer.JetAnalyzer.process(), DiLeptonAnalyzer.DiLeptonAnalyzer.process(), HITrackClusterRemover.process(), HTTP.RequestManager.process(), objects.VertexAnalyzer.VertexAnalyzer.process(), GenLumiInfoProduct::ProcessInfo.process(), ora::UniqueReferenceMapping.process(), core.PileUpAnalyzer.PileUpAnalyzer.process(), EcalFenixStrip.process(), ora::OraPtrMapping.process(), lhef::LHERunInfo::Process.process(), CaloTowersCreationAlgo.process(), ora::NamedRefMapping.process(), objects.TauAnalyzer.TauAnalyzer.process(), ora::ArrayMapping.process(), core.AutoFillTreeProducer.AutoFillTreeProducer.process(), EgammaHLTValidationUtils.EgammaDQMModuleMaker.process, ora::CArrayMapping.process(), L1GctJetFinderBase.process(), ora::ObjectMapping.process(), ora::EmptyMapping.process(), Config.Process.process, looper.Looper.process(), edm::SubProcess.process(), gen.GeneratorAnalyzer.GeneratorAnalyzer.process(), objects.PhotonAnalyzer.PhotonAnalyzer.process(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.process(), edm::ProductHolderIndexHelper::Item.process(), objects.LeptonAnalyzer.LeptonAnalyzer.process(), and python.rootplot.root2matplotlib.replace().

1281  def prepare_LHE(self, sequence = None):
1282  #load the fragment
1283  ##make it loadable
1284  loadFragment = self._options.evt_type.replace('.py','',).replace('.','_').replace('python/','').replace('/','.')
1285  print "Loading lhe fragment from",loadFragment
1286  __import__(loadFragment)
1287  self.process.load(loadFragment)
1288  ##inline the modules
1289  self._options.inlineObjets+=','+sequence
1290 
1291  getattr(self.process,sequence).nEvents = int(self._options.number)
1292 
1293  #schedule it
1294  self.process.lhe_step = cms.Path( getattr( self.process,sequence) )
1295  self.excludedPaths.append("lhe_step")
1296  self.schedule.append( self.process.lhe_step )
def ConfigBuilder.ConfigBuilder.prepare_LHE (   self,
  sequence = None 
)

Definition at line 1315 of file ConfigBuilder.py.

References CMSTestAnalyzer.CMSTestAnalyzer.process(), Printer.Printer.process(), DTTTrigProd.DTTTrigProd.process, HcalHitRelabeller.process(), SimpleTreeAnalyzer.SimpleTreeAnalyzer.process(), Histogrammer.Histogrammer.process(), DTDqm.DTDqm.process, helper::NullPostProcessor< reco::CandidateCollection, edm::EDFilter >.process(), helper::NullPostProcessor< typename::helper::SelectedOutputCollectionTrait< reco::TrackCollection >::type, EdmFilter >.process(), DTDQMMerge.DTDQMMerge.process, NullPostProcessor< reco::CandidateCollection >.process(), NullPostProcessor< OutputCollection, edm::EDFilter >.process(), EDFilter<>.process(), NullPostProcessor< OutputCollection >.process(), NullPostProcessor< OutputCollection, EdmFilter >.process(), DTValidSummary.DTValidSummary.process, SimpleJetAnalyzer.SimpleJetAnalyzer.process(), helper::NullPostProcessor< OutputCollection, EdmFilter >.process(), SimpleTreeProducer.SimpleTreeProducer.process(), DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.process, DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.process, DTDQMHarvesting.DTDQMHarvesting.process, tfwliteselectortest::ThingsWorker.process(), DTAnalysisResiduals.DTAnalysisResiduals.process, DTResidualCalibration.DTResidualCalibration.process, DTNoiseCalibration.DTNoiseCalibration.process, clangcms::CatchAll.process(), core.Analyzer.Analyzer.process(), DTDQMValidation.DTDQMValidation.process, DummyUpdator.process(), DTTTrigValid.DTTTrigValid.process, EcalFenixTcpsFgvbEB.process(), tfwliteselectortest::ThingsTSelector.process(), gen.LHEAnalyzer.LHEAnalyzer.process(), CSCTFDTReceiver.process(), EcalFenixBypassLin.process(), EcalFenixPeakFinder.process(), MetTreeProducer.MetTreeProducer.process(), EcalFenixMaxof2.process(), CSCTFMonitorInterface.process(), TTULogic.process(), CSCMonitorInterface.process(), SingleTrajectoryUpdator.process(), examples::TrackAnalysisAlgorithm.process(), RBCLogic.process(), TTUWedgeORLogic.process(), EcalFenixEtStrip.process(), RBCPatternLogic.process(), TTUSectorORLogic.process(), PFPileUpAlgo.process(), EcalFenixTcpFormat.process(), KalmanAlignmentUpdator.process(), __class__Worker.process(), HcalCableMapper.process(), npstat::AbsVisitor< Input, unsigned long >.process(), npstat::AbsVisitor< Input, Result >.process(), EcalFenixAmplitudeFilter.process(), DTT0DBValidation.DTT0DBValidation.process, EcalFenixStripFormatEE.process(), BTagDifferentialPlot.process(), npstat::AbsArrayProjector< Input, Result >.process(), DTVDriftMeanTimerWriter.DTVDriftMeanTimerWriter.process, EcalFenixStripFormatEB.process(), DTVDriftSegmentWriter.DTVDriftSegmentWriter.process, TTUPointingLogic.process(), MetAnalyzer.MetAnalyzer.process(), RBCTestLogic.process(), EcalFenixEtTot.process(), core.TriggerBitFilter.TriggerBitFilter.process(), HcalSimpleReconstructor.process(), TTUTwoORLogic.process(), DTTTrigResidualCorr.DTTTrigResidualCorr.process, ora::IRelationalMapping.process(), EcalFenixStripFgvbEE.process(), TTUTrackingAlg.process(), EcalFenixTcpFgvbEE.process(), RBCChamberORLogic.process(), DTTTrigCorrFirst.DTTTrigCorrFirst.process, gen.HiggsDecayModeAnalyzer.HiggsDecayModeAnalyzer.process(), EcalFenixFgvbEB.process(), L1GctEmLeafCard.process(), L1GctNullJetFinder.process(), edm::ConsumesInfo.process(), SiStripClusterToDigiProducer.process(), EcalFenixLinearizer.process(), L1GctSimpleJetFinder.process(), TriggerAnalyzer.TriggerAnalyzer.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(), edm::InputTag.process(), L1GctElectronFinalSort.process(), PFJetBenchmark.process(), core.EventSelector.EventSelector.process(), core.JSONAnalyzer.JSONAnalyzer.process(), core.TriggerBitAnalyzer.TriggerBitAnalyzer.process(), ora::PrimitiveMapping.process(), PFTauElecRejectionBenchmark.process(), EgammaHLTPixelMatchElectronAlgo.process(), ZMuMuRochCorAnalyzer.ZMuMuRochCorAnalyzer.process(), L1Comparator.process(), L1GctWheelEnergyFpga.process(), core.SkimAnalyzerCount.SkimAnalyzerCount.process(), L1GctWheelJetFpga.process(), analyzer.Analyzer.process(), AlphaTAnalyzer.AlphaTAnalyzer.process(), cscdqm::HWStandbyType.process, ora::BlobMapping.process(), L1GctElectronSorter.process(), L1GctGlobalEnergyAlgos.process(), JetAnalyzer.JetAnalyzer.process(), TFWLiteSelectorBasic.process(), L1GctTdrJetFinder.process(), fwlite::internal::DataKey.process(), L1GctJetLeafCard.process(), KDTreeLinkerBase.process(), DTTFFEDReader.process(), L1GlobalCaloTrigger.process(), edm::EDConsumerBase::Labels.process, TFWLiteSelector< TWorker >.process(), TFWLiteSelector< __class__Worker >.process(), TFWLiteSelector< ThingsWorker >.process(), TFWLiteSelector< TrackAnalysisAlgorithm >.process(), ora::OraReferenceMapping.process(), EcalFenixTcp.process(), SeedClusterRemover.process(), HLTTrackClusterRemoverNew.process(), TestOutliers.process, objects.JetAnalyzer.JetAnalyzer.process(), DiLeptonAnalyzer.DiLeptonAnalyzer.process(), objects.VertexAnalyzer.VertexAnalyzer.process(), HITrackClusterRemover.process(), HTTP.RequestManager.process(), GenLumiInfoProduct::ProcessInfo.process(), ora::UniqueReferenceMapping.process(), core.PileUpAnalyzer.PileUpAnalyzer.process(), EcalFenixStrip.process(), ora::OraPtrMapping.process(), lhef::LHERunInfo::Process.process(), ora::NamedRefMapping.process(), CaloTowersCreationAlgo.process(), objects.TauAnalyzer.TauAnalyzer.process(), ora::ArrayMapping.process(), core.AutoFillTreeProducer.AutoFillTreeProducer.process(), EgammaHLTValidationUtils.EgammaDQMModuleMaker.process, ora::CArrayMapping.process(), L1GctJetFinderBase.process(), ora::ObjectMapping.process(), ora::EmptyMapping.process(), Config.Process.process, looper.Looper.process(), edm::SubProcess.process(), gen.GeneratorAnalyzer.GeneratorAnalyzer.process(), objects.PhotonAnalyzer.PhotonAnalyzer.process(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.process(), edm::ProductHolderIndexHelper::Item.process(), objects.LeptonAnalyzer.LeptonAnalyzer.process(), and python.rootplot.root2matplotlib.replace().

Referenced by ConfigBuilder.ConfigBuilder.prepare_LHE().

1316  def prepare_LHE(self, sequence = None):
1317  #load the fragment
1318  ##make it loadable
1319  loadFragment = self._options.evt_type.replace('.py','',).replace('.','_').replace('python/','').replace('/','.')
1320  print "Loading lhe fragment from",loadFragment
1321  __import__(loadFragment)
1322  self.process.load(loadFragment)
1323  ##inline the modules
1324  self._options.inlineObjets+=','+sequence
1325 
1326  getattr(self.process,sequence).nEvents = int(self._options.number)
1327 
1328  #schedule it
1329  self.process.lhe_step = cms.Path( getattr( self.process,sequence) )
1330  self.excludedPaths.append("lhe_step")
1331  self.schedule.append( self.process.lhe_step )
def ConfigBuilder.ConfigBuilder.prepare_PAT (   self,
  sequence = "miniAOD" 
)
Enrich the schedule with PAT 

Definition at line 1639 of file ConfigBuilder.py.

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

1640  def prepare_PAT(self, sequence = "miniAOD"):
1641  ''' Enrich the schedule with PAT '''
self.loadDefaultOrSpecifiedCFF(sequence,self.PATDefaultCFF,1) #this is unscheduled
def ConfigBuilder.ConfigBuilder.prepare_PAT (   self,
  sequence = "miniAOD" 
)
Enrich the schedule with PAT 

Definition at line 1681 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare_PAT().

1682  def prepare_PAT(self, sequence = "miniAOD"):
''' Enrich the schedule with PAT '''
def ConfigBuilder.ConfigBuilder.prepare_PATFILTER (   self,
  sequence = None 
)

Definition at line 1609 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.loadAndRemember(), CMSTestAnalyzer.CMSTestAnalyzer.process(), Printer.Printer.process(), DTTTrigProd.DTTTrigProd.process, HcalHitRelabeller.process(), SimpleTreeAnalyzer.SimpleTreeAnalyzer.process(), Histogrammer.Histogrammer.process(), helper::NullPostProcessor< reco::CandidateCollection, edm::EDFilter >.process(), helper::NullPostProcessor< typename::helper::SelectedOutputCollectionTrait< reco::TrackCollection >::type, EdmFilter >.process(), DTDQMMerge.DTDQMMerge.process, NullPostProcessor< reco::CandidateCollection >.process(), NullPostProcessor< OutputCollection, edm::EDFilter >.process(), EDFilter<>.process(), NullPostProcessor< OutputCollection >.process(), NullPostProcessor< OutputCollection, EdmFilter >.process(), DTDqm.DTDqm.process, SimpleJetAnalyzer.SimpleJetAnalyzer.process(), DTValidSummary.DTValidSummary.process, helper::NullPostProcessor< OutputCollection, EdmFilter >.process(), SimpleTreeProducer.SimpleTreeProducer.process(), DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.process, DTDQMHarvesting.DTDQMHarvesting.process, DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.process, DTAnalysisResiduals.DTAnalysisResiduals.process, tfwliteselectortest::ThingsWorker.process(), DTResidualCalibration.DTResidualCalibration.process, DTNoiseCalibration.DTNoiseCalibration.process, clangcms::CatchAll.process(), core.Analyzer.Analyzer.process(), DTDQMValidation.DTDQMValidation.process, DummyUpdator.process(), DTTTrigValid.DTTTrigValid.process, EcalFenixTcpsFgvbEB.process(), tfwliteselectortest::ThingsTSelector.process(), gen.LHEAnalyzer.LHEAnalyzer.process(), CSCTFDTReceiver.process(), EcalFenixBypassLin.process(), EcalFenixPeakFinder.process(), MetTreeProducer.MetTreeProducer.process(), EcalFenixMaxof2.process(), CSCTFMonitorInterface.process(), TTULogic.process(), CSCMonitorInterface.process(), SingleTrajectoryUpdator.process(), examples::TrackAnalysisAlgorithm.process(), RBCLogic.process(), TTUWedgeORLogic.process(), EcalFenixEtStrip.process(), RBCPatternLogic.process(), TTUSectorORLogic.process(), PFPileUpAlgo.process(), EcalFenixTcpFormat.process(), npstat::AbsVisitor< Input, unsigned long >.process(), KalmanAlignmentUpdator.process(), __class__Worker.process(), HcalCableMapper.process(), npstat::AbsVisitor< Input, Result >.process(), EcalFenixAmplitudeFilter.process(), DTT0DBValidation.DTT0DBValidation.process, EcalFenixStripFormatEE.process(), BTagDifferentialPlot.process(), npstat::AbsArrayProjector< Input, Result >.process(), DTVDriftMeanTimerWriter.DTVDriftMeanTimerWriter.process, EcalFenixStripFormatEB.process(), DTVDriftSegmentWriter.DTVDriftSegmentWriter.process, TTUPointingLogic.process(), MetAnalyzer.MetAnalyzer.process(), RBCTestLogic.process(), EcalFenixEtTot.process(), core.TriggerBitFilter.TriggerBitFilter.process(), HcalSimpleReconstructor.process(), TTUTwoORLogic.process(), DTTTrigResidualCorr.DTTTrigResidualCorr.process, ora::IRelationalMapping.process(), EcalFenixStripFgvbEE.process(), RBCChamberORLogic.process(), TTUTrackingAlg.process(), EcalFenixTcpFgvbEE.process(), DTTTrigCorrFirst.DTTTrigCorrFirst.process, gen.HiggsDecayModeAnalyzer.HiggsDecayModeAnalyzer.process(), EcalFenixFgvbEB.process(), L1GctEmLeafCard.process(), L1GctNullJetFinder.process(), edm::ConsumesInfo.process(), SiStripClusterToDigiProducer.process(), EcalFenixLinearizer.process(), L1GctSimpleJetFinder.process(), TriggerAnalyzer.TriggerAnalyzer.process(), L1GctHardwareJetFinder.process(), RPCWheel.process(), DTTTrigTimeBoxesWriter.DTTTrigTimeBoxesWriter.process, gen.GenHeavyFlavourAnalyzer.GenHeavyFlavourAnalyzer.process(), L1GctJetFinalStage.process(), TTUConfigurator.process(), L1GctProcessor.process(), gen.PDFWeightsAnalyzer.PDFWeightsAnalyzer.process(), L1GctGlobalHfSumAlgos.process(), PFMETBenchmark.process(), edm::InputTag.process(), npstat::VisitCounter< Input >.process(), L1GctElectronFinalSort.process(), PFJetBenchmark.process(), core.EventSelector.EventSelector.process(), core.JSONAnalyzer.JSONAnalyzer.process(), core.TriggerBitAnalyzer.TriggerBitAnalyzer.process(), ora::PrimitiveMapping.process(), PFTauElecRejectionBenchmark.process(), EgammaHLTPixelMatchElectronAlgo.process(), ZMuMuRochCorAnalyzer.ZMuMuRochCorAnalyzer.process(), L1Comparator.process(), L1GctWheelEnergyFpga.process(), L1GctWheelJetFpga.process(), core.SkimAnalyzerCount.SkimAnalyzerCount.process(), analyzer.Analyzer.process(), AlphaTAnalyzer.AlphaTAnalyzer.process(), cscdqm::HWStandbyType.process, ora::BlobMapping.process(), L1GctGlobalEnergyAlgos.process(), L1GctElectronSorter.process(), JetAnalyzer.JetAnalyzer.process(), L1GctTdrJetFinder.process(), TFWLiteSelectorBasic.process(), fwlite::internal::DataKey.process(), KDTreeLinkerBase.process(), L1GctJetLeafCard.process(), DTTFFEDReader.process(), L1GlobalCaloTrigger.process(), TFWLiteSelector< ThingsWorker >.process(), TFWLiteSelector< __class__Worker >.process(), edm::EDConsumerBase::Labels.process, TFWLiteSelector< TWorker >.process(), TFWLiteSelector< TrackAnalysisAlgorithm >.process(), ora::OraReferenceMapping.process(), EcalFenixTcp.process(), SeedClusterRemover.process(), HLTTrackClusterRemoverNew.process(), objects.JetAnalyzer.JetAnalyzer.process(), TestOutliers.process, DiLeptonAnalyzer.DiLeptonAnalyzer.process(), HITrackClusterRemover.process(), objects.VertexAnalyzer.VertexAnalyzer.process(), HTTP.RequestManager.process(), GenLumiInfoProduct::ProcessInfo.process(), ora::UniqueReferenceMapping.process(), core.PileUpAnalyzer.PileUpAnalyzer.process(), EcalFenixStrip.process(), ora::OraPtrMapping.process(), lhef::LHERunInfo::Process.process(), ora::NamedRefMapping.process(), CaloTowersCreationAlgo.process(), objects.TauAnalyzer.TauAnalyzer.process(), ora::ArrayMapping.process(), core.AutoFillTreeProducer.AutoFillTreeProducer.process(), EgammaHLTValidationUtils.EgammaDQMModuleMaker.process, ora::CArrayMapping.process(), L1GctJetFinderBase.process(), ora::ObjectMapping.process(), ora::EmptyMapping.process(), Config.Process.process, looper.Looper.process(), edm::SubProcess.process(), gen.GeneratorAnalyzer.GeneratorAnalyzer.process(), objects.PhotonAnalyzer.PhotonAnalyzer.process(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.process(), edm::ProductHolderIndexHelper::Item.process(), and objects.LeptonAnalyzer.LeptonAnalyzer.process().

1610  def prepare_PATFILTER(self, sequence=None):
1611  self.loadAndRemember("PhysicsTools/PatAlgos/slimming/metFilterPaths_cff")
1612  from PhysicsTools.PatAlgos.slimming.metFilterPaths_cff import allMetFilterPaths
1613  for filt in allMetFilterPaths:
1614  self.schedule.append(getattr(self.process,'Flag_'+filt))
def ConfigBuilder.ConfigBuilder.prepare_POSTRECO (   self,
  sequence = None 
)
Enrich the schedule with the postreco step 

Definition at line 1714 of file ConfigBuilder.py.

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

1715  def prepare_POSTRECO(self, sequence = None):
1716  """ Enrich the schedule with the postreco step """
self.loadAndRemember(self.POSTRECODefaultCFF)
def ConfigBuilder.ConfigBuilder.prepare_POSTRECO (   self,
  sequence = None 
)
Enrich the schedule with the postreco step 

Definition at line 1757 of file ConfigBuilder.py.

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

Referenced by ConfigBuilder.ConfigBuilder.prepare_POSTRECO().

1758  def prepare_POSTRECO(self, sequence = None):
1759  """ Enrich the schedule with the postreco step """
self.loadAndRemember(self.POSTRECODefaultCFF)
def ConfigBuilder.ConfigBuilder.prepare_RAW2DIGI (   self,
  sequence = "RawToDigi" 
)

Definition at line 1575 of file ConfigBuilder.py.

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

1576  def prepare_RAW2DIGI(self, sequence = "RawToDigi"):
1577  self.loadDefaultOrSpecifiedCFF(sequence,self.RAW2DIGIDefaultCFF)
1578  self.scheduleSequence(sequence,'raw2digi_step')
1579  # if self._options.isRepacked:
1580  #self.renameInputTagsInSequence(sequence)
1581  return
def ConfigBuilder.ConfigBuilder.prepare_RAW2DIGI (   self,
  sequence = "RawToDigi" 
)

Definition at line 1602 of file ConfigBuilder.py.

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

Referenced by ConfigBuilder.ConfigBuilder.prepare_RAW2DIGI(), and ConfigBuilder.ConfigBuilder.prepare_RAW2RECO().

1603  def prepare_RAW2DIGI(self, sequence = "RawToDigi"):
1604  self.loadDefaultOrSpecifiedCFF(sequence,self.RAW2DIGIDefaultCFF)
1605  self.scheduleSequence(sequence,'raw2digi_step')
1606  # if self._options.isRepacked:
1607  #self.renameInputTagsInSequence(sequence)
1608  return
def ConfigBuilder.ConfigBuilder.prepare_RAW2RECO (   self,
  sequence = None 
)

Definition at line 1564 of file ConfigBuilder.py.

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

1565  def prepare_RAW2RECO(self, sequence = None):
1566  if ','in sequence:
1567  seqReco=sequence.split(',')[1]
1568  seqDigi=sequence.split(',')[0]
1569  else:
1570  print "RAW2RECO requires two specifications",sequence,"insufficient"
1571 
1572  self.prepare_RAW2DIGI(seqDigi)
1573  self.prepare_RECO(seqReco)
1574  return
def prepare_RECO
put the filtering path in the schedule
def ConfigBuilder.ConfigBuilder.prepare_RAW2RECO (   self,
  sequence = None 
)

Definition at line 1591 of file ConfigBuilder.py.

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

Referenced by ConfigBuilder.ConfigBuilder.prepare_RAW2RECO().

1592  def prepare_RAW2RECO(self, sequence = None):
1593  if ','in sequence:
1594  seqReco=sequence.split(',')[1]
1595  seqDigi=sequence.split(',')[0]
1596  else:
1597  print "RAW2RECO requires two specifications",sequence,"insufficient"
1598 
1599  self.prepare_RAW2DIGI(seqDigi)
1600  self.prepare_RECO(seqReco)
1601  return
def prepare_RECO
put the filtering path in the schedule
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 1633 of file ConfigBuilder.py.

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

1634  def prepare_RECO(self, sequence = "reconstruction"):
1635  ''' Enrich the schedule with reconstruction '''
self.loadDefaultOrSpecifiedCFF(sequence,self.RECODefaultCFF)
def prepare_RECO
put the filtering path in the schedule
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 1666 of file ConfigBuilder.py.

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

Referenced by ConfigBuilder.ConfigBuilder.prepare_RAW2RECO(), and ConfigBuilder.ConfigBuilder.prepare_RECO().

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

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

1673  def prepare_RECOBEFMIX(self, sequence = "reconstruction"):
1674  ''' Enrich the schedule with the part of reconstruction that is done before mixing in FastSim'''
1675  if not self._options.fast:
1676  print "ERROR: this step is only implemented for FastSim"
1677  sys.exit()
1678  self.loadDefaultOrSpecifiedCFF(self.RECOBEFMIXDefaultSeq,self.RECOBEFMIXDefaultCFF)
1679  self.scheduleSequence(sequence.split('.')[-1],'reconstruction_befmix_step')
1680  return
def ConfigBuilder.ConfigBuilder.prepare_REPACK (   self,
  sequence = None 
)

Definition at line 1472 of file ConfigBuilder.py.

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

1473  def prepare_REPACK(self, sequence = None):
1474  self.loadDefaultOrSpecifiedCFF(sequence,self.REPACKDefaultCFF)
1475  self.scheduleSequence(sequence.split('.')[-1],'digi2repack_step')
1476  return
def ConfigBuilder.ConfigBuilder.prepare_REPACK (   self,
  sequence = None 
)

Definition at line 1508 of file ConfigBuilder.py.

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

Referenced by ConfigBuilder.ConfigBuilder.prepare_REPACK().

1509  def prepare_REPACK(self, sequence = None):
1510  self.loadDefaultOrSpecifiedCFF(sequence,self.REPACKDefaultCFF)
1511  self.scheduleSequence(sequence.split('.')[-1],'digi2repack_step')
1512  return
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 1376 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.prepare_SIM().

1377  def prepare_SIM(self, sequence = None):
""" Enrich the schedule with the simulation step"""
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 1414 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare_SIM().

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

Definition at line 1664 of file ConfigBuilder.py.

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

1665  def prepare_SKIM(self, sequence = "all"):
1666  ''' Enrich the schedule with skimming fragments'''
1667  skimConfig = self.loadDefaultOrSpecifiedCFF(sequence,self.SKIMDefaultCFF)
1668  sequence = sequence.split('.')[-1]
1669 
1670  skimlist=sequence.split('+')
## support @Mu+DiJet+@Electron configuration via autoSkim.py
def ConfigBuilder.ConfigBuilder.prepare_SKIM (   self,
  sequence = "all" 
)
Enrich the schedule with skimming fragments

Definition at line 1707 of file ConfigBuilder.py.

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

Referenced by ConfigBuilder.ConfigBuilder.prepare_SKIM().

1708  def prepare_SKIM(self, sequence = "all"):
1709  ''' Enrich the schedule with skimming fragments'''
1710  skimConfig = self.loadDefaultOrSpecifiedCFF(sequence,self.SKIMDefaultCFF)
1711  sequence = sequence.split('.')[-1]
1712 
1713  skimlist=sequence.split('+')
## support @Mu+DiJet+@Electron configuration via autoSkim.py
def ConfigBuilder.ConfigBuilder.prepare_USER (   self,
  sequence = None 
)
Enrich the schedule with a user defined sequence 

Definition at line 1708 of file ConfigBuilder.py.

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

1709  def prepare_USER(self, sequence = None):
1710  ''' Enrich the schedule with a user defined sequence '''
self.loadDefaultOrSpecifiedCFF(sequence,self.USERDefaultCFF)
def ConfigBuilder.ConfigBuilder.prepare_USER (   self,
  sequence = None 
)
Enrich the schedule with a user defined sequence 

Definition at line 1751 of file ConfigBuilder.py.

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

Referenced by ConfigBuilder.ConfigBuilder.prepare_USER().

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

Definition at line 1721 of file ConfigBuilder.py.

References any(), ConfigBuilder.ConfigBuilder.executeAndRemember(), ConfigBuilder.ConfigBuilder.expandMapping(), ConfigBuilder.ConfigBuilder.loadDefaultOrSpecifiedCFF(), python.multivaluedict.map(), dbtoconf.object, ConfigBuilder.ConfigBuilder.prepare_VALIDATION(), CMSTestAnalyzer.CMSTestAnalyzer.process(), Printer.Printer.process(), DTTTrigProd.DTTTrigProd.process, HcalHitRelabeller.process(), SimpleTreeAnalyzer.SimpleTreeAnalyzer.process(), Histogrammer.Histogrammer.process(), DTDQMMerge.DTDQMMerge.process, helper::NullPostProcessor< OutputCollection, EdmFilter >.process(), DTValidSummary.DTValidSummary.process, helper::NullPostProcessor< reco::CandidateCollection, edm::EDFilter >.process(), NullPostProcessor< OutputCollection, edm::EDFilter >.process(), EDFilter<>.process(), NullPostProcessor< reco::CandidateCollection >.process(), NullPostProcessor< OutputCollection >.process(), NullPostProcessor< OutputCollection, EdmFilter >.process(), helper::NullPostProcessor< typename::helper::SelectedOutputCollectionTrait< reco::TrackCollection >::type, EdmFilter >.process(), SimpleJetAnalyzer.SimpleJetAnalyzer.process(), DTDqm.DTDqm.process, SimpleTreeProducer.SimpleTreeProducer.process(), DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.process, DTAnalysisResiduals.DTAnalysisResiduals.process, DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.process, DTDQMHarvesting.DTDQMHarvesting.process, tfwliteselectortest::ThingsWorker.process(), DTNoiseCalibration.DTNoiseCalibration.process, DTResidualCalibration.DTResidualCalibration.process, DTTTrigValid.DTTTrigValid.process, DTDQMValidation.DTDQMValidation.process, clangcms::CatchAll.process(), core.Analyzer.Analyzer.process(), DummyUpdator.process(), CSCTFDTReceiver.process(), EcalFenixTcpsFgvbEB.process(), gen.LHEAnalyzer.LHEAnalyzer.process(), tfwliteselectortest::ThingsTSelector.process(), EcalFenixBypassLin.process(), EcalFenixPeakFinder.process(), MetTreeProducer.MetTreeProducer.process(), EcalFenixMaxof2.process(), CSCTFMonitorInterface.process(), examples::TrackAnalysisAlgorithm.process(), TTULogic.process(), CSCMonitorInterface.process(), SingleTrajectoryUpdator.process(), RBCLogic.process(), TTUWedgeORLogic.process(), PFPileUpAlgo.process(), EcalFenixEtStrip.process(), RBCPatternLogic.process(), TTUSectorORLogic.process(), EcalFenixTcpFormat.process(), npstat::AbsVisitor< Input, unsigned long >.process(), __class__Worker.process(), KalmanAlignmentUpdator.process(), HcalCableMapper.process(), npstat::AbsVisitor< Input, Result >.process(), EcalFenixAmplitudeFilter.process(), EcalFenixStripFormatEE.process(), BTagDifferentialPlot.process(), DTT0DBValidation.DTT0DBValidation.process, npstat::AbsArrayProjector< Input, Result >.process(), EcalFenixStripFormatEB.process(), DTVDriftMeanTimerWriter.DTVDriftMeanTimerWriter.process, RBCTestLogic.process(), DTVDriftSegmentWriter.DTVDriftSegmentWriter.process, TTUPointingLogic.process(), MetAnalyzer.MetAnalyzer.process(), EcalFenixEtTot.process(), core.TriggerBitFilter.TriggerBitFilter.process(), HcalSimpleReconstructor.process(), ora::IRelationalMapping.process(), TTUTwoORLogic.process(), DTTTrigResidualCorr.DTTTrigResidualCorr.process, EcalFenixStripFgvbEE.process(), RBCChamberORLogic.process(), EcalFenixTcpFgvbEE.process(), TTUTrackingAlg.process(), DTTTrigCorrFirst.DTTTrigCorrFirst.process, gen.HiggsDecayModeAnalyzer.HiggsDecayModeAnalyzer.process(), EcalFenixFgvbEB.process(), L1GctEmLeafCard.process(), L1GctNullJetFinder.process(), edm::ConsumesInfo.process(), SiStripClusterToDigiProducer.process(), EcalFenixLinearizer.process(), L1GctSimpleJetFinder.process(), TriggerAnalyzer.TriggerAnalyzer.process(), L1GctHardwareJetFinder.process(), DTTTrigTimeBoxesWriter.DTTTrigTimeBoxesWriter.process, RPCWheel.process(), gen.GenHeavyFlavourAnalyzer.GenHeavyFlavourAnalyzer.process(), L1GctProcessor.process(), TTUConfigurator.process(), L1GctJetFinalStage.process(), gen.PDFWeightsAnalyzer.PDFWeightsAnalyzer.process(), L1GctGlobalHfSumAlgos.process(), npstat::VisitCounter< Input >.process(), PFMETBenchmark.process(), edm::InputTag.process(), L1GctElectronFinalSort.process(), PFJetBenchmark.process(), core.EventSelector.EventSelector.process(), core.JSONAnalyzer.JSONAnalyzer.process(), core.TriggerBitAnalyzer.TriggerBitAnalyzer.process(), PFTauElecRejectionBenchmark.process(), ora::PrimitiveMapping.process(), EgammaHLTPixelMatchElectronAlgo.process(), ZMuMuRochCorAnalyzer.ZMuMuRochCorAnalyzer.process(), L1Comparator.process(), L1GctWheelEnergyFpga.process(), L1GctWheelJetFpga.process(), core.SkimAnalyzerCount.SkimAnalyzerCount.process(), analyzer.Analyzer.process(), AlphaTAnalyzer.AlphaTAnalyzer.process(), cscdqm::HWStandbyType.process, ora::BlobMapping.process(), L1GctElectronSorter.process(), L1GctGlobalEnergyAlgos.process(), JetAnalyzer.JetAnalyzer.process(), L1GctTdrJetFinder.process(), TFWLiteSelectorBasic.process(), fwlite::internal::DataKey.process(), KDTreeLinkerBase.process(), L1GctJetLeafCard.process(), DTTFFEDReader.process(), L1GlobalCaloTrigger.process(), TFWLiteSelector< TWorker >.process(), TFWLiteSelector< ThingsWorker >.process(), TFWLiteSelector< __class__Worker >.process(), edm::EDConsumerBase::Labels.process, TFWLiteSelector< TrackAnalysisAlgorithm >.process(), ora::OraReferenceMapping.process(), EcalFenixTcp.process(), SeedClusterRemover.process(), HLTTrackClusterRemoverNew.process(), TestOutliers.process, objects.JetAnalyzer.JetAnalyzer.process(), DiLeptonAnalyzer.DiLeptonAnalyzer.process(), objects.VertexAnalyzer.VertexAnalyzer.process(), HITrackClusterRemover.process(), HTTP.RequestManager.process(), GenLumiInfoProduct::ProcessInfo.process(), ora::UniqueReferenceMapping.process(), core.PileUpAnalyzer.PileUpAnalyzer.process(), EcalFenixStrip.process(), ora::OraPtrMapping.process(), lhef::LHERunInfo::Process.process(), CaloTowersCreationAlgo.process(), ora::NamedRefMapping.process(), objects.TauAnalyzer.TauAnalyzer.process(), ora::ArrayMapping.process(), core.AutoFillTreeProducer.AutoFillTreeProducer.process(), EgammaHLTValidationUtils.EgammaDQMModuleMaker.process, ora::CArrayMapping.process(), L1GctJetFinderBase.process(), ora::ObjectMapping.process(), ora::EmptyMapping.process(), Config.Process.process, looper.Looper.process(), edm::SubProcess.process(), gen.GeneratorAnalyzer.GeneratorAnalyzer.process(), objects.PhotonAnalyzer.PhotonAnalyzer.process(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.process(), edm::ProductHolderIndexHelper::Item.process(), objects.LeptonAnalyzer.LeptonAnalyzer.process(), ConfigBuilder.ConfigBuilder.renameHLTprocessInSequence(), and split.

1722  def prepare_VALIDATION(self, sequence = 'validation'):
1723  print sequence,"in preparing validation"
1724  self.loadDefaultOrSpecifiedCFF(sequence,self.VALIDATIONDefaultCFF)
1725  from Validation.Configuration.autoValidation import autoValidation
1726  #in case VALIDATION:something:somethingelse -> something,somethingelse
1727  sequence=sequence.split('.')[-1]
1728  if sequence.find(',')!=-1:
1729  prevalSeqName=sequence.split(',')[0].split('+')
1730  valSeqName=sequence.split(',')[1].split('+')
1731  self.expandMapping(prevalSeqName,autoValidation,index=0)
1732  self.expandMapping(valSeqName,autoValidation,index=1)
1733  else:
1734  if '@' in sequence:
1735  prevalSeqName=sequence.split('+')
1736  valSeqName=sequence.split('+')
1737  self.expandMapping(prevalSeqName,autoValidation,index=0)
1738  self.expandMapping(valSeqName,autoValidation,index=1)
1739  else:
1740  postfix=''
1741  if sequence:
1742  postfix='_'+sequence
1743  prevalSeqName=['prevalidation'+postfix]
1744  valSeqName=['validation'+postfix]
1745  if not hasattr(self.process,valSeqName[0]):
1746  prevalSeqName=['']
1747  valSeqName=[sequence]
1748 
1749  def NFI(index):
1750  ##name from index, required to keep backward compatibility
1751  if index==0:
1752  return ''
1753  else:
1754  return '%s'%index
1755 
1756  if not 'DIGI' in self.stepMap and not self._options.fast and not any(map( lambda s : s.startswith('genvalid'), valSeqName)):
1757  if self._options.restoreRNDSeeds==False and not self._options.restoreRNDSeeds==True:
1758  self._options.restoreRNDSeeds=True
1759 
1760  #rename the HLT process in validation steps
1761  if ('HLT' in self.stepMap and not self._options.fast) or self._options.hltProcess:
1762  for s in valSeqName+prevalSeqName:
1763  if s:
1765  for (i,s) in enumerate(prevalSeqName):
1766  if s:
1767  setattr(self.process,'prevalidation_step%s'%NFI(i), cms.Path( getattr(self.process, s)) )
1768  self.schedule.append(getattr(self.process,'prevalidation_step%s'%NFI(i)))
1769 
1770  for (i,s) in enumerate(valSeqName):
1771  setattr(self.process,'validation_step%s'%NFI(i), cms.EndPath( getattr(self.process, s)))
1772  self.schedule.append(getattr(self.process,'validation_step%s'%NFI(i)))
1773 
1774  if not 'DIGI' in self.stepMap and not self._options.fast:
1775  self.executeAndRemember("process.mix.playback = True")
1776  self.executeAndRemember("process.mix.digitizers = cms.PSet()")
1777  self.executeAndRemember("for a in process.aliases: delattr(process, a)")
1778  self._options.customisation_file.append("SimGeneral/MixingModule/fullMixCustomize_cff.setCrossingFrameOn")
1779 
1780  if hasattr(self.process,"genstepfilter") and len(self.process.genstepfilter.triggerConditions):
1781  #will get in the schedule, smoothly
1782  for (i,s) in enumerate(valSeqName):
1783  getattr(self.process,'validation_step%s'%NFI(i))._seq = self.process.genstepfilter * getattr(self.process,'validation_step%s'%NFI(i))._seq
1784 
1785  return
1786 
bool any(const std::vector< T > &v, const T &what)
Definition: ECalSD.cc:34
double split
Definition: MVATrainer.cc:139
def ConfigBuilder.ConfigBuilder.prepare_VALIDATION (   self,
  sequence = 'validation' 
)

Definition at line 1764 of file ConfigBuilder.py.

References any(), ConfigBuilder.ConfigBuilder.executeAndRemember(), ConfigBuilder.ConfigBuilder.expandMapping(), ConfigBuilder.ConfigBuilder.loadDefaultOrSpecifiedCFF(), python.multivaluedict.map(), CMSTestAnalyzer.CMSTestAnalyzer.process(), Printer.Printer.process(), DTTTrigProd.DTTTrigProd.process, HcalHitRelabeller.process(), SimpleTreeAnalyzer.SimpleTreeAnalyzer.process(), Histogrammer.Histogrammer.process(), DTDqm.DTDqm.process, helper::NullPostProcessor< OutputCollection, EdmFilter >.process(), DTValidSummary.DTValidSummary.process, helper::NullPostProcessor< reco::CandidateCollection, edm::EDFilter >.process(), helper::NullPostProcessor< typename::helper::SelectedOutputCollectionTrait< reco::TrackCollection >::type, EdmFilter >.process(), EDFilter<>.process(), NullPostProcessor< OutputCollection >.process(), NullPostProcessor< OutputCollection, edm::EDFilter >.process(), NullPostProcessor< OutputCollection, EdmFilter >.process(), NullPostProcessor< reco::CandidateCollection >.process(), SimpleJetAnalyzer.SimpleJetAnalyzer.process(), DTDQMMerge.DTDQMMerge.process, SimpleTreeProducer.SimpleTreeProducer.process(), DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.process, DTAnalysisResiduals.DTAnalysisResiduals.process, DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.process, DTDQMHarvesting.DTDQMHarvesting.process, tfwliteselectortest::ThingsWorker.process(), DTNoiseCalibration.DTNoiseCalibration.process, DTResidualCalibration.DTResidualCalibration.process, DTTTrigValid.DTTTrigValid.process, DTDQMValidation.DTDQMValidation.process, clangcms::CatchAll.process(), core.Analyzer.Analyzer.process(), DummyUpdator.process(), CSCTFDTReceiver.process(), EcalFenixTcpsFgvbEB.process(), tfwliteselectortest::ThingsTSelector.process(), gen.LHEAnalyzer.LHEAnalyzer.process(), EcalFenixBypassLin.process(), EcalFenixPeakFinder.process(), MetTreeProducer.MetTreeProducer.process(), EcalFenixMaxof2.process(), CSCTFMonitorInterface.process(), TTULogic.process(), CSCMonitorInterface.process(), SingleTrajectoryUpdator.process(), examples::TrackAnalysisAlgorithm.process(), RBCLogic.process(), TTUWedgeORLogic.process(), EcalFenixEtStrip.process(), RBCPatternLogic.process(), TTUSectorORLogic.process(), PFPileUpAlgo.process(), EcalFenixTcpFormat.process(), npstat::AbsVisitor< Input, unsigned long >.process(), KalmanAlignmentUpdator.process(), __class__Worker.process(), HcalCableMapper.process(), npstat::AbsVisitor< Input, Result >.process(), EcalFenixAmplitudeFilter.process(), EcalFenixStripFormatEE.process(), DTT0DBValidation.DTT0DBValidation.process, BTagDifferentialPlot.process(), npstat::AbsArrayProjector< Input, Result >.process(), EcalFenixStripFormatEB.process(), DTVDriftMeanTimerWriter.DTVDriftMeanTimerWriter.process, DTVDriftSegmentWriter.DTVDriftSegmentWriter.process, RBCTestLogic.process(), TTUPointingLogic.process(), MetAnalyzer.MetAnalyzer.process(), EcalFenixEtTot.process(), core.TriggerBitFilter.TriggerBitFilter.process(), HcalSimpleReconstructor.process(), ora::IRelationalMapping.process(), TTUTwoORLogic.process(), DTTTrigResidualCorr.DTTTrigResidualCorr.process, EcalFenixStripFgvbEE.process(), EcalFenixTcpFgvbEE.process(), TTUTrackingAlg.process(), RBCChamberORLogic.process(), DTTTrigCorrFirst.DTTTrigCorrFirst.process, gen.HiggsDecayModeAnalyzer.HiggsDecayModeAnalyzer.process(), EcalFenixFgvbEB.process(), L1GctEmLeafCard.process(), L1GctNullJetFinder.process(), edm::ConsumesInfo.process(), SiStripClusterToDigiProducer.process(), L1GctSimpleJetFinder.process(), EcalFenixLinearizer.process(), TriggerAnalyzer.TriggerAnalyzer.process(), L1GctHardwareJetFinder.process(), RPCWheel.process(), gen.GenHeavyFlavourAnalyzer.GenHeavyFlavourAnalyzer.process(), DTTTrigTimeBoxesWriter.DTTTrigTimeBoxesWriter.process, L1GctJetFinalStage.process(), TTUConfigurator.process(), L1GctProcessor.process(), gen.PDFWeightsAnalyzer.PDFWeightsAnalyzer.process(), L1GctGlobalHfSumAlgos.process(), PFMETBenchmark.process(), edm::InputTag.process(), npstat::VisitCounter< Input >.process(), L1GctElectronFinalSort.process(), core.EventSelector.EventSelector.process(), PFJetBenchmark.process(), core.JSONAnalyzer.JSONAnalyzer.process(), core.TriggerBitAnalyzer.TriggerBitAnalyzer.process(), ora::PrimitiveMapping.process(), PFTauElecRejectionBenchmark.process(), EgammaHLTPixelMatchElectronAlgo.process(), ZMuMuRochCorAnalyzer.ZMuMuRochCorAnalyzer.process(), L1Comparator.process(), L1GctWheelEnergyFpga.process(), L1GctWheelJetFpga.process(), core.SkimAnalyzerCount.SkimAnalyzerCount.process(), analyzer.Analyzer.process(), AlphaTAnalyzer.AlphaTAnalyzer.process(), cscdqm::HWStandbyType.process, ora::BlobMapping.process(), L1GctElectronSorter.process(), L1GctGlobalEnergyAlgos.process(), JetAnalyzer.JetAnalyzer.process(), TFWLiteSelectorBasic.process(), L1GctTdrJetFinder.process(), fwlite::internal::DataKey.process(), KDTreeLinkerBase.process(), L1GctJetLeafCard.process(), DTTFFEDReader.process(), L1GlobalCaloTrigger.process(), TFWLiteSelector< TrackAnalysisAlgorithm >.process(), TFWLiteSelector< ThingsWorker >.process(), TFWLiteSelector< TWorker >.process(), TFWLiteSelector< __class__Worker >.process(), edm::EDConsumerBase::Labels.process, EcalFenixTcp.process(), ora::OraReferenceMapping.process(), SeedClusterRemover.process(), HLTTrackClusterRemoverNew.process(), TestOutliers.process, objects.JetAnalyzer.JetAnalyzer.process(), DiLeptonAnalyzer.DiLeptonAnalyzer.process(), HITrackClusterRemover.process(), objects.VertexAnalyzer.VertexAnalyzer.process(), HTTP.RequestManager.process(), GenLumiInfoProduct::ProcessInfo.process(), ora::UniqueReferenceMapping.process(), core.PileUpAnalyzer.PileUpAnalyzer.process(), EcalFenixStrip.process(), ora::OraPtrMapping.process(), lhef::LHERunInfo::Process.process(), ora::NamedRefMapping.process(), CaloTowersCreationAlgo.process(), objects.TauAnalyzer.TauAnalyzer.process(), ora::ArrayMapping.process(), core.AutoFillTreeProducer.AutoFillTreeProducer.process(), EgammaHLTValidationUtils.EgammaDQMModuleMaker.process, ora::CArrayMapping.process(), L1GctJetFinderBase.process(), ora::ObjectMapping.process(), ora::EmptyMapping.process(), Config.Process.process, looper.Looper.process(), edm::SubProcess.process(), gen.GeneratorAnalyzer.GeneratorAnalyzer.process(), objects.PhotonAnalyzer.PhotonAnalyzer.process(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.process(), edm::ProductHolderIndexHelper::Item.process(), objects.LeptonAnalyzer.LeptonAnalyzer.process(), ConfigBuilder.ConfigBuilder.renameHLTprocessInSequence(), and split.

Referenced by ConfigBuilder.ConfigBuilder.prepare_VALIDATION().

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

References ConfigBuilder.ConfigBuilder.profileOptions().

235  def profileOptions(self):
236  """
237  addIgProfService
238  Function to add the igprof profile service so that you can dump in the middle
239  of the run.
240  """
241  profileOpts = self._options.profile.split(':')
242  profilerStart = 1
243  profilerInterval = 100
244  profilerFormat = None
245  profilerJobFormat = None
246 
247  if len(profileOpts):
248  #type, given as first argument is unused here
249  profileOpts.pop(0)
250  if len(profileOpts):
251  startEvent = profileOpts.pop(0)
252  if not startEvent.isdigit():
253  raise Exception("%s is not a number" % startEvent)
254  profilerStart = int(startEvent)
255  if len(profileOpts):
256  eventInterval = profileOpts.pop(0)
257  if not eventInterval.isdigit():
258  raise Exception("%s is not a number" % eventInterval)
259  profilerInterval = int(eventInterval)
260  if len(profileOpts):
261  profilerFormat = profileOpts.pop(0)
262 
263 
264  if not profilerFormat:
265  profilerFormat = "%s___%s___%s___%s___%s___%s___%%I.gz" % (self._options.evt_type.replace("_cfi", ""),
266  self._options.step,
267  self._options.pileup,
268  self._options.conditions,
269  self._options.datatier,
270  self._options.profileTypeLabel)
271  if not profilerJobFormat and profilerFormat.endswith(".gz"):
272  profilerJobFormat = profilerFormat.replace(".gz", "_EndOfJob.gz")
273  elif not profilerJobFormat:
274  profilerJobFormat = profilerFormat + "_EndOfJob.gz"
275 
276  return (profilerStart,profilerInterval,profilerFormat,profilerJobFormat)
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 251 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.addCommon(), and ConfigBuilder.ConfigBuilder.profileOptions().

252  def profileOptions(self):
253  """
254  addIgProfService
255  Function to add the igprof profile service so that you can dump in the middle
256  of the run.
257  """
258  profileOpts = self._options.profile.split(':')
259  profilerStart = 1
260  profilerInterval = 100
261  profilerFormat = None
262  profilerJobFormat = None
263 
264  if len(profileOpts):
265  #type, given as first argument is unused here
266  profileOpts.pop(0)
267  if len(profileOpts):
268  startEvent = profileOpts.pop(0)
269  if not startEvent.isdigit():
270  raise Exception("%s is not a number" % startEvent)
271  profilerStart = int(startEvent)
272  if len(profileOpts):
273  eventInterval = profileOpts.pop(0)
274  if not eventInterval.isdigit():
275  raise Exception("%s is not a number" % eventInterval)
276  profilerInterval = int(eventInterval)
277  if len(profileOpts):
278  profilerFormat = profileOpts.pop(0)
279 
280 
281  if not profilerFormat:
282  profilerFormat = "%s___%s___%s___%s___%s___%s___%%I.gz" % (self._options.evt_type.replace("_cfi", ""),
283  self._options.step,
284  self._options.pileup,
285  self._options.conditions,
286  self._options.datatier,
287  self._options.profileTypeLabel)
288  if not profilerJobFormat and profilerFormat.endswith(".gz"):
289  profilerJobFormat = profilerFormat.replace(".gz", "_EndOfJob.gz")
290  elif not profilerJobFormat:
291  profilerJobFormat = profilerFormat + "_EndOfJob.gz"
292 
293  return (profilerStart,profilerInterval,profilerFormat,profilerJobFormat)
def ConfigBuilder.ConfigBuilder.renameHLTprocessInSequence (   self,
  sequence,
  proc = None,
  HLTprocess = 'HLT' 
)

Definition at line 1856 of file ConfigBuilder.py.

References CMSTestAnalyzer.CMSTestAnalyzer.process(), Printer.Printer.process(), DTTTrigProd.DTTTrigProd.process, HcalHitRelabeller.process(), SimpleTreeAnalyzer.SimpleTreeAnalyzer.process(), Histogrammer.Histogrammer.process(), DTDqm.DTDqm.process, helper::NullPostProcessor< reco::CandidateCollection, edm::EDFilter >.process(), helper::NullPostProcessor< typename::helper::SelectedOutputCollectionTrait< reco::TrackCollection >::type, EdmFilter >.process(), DTDQMMerge.DTDQMMerge.process, NullPostProcessor< reco::CandidateCollection >.process(), NullPostProcessor< OutputCollection, edm::EDFilter >.process(), EDFilter<>.process(), NullPostProcessor< OutputCollection >.process(), NullPostProcessor< OutputCollection, EdmFilter >.process(), DTValidSummary.DTValidSummary.process, SimpleJetAnalyzer.SimpleJetAnalyzer.process(), helper::NullPostProcessor< OutputCollection, EdmFilter >.process(), SimpleTreeProducer.SimpleTreeProducer.process(), DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.process, DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.process, DTDQMHarvesting.DTDQMHarvesting.process, tfwliteselectortest::ThingsWorker.process(), DTAnalysisResiduals.DTAnalysisResiduals.process, DTResidualCalibration.DTResidualCalibration.process, DTNoiseCalibration.DTNoiseCalibration.process, clangcms::CatchAll.process(), core.Analyzer.Analyzer.process(), DTDQMValidation.DTDQMValidation.process, DummyUpdator.process(), DTTTrigValid.DTTTrigValid.process, EcalFenixTcpsFgvbEB.process(), tfwliteselectortest::ThingsTSelector.process(), gen.LHEAnalyzer.LHEAnalyzer.process(), CSCTFDTReceiver.process(), EcalFenixBypassLin.process(), EcalFenixPeakFinder.process(), MetTreeProducer.MetTreeProducer.process(), EcalFenixMaxof2.process(), CSCTFMonitorInterface.process(), TTULogic.process(), CSCMonitorInterface.process(), SingleTrajectoryUpdator.process(), examples::TrackAnalysisAlgorithm.process(), RBCLogic.process(), TTUWedgeORLogic.process(), EcalFenixEtStrip.process(), RBCPatternLogic.process(), TTUSectorORLogic.process(), PFPileUpAlgo.process(), EcalFenixTcpFormat.process(), KalmanAlignmentUpdator.process(), __class__Worker.process(), npstat::AbsVisitor< Input, unsigned long >.process(), HcalCableMapper.process(), npstat::AbsVisitor< Input, Result >.process(), EcalFenixAmplitudeFilter.process(), DTT0DBValidation.DTT0DBValidation.process, EcalFenixStripFormatEE.process(), BTagDifferentialPlot.process(), npstat::AbsArrayProjector< Input, Result >.process(), DTVDriftMeanTimerWriter.DTVDriftMeanTimerWriter.process, EcalFenixStripFormatEB.process(), DTVDriftSegmentWriter.DTVDriftSegmentWriter.process, RBCTestLogic.process(), TTUPointingLogic.process(), MetAnalyzer.MetAnalyzer.process(), EcalFenixEtTot.process(), core.TriggerBitFilter.TriggerBitFilter.process(), HcalSimpleReconstructor.process(), TTUTwoORLogic.process(), DTTTrigResidualCorr.DTTTrigResidualCorr.process, ora::IRelationalMapping.process(), EcalFenixStripFgvbEE.process(), TTUTrackingAlg.process(), EcalFenixTcpFgvbEE.process(), RBCChamberORLogic.process(), DTTTrigCorrFirst.DTTTrigCorrFirst.process, gen.HiggsDecayModeAnalyzer.HiggsDecayModeAnalyzer.process(), EcalFenixFgvbEB.process(), L1GctEmLeafCard.process(), L1GctNullJetFinder.process(), edm::ConsumesInfo.process(), SiStripClusterToDigiProducer.process(), EcalFenixLinearizer.process(), L1GctSimpleJetFinder.process(), TriggerAnalyzer.TriggerAnalyzer.process(), L1GctHardwareJetFinder.process(), RPCWheel.process(), DTTTrigTimeBoxesWriter.DTTTrigTimeBoxesWriter.process, gen.GenHeavyFlavourAnalyzer.GenHeavyFlavourAnalyzer.process(), TTUConfigurator.process(), L1GctJetFinalStage.process(), L1GctProcessor.process(), gen.PDFWeightsAnalyzer.PDFWeightsAnalyzer.process(), L1GctGlobalHfSumAlgos.process(), PFMETBenchmark.process(), edm::InputTag.process(), npstat::VisitCounter< Input >.process(), L1GctElectronFinalSort.process(), PFJetBenchmark.process(), core.EventSelector.EventSelector.process(), core.JSONAnalyzer.JSONAnalyzer.process(), core.TriggerBitAnalyzer.TriggerBitAnalyzer.process(), ora::PrimitiveMapping.process(), PFTauElecRejectionBenchmark.process(), EgammaHLTPixelMatchElectronAlgo.process(), ZMuMuRochCorAnalyzer.ZMuMuRochCorAnalyzer.process(), L1Comparator.process(), L1GctWheelEnergyFpga.process(), L1GctWheelJetFpga.process(), core.SkimAnalyzerCount.SkimAnalyzerCount.process(), analyzer.Analyzer.process(), AlphaTAnalyzer.AlphaTAnalyzer.process(), cscdqm::HWStandbyType.process, ora::BlobMapping.process(), L1GctElectronSorter.process(), L1GctGlobalEnergyAlgos.process(), JetAnalyzer.JetAnalyzer.process(), L1GctTdrJetFinder.process(), TFWLiteSelectorBasic.process(), fwlite::internal::DataKey.process(), KDTreeLinkerBase.process(), L1GctJetLeafCard.process(), DTTFFEDReader.process(), L1GlobalCaloTrigger.process(), TFWLiteSelector< __class__Worker >.process(), TFWLiteSelector< ThingsWorker >.process(), edm::EDConsumerBase::Labels.process, TFWLiteSelector< TrackAnalysisAlgorithm >.process(), TFWLiteSelector< TWorker >.process(), EcalFenixTcp.process(), ora::OraReferenceMapping.process(), SeedClusterRemover.process(), HLTTrackClusterRemoverNew.process(), TestOutliers.process, objects.JetAnalyzer.JetAnalyzer.process(), DiLeptonAnalyzer.DiLeptonAnalyzer.process(), objects.VertexAnalyzer.VertexAnalyzer.process(), HITrackClusterRemover.process(), HTTP.RequestManager.process(), GenLumiInfoProduct::ProcessInfo.process(), ora::UniqueReferenceMapping.process(), core.PileUpAnalyzer.PileUpAnalyzer.process(), EcalFenixStrip.process(), ora::OraPtrMapping.process(), lhef::LHERunInfo::Process.process(), CaloTowersCreationAlgo.process(), ora::NamedRefMapping.process(), objects.TauAnalyzer.TauAnalyzer.process(), ora::ArrayMapping.process(), core.AutoFillTreeProducer.AutoFillTreeProducer.process(), EgammaHLTValidationUtils.EgammaDQMModuleMaker.process, ora::CArrayMapping.process(), L1GctJetFinderBase.process(), ora::ObjectMapping.process(), ora::EmptyMapping.process(), Config.Process.process, looper.Looper.process(), edm::SubProcess.process(), gen.GeneratorAnalyzer.GeneratorAnalyzer.process(), objects.PhotonAnalyzer.PhotonAnalyzer.process(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.process(), edm::ProductHolderIndexHelper::Item.process(), objects.LeptonAnalyzer.LeptonAnalyzer.process(), ConfigBuilder.ConfigBuilder.renameHLTprocessInSequence(), and cmsPerfHarvest.visit().

1857  def renameHLTprocessInSequence(self,sequence,proc=None,HLTprocess='HLT'):
1858  if self._options.hltProcess:
1859  proc=self._options.hltProcess
1860  else:
1861  proc=self.process.name_()
1862  if proc==HLTprocess: return
1863  # look up all module in dqm sequence
1864  print "replacing %s process name - sequence %s will use '%s'" % (HLTprocess,sequence, proc)
1865  getattr(self.process,sequence).visit(ConfigBuilder.MassSearchReplaceProcessNameVisitor(HLTprocess,proc,whitelist = ("subSystemFolder",)))
1866  if 'from Configuration.Applications.ConfigBuilder import ConfigBuilder' not in self.additionalCommands:
1867  self.additionalCommands.append('from Configuration.Applications.ConfigBuilder import ConfigBuilder')
1868  self.additionalCommands.append('process.%s.visit(ConfigBuilder.MassSearchReplaceProcessNameVisitor("%s", "%s", whitelist = ("subSystemFolder",)))'% (sequence,HLTprocess, proc))
1869 
def visit
Retrieve data from a perf suite output (sub) directory, only examines TimeSize at the moment...
def ConfigBuilder.ConfigBuilder.renameHLTprocessInSequence (   self,
  sequence,
  proc = None,
  HLTprocess = 'HLT' 
)

Definition at line 1899 of file ConfigBuilder.py.

References CMSTestAnalyzer.CMSTestAnalyzer.process(), Printer.Printer.process(), DTTTrigProd.DTTTrigProd.process, HcalHitRelabeller.process(), SimpleTreeAnalyzer.SimpleTreeAnalyzer.process(), Histogrammer.Histogrammer.process(), DTDqm.DTDqm.process, helper::NullPostProcessor< reco::CandidateCollection, edm::EDFilter >.process(), helper::NullPostProcessor< typename::helper::SelectedOutputCollectionTrait< reco::TrackCollection >::type, EdmFilter >.process(), DTDQMMerge.DTDQMMerge.process, NullPostProcessor< reco::CandidateCollection >.process(), NullPostProcessor< OutputCollection, edm::EDFilter >.process(), EDFilter<>.process(), NullPostProcessor< OutputCollection >.process(), NullPostProcessor< OutputCollection, EdmFilter >.process(), DTValidSummary.DTValidSummary.process, SimpleJetAnalyzer.SimpleJetAnalyzer.process(), helper::NullPostProcessor< OutputCollection, EdmFilter >.process(), SimpleTreeProducer.SimpleTreeProducer.process(), DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.process, DTAnalysisResiduals.DTAnalysisResiduals.process, tfwliteselectortest::ThingsWorker.process(), DTDQMHarvesting.DTDQMHarvesting.process, DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.process, DTNoiseCalibration.DTNoiseCalibration.process, DTResidualCalibration.DTResidualCalibration.process, clangcms::CatchAll.process(), DTDQMValidation.DTDQMValidation.process, core.Analyzer.Analyzer.process(), DummyUpdator.process(), DTTTrigValid.DTTTrigValid.process, EcalFenixTcpsFgvbEB.process(), tfwliteselectortest::ThingsTSelector.process(), gen.LHEAnalyzer.LHEAnalyzer.process(), CSCTFDTReceiver.process(), EcalFenixBypassLin.process(), EcalFenixPeakFinder.process(), MetTreeProducer.MetTreeProducer.process(), EcalFenixMaxof2.process(), CSCTFMonitorInterface.process(), TTULogic.process(), CSCMonitorInterface.process(), SingleTrajectoryUpdator.process(), examples::TrackAnalysisAlgorithm.process(), TTUWedgeORLogic.process(), RBCLogic.process(), EcalFenixEtStrip.process(), RBCPatternLogic.process(), TTUSectorORLogic.process(), PFPileUpAlgo.process(), EcalFenixTcpFormat.process(), npstat::AbsVisitor< Input, unsigned long >.process(), KalmanAlignmentUpdator.process(), __class__Worker.process(), HcalCableMapper.process(), npstat::AbsVisitor< Input, Result >.process(), EcalFenixAmplitudeFilter.process(), DTT0DBValidation.DTT0DBValidation.process, EcalFenixStripFormatEE.process(), BTagDifferentialPlot.process(), npstat::AbsArrayProjector< Input, Result >.process(), DTVDriftMeanTimerWriter.DTVDriftMeanTimerWriter.process, EcalFenixStripFormatEB.process(), DTVDriftSegmentWriter.DTVDriftSegmentWriter.process, TTUPointingLogic.process(), MetAnalyzer.MetAnalyzer.process(), RBCTestLogic.process(), EcalFenixEtTot.process(), core.TriggerBitFilter.TriggerBitFilter.process(), TTUTwoORLogic.process(), DTTTrigResidualCorr.DTTTrigResidualCorr.process, ora::IRelationalMapping.process(), HcalSimpleReconstructor.process(), EcalFenixStripFgvbEE.process(), RBCChamberORLogic.process(), TTUTrackingAlg.process(), EcalFenixTcpFgvbEE.process(), DTTTrigCorrFirst.DTTTrigCorrFirst.process, gen.HiggsDecayModeAnalyzer.HiggsDecayModeAnalyzer.process(), EcalFenixFgvbEB.process(), L1GctEmLeafCard.process(), L1GctNullJetFinder.process(), edm::ConsumesInfo.process(), SiStripClusterToDigiProducer.process(), L1GctSimpleJetFinder.process(), EcalFenixLinearizer.process(), TriggerAnalyzer.TriggerAnalyzer.process(), L1GctHardwareJetFinder.process(), RPCWheel.process(), DTTTrigTimeBoxesWriter.DTTTrigTimeBoxesWriter.process, gen.GenHeavyFlavourAnalyzer.GenHeavyFlavourAnalyzer.process(), TTUConfigurator.process(), L1GctJetFinalStage.process(), L1GctProcessor.process(), gen.PDFWeightsAnalyzer.PDFWeightsAnalyzer.process(), L1GctGlobalHfSumAlgos.process(), PFMETBenchmark.process(), edm::InputTag.process(), npstat::VisitCounter< Input >.process(), L1GctElectronFinalSort.process(), core.EventSelector.EventSelector.process(), PFJetBenchmark.process(), core.JSONAnalyzer.JSONAnalyzer.process(), core.TriggerBitAnalyzer.TriggerBitAnalyzer.process(), PFTauElecRejectionBenchmark.process(), ora::PrimitiveMapping.process(), EgammaHLTPixelMatchElectronAlgo.process(), ZMuMuRochCorAnalyzer.ZMuMuRochCorAnalyzer.process(), L1Comparator.process(), L1GctWheelEnergyFpga.process(), core.SkimAnalyzerCount.SkimAnalyzerCount.process(), L1GctWheelJetFpga.process(), analyzer.Analyzer.process(), AlphaTAnalyzer.AlphaTAnalyzer.process(), cscdqm::HWStandbyType.process, ora::BlobMapping.process(), L1GctGlobalEnergyAlgos.process(), L1GctElectronSorter.process(), JetAnalyzer.JetAnalyzer.process(), L1GctTdrJetFinder.process(), TFWLiteSelectorBasic.process(), fwlite::internal::DataKey.process(), L1GctJetLeafCard.process(), KDTreeLinkerBase.process(), DTTFFEDReader.process(), L1GlobalCaloTrigger.process(), edm::EDConsumerBase::Labels.process, TFWLiteSelector< TrackAnalysisAlgorithm >.process(), TFWLiteSelector< __class__Worker >.process(), TFWLiteSelector< ThingsWorker >.process(), TFWLiteSelector< TWorker >.process(), ora::OraReferenceMapping.process(), EcalFenixTcp.process(), SeedClusterRemover.process(), HLTTrackClusterRemoverNew.process(), TestOutliers.process, objects.JetAnalyzer.JetAnalyzer.process(), DiLeptonAnalyzer.DiLeptonAnalyzer.process(), HTTP.RequestManager.process(), HITrackClusterRemover.process(), objects.VertexAnalyzer.VertexAnalyzer.process(), GenLumiInfoProduct::ProcessInfo.process(), ora::UniqueReferenceMapping.process(), core.PileUpAnalyzer.PileUpAnalyzer.process(), EcalFenixStrip.process(), ora::OraPtrMapping.process(), lhef::LHERunInfo::Process.process(), ora::NamedRefMapping.process(), CaloTowersCreationAlgo.process(), objects.TauAnalyzer.TauAnalyzer.process(), ora::ArrayMapping.process(), core.AutoFillTreeProducer.AutoFillTreeProducer.process(), EgammaHLTValidationUtils.EgammaDQMModuleMaker.process, ora::CArrayMapping.process(), L1GctJetFinderBase.process(), ora::ObjectMapping.process(), ora::EmptyMapping.process(), Config.Process.process, looper.Looper.process(), edm::SubProcess.process(), gen.GeneratorAnalyzer.GeneratorAnalyzer.process(), objects.PhotonAnalyzer.PhotonAnalyzer.process(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.process(), edm::ProductHolderIndexHelper::Item.process(), objects.LeptonAnalyzer.LeptonAnalyzer.process(), and cmsPerfHarvest.visit().

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

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

Definition at line 1846 of file ConfigBuilder.py.

References helpers.massSearchReplaceAnyInputTag(), CMSTestAnalyzer.CMSTestAnalyzer.process(), Printer.Printer.process(), DTTTrigProd.DTTTrigProd.process, HcalHitRelabeller.process(), SimpleTreeAnalyzer.SimpleTreeAnalyzer.process(), Histogrammer.Histogrammer.process(), DTDqm.DTDqm.process, DTValidSummary.DTValidSummary.process, helper::NullPostProcessor< reco::CandidateCollection, edm::EDFilter >.process(), helper::NullPostProcessor< typename::helper::SelectedOutputCollectionTrait< reco::TrackCollection >::type, EdmFilter >.process(), NullPostProcessor< reco::CandidateCollection >.process(), NullPostProcessor< OutputCollection, edm::EDFilter >.process(), EDFilter<>.process(), NullPostProcessor< OutputCollection >.process(), NullPostProcessor< OutputCollection, EdmFilter >.process(), DTDQMMerge.DTDQMMerge.process, SimpleJetAnalyzer.SimpleJetAnalyzer.process(), helper::NullPostProcessor< OutputCollection, EdmFilter >.process(), SimpleTreeProducer.SimpleTreeProducer.process(), DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.process, DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.process, DTAnalysisResiduals.DTAnalysisResiduals.process, tfwliteselectortest::ThingsWorker.process(), DTDQMHarvesting.DTDQMHarvesting.process, DTNoiseCalibration.DTNoiseCalibration.process, DTResidualCalibration.DTResidualCalibration.process, clangcms::CatchAll.process(), core.Analyzer.Analyzer.process(), DummyUpdator.process(), DTDQMValidation.DTDQMValidation.process, DTTTrigValid.DTTTrigValid.process, EcalFenixTcpsFgvbEB.process(), tfwliteselectortest::ThingsTSelector.process(), gen.LHEAnalyzer.LHEAnalyzer.process(), CSCTFDTReceiver.process(), EcalFenixBypassLin.process(), EcalFenixPeakFinder.process(), MetTreeProducer.MetTreeProducer.process(), EcalFenixMaxof2.process(), CSCTFMonitorInterface.process(), TTULogic.process(), CSCMonitorInterface.process(), SingleTrajectoryUpdator.process(), examples::TrackAnalysisAlgorithm.process(), RBCLogic.process(), TTUWedgeORLogic.process(), EcalFenixEtStrip.process(), RBCPatternLogic.process(), TTUSectorORLogic.process(), PFPileUpAlgo.process(), EcalFenixTcpFormat.process(), npstat::AbsVisitor< Input, unsigned long >.process(), __class__Worker.process(), KalmanAlignmentUpdator.process(), HcalCableMapper.process(), npstat::AbsVisitor< Input, Result >.process(), EcalFenixAmplitudeFilter.process(), EcalFenixStripFormatEE.process(), BTagDifferentialPlot.process(), DTT0DBValidation.DTT0DBValidation.process, npstat::AbsArrayProjector< Input, Result >.process(), DTVDriftMeanTimerWriter.DTVDriftMeanTimerWriter.process, EcalFenixStripFormatEB.process(), RBCTestLogic.process(), TTUPointingLogic.process(), MetAnalyzer.MetAnalyzer.process(), DTVDriftSegmentWriter.DTVDriftSegmentWriter.process, EcalFenixEtTot.process(), core.TriggerBitFilter.TriggerBitFilter.process(), ora::IRelationalMapping.process(), HcalSimpleReconstructor.process(), TTUTwoORLogic.process(), DTTTrigResidualCorr.DTTTrigResidualCorr.process, EcalFenixStripFgvbEE.process(), RBCChamberORLogic.process(), EcalFenixTcpFgvbEE.process(), TTUTrackingAlg.process(), DTTTrigCorrFirst.DTTTrigCorrFirst.process, gen.HiggsDecayModeAnalyzer.HiggsDecayModeAnalyzer.process(), EcalFenixFgvbEB.process(), L1GctEmLeafCard.process(), edm::ConsumesInfo.process(), L1GctNullJetFinder.process(), SiStripClusterToDigiProducer.process(), EcalFenixLinearizer.process(), L1GctSimpleJetFinder.process(), TriggerAnalyzer.TriggerAnalyzer.process(), L1GctHardwareJetFinder.process(), RPCWheel.process(), gen.GenHeavyFlavourAnalyzer.GenHeavyFlavourAnalyzer.process(), DTTTrigTimeBoxesWriter.DTTTrigTimeBoxesWriter.process, L1GctJetFinalStage.process(), TTUConfigurator.process(), L1GctProcessor.process(), gen.PDFWeightsAnalyzer.PDFWeightsAnalyzer.process(), L1GctGlobalHfSumAlgos.process(), PFMETBenchmark.process(), edm::InputTag.process(), npstat::VisitCounter< Input >.process(), L1GctElectronFinalSort.process(), core.EventSelector.EventSelector.process(), PFJetBenchmark.process(), core.JSONAnalyzer.JSONAnalyzer.process(), core.TriggerBitAnalyzer.TriggerBitAnalyzer.process(), ora::PrimitiveMapping.process(), PFTauElecRejectionBenchmark.process(), EgammaHLTPixelMatchElectronAlgo.process(), ZMuMuRochCorAnalyzer.ZMuMuRochCorAnalyzer.process(), L1Comparator.process(), L1GctWheelEnergyFpga.process(), L1GctWheelJetFpga.process(), core.SkimAnalyzerCount.SkimAnalyzerCount.process(), analyzer.Analyzer.process(), AlphaTAnalyzer.AlphaTAnalyzer.process(), cscdqm::HWStandbyType.process, ora::BlobMapping.process(), L1GctElectronSorter.process(), L1GctGlobalEnergyAlgos.process(), JetAnalyzer.JetAnalyzer.process(), L1GctTdrJetFinder.process(), TFWLiteSelectorBasic.process(), fwlite::internal::DataKey.process(), L1GctJetLeafCard.process(), KDTreeLinkerBase.process(), DTTFFEDReader.process(), L1GlobalCaloTrigger.process(), TFWLiteSelector< __class__Worker >.process(), TFWLiteSelector< TrackAnalysisAlgorithm >.process(), TFWLiteSelector< ThingsWorker >.process(), edm::EDConsumerBase::Labels.process, TFWLiteSelector< TWorker >.process(), ora::OraReferenceMapping.process(), EcalFenixTcp.process(), SeedClusterRemover.process(), HLTTrackClusterRemoverNew.process(), TestOutliers.process, objects.JetAnalyzer.JetAnalyzer.process(), DiLeptonAnalyzer.DiLeptonAnalyzer.process(), HITrackClusterRemover.process(), HTTP.RequestManager.process(), objects.VertexAnalyzer.VertexAnalyzer.process(), GenLumiInfoProduct::ProcessInfo.process(), ora::UniqueReferenceMapping.process(), core.PileUpAnalyzer.PileUpAnalyzer.process(), EcalFenixStrip.process(), ora::OraPtrMapping.process(), lhef::LHERunInfo::Process.process(), CaloTowersCreationAlgo.process(), ora::NamedRefMapping.process(), objects.TauAnalyzer.TauAnalyzer.process(), ora::ArrayMapping.process(), core.AutoFillTreeProducer.AutoFillTreeProducer.process(), EgammaHLTValidationUtils.EgammaDQMModuleMaker.process, ora::CArrayMapping.process(), L1GctJetFinderBase.process(), ora::ObjectMapping.process(), ora::EmptyMapping.process(), Config.Process.process, looper.Looper.process(), edm::SubProcess.process(), gen.GeneratorAnalyzer.GeneratorAnalyzer.process(), objects.PhotonAnalyzer.PhotonAnalyzer.process(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.process(), edm::ProductHolderIndexHelper::Item.process(), objects.LeptonAnalyzer.LeptonAnalyzer.process(), and ConfigBuilder.ConfigBuilder.renameInputTagsInSequence().

1847  def renameInputTagsInSequence(self,sequence,oldT="rawDataCollector",newT="rawDataRepacker"):
1848  print "Replacing all InputTag %s => %s"%(oldT,newT)
1849  from PhysicsTools.PatAlgos.tools.helpers import massSearchReplaceAnyInputTag
1850  massSearchReplaceAnyInputTag(getattr(self.process,sequence),oldT,newT)
1851  loadMe='from PhysicsTools.PatAlgos.tools.helpers import massSearchReplaceAnyInputTag'
1852  if not loadMe in self.additionalCommands:
1853  self.additionalCommands.append(loadMe)
1854  self.additionalCommands.append('massSearchReplaceAnyInputTag(process.%s,"%s","%s",False,True)'%(sequence,oldT,newT))
def massSearchReplaceAnyInputTag
Definition: helpers.py:262
def ConfigBuilder.ConfigBuilder.renameInputTagsInSequence (   self,
  sequence,
  oldT = "rawDataCollector",
  newT = "rawDataRepacker" 
)

Definition at line 1889 of file ConfigBuilder.py.

References helpers.massSearchReplaceAnyInputTag(), CMSTestAnalyzer.CMSTestAnalyzer.process(), Printer.Printer.process(), DTTTrigProd.DTTTrigProd.process, HcalHitRelabeller.process(), SimpleTreeAnalyzer.SimpleTreeAnalyzer.process(), Histogrammer.Histogrammer.process(), helper::NullPostProcessor< reco::CandidateCollection, edm::EDFilter >.process(), helper::NullPostProcessor< typename::helper::SelectedOutputCollectionTrait< reco::TrackCollection >::type, EdmFilter >.process(), DTDQMMerge.DTDQMMerge.process, NullPostProcessor< reco::CandidateCollection >.process(), NullPostProcessor< OutputCollection, edm::EDFilter >.process(), EDFilter<>.process(), NullPostProcessor< OutputCollection >.process(), NullPostProcessor< OutputCollection, EdmFilter >.process(), DTDqm.DTDqm.process, SimpleJetAnalyzer.SimpleJetAnalyzer.process(), DTValidSummary.DTValidSummary.process, helper::NullPostProcessor< OutputCollection, EdmFilter >.process(), SimpleTreeProducer.SimpleTreeProducer.process(), DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.process, DTDQMHarvesting.DTDQMHarvesting.process, DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.process, DTAnalysisResiduals.DTAnalysisResiduals.process, tfwliteselectortest::ThingsWorker.process(), DTResidualCalibration.DTResidualCalibration.process, DTNoiseCalibration.DTNoiseCalibration.process, clangcms::CatchAll.process(), core.Analyzer.Analyzer.process(), DTDQMValidation.DTDQMValidation.process, DummyUpdator.process(), DTTTrigValid.DTTTrigValid.process, EcalFenixTcpsFgvbEB.process(), tfwliteselectortest::ThingsTSelector.process(), gen.LHEAnalyzer.LHEAnalyzer.process(), CSCTFDTReceiver.process(), EcalFenixBypassLin.process(), EcalFenixPeakFinder.process(), MetTreeProducer.MetTreeProducer.process(), EcalFenixMaxof2.process(), CSCTFMonitorInterface.process(), TTULogic.process(), CSCMonitorInterface.process(), SingleTrajectoryUpdator.process(), examples::TrackAnalysisAlgorithm.process(), RBCLogic.process(), TTUWedgeORLogic.process(), EcalFenixEtStrip.process(), RBCPatternLogic.process(), TTUSectorORLogic.process(), PFPileUpAlgo.process(), EcalFenixTcpFormat.process(), npstat::AbsVisitor< Input, unsigned long >.process(), KalmanAlignmentUpdator.process(), __class__Worker.process(), HcalCableMapper.process(), npstat::AbsVisitor< Input, Result >.process(), EcalFenixAmplitudeFilter.process(), DTT0DBValidation.DTT0DBValidation.process, EcalFenixStripFormatEE.process(), BTagDifferentialPlot.process(), npstat::AbsArrayProjector< Input, Result >.process(), DTVDriftMeanTimerWriter.DTVDriftMeanTimerWriter.process, EcalFenixStripFormatEB.process(), DTVDriftSegmentWriter.DTVDriftSegmentWriter.process, TTUPointingLogic.process(), MetAnalyzer.MetAnalyzer.process(), RBCTestLogic.process(), EcalFenixEtTot.process(), core.TriggerBitFilter.TriggerBitFilter.process(), HcalSimpleReconstructor.process(), TTUTwoORLogic.process(), DTTTrigResidualCorr.DTTTrigResidualCorr.process, ora::IRelationalMapping.process(), EcalFenixStripFgvbEE.process(), RBCChamberORLogic.process(), TTUTrackingAlg.process(), EcalFenixTcpFgvbEE.process(), DTTTrigCorrFirst.DTTTrigCorrFirst.process, gen.HiggsDecayModeAnalyzer.HiggsDecayModeAnalyzer.process(), EcalFenixFgvbEB.process(), L1GctEmLeafCard.process(), L1GctNullJetFinder.process(), edm::ConsumesInfo.process(), SiStripClusterToDigiProducer.process(), EcalFenixLinearizer.process(), L1GctSimpleJetFinder.process(), TriggerAnalyzer.TriggerAnalyzer.process(), L1GctHardwareJetFinder.process(), RPCWheel.process(), DTTTrigTimeBoxesWriter.DTTTrigTimeBoxesWriter.process, gen.GenHeavyFlavourAnalyzer.GenHeavyFlavourAnalyzer.process(), L1GctJetFinalStage.process(), TTUConfigurator.process(), L1GctProcessor.process(), gen.PDFWeightsAnalyzer.PDFWeightsAnalyzer.process(), L1GctGlobalHfSumAlgos.process(), PFMETBenchmark.process(), edm::InputTag.process(), npstat::VisitCounter< Input >.process(), L1GctElectronFinalSort.process(), PFJetBenchmark.process(), core.EventSelector.EventSelector.process(), core.JSONAnalyzer.JSONAnalyzer.process(), core.TriggerBitAnalyzer.TriggerBitAnalyzer.process(), ora::PrimitiveMapping.process(), PFTauElecRejectionBenchmark.process(), EgammaHLTPixelMatchElectronAlgo.process(), ZMuMuRochCorAnalyzer.ZMuMuRochCorAnalyzer.process(), L1Comparator.process(), L1GctWheelEnergyFpga.process(), L1GctWheelJetFpga.process(), core.SkimAnalyzerCount.SkimAnalyzerCount.process(), analyzer.Analyzer.process(), AlphaTAnalyzer.AlphaTAnalyzer.process(), cscdqm::HWStandbyType.process, ora::BlobMapping.process(), L1GctGlobalEnergyAlgos.process(), L1GctElectronSorter.process(), JetAnalyzer.JetAnalyzer.process(), L1GctTdrJetFinder.process(), TFWLiteSelectorBasic.process(), fwlite::internal::DataKey.process(), KDTreeLinkerBase.process(), L1GctJetLeafCard.process(), DTTFFEDReader.process(), L1GlobalCaloTrigger.process(), TFWLiteSelector< ThingsWorker >.process(), TFWLiteSelector< __class__Worker >.process(), edm::EDConsumerBase::Labels.process, TFWLiteSelector< TWorker >.process(), TFWLiteSelector< TrackAnalysisAlgorithm >.process(), ora::OraReferenceMapping.process(), EcalFenixTcp.process(), SeedClusterRemover.process(), HLTTrackClusterRemoverNew.process(), objects.JetAnalyzer.JetAnalyzer.process(), TestOutliers.process, DiLeptonAnalyzer.DiLeptonAnalyzer.process(), HITrackClusterRemover.process(), objects.VertexAnalyzer.VertexAnalyzer.process(), HTTP.RequestManager.process(), GenLumiInfoProduct::ProcessInfo.process(), ora::UniqueReferenceMapping.process(), core.PileUpAnalyzer.PileUpAnalyzer.process(), EcalFenixStrip.process(), ora::OraPtrMapping.process(), lhef::LHERunInfo::Process.process(), ora::NamedRefMapping.process(), CaloTowersCreationAlgo.process(), objects.TauAnalyzer.TauAnalyzer.process(), ora::ArrayMapping.process(), core.AutoFillTreeProducer.AutoFillTreeProducer.process(), EgammaHLTValidationUtils.EgammaDQMModuleMaker.process, ora::CArrayMapping.process(), L1GctJetFinderBase.process(), ora::ObjectMapping.process(), ora::EmptyMapping.process(), Config.Process.process, looper.Looper.process(), edm::SubProcess.process(), gen.GeneratorAnalyzer.GeneratorAnalyzer.process(), objects.PhotonAnalyzer.PhotonAnalyzer.process(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.process(), edm::ProductHolderIndexHelper::Item.process(), and objects.LeptonAnalyzer.LeptonAnalyzer.process().

Referenced by ConfigBuilder.ConfigBuilder.prepare_L1REPACK(), and ConfigBuilder.ConfigBuilder.renameInputTagsInSequence().

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

Definition at line 1189 of file ConfigBuilder.py.

References CMSTestAnalyzer.CMSTestAnalyzer.process(), Printer.Printer.process(), DTTTrigProd.DTTTrigProd.process, HcalHitRelabeller.process(), SimpleTreeAnalyzer.SimpleTreeAnalyzer.process(), Histogrammer.Histogrammer.process(), DTDqm.DTDqm.process, helper::NullPostProcessor< reco::CandidateCollection, edm::EDFilter >.process(), helper::NullPostProcessor< typename::helper::SelectedOutputCollectionTrait< reco::TrackCollection >::type, EdmFilter >.process(), DTDQMMerge.DTDQMMerge.process, NullPostProcessor< reco::CandidateCollection >.process(), NullPostProcessor< OutputCollection, edm::EDFilter >.process(), EDFilter<>.process(), NullPostProcessor< OutputCollection >.process(), NullPostProcessor< OutputCollection, EdmFilter >.process(), DTValidSummary.DTValidSummary.process, SimpleJetAnalyzer.SimpleJetAnalyzer.process(), helper::NullPostProcessor< OutputCollection, EdmFilter >.process(), SimpleTreeProducer.SimpleTreeProducer.process(), DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.process, DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.process, DTDQMHarvesting.DTDQMHarvesting.process, tfwliteselectortest::ThingsWorker.process(), DTAnalysisResiduals.DTAnalysisResiduals.process, DTResidualCalibration.DTResidualCalibration.process, DTNoiseCalibration.DTNoiseCalibration.process, clangcms::CatchAll.process(), core.Analyzer.Analyzer.process(), DTDQMValidation.DTDQMValidation.process, DummyUpdator.process(), DTTTrigValid.DTTTrigValid.process, EcalFenixTcpsFgvbEB.process(), tfwliteselectortest::ThingsTSelector.process(), gen.LHEAnalyzer.LHEAnalyzer.process(), CSCTFDTReceiver.process(), EcalFenixBypassLin.process(), EcalFenixPeakFinder.process(), MetTreeProducer.MetTreeProducer.process(), EcalFenixMaxof2.process(), CSCTFMonitorInterface.process(), TTULogic.process(), CSCMonitorInterface.process(), SingleTrajectoryUpdator.process(), examples::TrackAnalysisAlgorithm.process(), RBCLogic.process(), TTUWedgeORLogic.process(), EcalFenixEtStrip.process(), RBCPatternLogic.process(), TTUSectorORLogic.process(), PFPileUpAlgo.process(), EcalFenixTcpFormat.process(), KalmanAlignmentUpdator.process(), __class__Worker.process(), HcalCableMapper.process(), npstat::AbsVisitor< Input, unsigned long >.process(), npstat::AbsVisitor< Input, Result >.process(), EcalFenixAmplitudeFilter.process(), DTT0DBValidation.DTT0DBValidation.process, EcalFenixStripFormatEE.process(), BTagDifferentialPlot.process(), npstat::AbsArrayProjector< Input, Result >.process(), DTVDriftMeanTimerWriter.DTVDriftMeanTimerWriter.process, EcalFenixStripFormatEB.process(), DTVDriftSegmentWriter.DTVDriftSegmentWriter.process, TTUPointingLogic.process(), MetAnalyzer.MetAnalyzer.process(), RBCTestLogic.process(), EcalFenixEtTot.process(), core.TriggerBitFilter.TriggerBitFilter.process(), HcalSimpleReconstructor.process(), TTUTwoORLogic.process(), DTTTrigResidualCorr.DTTTrigResidualCorr.process, ora::IRelationalMapping.process(), EcalFenixStripFgvbEE.process(), TTUTrackingAlg.process(), EcalFenixTcpFgvbEE.process(), RBCChamberORLogic.process(), DTTTrigCorrFirst.DTTTrigCorrFirst.process, gen.HiggsDecayModeAnalyzer.HiggsDecayModeAnalyzer.process(), EcalFenixFgvbEB.process(), L1GctEmLeafCard.process(), L1GctNullJetFinder.process(), edm::ConsumesInfo.process(), SiStripClusterToDigiProducer.process(), EcalFenixLinearizer.process(), L1GctSimpleJetFinder.process(), TriggerAnalyzer.TriggerAnalyzer.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(), edm::InputTag.process(), L1GctElectronFinalSort.process(), PFJetBenchmark.process(), core.EventSelector.EventSelector.process(), core.JSONAnalyzer.JSONAnalyzer.process(), core.TriggerBitAnalyzer.TriggerBitAnalyzer.process(), ora::PrimitiveMapping.process(), PFTauElecRejectionBenchmark.process(), EgammaHLTPixelMatchElectronAlgo.process(), ZMuMuRochCorAnalyzer.ZMuMuRochCorAnalyzer.process(), L1Comparator.process(), L1GctWheelEnergyFpga.process(), core.SkimAnalyzerCount.SkimAnalyzerCount.process(), L1GctWheelJetFpga.process(), analyzer.Analyzer.process(), AlphaTAnalyzer.AlphaTAnalyzer.process(), cscdqm::HWStandbyType.process, ora::BlobMapping.process(), L1GctElectronSorter.process(), L1GctGlobalEnergyAlgos.process(), JetAnalyzer.JetAnalyzer.process(), TFWLiteSelectorBasic.process(), L1GctTdrJetFinder.process(), fwlite::internal::DataKey.process(), L1GctJetLeafCard.process(), KDTreeLinkerBase.process(), DTTFFEDReader.process(), L1GlobalCaloTrigger.process(), edm::EDConsumerBase::Labels.process, TFWLiteSelector< TWorker >.process(), TFWLiteSelector< __class__Worker >.process(), TFWLiteSelector< ThingsWorker >.process(), TFWLiteSelector< TrackAnalysisAlgorithm >.process(), ora::OraReferenceMapping.process(), EcalFenixTcp.process(), SeedClusterRemover.process(), HLTTrackClusterRemoverNew.process(), TestOutliers.process, objects.JetAnalyzer.JetAnalyzer.process(), DiLeptonAnalyzer.DiLeptonAnalyzer.process(), objects.VertexAnalyzer.VertexAnalyzer.process(), HITrackClusterRemover.process(), HTTP.RequestManager.process(), GenLumiInfoProduct::ProcessInfo.process(), ora::UniqueReferenceMapping.process(), core.PileUpAnalyzer.PileUpAnalyzer.process(), EcalFenixStrip.process(), ora::OraPtrMapping.process(), lhef::LHERunInfo::Process.process(), ora::NamedRefMapping.process(), CaloTowersCreationAlgo.process(), objects.TauAnalyzer.TauAnalyzer.process(), ora::ArrayMapping.process(), core.AutoFillTreeProducer.AutoFillTreeProducer.process(), EgammaHLTValidationUtils.EgammaDQMModuleMaker.process, ora::CArrayMapping.process(), L1GctJetFinderBase.process(), ora::ObjectMapping.process(), ora::EmptyMapping.process(), Config.Process.process, looper.Looper.process(), edm::SubProcess.process(), gen.GeneratorAnalyzer.GeneratorAnalyzer.process(), objects.PhotonAnalyzer.PhotonAnalyzer.process(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.process(), edm::ProductHolderIndexHelper::Item.process(), objects.LeptonAnalyzer.LeptonAnalyzer.process(), and ConfigBuilder.ConfigBuilder.scheduleSequence().

Referenced by ConfigBuilder.ConfigBuilder.PrintAllModules.leave().

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

Definition at line 1222 of file ConfigBuilder.py.

References CMSTestAnalyzer.CMSTestAnalyzer.process(), Printer.Printer.process(), DTTTrigProd.DTTTrigProd.process, HcalHitRelabeller.process(), SimpleTreeAnalyzer.SimpleTreeAnalyzer.process(), Histogrammer.Histogrammer.process(), DTDqm.DTDqm.process, helper::NullPostProcessor< reco::CandidateCollection, edm::EDFilter >.process(), helper::NullPostProcessor< typename::helper::SelectedOutputCollectionTrait< reco::TrackCollection >::type, EdmFilter >.process(), DTDQMMerge.DTDQMMerge.process, NullPostProcessor< reco::CandidateCollection >.process(), NullPostProcessor< OutputCollection, edm::EDFilter >.process(), EDFilter<>.process(), NullPostProcessor< OutputCollection >.process(), NullPostProcessor< OutputCollection, EdmFilter >.process(), DTValidSummary.DTValidSummary.process, SimpleJetAnalyzer.SimpleJetAnalyzer.process(), helper::NullPostProcessor< OutputCollection, EdmFilter >.process(), SimpleTreeProducer.SimpleTreeProducer.process(), DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.process, DTAnalysisResiduals.DTAnalysisResiduals.process, tfwliteselectortest::ThingsWorker.process(), DTDQMHarvesting.DTDQMHarvesting.process, DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.process, DTNoiseCalibration.DTNoiseCalibration.process, DTResidualCalibration.DTResidualCalibration.process, clangcms::CatchAll.process(), DTDQMValidation.DTDQMValidation.process, core.Analyzer.Analyzer.process(), DummyUpdator.process(), DTTTrigValid.DTTTrigValid.process, EcalFenixTcpsFgvbEB.process(), tfwliteselectortest::ThingsTSelector.process(), gen.LHEAnalyzer.LHEAnalyzer.process(), CSCTFDTReceiver.process(), EcalFenixBypassLin.process(), EcalFenixPeakFinder.process(), MetTreeProducer.MetTreeProducer.process(), EcalFenixMaxof2.process(), CSCTFMonitorInterface.process(), TTULogic.process(), CSCMonitorInterface.process(), SingleTrajectoryUpdator.process(), examples::TrackAnalysisAlgorithm.process(), RBCLogic.process(), TTUWedgeORLogic.process(), EcalFenixEtStrip.process(), RBCPatternLogic.process(), TTUSectorORLogic.process(), PFPileUpAlgo.process(), EcalFenixTcpFormat.process(), KalmanAlignmentUpdator.process(), __class__Worker.process(), npstat::AbsVisitor< Input, unsigned long >.process(), HcalCableMapper.process(), npstat::AbsVisitor< Input, Result >.process(), EcalFenixAmplitudeFilter.process(), DTT0DBValidation.DTT0DBValidation.process, EcalFenixStripFormatEE.process(), BTagDifferentialPlot.process(), npstat::AbsArrayProjector< Input, Result >.process(), DTVDriftMeanTimerWriter.DTVDriftMeanTimerWriter.process, EcalFenixStripFormatEB.process(), DTVDriftSegmentWriter.DTVDriftSegmentWriter.process, TTUPointingLogic.process(), MetAnalyzer.MetAnalyzer.process(), RBCTestLogic.process(), EcalFenixEtTot.process(), core.TriggerBitFilter.TriggerBitFilter.process(), TTUTwoORLogic.process(), DTTTrigResidualCorr.DTTTrigResidualCorr.process, ora::IRelationalMapping.process(), HcalSimpleReconstructor.process(), EcalFenixStripFgvbEE.process(), RBCChamberORLogic.process(), TTUTrackingAlg.process(), EcalFenixTcpFgvbEE.process(), DTTTrigCorrFirst.DTTTrigCorrFirst.process, gen.HiggsDecayModeAnalyzer.HiggsDecayModeAnalyzer.process(), EcalFenixFgvbEB.process(), L1GctEmLeafCard.process(), L1GctNullJetFinder.process(), edm::ConsumesInfo.process(), SiStripClusterToDigiProducer.process(), L1GctSimpleJetFinder.process(), TriggerAnalyzer.TriggerAnalyzer.process(), EcalFenixLinearizer.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(), edm::InputTag.process(), npstat::VisitCounter< Input >.process(), L1GctElectronFinalSort.process(), core.EventSelector.EventSelector.process(), PFJetBenchmark.process(), core.JSONAnalyzer.JSONAnalyzer.process(), core.TriggerBitAnalyzer.TriggerBitAnalyzer.process(), PFTauElecRejectionBenchmark.process(), ora::PrimitiveMapping.process(), EgammaHLTPixelMatchElectronAlgo.process(), ZMuMuRochCorAnalyzer.ZMuMuRochCorAnalyzer.process(), L1Comparator.process(), L1GctWheelEnergyFpga.process(), L1GctWheelJetFpga.process(), core.SkimAnalyzerCount.SkimAnalyzerCount.process(), analyzer.Analyzer.process(), AlphaTAnalyzer.AlphaTAnalyzer.process(), cscdqm::HWStandbyType.process, ora::BlobMapping.process(), L1GctGlobalEnergyAlgos.process(), L1GctElectronSorter.process(), JetAnalyzer.JetAnalyzer.process(), L1GctTdrJetFinder.process(), TFWLiteSelectorBasic.process(), fwlite::internal::DataKey.process(), KDTreeLinkerBase.process(), L1GctJetLeafCard.process(), DTTFFEDReader.process(), L1GlobalCaloTrigger.process(), TFWLiteSelector< ThingsWorker >.process(), edm::EDConsumerBase::Labels.process, TFWLiteSelector< TrackAnalysisAlgorithm >.process(), TFWLiteSelector< __class__Worker >.process(), TFWLiteSelector< TWorker >.process(), EcalFenixTcp.process(), ora::OraReferenceMapping.process(), SeedClusterRemover.process(), HLTTrackClusterRemoverNew.process(), objects.JetAnalyzer.JetAnalyzer.process(), TestOutliers.process, DiLeptonAnalyzer.DiLeptonAnalyzer.process(), HTTP.RequestManager.process(), HITrackClusterRemover.process(), objects.VertexAnalyzer.VertexAnalyzer.process(), GenLumiInfoProduct::ProcessInfo.process(), ora::UniqueReferenceMapping.process(), core.PileUpAnalyzer.PileUpAnalyzer.process(), EcalFenixStrip.process(), ora::OraPtrMapping.process(), lhef::LHERunInfo::Process.process(), ora::NamedRefMapping.process(), CaloTowersCreationAlgo.process(), objects.TauAnalyzer.TauAnalyzer.process(), ora::ArrayMapping.process(), core.AutoFillTreeProducer.AutoFillTreeProducer.process(), EgammaHLTValidationUtils.EgammaDQMModuleMaker.process, ora::CArrayMapping.process(), L1GctJetFinderBase.process(), ora::ObjectMapping.process(), ora::EmptyMapping.process(), Config.Process.process, looper.Looper.process(), edm::SubProcess.process(), gen.GeneratorAnalyzer.GeneratorAnalyzer.process(), objects.PhotonAnalyzer.PhotonAnalyzer.process(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.process(), edm::ProductHolderIndexHelper::Item.process(), and objects.LeptonAnalyzer.LeptonAnalyzer.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_DIGIPREMIX_S2(), ConfigBuilder.ConfigBuilder.prepare_HARVESTING(), ConfigBuilder.ConfigBuilder.prepare_L1(), ConfigBuilder.ConfigBuilder.prepare_L1Reco(), ConfigBuilder.ConfigBuilder.prepare_L1REPACK(), ConfigBuilder.ConfigBuilder.prepare_L1TrackTrigger(), ConfigBuilder.ConfigBuilder.prepare_POSTRECO(), ConfigBuilder.ConfigBuilder.prepare_RAW2DIGI(), ConfigBuilder.ConfigBuilder.prepare_RECO(), ConfigBuilder.ConfigBuilder.prepare_RECOBEFMIX(), ConfigBuilder.ConfigBuilder.prepare_REPACK(), ConfigBuilder.ConfigBuilder.prepare_USER(), ConfigBuilder.ConfigBuilder.scheduleSequence(), and ConfigBuilder.ConfigBuilder.scheduleSequenceAtEnd().

1223  def scheduleSequence(self,seq,prefix,what='Path'):
1224  if '*' in seq:
1225  #create only one path with all sequences in it
1226  for i,s in enumerate(seq.split('*')):
1227  if i==0:
1228  setattr(self.process,prefix,getattr(cms,what)( getattr(self.process, s) ))
1229  else:
1230  p=getattr(self.process,prefix)
1231  p+=getattr(self.process, s)
1232  self.schedule.append(getattr(self.process,prefix))
1233  return
1234  else:
1235  #create as many path as many sequences
1236  if not '+' in seq:
1237  if self.nextScheduleIsConditional:
1238  self.conditionalPaths.append(prefix)
1239  setattr(self.process,prefix,getattr(cms,what)( getattr(self.process, seq) ))
1240  self.schedule.append(getattr(self.process,prefix))
1241  else:
1242  for i,s in enumerate(seq.split('+')):
1243  sn=prefix+'%d'%(i)
1244  setattr(self.process,sn,getattr(cms,what)( getattr(self.process, s) ))
1245  self.schedule.append(getattr(self.process,sn))
1246  return
def ConfigBuilder.ConfigBuilder.scheduleSequenceAtEnd (   self,
  seq,
  prefix 
)

Definition at line 1214 of file ConfigBuilder.py.

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

1215  def scheduleSequenceAtEnd(self,seq,prefix):
1216  self.scheduleSequence(seq,prefix,what='EndPath')
1217  return
def ConfigBuilder.ConfigBuilder.scheduleSequenceAtEnd (   self,
  seq,
  prefix 
)

Definition at line 1247 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.scheduleSequence().

Referenced by ConfigBuilder.ConfigBuilder.prepare_ENDJOB(), and ConfigBuilder.ConfigBuilder.scheduleSequenceAtEnd().

1248  def scheduleSequenceAtEnd(self,seq,prefix):
1249  self.scheduleSequence(seq,prefix,what='EndPath')
1250  return

Member Data Documentation

ConfigBuilder.ConfigBuilder._options
private

Definition at line 181 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.__init__(), and ConfigBuilder.ConfigBuilder.filesFromOption().

ConfigBuilder.ConfigBuilder.addAlCaSelects = False
static

Definition at line 523 of file ConfigBuilder.py.

list ConfigBuilder.ConfigBuilder.afterHLT = self.schedule[self.schedule.index(self.process.HLTSchedule)+1:]
static

Definition at line 2155 of file ConfigBuilder.py.

ConfigBuilder.ConfigBuilder.ALCADefaultCFF

Definition at line 909 of file ConfigBuilder.py.

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

tuple ConfigBuilder.ConfigBuilder.alcastream = getattr(alcaConfig,name)
static

Definition at line 1270 of file ConfigBuilder.py.

list ConfigBuilder.ConfigBuilder.allFcn = []
static

Definition at line 842 of file ConfigBuilder.py.

list ConfigBuilder.ConfigBuilder.available = []
static

Definition at line 1305 of file ConfigBuilder.py.

string ConfigBuilder.ConfigBuilder.beamspotName = 'process.%sVtxSmearingParameters'
static

Definition at line 2054 of file ConfigBuilder.py.

string ConfigBuilder.ConfigBuilder.beamspotType = 'Flat'
static

Definition at line 2048 of file ConfigBuilder.py.

list ConfigBuilder.ConfigBuilder.beforeHLT = self.schedule[:self.schedule.index(self.process.HLTSchedule)]
static

Definition at line 2154 of file ConfigBuilder.py.

list ConfigBuilder.ConfigBuilder.cffToBeLoaded = VtxSmeared[self._options.beamspot]
static

Definition at line 1387 of file ConfigBuilder.py.

tuple ConfigBuilder.ConfigBuilder.com = string.lstrip(com)
static

Definition at line 886 of file ConfigBuilder.py.

tuple ConfigBuilder.ConfigBuilder.combined_mapping = copy.deepcopy( autoDQM )
static

Definition at line 1976 of file ConfigBuilder.py.

tuple ConfigBuilder.ConfigBuilder.command = command.strip()
static

Definition at line 434 of file ConfigBuilder.py.

Referenced by cmsRelvalreport.Profile._profile_edmsize(), cmsRelvalreport.Profile._profile_igprof(), cmsRelvalreport.Profile._profile_Memcheck_Valgrind(), cmsRelvalreport.Profile._profile_None(), cmsRelvalreport.Profile._profile_valgrindfce(), cmsRelvalreport.Profile._save_output(), cmsswPreprocessor.CmsswPreprocessor.run(), and runall.testit.run().

string ConfigBuilder.ConfigBuilder.CppType = 'PoolOutputModule'
static

Definition at line 528 of file ConfigBuilder.py.

dictionary ConfigBuilder.ConfigBuilder.custMap = {}
static

Definition at line 792 of file ConfigBuilder.py.

tuple ConfigBuilder.ConfigBuilder.custMap = DictTypes.SortedKeysDict()
static

Definition at line 821 of file ConfigBuilder.py.

tuple ConfigBuilder.ConfigBuilder.customiseFile = re.sub(r'\.pyc$', '.py', package.__file__)
static

Definition at line 856 of file ConfigBuilder.py.

tuple ConfigBuilder.ConfigBuilder.defaultFileName = self._options.outfile_name
static

Definition at line 506 of file ConfigBuilder.py.

tuple ConfigBuilder.ConfigBuilder.defaultFileName = self._options.outfile_name.replace('.root','_in'+theTier+'.root')
static

Definition at line 508 of file ConfigBuilder.py.

ConfigBuilder.ConfigBuilder.DIGI2RAWDefaultCFF

Definition at line 913 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.define_Configs(), and ConfigBuilder.ConfigBuilder.prepare_DIGI2RAW().

ConfigBuilder.ConfigBuilder.DIGIDefaultCFF

Definition at line 912 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.define_Configs(), ConfigBuilder.ConfigBuilder.inGeometryKeys(), ConfigBuilder.ConfigBuilder.prepare_DIGI(), ConfigBuilder.ConfigBuilder.prepare_DIGIPREMIX(), and ConfigBuilder.ConfigBuilder.prepare_DIGIPREMIX_S2().

ConfigBuilder.ConfigBuilder.EDMtoMECFF

Definition at line 1964 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare_HARVESTING().

tuple ConfigBuilder.ConfigBuilder.fileName = opt.split('.')
static

Definition at line 826 of file ConfigBuilder.py.

Referenced by readConfig.fileINI.read().

tuple ConfigBuilder.ConfigBuilder.filterConfig = self.load(sequence.split('.')[0])
static

load the relevant part

Definition at line 1637 of file ConfigBuilder.py.

tuple ConfigBuilder.ConfigBuilder.filterSeq = sequence.split('.')
static

Definition at line 1638 of file ConfigBuilder.py.

string ConfigBuilder.ConfigBuilder.final_snippet = '\n'
static

Definition at line 838 of file ConfigBuilder.py.

ConfigBuilder.ConfigBuilder.GEN_mixing = False
static

Definition at line 652 of file ConfigBuilder.py.

ConfigBuilder.ConfigBuilder.GENDefaultCFF

Definition at line 910 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.define_Configs().

list ConfigBuilder.ConfigBuilder.generatorModule = sys.modules[loadFragment]
static

Definition at line 1354 of file ConfigBuilder.py.

ConfigBuilder.ConfigBuilder.genModules = generatorModule.__dict__
static

Definition at line 1355 of file ConfigBuilder.py.

tuple ConfigBuilder.ConfigBuilder.genSeqName = sequence.split('.')
static
Enrich the schedule with the rest of the generation step 

Definition at line 1382 of file ConfigBuilder.py.

tuple ConfigBuilder.ConfigBuilder.harvestingConfig = self.loadDefaultOrSpecifiedCFF(sequence,self.HARVESTINGDefaultCFF)
static

Definition at line 1968 of file ConfigBuilder.py.

tuple ConfigBuilder.ConfigBuilder.harvestingList = sequence.split("+")
static

Definition at line 1972 of file ConfigBuilder.py.

tuple ConfigBuilder.ConfigBuilder.harvestingstream = getattr(harvestingConfig,name)
static

Definition at line 1988 of file ConfigBuilder.py.

ConfigBuilder.ConfigBuilder.HLTDefaultCFF

Definition at line 916 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.define_Configs().

tuple ConfigBuilder.ConfigBuilder.io = open(self._options.io,'w')
static

Definition at line 2229 of file ConfigBuilder.py.

dictionary ConfigBuilder.ConfigBuilder.ioJson = {}
static

Definition at line 2230 of file ConfigBuilder.py.

ConfigBuilder.ConfigBuilder.L1EMDefaultCFF

Definition at line 914 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.define_Configs(), and ConfigBuilder.ConfigBuilder.prepare_L1().

ConfigBuilder.ConfigBuilder.L1MENUDefaultCFF

Definition at line 915 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.define_Configs().

ConfigBuilder.ConfigBuilder.L1RecoDefaultCFF

Definition at line 918 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.define_Configs(), and ConfigBuilder.ConfigBuilder.prepare_L1Reco().

ConfigBuilder.ConfigBuilder.L1TrackTriggerDefaultCFF

Definition at line 919 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.define_Configs(), and ConfigBuilder.ConfigBuilder.prepare_L1TrackTrigger().

tuple ConfigBuilder.ConfigBuilder.lastStep = getattr(harvestingConfig,"ALCAHARVESTDQMSaveAndMetadataWriter")
static

Definition at line 2020 of file ConfigBuilder.py.

ConfigBuilder.ConfigBuilder.loadFailure = True
static

Definition at line 1348 of file ConfigBuilder.py.

tuple ConfigBuilder.ConfigBuilder.loadFragment = self._options.evt_type.replace('.py','',)
static

Definition at line 1338 of file ConfigBuilder.py.

string ConfigBuilder.ConfigBuilder.loadFragment = 'Configuration.Generator.'
static

Definition at line 1341 of file ConfigBuilder.py.

string ConfigBuilder.ConfigBuilder.message = pileupSpec+' is not a know mixing scenario:\n available are: '
static

Definition at line 660 of file ConfigBuilder.py.

Referenced by rrapi.RRApiError.__str__(), argparse.ArgumentError.__str__(), and python.rootplot.argparse.ArgumentError.__str__().

tuple ConfigBuilder.ConfigBuilder.mixingDict = {'file':pileupSpec}
static

Definition at line 667 of file ConfigBuilder.py.

tuple ConfigBuilder.ConfigBuilder.mixingDict = copy.copy(Mixing[pileupSpec])
static

Definition at line 672 of file ConfigBuilder.py.

tuple ConfigBuilder.ConfigBuilder.nl = self.additionalOutputs.keys()
static

Definition at line 2107 of file ConfigBuilder.py.

tuple ConfigBuilder.ConfigBuilder.outDefDictStr = outDefDict.__str__()
static

Definition at line 481 of file ConfigBuilder.py.

tuple ConfigBuilder.ConfigBuilder.outList = eval(self._options.outputDefinition)
static

Definition at line 479 of file ConfigBuilder.py.

list ConfigBuilder.ConfigBuilder.output
static
Initial value:
1 = cms.OutputModule(CppType,
2  theEventContent.clone(),
3  fileName = cms.untracked.string(theFileName),
4  dataset = cms.untracked.PSet(
5  dataTier = cms.untracked.string(theTier),
6  filterName = cms.untracked.string(theFilterName))
7  )

Definition at line 532 of file ConfigBuilder.py.

Referenced by personalPlayback.Playback.do_create_lumi(), and personalPlayback.Playback.do_exec().

list ConfigBuilder.ConfigBuilder.output = self.additionalOutputs[name]
static

Definition at line 2110 of file ConfigBuilder.py.

Referenced by personalPlayback.Playback.do_create_lumi(), and personalPlayback.Playback.do_exec().

tuple ConfigBuilder.ConfigBuilder.outputModule = getattr(self.process,theModuleLabel)
static

Definition at line 557 of file ConfigBuilder.py.

tuple ConfigBuilder.ConfigBuilder.outputModuleCfgCode = ""
static

adding standard sequences might change the inputEventContent option and therefore needs to be finalized after

Definition at line 2063 of file ConfigBuilder.py.

tuple ConfigBuilder.ConfigBuilder.outputModuleCfgCode = self.addOutput()
static

Definition at line 2065 of file ConfigBuilder.py.

string ConfigBuilder.ConfigBuilder.outputModuleName = streamType+'output'
static

Definition at line 622 of file ConfigBuilder.py.

list ConfigBuilder.ConfigBuilder.package = sys.modules[packageName]
static

Definition at line 853 of file ConfigBuilder.py.

Referenced by Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.properties().

tuple ConfigBuilder.ConfigBuilder.packageName = f.replace(".py","")
static

Definition at line 851 of file ConfigBuilder.py.

ConfigBuilder.ConfigBuilder.PATDefaultCFF

Definition at line 921 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.define_Configs(), and ConfigBuilder.ConfigBuilder.prepare_PAT().

tuple ConfigBuilder.ConfigBuilder.path = getattr(self.process,theModuleLabel+'_step')
static

Definition at line 559 of file ConfigBuilder.py.

Referenced by python.rootplot.rootmath.Target.__repr__().

string ConfigBuilder.ConfigBuilder.pathName = 'dqmoffline_step'
static

Definition at line 1943 of file ConfigBuilder.py.

list ConfigBuilder.ConfigBuilder.pathNames = ['process.'+p.label_() for p in beforeHLT]
static

Definition at line 2156 of file ConfigBuilder.py.

tuple ConfigBuilder.ConfigBuilder.pfs = getattr(self.process,self.productionFilterSequence)
static

Definition at line 2188 of file ConfigBuilder.py.

tuple ConfigBuilder.ConfigBuilder.pileupSpec = self._options.pileup.split(',')
static

Definition at line 649 of file ConfigBuilder.py.

list ConfigBuilder.ConfigBuilder.pileupSpec = pileupSpec[4:]
static

Definition at line 655 of file ConfigBuilder.py.

ConfigBuilder.ConfigBuilder.RAW2DIGIDefaultCFF

Definition at line 917 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.define_Configs(), and ConfigBuilder.ConfigBuilder.prepare_RAW2DIGI().

ConfigBuilder.ConfigBuilder.RECODefaultCFF

Definition at line 920 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.define_Configs(), ConfigBuilder.ConfigBuilder.inGeometryKeys(), and ConfigBuilder.ConfigBuilder.prepare_RECO().

tuple ConfigBuilder.ConfigBuilder.rest = opt.split('.')
static

Definition at line 829 of file ConfigBuilder.py.

string ConfigBuilder.ConfigBuilder.result = "process.schedule = cms.Schedule("
static

Definition at line 2143 of file ConfigBuilder.py.

tuple ConfigBuilder.ConfigBuilder.sequence = 'EIsequence'
static

Definition at line 1700 of file ConfigBuilder.py.

Referenced by config.Config.__str__().

tuple ConfigBuilder.ConfigBuilder.sequence = sequence.split('.')
static

Definition at line 1969 of file ConfigBuilder.py.

Referenced by config.Config.__str__().

tuple ConfigBuilder.ConfigBuilder.sequenceList = list(set(sequenceList))
static

Definition at line 1941 of file ConfigBuilder.py.

tuple ConfigBuilder.ConfigBuilder.shortName = name.replace('ALCARECOStream','')
static

Definition at line 1271 of file ConfigBuilder.py.

tuple ConfigBuilder.ConfigBuilder.shortname = skim.replace('SKIMStream','')
static

Definition at line 1725 of file ConfigBuilder.py.

ConfigBuilder.ConfigBuilder.SIMDefaultCFF

Definition at line 911 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.define_Configs(), and ConfigBuilder.ConfigBuilder.inGeometryKeys().

list ConfigBuilder.ConfigBuilder.simGeometry = ''
static

Definition at line 1048 of file ConfigBuilder.py.

list ConfigBuilder.ConfigBuilder.simGeometry = geoms[0]
static

Definition at line 1079 of file ConfigBuilder.py.

tuple ConfigBuilder.ConfigBuilder.skimstream = getattr(skimConfig,skim)
static

Definition at line 1719 of file ConfigBuilder.py.

tuple ConfigBuilder.ConfigBuilder.skimstreamDQM
static
Initial value:
1 = cms.FilteredStream(
2  responsible = skimstream.responsible,
3  name = skimstream.name+'DQM',
4  paths = skimstream.paths,
5  selectEvents = skimstream.selectEvents,
6  content = self._options.datatier+'EventContent',
7  dataTier = cms.untracked.string(self._options.datatier)
8  )

Definition at line 1733 of file ConfigBuilder.py.

tuple ConfigBuilder.ConfigBuilder.specialization = defineMixing(mixingDict)
static

Definition at line 699 of file ConfigBuilder.py.

list ConfigBuilder.ConfigBuilder.stepList = [re.sub(r'^prepare_', '', methodName) for methodName in ConfigBuilder.__dict__ if methodName.startswith('prepare_')]
static

Definition at line 202 of file ConfigBuilder.py.

list ConfigBuilder.ConfigBuilder.stepName = stepParts[0]
static

add the corresponding input content

Definition at line 208 of file ConfigBuilder.py.

tuple ConfigBuilder.ConfigBuilder.stepParts = step.split(":")
static

Definition at line 207 of file ConfigBuilder.py.

list ConfigBuilder.ConfigBuilder.stepSpec = self.stepMap[stepName]
static

Definition at line 722 of file ConfigBuilder.py.

tuple ConfigBuilder.ConfigBuilder.streamTypes = self._options.eventcontent.split(',')
static

ends the –output options model

Definition at line 579 of file ConfigBuilder.py.

tuple ConfigBuilder.ConfigBuilder.theEventContent = cms.PSet(outputCommands = cms.untracked.vstring('keep *'))
static

Definition at line 518 of file ConfigBuilder.py.

tuple ConfigBuilder.ConfigBuilder.theExtraOutputCommands = anyOf(['o','oC','outputCommands'],outDefDict,'')
static

Definition at line 492 of file ConfigBuilder.py.

tuple ConfigBuilder.ConfigBuilder.theFileName = self._options.dirout+anyOf(['fn','fileName'],outDefDict,defaultFileName)
static

Definition at line 510 of file ConfigBuilder.py.

ConfigBuilder.ConfigBuilder.theFileName = self._options.outfile_name
static

Definition at line 593 of file ConfigBuilder.py.

string ConfigBuilder.ConfigBuilder.theFilterName = anyOf(['f','ftN','filterName'],outDefDict,'')
static

Definition at line 489 of file ConfigBuilder.py.

string ConfigBuilder.ConfigBuilder.theFilterName = 'StreamALCACombined'
static

Definition at line 525 of file ConfigBuilder.py.

ConfigBuilder.ConfigBuilder.theFilterName = self._options.filtername
static

Definition at line 594 of file ConfigBuilder.py.

tuple ConfigBuilder.ConfigBuilder.theModuleLabel = anyOf(['l','mL','moduleLabel'],outDefDict,'')
static

Definition at line 491 of file ConfigBuilder.py.

ConfigBuilder.ConfigBuilder.theModuleLabel = name
static

Definition at line 501 of file ConfigBuilder.py.

tuple ConfigBuilder.ConfigBuilder.theObject = getattr(generatorModule,name)
static

Definition at line 1368 of file ConfigBuilder.py.

tuple ConfigBuilder.ConfigBuilder.theSelectEvent = anyOf(['s','sE','selectEvents'],outDefDict,'')
static

Definition at line 490 of file ConfigBuilder.py.

tuple ConfigBuilder.ConfigBuilder.theStreamType = anyOf(['e','ec','eventContent','streamType'],outDefDict,theTier)
static

event content

Definition at line 488 of file ConfigBuilder.py.

tuple ConfigBuilder.ConfigBuilder.theTier = anyOf(['t','tier','dataTier'],outDefDict)
static

Definition at line 485 of file ConfigBuilder.py.

tuple ConfigBuilder.ConfigBuilder.tiers = self._options.datatier.split(',')
static

Definition at line 580 of file ConfigBuilder.py.

tuple ConfigBuilder.ConfigBuilder.tmpOut = cms.EndPath(output)
static

Definition at line 2112 of file ConfigBuilder.py.

list ConfigBuilder.ConfigBuilder.tryNames
static
Initial value:
1 = [theStreamType.replace(theTier.replace('-',''),'')+theTier.replace('-','')+'output',
2  theStreamType.replace(theTier.replace('-',''),'')+theTier.replace('-','')+theFilterName+'output',
3  theStreamType.replace(theTier.replace('-',''),'')+theTier.replace('-','')+theFilterName+theSelectEvent.split(',')[0].replace(':','for').replace(' ','')+'output'
4  ]

Definition at line 495 of file ConfigBuilder.py.