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

Public Attributes

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

Static Public Attributes

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'
 manipulate the beamspot More...
 
list beforeHLT = self.schedule[:self.schedule.index(self.process.HLTSchedule)]
 
list cffToBeLoaded = VtxSmeared[self._options.beamspot]
 
string cffToBeLoaded = 'IOMC.EventVertexGenerators.VtxSmearedParameters_cfi'
 
tuple com = string.lstrip(com)
 
tuple command = command.strip()
 
string CppType = 'PoolOutputModule'
 
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'
 
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.'
 
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(',')
 
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,self._options.fast)
 
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 158 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 161 of file ConfigBuilder.py.

162  def __init__(self, options, process = None, with_output = False, with_input = False ):
163  """options taken from old cmsDriver and optparse """
164 
165  options.outfile_name = options.dirout+options.fileout
167  self._options = options
168 
169  if self._options.isData and options.isMC:
170  raise Exception("ERROR: You may specify only --data or --mc, not both")
171  #if not self._options.conditions:
172  # 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 294 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.profileOptions().

295  def addCommon(self):
296  if 'HARVESTING' in self.stepMap.keys() or 'ALCAHARVEST' in self.stepMap.keys():
297  self.process.options = cms.untracked.PSet( Rethrow = cms.untracked.vstring('ProductNotFound'),fileMode = cms.untracked.string('FULLMERGE'))
298  else:
299  self.process.options = cms.untracked.PSet( )
300  self.addedObjects.append(("","options"))
301 
302  if self._options.lazy_download:
303  self.process.AdaptorConfig = cms.Service("AdaptorConfig",
304  stats = cms.untracked.bool(True),
305  enable = cms.untracked.bool(True),
306  cacheHint = cms.untracked.string("lazy-download"),
307  readHint = cms.untracked.string("read-ahead-buffered")
308  )
309  self.addedObjects.append(("Setup lazy download","AdaptorConfig"))
310 
311  #self.process.cmsDriverCommand = cms.untracked.PSet( command=cms.untracked.string('cmsDriver.py '+self._options.arguments) )
312  #self.addedObjects.append(("what cmsDriver command was used","cmsDriverCommand"))
313 
314  if self._options.profile:
315  (start, interval, eventFormat, jobFormat)=self.profileOptions()
316  self.process.IgProfService = cms.Service("IgProfService",
317  reportFirstEvent = cms.untracked.int32(start),
318  reportEventInterval = cms.untracked.int32(interval),
319  reportToFileAtPostEvent = cms.untracked.string("| gzip -c > %s"%(eventFormat)),
320  reportToFileAtPostEndJob = cms.untracked.string("| gzip -c > %s"%(jobFormat)))
321  self.addedObjects.append(("Setup IGProf Service for profiling","IgProfService"))
def ConfigBuilder.ConfigBuilder.addConditions (   self)
Add conditions to the process

Definition at line 721 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare().

722  def addConditions(self):
"""Add conditions to the process"""
def ConfigBuilder.ConfigBuilder.addCustomise (   self)
Include the customise code 

Definition at line 740 of file ConfigBuilder.py.

741  def addCustomise(self):
742  """Include the customise code """
743 
custOpt=self._options.customisation_file.split(",")
def ConfigBuilder.ConfigBuilder.addExtraStream (   self,
  name,
  stream,
  workflow = 'full' 
)

Definition at line 1051 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.doNotInlineEventContent(), DTTTrigProd.DTTTrigProd.process, helper::NullPostProcessor< OutputCollection >.process(), NullPostProcessor< OutputCollection >.process(), HcalHitRelabeller.process(), helper::NullPostProcessor< reco::CandidateCollection >.process(), helper::NullPostProcessor< typename::helper::SelectedOutputCollectionTrait< reco::TrackCollection >::type >.process(), DTDqm.DTDqm.process, DTDQMMerge.DTDQMMerge.process, DTValidSummary.DTValidSummary.process, DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.process, DTAnalysisResiduals.DTAnalysisResiduals.process, DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.process, DTDQMHarvesting.DTDQMHarvesting.process, DTNoiseCalibration.DTNoiseCalibration.process, DTResidualCalibration.DTResidualCalibration.process, tfwliteselectortest::ThingsWorker.process(), DTDQMValidation.DTDQMValidation.process, DTTTrigValid.DTTTrigValid.process, DummyUpdator.process(), clangcms::CatchAll.process(), EcalFenixTcpsFgvbEB.process(), CSCTFDTReceiver.process(), EcalFenixBypassLin.process(), tfwliteselectortest::ThingsTSelector.process(), EcalFenixPeakFinder.process(), EcalFenixMaxof2.process(), examples::TrackAnalysisAlgorithm.process(), SingleTrajectoryUpdator.process(), TTULogic.process(), CSCTFMonitorInterface.process(), RBCLogic.process(), TTUWedgeORLogic.process(), CSCMonitorInterface.process(), EcalFenixEtStrip.process(), PFPileUpAlgo.process(), npstat::AbsVisitor< Input, unsigned long >.process(), RBCPatternLogic.process(), TTUSectorORLogic.process(), KalmanAlignmentUpdator.process(), EcalFenixTcpFormat.process(), npstat::AbsVisitor< Input, Result >.process(), DTT0DBValidation.DTT0DBValidation.process, BTagDifferentialPlot.process(), HcalCableMapper.process(), EcalFenixAmplitudeFilter.process(), __class__Worker.process(), npstat::AbsArrayProjector< Input, Result >.process(), EcalFenixStripFormatEE.process(), DTVDriftMeanTimerWriter.DTVDriftMeanTimerWriter.process, DTVDriftSegmentWriter.DTVDriftSegmentWriter.process, EcalFenixStripFormatEB.process(), RBCTestLogic.process(), TTUPointingLogic.process(), EcalFenixEtTot.process(), ora::IRelationalMapping.process(), DTTTrigResidualCorr.DTTTrigResidualCorr.process, TTUTwoORLogic.process(), EnergyLossPlain.process(), HcalSimpleReconstructor.process(), EcalFenixStripFgvbEE.process(), edm::ELextendedID.process, EcalFenixTcpFgvbEE.process(), DTTTrigCorrFirst.DTTTrigCorrFirst.process, RBCChamberORLogic.process(), TTUTrackingAlg.process(), EcalFenixFgvbEB.process(), L1GctEmLeafCard.process(), L1GctNullJetFinder.process(), L1GctSimpleJetFinder.process(), SiStripClusterToDigiProducer.process(), EcalFenixLinearizer.process(), L1GctHardwareJetFinder.process(), DTTTrigTimeBoxesWriter.DTTTrigTimeBoxesWriter.process, L1GctJetFinalStage.process(), L1GctProcessor.process(), RPCWheel.process(), TTUConfigurator.process(), L1GctGlobalHfSumAlgos.process(), npstat::VisitCounter< Input >.process(), edm::InputTag.process(), L1GctElectronFinalSort.process(), ora::PrimitiveMapping.process(), EgammaHLTPixelMatchElectronAlgo.process(), PFTauElecRejectionBenchmark.process(), PFMETBenchmark.process(), L1Comparator.process(), PFJetBenchmark.process(), KDTreeLinkerBase.process(), L1GctWheelEnergyFpga.process(), L1GctWheelJetFpga.process(), cscdqm::HWStandbyType.process, edm::EDConsumerBase::Labels.process, evf::FUResource.process(), ora::BlobMapping.process(), L1GctElectronSorter.process(), L1GctGlobalEnergyAlgos.process(), HLTTrackClusterRemover.process(), L1GctTdrJetFinder.process(), DTTFFEDReader.process(), TFWLiteSelectorBasic.process(), fwlite::internal::DataKey.process(), L1GctJetLeafCard.process(), SeedClusterRemover.process(), L1GlobalCaloTrigger.process(), TFWLiteSelector< ThingsWorker >.process(), TFWLiteSelector< TWorker >.process(), TFWLiteSelector< __class__Worker >.process(), TrackClusterRemover.process(), TFWLiteSelector< TrackAnalysisAlgorithm >.process(), ora::OraReferenceMapping.process(), EcalFenixTcp.process(), TestOutliers.process, HTTP.RequestManager.process(), ora::UniqueReferenceMapping.process(), lhef::LHERunInfo::Process.process, EcalFenixStrip.process(), ora::OraPtrMapping.process(), edm::service::ELtsErrorLog.process, CaloTowersCreationAlgo.process(), ora::NamedRefMapping.process(), ora::ArrayMapping.process(), edm::service::ELadministrator.process(), JetTagMVAExtractor.process(), EgammaHLTValidationUtils.EgammaDQMModuleMaker.process, ora::CArrayMapping.process(), L1GctJetFinderBase.process(), ora::ObjectMapping.process(), Config.Process.process, ora::EmptyMapping.process(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.process(), and edm::ProductHolderIndexHelper::Item.process().

1052  def addExtraStream(self,name,stream,workflow='full'):
1053  # define output module and go from there
1054  output = cms.OutputModule("PoolOutputModule")
1055  if stream.selectEvents.parameters_().__len__()!=0:
1056  output.SelectEvents = stream.selectEvents
1057  else:
1058  output.SelectEvents = cms.untracked.PSet()
1059  output.SelectEvents.SelectEvents=cms.vstring()
1060  if isinstance(stream.paths,tuple):
1061  for path in stream.paths:
1062  output.SelectEvents.SelectEvents.append(path.label())
1063  else:
1064  output.SelectEvents.SelectEvents.append(stream.paths.label())
1065 
1066 
1067 
1068  if isinstance(stream.content,str):
1069  evtPset=getattr(self.process,stream.content)
1070  for p in evtPset.parameters_():
1071  setattr(output,p,getattr(evtPset,p))
1072  if not self._options.inlineEventContent:
1073  def doNotInlineEventContent(instance,label = "process."+stream.content+".outputCommands"):
1074  return label
1075  output.outputCommands.__dict__["dumpPython"] = doNotInlineEventContent
1076  else:
1077  output.outputCommands = stream.content
1078 
1079 
1080  output.fileName = cms.untracked.string(self._options.dirout+stream.name+'.root')
1081 
1082  output.dataset = cms.untracked.PSet( dataTier = stream.dataTier,
1083  filterName = cms.untracked.string(stream.name))
1084 
1085  if self._options.filtername:
1086  output.dataset.filterName= cms.untracked.string(self._options.filtername+"_"+stream.name)
1087 
1088  #add an automatic flushing to limit memory consumption
1089  output.eventAutoFlushCompressedSize=cms.untracked.int32(5*1024*1024)
1090 
1091  if workflow in ("producers,full"):
1092  if isinstance(stream.paths,tuple):
1093  for path in stream.paths:
1094  self.schedule.append(path)
1095  else:
1096  self.schedule.append(stream.paths)
1097 
1098 
1099  # in case of relvals we don't want to have additional outputs
1100  if (not self._options.relval) and workflow in ("full","output"):
1101  self.additionalOutputs[name] = output
1102  setattr(self.process,name,output)
1103 
1104  if workflow == 'output':
1105  # adjust the select events to the proper trigger results from previous process
1106  filterList = output.SelectEvents.SelectEvents
1107  for i, filter in enumerate(filterList):
1108  filterList[i] = filter+":"+self._options.triggerResultsProcess
1109 
1110  return output
def ConfigBuilder.ConfigBuilder.addMaxEvents (   self)
Here we decide how many evts will be processed

Definition at line 322 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare().

323  def addMaxEvents(self):
324  """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 439 of file ConfigBuilder.py.

440  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 329 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare().

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

Definition at line 603 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare().

604  def addStandardSequences(self):
605  """
606  Add selected standard sequences to the process
607  """
# load the pile up file
def ConfigBuilder.ConfigBuilder.anyOf (   listOfKeys,
  dict,
  opt = None 
)

Definition at line 446 of file ConfigBuilder.py.

References join().

447  def anyOf(listOfKeys,dict,opt=None):
448  for k in listOfKeys:
449  if k in dict:
450  toReturn=dict[k]
451  dict.pop(k)
452  return toReturn
453  if opt!=None:
454  return opt
455  else:
456  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 1932 of file ConfigBuilder.py.

1933  def build_production_info(self, evt_type, evtnumber):
1934  """ Add useful info for the production. """
1935  self.process.configurationMetadata=cms.untracked.PSet\
1936  (version=cms.untracked.string("$Revision: 1.20 $"),
1937  name=cms.untracked.string("Applications"),
1938  annotation=cms.untracked.string(evt_type+ " nevts:"+str(evtnumber))
1939  )
1940 
1941  self.addedObjects.append(("Production Info","configurationMetadata"))
1942 
def ConfigBuilder.ConfigBuilder.completeInputCommand (   self)

Definition at line 690 of file ConfigBuilder.py.

References DTTTrigProd.DTTTrigProd.process, helper::NullPostProcessor< OutputCollection >.process(), NullPostProcessor< OutputCollection >.process(), HcalHitRelabeller.process(), helper::NullPostProcessor< reco::CandidateCollection >.process(), helper::NullPostProcessor< typename::helper::SelectedOutputCollectionTrait< reco::TrackCollection >::type >.process(), DTDqm.DTDqm.process, DTDQMMerge.DTDQMMerge.process, DTValidSummary.DTValidSummary.process, DTAnalysisResiduals.DTAnalysisResiduals.process, DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.process, DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.process, DTDQMHarvesting.DTDQMHarvesting.process, DTNoiseCalibration.DTNoiseCalibration.process, DTResidualCalibration.DTResidualCalibration.process, tfwliteselectortest::ThingsWorker.process(), DTDQMValidation.DTDQMValidation.process, DTTTrigValid.DTTTrigValid.process, DummyUpdator.process(), clangcms::CatchAll.process(), EcalFenixTcpsFgvbEB.process(), CSCTFDTReceiver.process(), EcalFenixBypassLin.process(), tfwliteselectortest::ThingsTSelector.process(), EcalFenixPeakFinder.process(), EcalFenixMaxof2.process(), examples::TrackAnalysisAlgorithm.process(), SingleTrajectoryUpdator.process(), TTULogic.process(), CSCTFMonitorInterface.process(), RBCLogic.process(), TTUWedgeORLogic.process(), CSCMonitorInterface.process(), EcalFenixEtStrip.process(), PFPileUpAlgo.process(), npstat::AbsVisitor< Input, unsigned long >.process(), RBCPatternLogic.process(), TTUSectorORLogic.process(), KalmanAlignmentUpdator.process(), EcalFenixTcpFormat.process(), npstat::AbsVisitor< Input, Result >.process(), DTT0DBValidation.DTT0DBValidation.process, BTagDifferentialPlot.process(), HcalCableMapper.process(), EcalFenixAmplitudeFilter.process(), __class__Worker.process(), npstat::AbsArrayProjector< Input, Result >.process(), EcalFenixStripFormatEE.process(), DTVDriftMeanTimerWriter.DTVDriftMeanTimerWriter.process, DTVDriftSegmentWriter.DTVDriftSegmentWriter.process, EcalFenixStripFormatEB.process(), RBCTestLogic.process(), TTUPointingLogic.process(), EcalFenixEtTot.process(), ora::IRelationalMapping.process(), DTTTrigResidualCorr.DTTTrigResidualCorr.process, TTUTwoORLogic.process(), EnergyLossPlain.process(), HcalSimpleReconstructor.process(), EcalFenixStripFgvbEE.process(), edm::ELextendedID.process, EcalFenixTcpFgvbEE.process(), DTTTrigCorrFirst.DTTTrigCorrFirst.process, RBCChamberORLogic.process(), TTUTrackingAlg.process(), EcalFenixFgvbEB.process(), L1GctEmLeafCard.process(), L1GctNullJetFinder.process(), L1GctSimpleJetFinder.process(), SiStripClusterToDigiProducer.process(), EcalFenixLinearizer.process(), L1GctHardwareJetFinder.process(), DTTTrigTimeBoxesWriter.DTTTrigTimeBoxesWriter.process, L1GctJetFinalStage.process(), L1GctProcessor.process(), RPCWheel.process(), TTUConfigurator.process(), L1GctGlobalHfSumAlgos.process(), npstat::VisitCounter< Input >.process(), edm::InputTag.process(), L1GctElectronFinalSort.process(), ora::PrimitiveMapping.process(), EgammaHLTPixelMatchElectronAlgo.process(), PFTauElecRejectionBenchmark.process(), PFMETBenchmark.process(), L1Comparator.process(), PFJetBenchmark.process(), KDTreeLinkerBase.process(), L1GctWheelEnergyFpga.process(), L1GctWheelJetFpga.process(), cscdqm::HWStandbyType.process, edm::EDConsumerBase::Labels.process, evf::FUResource.process(), ora::BlobMapping.process(), L1GctElectronSorter.process(), L1GctGlobalEnergyAlgos.process(), HLTTrackClusterRemover.process(), L1GctTdrJetFinder.process(), DTTFFEDReader.process(), TFWLiteSelectorBasic.process(), fwlite::internal::DataKey.process(), L1GctJetLeafCard.process(), SeedClusterRemover.process(), L1GlobalCaloTrigger.process(), TFWLiteSelector< ThingsWorker >.process(), TFWLiteSelector< TWorker >.process(), TFWLiteSelector< __class__Worker >.process(), TrackClusterRemover.process(), TFWLiteSelector< TrackAnalysisAlgorithm >.process(), ora::OraReferenceMapping.process(), EcalFenixTcp.process(), TestOutliers.process, HTTP.RequestManager.process(), ora::UniqueReferenceMapping.process(), lhef::LHERunInfo::Process.process, EcalFenixStrip.process(), ora::OraPtrMapping.process(), edm::service::ELtsErrorLog.process, CaloTowersCreationAlgo.process(), ora::NamedRefMapping.process(), ora::ArrayMapping.process(), edm::service::ELadministrator.process(), JetTagMVAExtractor.process(), EgammaHLTValidationUtils.EgammaDQMModuleMaker.process, ora::CArrayMapping.process(), L1GctJetFinderBase.process(), ora::ObjectMapping.process(), Config.Process.process, ora::EmptyMapping.process(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.process(), and edm::ProductHolderIndexHelper::Item.process().

Referenced by ConfigBuilder.ConfigBuilder.prepare().

691  def completeInputCommand(self):
692  if self._options.inputEventContent:
693  import copy
694  def dropSecondDropStar(iec):
695  #drop occurence of 'drop *' in the list
696  count=0
697  for item in iec:
698  if item=='drop *':
699  if count!=0:
700  iec.remove(item)
701  count+=1
702 
703 
704  ## allow comma separated input eventcontent
705  if not hasattr(self.process.source,'inputCommands'): self.process.source.inputCommands=cms.untracked.vstring()
706  for evct in self._options.inputEventContent.split(','):
707  if evct=='': continue
708  theEventContent = getattr(self.process, evct+"EventContent")
709  if hasattr(theEventContent,'outputCommands'):
710  self.process.source.inputCommands.extend(copy.copy(theEventContent.outputCommands))
711  if hasattr(theEventContent,'inputCommands'):
712  self.process.source.inputCommands.extend(copy.copy(theEventContent.inputCommands))
713 
714  dropSecondDropStar(self.process.source.inputCommands)
715 
716  if not self._options.dropDescendant:
717  self.process.source.dropDescendantsOfDroppedBranches = cms.untracked.bool(False)
718 
719 
720  return
def ConfigBuilder.ConfigBuilder.define_Configs (   self)

Definition at line 818 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.loadAndRemember().

819  def define_Configs(self):
820  if len(self.stepMap):
821  self.loadAndRemember('Configuration/StandardSequences/Services_cff')
822  if self._options.particleTable not in defaultOptions.particleTableList:
823  print 'Invalid particle table provided. Options are:'
824  print defaultOptions.particleTable
825  sys.exit(-1)
826  else:
827  if len(self.stepMap):
828  self.loadAndRemember('SimGeneral.HepPDTESSource.'+self._options.particleTable+'_cfi')
829 
830  self.loadAndRemember('FWCore/MessageService/MessageLogger_cfi')
832  self.ALCADefaultCFF="Configuration/StandardSequences/AlCaRecoStreams_cff"
833  self.GENDefaultCFF="Configuration/StandardSequences/Generator_cff"
834  self.SIMDefaultCFF="Configuration/StandardSequences/Sim_cff"
835  self.DIGIDefaultCFF="Configuration/StandardSequences/Digi_cff"
836  self.DIGI2RAWDefaultCFF="Configuration/StandardSequences/DigiToRaw_cff"
837  self.L1EMDefaultCFF='Configuration/StandardSequences/SimL1Emulator_cff'
838  self.L1MENUDefaultCFF="Configuration/StandardSequences/L1TriggerDefaultMenu_cff"
839  self.HLTDefaultCFF="Configuration/StandardSequences/HLTtable_cff"
840  self.RAW2DIGIDefaultCFF="Configuration/StandardSequences/RawToDigi_Data_cff"
841  self.L1RecoDefaultCFF="Configuration/StandardSequences/L1Reco_cff"
842  self.L1TrackTriggerDefaultCFF="Configuration/StandardSequences/L1TrackTrigger_cff"
self.RECODefaultCFF="Configuration/StandardSequences/Reconstruction_Data_cff"
def ConfigBuilder.ConfigBuilder.doNotInlineEventContent (   instance,
  label = "cms.untracked.vstring(process."+theStreamType+"EventContent.outputCommands)" 
)

Definition at line 530 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.executeAndRemember(), DTTTrigProd.DTTTrigProd.process, helper::NullPostProcessor< OutputCollection >.process(), NullPostProcessor< OutputCollection >.process(), HcalHitRelabeller.process(), helper::NullPostProcessor< reco::CandidateCollection >.process(), helper::NullPostProcessor< typename::helper::SelectedOutputCollectionTrait< reco::TrackCollection >::type >.process(), DTDqm.DTDqm.process, DTDQMMerge.DTDQMMerge.process, DTValidSummary.DTValidSummary.process, DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.process, DTAnalysisResiduals.DTAnalysisResiduals.process, DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.process, DTDQMHarvesting.DTDQMHarvesting.process, DTNoiseCalibration.DTNoiseCalibration.process, DTResidualCalibration.DTResidualCalibration.process, tfwliteselectortest::ThingsWorker.process(), DTDQMValidation.DTDQMValidation.process, DTTTrigValid.DTTTrigValid.process, DummyUpdator.process(), clangcms::CatchAll.process(), EcalFenixTcpsFgvbEB.process(), CSCTFDTReceiver.process(), EcalFenixBypassLin.process(), tfwliteselectortest::ThingsTSelector.process(), EcalFenixPeakFinder.process(), EcalFenixMaxof2.process(), examples::TrackAnalysisAlgorithm.process(), SingleTrajectoryUpdator.process(), TTULogic.process(), CSCTFMonitorInterface.process(), RBCLogic.process(), TTUWedgeORLogic.process(), CSCMonitorInterface.process(), EcalFenixEtStrip.process(), PFPileUpAlgo.process(), npstat::AbsVisitor< Input, unsigned long >.process(), RBCPatternLogic.process(), TTUSectorORLogic.process(), KalmanAlignmentUpdator.process(), EcalFenixTcpFormat.process(), npstat::AbsVisitor< Input, Result >.process(), DTT0DBValidation.DTT0DBValidation.process, BTagDifferentialPlot.process(), HcalCableMapper.process(), EcalFenixAmplitudeFilter.process(), __class__Worker.process(), npstat::AbsArrayProjector< Input, Result >.process(), EcalFenixStripFormatEE.process(), DTVDriftMeanTimerWriter.DTVDriftMeanTimerWriter.process, DTVDriftSegmentWriter.DTVDriftSegmentWriter.process, EcalFenixStripFormatEB.process(), RBCTestLogic.process(), TTUPointingLogic.process(), EcalFenixEtTot.process(), ora::IRelationalMapping.process(), DTTTrigResidualCorr.DTTTrigResidualCorr.process, TTUTwoORLogic.process(), EnergyLossPlain.process(), HcalSimpleReconstructor.process(), EcalFenixStripFgvbEE.process(), edm::ELextendedID.process, EcalFenixTcpFgvbEE.process(), DTTTrigCorrFirst.DTTTrigCorrFirst.process, RBCChamberORLogic.process(), TTUTrackingAlg.process(), EcalFenixFgvbEB.process(), L1GctEmLeafCard.process(), L1GctNullJetFinder.process(), L1GctSimpleJetFinder.process(), SiStripClusterToDigiProducer.process(), EcalFenixLinearizer.process(), L1GctHardwareJetFinder.process(), DTTTrigTimeBoxesWriter.DTTTrigTimeBoxesWriter.process, L1GctJetFinalStage.process(), L1GctProcessor.process(), RPCWheel.process(), TTUConfigurator.process(), L1GctGlobalHfSumAlgos.process(), npstat::VisitCounter< Input >.process(), edm::InputTag.process(), L1GctElectronFinalSort.process(), ora::PrimitiveMapping.process(), EgammaHLTPixelMatchElectronAlgo.process(), PFTauElecRejectionBenchmark.process(), PFMETBenchmark.process(), L1Comparator.process(), PFJetBenchmark.process(), KDTreeLinkerBase.process(), L1GctWheelEnergyFpga.process(), L1GctWheelJetFpga.process(), cscdqm::HWStandbyType.process, edm::EDConsumerBase::Labels.process, evf::FUResource.process(), ora::BlobMapping.process(), L1GctElectronSorter.process(), L1GctGlobalEnergyAlgos.process(), HLTTrackClusterRemover.process(), L1GctTdrJetFinder.process(), DTTFFEDReader.process(), TFWLiteSelectorBasic.process(), fwlite::internal::DataKey.process(), L1GctJetLeafCard.process(), SeedClusterRemover.process(), L1GlobalCaloTrigger.process(), TFWLiteSelector< ThingsWorker >.process(), TFWLiteSelector< TWorker >.process(), TFWLiteSelector< __class__Worker >.process(), TrackClusterRemover.process(), TFWLiteSelector< TrackAnalysisAlgorithm >.process(), ora::OraReferenceMapping.process(), EcalFenixTcp.process(), TestOutliers.process, HTTP.RequestManager.process(), ora::UniqueReferenceMapping.process(), lhef::LHERunInfo::Process.process, EcalFenixStrip.process(), ora::OraPtrMapping.process(), edm::service::ELtsErrorLog.process, CaloTowersCreationAlgo.process(), ora::NamedRefMapping.process(), ora::ArrayMapping.process(), edm::service::ELadministrator.process(), JetTagMVAExtractor.process(), EgammaHLTValidationUtils.EgammaDQMModuleMaker.process, ora::CArrayMapping.process(), L1GctJetFinderBase.process(), ora::ObjectMapping.process(), Config.Process.process, ora::EmptyMapping.process(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.process(), and edm::ProductHolderIndexHelper::Item.process().

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

531  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 595 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.doNotInlineEventContent().

596  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 285 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.doNotInlineEventContent(), ConfigBuilder.ConfigBuilder.prepare_ALCAHARVEST(), ConfigBuilder.ConfigBuilder.prepare_DIGI(), ConfigBuilder.ConfigBuilder.prepare_FASTSIM(), ConfigBuilder.ConfigBuilder.prepare_HLT(), and ConfigBuilder.ConfigBuilder.prepare_VALIDATION().

286  def executeAndRemember(self, command):
287  """helper routine to remember replace statements"""
288  self.additionalCommands.append(command)
289  if not command.strip().startswith("#"):
290  # substitute: process.foo = process.bar -> self.process.foo = self.process.bar
291  import re
292  exec(re.sub(r"([^a-zA-Z_0-9]|^)(process)([^a-zA-Z_0-9])",r"\1self.process\3",command))
293  #exec(command.replace("process.","self.process."))
def ConfigBuilder.ConfigBuilder.expandMapping (   self,
  seqList,
  mapping,
  index = None 
)

Definition at line 1744 of file ConfigBuilder.py.

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

1745  def expandMapping(self,seqList,mapping,index=None):
1746  maxLevel=20
1747  level=0
1748  while '@' in repr(seqList) and level<maxLevel:
1749  level+=1
1750  for specifiedCommand in seqList:
1751  if specifiedCommand.startswith('@'):
1752  location=specifiedCommand[1:]
1753  if not location in mapping:
1754  raise Exception("Impossible to map "+location+" from "+repr(mapping))
1755  mappedTo=mapping[location]
1756  if index!=None:
1757  mappedTo=mappedTo[index]
1758  seqList.remove(specifiedCommand)
1759  seqList.extend(mappedTo.split('+'))
1760  break;
1761  if level==maxLevel:
1762  raise Exception("Could not fully expand "+repr(seqList)+" from "+repr(mapping))
def ConfigBuilder.ConfigBuilder.filesFromOption (   self)

Definition at line 333 of file ConfigBuilder.py.

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

334  def filesFromOption(self):
335  for entry in self._options.filein.split(','):
336  print "entry",entry
337  if entry.startswith("filelist:"):
338  filesFromList(entry[9:],self.process.source)
339  elif entry.startswith("dbs:") or entry.startswith("das:"):
340  filesFromDASQuery('file dataset = %s'%(entry[4:]),self.process.source)
341  else:
342  self.process.source.fileNames.append(self._options.dirin+entry)
343  if self._options.secondfilein:
344  if not hasattr(self.process.source,"secondaryFileNames"):
345  raise Exception("--secondfilein not compatible with "+self._options.filetype+"input type")
346  for entry in self._options.secondfilein.split(','):
347  print "entry",entry
348  if entry.startswith("filelist:"):
349  self.process.source.secondaryFileNames.extend((filesFromList(entry[9:]))[0])
350  elif entry.startswith("dbs:") or entry.startswith("das:"):
351  self.process.source.secondaryFileNames.extend((filesFromDASQuery('file dataset = %s'%(entry[4:])))[0])
352  else:
353  self.process.source.secondaryFileNames.append(self._options.dirin+entry)
354 
355  if self._options.filein or self._options.dasquery:
356  if self._options.filetype == "EDM":
357  self.process.source=cms.Source("PoolSource",
358  fileNames = cms.untracked.vstring(),
359  secondaryFileNames= cms.untracked.vstring())
360  filesFromOption(self)
361  elif self._options.filetype == "DAT":
362  self.process.source=cms.Source("NewEventStreamFileReader",fileNames = cms.untracked.vstring())
363  filesFromOption(self)
364  elif self._options.filetype == "LHE":
365  self.process.source=cms.Source("LHESource", fileNames = cms.untracked.vstring())
366  if self._options.filein.startswith("lhe:"):
367  #list the article directory automatically
368  args=self._options.filein.split(':')
369  article=args[1]
370  print 'LHE input from article ',article
371  location='/store/lhe/'
372  import os
373  textOfFiles=os.popen('cmsLHEtoEOSManager.py -l '+article)
374  for line in textOfFiles:
375  for fileName in [x for x in line.split() if '.lhe' in x]:
376  self.process.source.fileNames.append(location+article+'/'+fileName)
377  if len(args)>2:
378  self.process.source.skipEvents = cms.untracked.uint32(int(args[2]))
379  else:
380  filesFromOption(self)
381 
382 
383  elif self._options.filetype == "DQM":
384  self.process.source=cms.Source("DQMRootSource",
385  fileNames = cms.untracked.vstring())
386  filesFromOption(self)
387 
388  if ('HARVESTING' in self.stepMap.keys() or 'ALCAHARVEST' in self.stepMap.keys()) and (not self._options.filetype == "DQM"):
389  self.process.source.processingMode = cms.untracked.string("RunsAndLumis")
def ConfigBuilder.ConfigBuilder.finalizeFastSimHLT (   self)

Definition at line 1855 of file ConfigBuilder.py.

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

1856  def finalizeFastSimHLT(self):
1857  self.process.reconstruction = cms.Path(self.process.reconstructionWithFamos)
1858  self.schedule.append(self.process.reconstruction)
def ConfigBuilder.ConfigBuilder.inGeometryKeys (   opt)

Definition at line 972 of file ConfigBuilder.py.

References split.

973  def inGeometryKeys(opt):
974  from Configuration.StandardSequences.GeometryConf import GeometryConf
975  if opt in GeometryConf:
976  return GeometryConf[opt]
977  else:
978  return opt
def ConfigBuilder.ConfigBuilder.load (   self,
  includeFile 
)

Definition at line 271 of file ConfigBuilder.py.

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

272  def load(self,includeFile):
273  includeFile = includeFile.replace('/','.')
274  self.process.load(includeFile)
275  return sys.modules[includeFile]
def ConfigBuilder.ConfigBuilder.loadAndRemember (   self,
  includeFile 
)
helper routine to load am memorize imports

Definition at line 276 of file ConfigBuilder.py.

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

277  def loadAndRemember(self, includeFile):
278  """helper routine to load am memorize imports"""
279  # we could make the imports a on-the-fly data method of the process instance itself
280  # not sure if the latter is a good idea
281  includeFile = includeFile.replace('/','.')
282  self.imports.append(includeFile)
283  self.process.load(includeFile)
284  return sys.modules[includeFile]
def ConfigBuilder.ConfigBuilder.loadDefaultOrSpecifiedCFF (   self,
  sequence,
  defaultCFF 
)

Definition at line 1116 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.loadAndRemember().

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

1117  def loadDefaultOrSpecifiedCFF(self, sequence,defaultCFF):
1118  if ( len(sequence.split('.'))==1 ):
1119  l=self.loadAndRemember(defaultCFF)
1120  elif ( len(sequence.split('.'))==2 ):
1121  l=self.loadAndRemember(sequence.split('.')[0])
1122  sequence=sequence.split('.')[1]
1123  else:
1124  print "sub sequence configuration must be of the form dir/subdir/cff.a+b+c or cff.a"
1125  print sequence,"not recognized"
1126  raise
1127  return l
def ConfigBuilder.ConfigBuilder.prepare (   self,
  doChecking = False 
)
Prepare the configuration string and add missing pieces.

Definition at line 1943 of file ConfigBuilder.py.

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

1944  def prepare(self, doChecking = False):
1945  """ Prepare the configuration string and add missing pieces."""
1946 
1947  self.loadAndRemember(self.EVTCONTDefaultCFF) #load the event contents regardless
1948  self.addMaxEvents()
1949  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 1163 of file ConfigBuilder.py.

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

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

1164  def prepare_ALCA(self, sequence = None, workflow = 'full'):
1165  """ Enrich the process with alca streams """
1166  alcaConfig=self.loadDefaultOrSpecifiedCFF(sequence,self.ALCADefaultCFF)
1167  sequence = sequence.split('.')[-1]
1168 
1169  # 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 1826 of file ConfigBuilder.py.

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

1827  def prepare_ALCAHARVEST(self, sequence = None):
1828  """ Enrich the process with AlCaHarvesting step """
1829  harvestingConfig = self.loadAndRemember(self.ALCAHARVESTDefaultCFF)
1830  sequence=sequence.split(".")[-1]
1831 
1832  # decide which AlcaHARVESTING paths to use
1833  harvestingList = sequence.split("+")
1834  for name in harvestingConfig.__dict__:
1835  harvestingstream = getattr(harvestingConfig,name)
1836  if name in harvestingList and isinstance(harvestingstream,cms.Path):
1837  self.schedule.append(harvestingstream)
1838  self.executeAndRemember("process.PoolDBOutputService.toPut.append(process.ALCAHARVEST" + name + "_dbOutput)")
1839  self.executeAndRemember("process.pclMetadataWriter.recordsToMap.append(process.ALCAHARVEST" + name + "_metadata)")
harvestingList.remove(name)
def ConfigBuilder.ConfigBuilder.prepare_ALCAOUTPUT (   self,
  sequence = None 
)

Definition at line 1160 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.prepare_ALCA().

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

Definition at line 1157 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.prepare_ALCA().

1158  def prepare_ALCAPRODUCER(self, sequence = None):
1159  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 1361 of file ConfigBuilder.py.

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

1362  def prepare_CFWRITER(self, sequence = None):
1363  """ Enrich the schedule with the crossing frame writer step"""
1364  self.loadAndRemember(self.CFWRITERDefaultCFF)
1365  self.scheduleSequence('pcfw','cfwriter_step')
1366  return
def ConfigBuilder.ConfigBuilder.prepare_DATAMIX (   self,
  sequence = None 
)
Enrich the schedule with the digitisation step

Definition at line 1367 of file ConfigBuilder.py.

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

1368  def prepare_DATAMIX(self, sequence = None):
1369  """ Enrich the schedule with the digitisation step"""
1370  self.loadAndRemember(self.DATAMIXDefaultCFF)
1371  self.scheduleSequence('pdatamix','datamixing_step')
1372  return
def ConfigBuilder.ConfigBuilder.prepare_DIGI (   self,
  sequence = None 
)
Enrich the schedule with the digitisation step

Definition at line 1345 of file ConfigBuilder.py.

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

1346  def prepare_DIGI(self, sequence = None):
1347  """ Enrich the schedule with the digitisation step"""
1348  self.loadDefaultOrSpecifiedCFF(sequence,self.DIGIDefaultCFF)
1349 
1350  if self._options.gflash==True:
1351  self.loadAndRemember("Configuration/StandardSequences/GFlashDIGI_cff")
1352 
1353  if self._options.himix==True:
1354  self.loadAndRemember("SimGeneral/MixingModule/himixDIGI_cff")
1355 
1356  if sequence == 'pdigi_valid':
1357  self.executeAndRemember("process.mix.digitizers = cms.PSet(process.theDigitizersValid)")
def ConfigBuilder.ConfigBuilder.prepare_DIGI2RAW (   self,
  sequence = None 
)

Definition at line 1373 of file ConfigBuilder.py.

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

1374  def prepare_DIGI2RAW(self, sequence = None):
1375  self.loadDefaultOrSpecifiedCFF(sequence,self.DIGI2RAWDefaultCFF)
1376  self.scheduleSequence(sequence.split('.')[-1],'digi2raw_step')
1377  return
def ConfigBuilder.ConfigBuilder.prepare_DQM (   self,
  sequence = 'DQMOffline' 
)

Definition at line 1763 of file ConfigBuilder.py.

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

1764  def prepare_DQM(self, sequence = 'DQMOffline'):
1765  # this one needs replacement
1766 
1767  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 1545 of file ConfigBuilder.py.

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

Definition at line 1850 of file ConfigBuilder.py.

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

1851  def prepare_ENDJOB(self, sequence = 'endOfProcess'):
1852  self.loadDefaultOrSpecifiedCFF(sequence,self.ENDJOBDefaultCFF)
1853  self.scheduleSequenceAtEnd(sequence.split('.')[-1],'endjob_step')
1854  return
def ConfigBuilder.ConfigBuilder.prepare_FASTSIM (   self,
  sequence = "all" 
)
Enrich the schedule with fastsim

Definition at line 1859 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.executeAndRemember(), ConfigBuilder.ConfigBuilder.finalizeFastSimHLT(), ConfigBuilder.ConfigBuilder.loadAndRemember(), ConfigBuilder.ConfigBuilder.prepare_HLT(), DTTTrigProd.DTTTrigProd.process, helper::NullPostProcessor< reco::CandidateCollection >.process(), helper::NullPostProcessor< typename::helper::SelectedOutputCollectionTrait< reco::TrackCollection >::type >.process(), NullPostProcessor< OutputCollection >.process(), helper::NullPostProcessor< OutputCollection >.process(), HcalHitRelabeller.process(), DTDQMMerge.DTDQMMerge.process, DTValidSummary.DTValidSummary.process, DTDqm.DTDqm.process, DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.process, DTAnalysisResiduals.DTAnalysisResiduals.process, DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.process, DTDQMHarvesting.DTDQMHarvesting.process, DTNoiseCalibration.DTNoiseCalibration.process, DTResidualCalibration.DTResidualCalibration.process, tfwliteselectortest::ThingsWorker.process(), clangcms::CatchAll.process(), DummyUpdator.process(), DTTTrigValid.DTTTrigValid.process, DTDQMValidation.DTDQMValidation.process, CSCTFDTReceiver.process(), EcalFenixTcpsFgvbEB.process(), EcalFenixBypassLin.process(), EcalFenixPeakFinder.process(), tfwliteselectortest::ThingsTSelector.process(), EcalFenixMaxof2.process(), SingleTrajectoryUpdator.process(), examples::TrackAnalysisAlgorithm.process(), TTULogic.process(), CSCTFMonitorInterface.process(), PFPileUpAlgo.process(), RBCLogic.process(), TTUWedgeORLogic.process(), CSCMonitorInterface.process(), EcalFenixEtStrip.process(), npstat::AbsVisitor< Input, Result >.process(), RBCPatternLogic.process(), TTUSectorORLogic.process(), npstat::AbsVisitor< Input, unsigned long >.process(), KalmanAlignmentUpdator.process(), EcalFenixTcpFormat.process(), npstat::AbsArrayProjector< Input, Result >.process(), HcalCableMapper.process(), DTT0DBValidation.DTT0DBValidation.process, BTagDifferentialPlot.process(), EcalFenixAmplitudeFilter.process(), __class__Worker.process(), EcalFenixStripFormatEE.process(), DTVDriftMeanTimerWriter.DTVDriftMeanTimerWriter.process, DTVDriftSegmentWriter.DTVDriftSegmentWriter.process, EcalFenixStripFormatEB.process(), RBCTestLogic.process(), TTUPointingLogic.process(), EcalFenixEtTot.process(), DTTTrigResidualCorr.DTTTrigResidualCorr.process, ora::IRelationalMapping.process(), TTUTwoORLogic.process(), EnergyLossPlain.process(), HcalSimpleReconstructor.process(), EcalFenixStripFgvbEE.process(), edm::ELextendedID.process, EcalFenixTcpFgvbEE.process(), TTUTrackingAlg.process(), RBCChamberORLogic.process(), DTTTrigCorrFirst.DTTTrigCorrFirst.process, EcalFenixFgvbEB.process(), L1GctEmLeafCard.process(), L1GctNullJetFinder.process(), L1GctSimpleJetFinder.process(), SiStripClusterToDigiProducer.process(), EcalFenixLinearizer.process(), L1GctHardwareJetFinder.process(), DTTTrigTimeBoxesWriter.DTTTrigTimeBoxesWriter.process, L1GctJetFinalStage.process(), RPCWheel.process(), L1GctProcessor.process(), TTUConfigurator.process(), npstat::VisitCounter< Input >.process(), L1GctGlobalHfSumAlgos.process(), edm::InputTag.process(), L1GctElectronFinalSort.process(), ora::PrimitiveMapping.process(), EgammaHLTPixelMatchElectronAlgo.process(), PFTauElecRejectionBenchmark.process(), PFMETBenchmark.process(), L1Comparator.process(), PFJetBenchmark.process(), KDTreeLinkerBase.process(), L1GctWheelEnergyFpga.process(), L1GctWheelJetFpga.process(), cscdqm::HWStandbyType.process, edm::EDConsumerBase::Labels.process, evf::FUResource.process(), ora::BlobMapping.process(), L1GctElectronSorter.process(), L1GctGlobalEnergyAlgos.process(), HLTTrackClusterRemover.process(), L1GctTdrJetFinder.process(), TFWLiteSelectorBasic.process(), DTTFFEDReader.process(), fwlite::internal::DataKey.process(), L1GctJetLeafCard.process(), SeedClusterRemover.process(), L1GlobalCaloTrigger.process(), TFWLiteSelector< ThingsWorker >.process(), TFWLiteSelector< TrackAnalysisAlgorithm >.process(), TFWLiteSelector< TWorker >.process(), TFWLiteSelector< __class__Worker >.process(), TrackClusterRemover.process(), ora::OraReferenceMapping.process(), EcalFenixTcp.process(), TestOutliers.process, HTTP.RequestManager.process(), ora::UniqueReferenceMapping.process(), lhef::LHERunInfo::Process.process, EcalFenixStrip.process(), ora::OraPtrMapping.process(), edm::service::ELtsErrorLog.process, CaloTowersCreationAlgo.process(), ora::NamedRefMapping.process(), ora::ArrayMapping.process(), edm::service::ELadministrator.process(), JetTagMVAExtractor.process(), EgammaHLTValidationUtils.EgammaDQMModuleMaker.process, ora::CArrayMapping.process(), L1GctJetFinderBase.process(), ora::ObjectMapping.process(), Config.Process.process, ora::EmptyMapping.process(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.process(), and edm::ProductHolderIndexHelper::Item.process().

1860  def prepare_FASTSIM(self, sequence = "all"):
1861  """Enrich the schedule with fastsim"""
1862  self.loadAndRemember("FastSimulation/Configuration/FamosSequences_cff")
1863 
1864  if sequence in ('all','allWithHLTFiltering',''):
1865  if not 'HLT' in self.stepMap.keys():
1866  self.prepare_HLT(sequence=None)
1867 
1868  self.executeAndRemember("process.famosSimHits.SimulateCalorimetry = True")
1869  self.executeAndRemember("process.famosSimHits.SimulateTracking = True")
1870 
1871  self.executeAndRemember("process.simulation = cms.Sequence(process.simulationWithFamos)")
1872  self.executeAndRemember("process.HLTEndSequence = cms.Sequence(process.reconstructionWithFamos)")
1873 
1874  # since we have HLT here, the process should be called HLT
1875  self._options.name = "HLT"
1876 
1877  # if we don't want to filter after HLT but simulate everything regardless of what HLT tells, we have to add reconstruction explicitly
1878  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 1507 of file ConfigBuilder.py.

1508  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 1235 of file ConfigBuilder.py.

1236  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 1793 of file ConfigBuilder.py.

1794  def prepare_HARVESTING(self, sequence = None):
1795  """ Enrich the process with harvesting step """
1796  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 1408 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.executeAndRemember(), ConfigBuilder.ConfigBuilder.finalizeFastSimHLT(), join(), ConfigBuilder.ConfigBuilder.loadAndRemember(), DTTTrigProd.DTTTrigProd.process, helper::NullPostProcessor< OutputCollection >.process(), helper::NullPostProcessor< typename::helper::SelectedOutputCollectionTrait< reco::TrackCollection >::type >.process(), NullPostProcessor< OutputCollection >.process(), helper::NullPostProcessor< reco::CandidateCollection >.process(), HcalHitRelabeller.process(), DTValidSummary.DTValidSummary.process, DTDqm.DTDqm.process, DTDQMMerge.DTDQMMerge.process, DTAnalysisResiduals.DTAnalysisResiduals.process, DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.process, DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.process, DTDQMHarvesting.DTDQMHarvesting.process, DTNoiseCalibration.DTNoiseCalibration.process, DTResidualCalibration.DTResidualCalibration.process, tfwliteselectortest::ThingsWorker.process(), DTTTrigValid.DTTTrigValid.process, DTDQMValidation.DTDQMValidation.process, DummyUpdator.process(), clangcms::CatchAll.process(), CSCTFDTReceiver.process(), EcalFenixTcpsFgvbEB.process(), EcalFenixBypassLin.process(), EcalFenixPeakFinder.process(), tfwliteselectortest::ThingsTSelector.process(), EcalFenixMaxof2.process(), SingleTrajectoryUpdator.process(), examples::TrackAnalysisAlgorithm.process(), TTULogic.process(), CSCTFMonitorInterface.process(), PFPileUpAlgo.process(), RBCLogic.process(), TTUWedgeORLogic.process(), CSCMonitorInterface.process(), EcalFenixEtStrip.process(), npstat::AbsVisitor< Input, Result >.process(), npstat::AbsVisitor< Input, unsigned long >.process(), RBCPatternLogic.process(), TTUSectorORLogic.process(), EcalFenixTcpFormat.process(), KalmanAlignmentUpdator.process(), npstat::AbsArrayProjector< Input, Result >.process(), HcalCableMapper.process(), DTT0DBValidation.DTT0DBValidation.process, BTagDifferentialPlot.process(), EcalFenixAmplitudeFilter.process(), __class__Worker.process(), EcalFenixStripFormatEE.process(), DTVDriftMeanTimerWriter.DTVDriftMeanTimerWriter.process, DTVDriftSegmentWriter.DTVDriftSegmentWriter.process, EcalFenixStripFormatEB.process(), RBCTestLogic.process(), TTUPointingLogic.process(), EcalFenixEtTot.process(), DTTTrigResidualCorr.DTTTrigResidualCorr.process, ora::IRelationalMapping.process(), TTUTwoORLogic.process(), EnergyLossPlain.process(), HcalSimpleReconstructor.process(), EcalFenixStripFgvbEE.process(), edm::ELextendedID.process, EcalFenixTcpFgvbEE.process(), RBCChamberORLogic.process(), TTUTrackingAlg.process(), DTTTrigCorrFirst.DTTTrigCorrFirst.process, EcalFenixFgvbEB.process(), L1GctEmLeafCard.process(), L1GctNullJetFinder.process(), L1GctSimpleJetFinder.process(), SiStripClusterToDigiProducer.process(), EcalFenixLinearizer.process(), L1GctHardwareJetFinder.process(), DTTTrigTimeBoxesWriter.DTTTrigTimeBoxesWriter.process, L1GctJetFinalStage.process(), L1GctProcessor.process(), RPCWheel.process(), TTUConfigurator.process(), npstat::VisitCounter< Input >.process(), L1GctGlobalHfSumAlgos.process(), edm::InputTag.process(), L1GctElectronFinalSort.process(), ora::PrimitiveMapping.process(), EgammaHLTPixelMatchElectronAlgo.process(), PFMETBenchmark.process(), PFTauElecRejectionBenchmark.process(), L1Comparator.process(), PFJetBenchmark.process(), KDTreeLinkerBase.process(), L1GctWheelEnergyFpga.process(), L1GctWheelJetFpga.process(), cscdqm::HWStandbyType.process, edm::EDConsumerBase::Labels.process, evf::FUResource.process(), ora::BlobMapping.process(), L1GctGlobalEnergyAlgos.process(), L1GctElectronSorter.process(), HLTTrackClusterRemover.process(), TFWLiteSelectorBasic.process(), L1GctTdrJetFinder.process(), DTTFFEDReader.process(), fwlite::internal::DataKey.process(), L1GctJetLeafCard.process(), SeedClusterRemover.process(), L1GlobalCaloTrigger.process(), TFWLiteSelector< TWorker >.process(), TFWLiteSelector< TrackAnalysisAlgorithm >.process(), TrackClusterRemover.process(), TFWLiteSelector< __class__Worker >.process(), TFWLiteSelector< ThingsWorker >.process(), ora::OraReferenceMapping.process(), EcalFenixTcp.process(), TestOutliers.process, HTTP.RequestManager.process(), ora::UniqueReferenceMapping.process(), lhef::LHERunInfo::Process.process, EcalFenixStrip.process(), ora::OraPtrMapping.process(), edm::service::ELtsErrorLog.process, CaloTowersCreationAlgo.process(), ora::NamedRefMapping.process(), ora::ArrayMapping.process(), edm::service::ELadministrator.process(), JetTagMVAExtractor.process(), EgammaHLTValidationUtils.EgammaDQMModuleMaker.process, ora::CArrayMapping.process(), L1GctJetFinderBase.process(), ora::ObjectMapping.process(), Config.Process.process, ora::EmptyMapping.process(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.process(), edm::ProductHolderIndexHelper::Item.process(), and CustomConfigs.ProcessName().

Referenced by ConfigBuilder.ConfigBuilder.prepare_FASTSIM().

1409  def prepare_HLT(self, sequence = None):
1410  """ Enrich the schedule with the HLT simulation step"""
1411  if not sequence:
1412  print "no specification of the hlt menu has been given, should never happen"
1413  raise Exception('no HLT sequence provided')
1414 
1415  if '@' in sequence:
1416  # case where HLT:@something was provided
1417  from Configuration.HLT.autoHLT import autoHLT
1418  key = sequence[1:]
1419  if key in autoHLT:
1420  sequence = autoHLT[key]
1421  else:
1422  raise ValueError('no HLT mapping key "%s" found in autoHLT' % key)
1423 
1424  if ',' in sequence:
1425  #case where HLT:something:something was provided
1426  self.executeAndRemember('import HLTrigger.Configuration.Utilities')
1427  optionsForHLT = {}
1428  if self._options.scenario == 'HeavyIons':
1429  optionsForHLT['type'] = 'HIon'
1430  else:
1431  optionsForHLT['type'] = 'GRun'
1432  optionsForHLTConfig = ', '.join('%s=%s' % (key, repr(val)) for (key, val) in optionsForHLT.iteritems())
1433  if sequence == 'run,fromSource':
1434  if hasattr(self.process.source,'firstRun'):
1435  self.executeAndRemember('process.loadHltConfiguration("run:%%d"%%(process.source.firstRun.value()),%s)'%(optionsForHLTConfig))
1436  elif hasattr(self.process.source,'setRunNumber'):
1437  self.executeAndRemember('process.loadHltConfiguration("run:%%d"%%(process.source.setRunNumber.value()),%s)'%(optionsForHLTConfig))
1438  else:
1439  raise Exception('Cannot replace menu to load %s'%(sequence))
1440  else:
1441  self.executeAndRemember('process.loadHltConfiguration("%s",%s)'%(sequence.replace(',',':'),optionsForHLTConfig))
1442  else:
1443  if self._options.fast:
1444  self.loadAndRemember('HLTrigger/Configuration/HLT_%s_Famos_cff' % sequence)
1445  else:
1446  self.loadAndRemember('HLTrigger/Configuration/HLT_%s_cff' % sequence)
1447 
1448  if self._options.isMC:
1449  self._options.customisation_file+=",HLTrigger/Configuration/customizeHLTforMC.customizeHLTforMC"
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 1383 of file ConfigBuilder.py.

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

1384  def prepare_L1(self, sequence = None):
1385  """ Enrich the schedule with the L1 simulation step"""
1386  if not sequence:
1387  self.loadAndRemember(self.L1EMDefaultCFF)
1388  else:
1389  # let the L1 package decide for the scenarios available
1390  from L1Trigger.Configuration.ConfigBuilder import getConfigsForScenario
1391  listOfImports = getConfigsForScenario(sequence)
1392  for file in listOfImports:
1393  self.loadAndRemember(file)
1394  self.scheduleSequence('SimL1Emulator','L1simulation_step')
1395  return
def getConfigsForScenario
def ConfigBuilder.ConfigBuilder.prepare_L1HwVal (   self,
  sequence = 'L1HwVal' 
)
Enrich the schedule with L1 HW validation 

Definition at line 1488 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.loadDefaultOrSpecifiedCFF().

1489  def prepare_L1HwVal(self, sequence = 'L1HwVal'):
1490  ''' 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 1495 of file ConfigBuilder.py.

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

1496  def prepare_L1Reco(self, sequence = "L1Reco"):
1497  ''' 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 1396 of file ConfigBuilder.py.

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

1397  def prepare_L1REPACK(self, sequence = None):
1398  """ 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"""
1399  if sequence is not 'GT':
1400  print 'Running the full L1 emulator is not supported yet'
1401  raise Exception('unsupported feature')
1402  if sequence is 'GT':
1403  self.loadAndRemember('Configuration/StandardSequences/SimL1EmulatorRepack_GT_cff')
1404  if self._options.scenario == 'HeavyIons':
1405  self.renameInputTagsInSequence("SimL1Emulator","rawDataCollector","rawDataRepacker")
1406  self.scheduleSequence('SimL1Emulator','L1simulation_step')
1407 
def ConfigBuilder.ConfigBuilder.prepare_L1TrackTrigger (   self,
  sequence = "L1TrackTrigger" 
)
Enrich the schedule with L1 reconstruction 

Definition at line 1501 of file ConfigBuilder.py.

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

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

Definition at line 1219 of file ConfigBuilder.py.

References DTTTrigProd.DTTTrigProd.process, helper::NullPostProcessor< OutputCollection >.process(), NullPostProcessor< OutputCollection >.process(), HcalHitRelabeller.process(), helper::NullPostProcessor< reco::CandidateCollection >.process(), helper::NullPostProcessor< typename::helper::SelectedOutputCollectionTrait< reco::TrackCollection >::type >.process(), DTDqm.DTDqm.process, DTDQMMerge.DTDQMMerge.process, DTValidSummary.DTValidSummary.process, DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.process, DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.process, DTDQMHarvesting.DTDQMHarvesting.process, DTAnalysisResiduals.DTAnalysisResiduals.process, DTResidualCalibration.DTResidualCalibration.process, tfwliteselectortest::ThingsWorker.process(), DTNoiseCalibration.DTNoiseCalibration.process, DTDQMValidation.DTDQMValidation.process, DTTTrigValid.DTTTrigValid.process, DummyUpdator.process(), clangcms::CatchAll.process(), CSCTFDTReceiver.process(), EcalFenixTcpsFgvbEB.process(), EcalFenixBypassLin.process(), EcalFenixPeakFinder.process(), tfwliteselectortest::ThingsTSelector.process(), EcalFenixMaxof2.process(), examples::TrackAnalysisAlgorithm.process(), SingleTrajectoryUpdator.process(), TTULogic.process(), CSCTFMonitorInterface.process(), PFPileUpAlgo.process(), RBCLogic.process(), TTUWedgeORLogic.process(), CSCMonitorInterface.process(), EcalFenixEtStrip.process(), npstat::AbsVisitor< Input, unsigned long >.process(), RBCPatternLogic.process(), EcalFenixTcpFormat.process(), TTUSectorORLogic.process(), KalmanAlignmentUpdator.process(), npstat::AbsVisitor< Input, Result >.process(), npstat::AbsArrayProjector< Input, Result >.process(), HcalCableMapper.process(), DTT0DBValidation.DTT0DBValidation.process, BTagDifferentialPlot.process(), EcalFenixAmplitudeFilter.process(), __class__Worker.process(), EcalFenixStripFormatEE.process(), DTVDriftMeanTimerWriter.DTVDriftMeanTimerWriter.process, DTVDriftSegmentWriter.DTVDriftSegmentWriter.process, EcalFenixStripFormatEB.process(), RBCTestLogic.process(), TTUPointingLogic.process(), EcalFenixEtTot.process(), ora::IRelationalMapping.process(), DTTTrigResidualCorr.DTTTrigResidualCorr.process, TTUTwoORLogic.process(), EnergyLossPlain.process(), HcalSimpleReconstructor.process(), EcalFenixStripFgvbEE.process(), edm::ELextendedID.process, EcalFenixTcpFgvbEE.process(), DTTTrigCorrFirst.DTTTrigCorrFirst.process, RBCChamberORLogic.process(), TTUTrackingAlg.process(), EcalFenixFgvbEB.process(), L1GctEmLeafCard.process(), L1GctNullJetFinder.process(), L1GctSimpleJetFinder.process(), EcalFenixLinearizer.process(), SiStripClusterToDigiProducer.process(), L1GctHardwareJetFinder.process(), DTTTrigTimeBoxesWriter.DTTTrigTimeBoxesWriter.process, L1GctJetFinalStage.process(), L1GctProcessor.process(), RPCWheel.process(), TTUConfigurator.process(), L1GctGlobalHfSumAlgos.process(), npstat::VisitCounter< Input >.process(), edm::InputTag.process(), L1GctElectronFinalSort.process(), ora::PrimitiveMapping.process(), EgammaHLTPixelMatchElectronAlgo.process(), PFMETBenchmark.process(), PFTauElecRejectionBenchmark.process(), L1Comparator.process(), KDTreeLinkerBase.process(), PFJetBenchmark.process(), L1GctWheelEnergyFpga.process(), L1GctWheelJetFpga.process(), cscdqm::HWStandbyType.process, edm::EDConsumerBase::Labels.process, evf::FUResource.process(), ora::BlobMapping.process(), L1GctElectronSorter.process(), L1GctGlobalEnergyAlgos.process(), HLTTrackClusterRemover.process(), L1GctTdrJetFinder.process(), DTTFFEDReader.process(), TFWLiteSelectorBasic.process(), fwlite::internal::DataKey.process(), L1GctJetLeafCard.process(), SeedClusterRemover.process(), L1GlobalCaloTrigger.process(), TFWLiteSelector< ThingsWorker >.process(), TFWLiteSelector< TWorker >.process(), TFWLiteSelector< __class__Worker >.process(), TFWLiteSelector< TrackAnalysisAlgorithm >.process(), TrackClusterRemover.process(), ora::OraReferenceMapping.process(), EcalFenixTcp.process(), TestOutliers.process, HTTP.RequestManager.process(), ora::UniqueReferenceMapping.process(), lhef::LHERunInfo::Process.process, EcalFenixStrip.process(), ora::OraPtrMapping.process(), edm::service::ELtsErrorLog.process, CaloTowersCreationAlgo.process(), ora::NamedRefMapping.process(), ora::ArrayMapping.process(), edm::service::ELadministrator.process(), JetTagMVAExtractor.process(), EgammaHLTValidationUtils.EgammaDQMModuleMaker.process, ora::CArrayMapping.process(), L1GctJetFinderBase.process(), ora::ObjectMapping.process(), Config.Process.process, ora::EmptyMapping.process(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.process(), edm::ProductHolderIndexHelper::Item.process(), and linker.replace().

1220  def prepare_LHE(self, sequence = None):
1221  #load the fragment
1222  ##make it loadable
1223  loadFragment = self._options.evt_type.replace('.py','',).replace('.','_').replace('python/','').replace('/','.')
1224  print "Loading lhe fragment from",loadFragment
1225  __import__(loadFragment)
1226  self.process.load(loadFragment)
1227  ##inline the modules
1228  self._options.inlineObjets+=','+sequence
1229 
1230  getattr(self.process,sequence).nEvents = int(self._options.number)
1231 
1232  #schedule it
1233  self.process.lhe_step = cms.Path( getattr( self.process,sequence) )
1234  self.schedule.append( self.process.lhe_step )
def replace
Definition: linker.py:10
def ConfigBuilder.ConfigBuilder.prepare_POSTRECO (   self,
  sequence = None 
)
Enrich the schedule with the postreco step 

Definition at line 1607 of file ConfigBuilder.py.

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

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

Definition at line 1481 of file ConfigBuilder.py.

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

Referenced by ConfigBuilder.ConfigBuilder.prepare_RAW2RECO().

1482  def prepare_RAW2DIGI(self, sequence = "RawToDigi"):
1483  self.loadDefaultOrSpecifiedCFF(sequence,self.RAW2DIGIDefaultCFF)
1484  self.scheduleSequence(sequence,'raw2digi_step')
1485  # if self._options.isRepacked:
1486  #self.renameInputTagsInSequence(sequence)
1487  return
def ConfigBuilder.ConfigBuilder.prepare_RAW2RECO (   self,
  sequence = None 
)

Definition at line 1470 of file ConfigBuilder.py.

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

1471  def prepare_RAW2RECO(self, sequence = None):
1472  if ','in sequence:
1473  seqReco=sequence.split(',')[1]
1474  seqDigi=sequence.split(',')[0]
1475  else:
1476  print "RAW2RECO requires two specifications",sequence,"insufficient"
1477 
1478  self.prepare_RAW2DIGI(seqDigi)
1479  self.prepare_RECO(seqReco)
1480  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 1539 of file ConfigBuilder.py.

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

Referenced by ConfigBuilder.ConfigBuilder.prepare_RAW2RECO().

1540  def prepare_RECO(self, sequence = "reconstruction"):
1541  ''' Enrich the schedule with reconstruction '''
self.loadDefaultOrSpecifiedCFF(sequence,self.RECODefaultCFF)
def prepare_RECO
put the filtering path in the schedule
def ConfigBuilder.ConfigBuilder.prepare_REPACK (   self,
  sequence = None 
)

Definition at line 1378 of file ConfigBuilder.py.

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

1379  def prepare_REPACK(self, sequence = None):
1380  self.loadDefaultOrSpecifiedCFF(sequence,self.REPACKDefaultCFF)
1381  self.scheduleSequence(sequence.split('.')[-1],'digi2repack_step')
1382  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 1311 of file ConfigBuilder.py.

1312  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 1557 of file ConfigBuilder.py.

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

1558  def prepare_SKIM(self, sequence = "all"):
1559  ''' Enrich the schedule with skimming fragments'''
1560  skimConfig = self.loadDefaultOrSpecifiedCFF(sequence,self.SKIMDefaultCFF)
1561  sequence = sequence.split('.')[-1]
1562 
1563  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 1601 of file ConfigBuilder.py.

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

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

Definition at line 1614 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.executeAndRemember(), ConfigBuilder.ConfigBuilder.loadDefaultOrSpecifiedCFF(), DTTTrigProd.DTTTrigProd.process, helper::NullPostProcessor< OutputCollection >.process(), NullPostProcessor< OutputCollection >.process(), HcalHitRelabeller.process(), helper::NullPostProcessor< reco::CandidateCollection >.process(), helper::NullPostProcessor< typename::helper::SelectedOutputCollectionTrait< reco::TrackCollection >::type >.process(), DTDQMMerge.DTDQMMerge.process, DTDqm.DTDqm.process, DTValidSummary.DTValidSummary.process, DTDQMHarvesting.DTDQMHarvesting.process, DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.process, DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.process, DTAnalysisResiduals.DTAnalysisResiduals.process, DTResidualCalibration.DTResidualCalibration.process, tfwliteselectortest::ThingsWorker.process(), DTNoiseCalibration.DTNoiseCalibration.process, DTDQMValidation.DTDQMValidation.process, DTTTrigValid.DTTTrigValid.process, DummyUpdator.process(), clangcms::CatchAll.process(), CSCTFDTReceiver.process(), EcalFenixTcpsFgvbEB.process(), EcalFenixBypassLin.process(), EcalFenixPeakFinder.process(), tfwliteselectortest::ThingsTSelector.process(), EcalFenixMaxof2.process(), examples::TrackAnalysisAlgorithm.process(), SingleTrajectoryUpdator.process(), TTULogic.process(), CSCTFMonitorInterface.process(), PFPileUpAlgo.process(), RBCLogic.process(), TTUWedgeORLogic.process(), CSCMonitorInterface.process(), EcalFenixEtStrip.process(), EcalFenixTcpFormat.process(), npstat::AbsVisitor< Input, unsigned long >.process(), RBCPatternLogic.process(), TTUSectorORLogic.process(), KalmanAlignmentUpdator.process(), npstat::AbsVisitor< Input, Result >.process(), DTT0DBValidation.DTT0DBValidation.process, npstat::AbsArrayProjector< Input, Result >.process(), BTagDifferentialPlot.process(), EcalFenixAmplitudeFilter.process(), __class__Worker.process(), EcalFenixStripFormatEE.process(), HcalCableMapper.process(), DTVDriftMeanTimerWriter.DTVDriftMeanTimerWriter.process, DTVDriftSegmentWriter.DTVDriftSegmentWriter.process, EcalFenixStripFormatEB.process(), RBCTestLogic.process(), TTUPointingLogic.process(), EcalFenixEtTot.process(), ora::IRelationalMapping.process(), DTTTrigResidualCorr.DTTTrigResidualCorr.process, TTUTwoORLogic.process(), EnergyLossPlain.process(), HcalSimpleReconstructor.process(), EcalFenixStripFgvbEE.process(), edm::ELextendedID.process, EcalFenixTcpFgvbEE.process(), DTTTrigCorrFirst.DTTTrigCorrFirst.process, RBCChamberORLogic.process(), TTUTrackingAlg.process(), EcalFenixFgvbEB.process(), L1GctEmLeafCard.process(), L1GctNullJetFinder.process(), L1GctSimpleJetFinder.process(), EcalFenixLinearizer.process(), SiStripClusterToDigiProducer.process(), L1GctHardwareJetFinder.process(), DTTTrigTimeBoxesWriter.DTTTrigTimeBoxesWriter.process, L1GctJetFinalStage.process(), L1GctProcessor.process(), RPCWheel.process(), TTUConfigurator.process(), L1GctGlobalHfSumAlgos.process(), npstat::VisitCounter< Input >.process(), edm::InputTag.process(), L1GctElectronFinalSort.process(), ora::PrimitiveMapping.process(), EgammaHLTPixelMatchElectronAlgo.process(), PFMETBenchmark.process(), PFTauElecRejectionBenchmark.process(), L1Comparator.process(), KDTreeLinkerBase.process(), PFJetBenchmark.process(), L1GctWheelEnergyFpga.process(), L1GctWheelJetFpga.process(), cscdqm::HWStandbyType.process, edm::EDConsumerBase::Labels.process, evf::FUResource.process(), ora::BlobMapping.process(), L1GctElectronSorter.process(), L1GctGlobalEnergyAlgos.process(), HLTTrackClusterRemover.process(), L1GctTdrJetFinder.process(), DTTFFEDReader.process(), TFWLiteSelectorBasic.process(), fwlite::internal::DataKey.process(), L1GctJetLeafCard.process(), SeedClusterRemover.process(), L1GlobalCaloTrigger.process(), TFWLiteSelector< TrackAnalysisAlgorithm >.process(), TFWLiteSelector< TWorker >.process(), TFWLiteSelector< ThingsWorker >.process(), TrackClusterRemover.process(), TFWLiteSelector< __class__Worker >.process(), EcalFenixTcp.process(), ora::OraReferenceMapping.process(), TestOutliers.process, HTTP.RequestManager.process(), ora::UniqueReferenceMapping.process(), lhef::LHERunInfo::Process.process, EcalFenixStrip.process(), ora::OraPtrMapping.process(), edm::service::ELtsErrorLog.process, CaloTowersCreationAlgo.process(), ora::NamedRefMapping.process(), ora::ArrayMapping.process(), edm::service::ELadministrator.process(), JetTagMVAExtractor.process(), EgammaHLTValidationUtils.EgammaDQMModuleMaker.process, ora::CArrayMapping.process(), L1GctJetFinderBase.process(), ora::ObjectMapping.process(), Config.Process.process, ora::EmptyMapping.process(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.process(), edm::ProductHolderIndexHelper::Item.process(), and ConfigBuilder.ConfigBuilder.renameHLTprocessInSequence().

1615  def prepare_VALIDATION(self, sequence = 'validation'):
1616  self.loadDefaultOrSpecifiedCFF(sequence,self.VALIDATIONDefaultCFF)
1617  #in case VALIDATION:something:somethingelse -> something,somethingelse
1618  sequence=sequence.split('.')[-1]
1619  if sequence.find(',')!=-1:
1620  prevalSeqName=sequence.split(',')[0]
1621  valSeqName=sequence.split(',')[1]
1622  else:
1623  postfix=''
1624  if sequence:
1625  postfix='_'+sequence
1626  prevalSeqName='prevalidation'+postfix
1627  valSeqName='validation'+postfix
1628  if not hasattr(self.process,valSeqName):
1629  prevalSeqName=''
1630  valSeqName=sequence
1631 
1632  if not 'DIGI' in self.stepMap and not self._options.fast and not valSeqName.startswith('genvalid'):
1633  if self._options.restoreRNDSeeds==False and not self._options.restoreRNDSeeds==True:
1634  self._options.restoreRNDSeeds=True
1635 
1636  #rename the HLT process in validation steps
1637  if ('HLT' in self.stepMap and not self._options.fast) or self._options.hltProcess:
1638  self.renameHLTprocessInSequence(valSeqName)
1639  if prevalSeqName:
1640  self.renameHLTprocessInSequence(prevalSeqName)
1641 
1642  if prevalSeqName:
1643  self.process.prevalidation_step = cms.Path( getattr(self.process, prevalSeqName ) )
1644  self.schedule.append(self.process.prevalidation_step)
1645 
1646  self.process.validation_step = cms.EndPath( getattr(self.process,valSeqName ) )
1647  self.schedule.append(self.process.validation_step)
1648 
1649  if not 'DIGI' in self.stepMap and not self._options.fast:
1650  self.executeAndRemember("process.mix.playback = True")
1651  self.executeAndRemember("process.mix.digitizers = cms.PSet()")
1652  self.executeAndRemember("for a in process.aliases: delattr(process, a)")
1653  self._options.customisation_file+=",SimGeneral/MixingModule/fullMixCustomize_cff.setCrossingFrameOn"
1654 
1655  if hasattr(self.process,"genstepfilter") and len(self.process.genstepfilter.triggerConditions):
1656  #will get in the schedule, smoothly
1657  self.process.validation_step._seq = self.process.genstepfilter * self.process.validation_step._seq
1658 
1659  return
1660 
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 228 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.addCommon().

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

Definition at line 1730 of file ConfigBuilder.py.

References DTTTrigProd.DTTTrigProd.process, helper::NullPostProcessor< OutputCollection >.process(), NullPostProcessor< OutputCollection >.process(), HcalHitRelabeller.process(), helper::NullPostProcessor< reco::CandidateCollection >.process(), helper::NullPostProcessor< typename::helper::SelectedOutputCollectionTrait< reco::TrackCollection >::type >.process(), DTDqm.DTDqm.process, DTDQMMerge.DTDQMMerge.process, DTValidSummary.DTValidSummary.process, DTAnalysisResiduals.DTAnalysisResiduals.process, DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.process, DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.process, DTDQMHarvesting.DTDQMHarvesting.process, DTNoiseCalibration.DTNoiseCalibration.process, DTResidualCalibration.DTResidualCalibration.process, tfwliteselectortest::ThingsWorker.process(), DTDQMValidation.DTDQMValidation.process, DTTTrigValid.DTTTrigValid.process, DummyUpdator.process(), clangcms::CatchAll.process(), EcalFenixTcpsFgvbEB.process(), CSCTFDTReceiver.process(), EcalFenixBypassLin.process(), tfwliteselectortest::ThingsTSelector.process(), EcalFenixPeakFinder.process(), EcalFenixMaxof2.process(), examples::TrackAnalysisAlgorithm.process(), SingleTrajectoryUpdator.process(), TTULogic.process(), CSCTFMonitorInterface.process(), RBCLogic.process(), TTUWedgeORLogic.process(), CSCMonitorInterface.process(), EcalFenixEtStrip.process(), PFPileUpAlgo.process(), npstat::AbsVisitor< Input, unsigned long >.process(), RBCPatternLogic.process(), TTUSectorORLogic.process(), KalmanAlignmentUpdator.process(), EcalFenixTcpFormat.process(), npstat::AbsVisitor< Input, Result >.process(), DTT0DBValidation.DTT0DBValidation.process, BTagDifferentialPlot.process(), EcalFenixAmplitudeFilter.process(), __class__Worker.process(), npstat::AbsArrayProjector< Input, Result >.process(), HcalCableMapper.process(), EcalFenixStripFormatEE.process(), DTVDriftMeanTimerWriter.DTVDriftMeanTimerWriter.process, DTVDriftSegmentWriter.DTVDriftSegmentWriter.process, EcalFenixStripFormatEB.process(), RBCTestLogic.process(), TTUPointingLogic.process(), EcalFenixEtTot.process(), ora::IRelationalMapping.process(), DTTTrigResidualCorr.DTTTrigResidualCorr.process, TTUTwoORLogic.process(), EnergyLossPlain.process(), HcalSimpleReconstructor.process(), EcalFenixStripFgvbEE.process(), edm::ELextendedID.process, EcalFenixTcpFgvbEE.process(), DTTTrigCorrFirst.DTTTrigCorrFirst.process, RBCChamberORLogic.process(), TTUTrackingAlg.process(), EcalFenixFgvbEB.process(), L1GctEmLeafCard.process(), L1GctNullJetFinder.process(), L1GctSimpleJetFinder.process(), SiStripClusterToDigiProducer.process(), EcalFenixLinearizer.process(), L1GctHardwareJetFinder.process(), DTTTrigTimeBoxesWriter.DTTTrigTimeBoxesWriter.process, L1GctJetFinalStage.process(), L1GctProcessor.process(), RPCWheel.process(), TTUConfigurator.process(), L1GctGlobalHfSumAlgos.process(), npstat::VisitCounter< Input >.process(), edm::InputTag.process(), L1GctElectronFinalSort.process(), ora::PrimitiveMapping.process(), EgammaHLTPixelMatchElectronAlgo.process(), PFTauElecRejectionBenchmark.process(), PFMETBenchmark.process(), L1Comparator.process(), KDTreeLinkerBase.process(), PFJetBenchmark.process(), L1GctWheelEnergyFpga.process(), L1GctWheelJetFpga.process(), cscdqm::HWStandbyType.process, evf::FUResource.process(), edm::EDConsumerBase::Labels.process, ora::BlobMapping.process(), L1GctElectronSorter.process(), L1GctGlobalEnergyAlgos.process(), HLTTrackClusterRemover.process(), L1GctTdrJetFinder.process(), DTTFFEDReader.process(), TFWLiteSelectorBasic.process(), fwlite::internal::DataKey.process(), L1GctJetLeafCard.process(), SeedClusterRemover.process(), L1GlobalCaloTrigger.process(), TrackClusterRemover.process(), TFWLiteSelector< __class__Worker >.process(), TFWLiteSelector< TrackAnalysisAlgorithm >.process(), TFWLiteSelector< TWorker >.process(), TFWLiteSelector< ThingsWorker >.process(), EcalFenixTcp.process(), ora::OraReferenceMapping.process(), TestOutliers.process, HTTP.RequestManager.process(), ora::UniqueReferenceMapping.process(), lhef::LHERunInfo::Process.process, EcalFenixStrip.process(), ora::OraPtrMapping.process(), edm::service::ELtsErrorLog.process, CaloTowersCreationAlgo.process(), ora::NamedRefMapping.process(), ora::ArrayMapping.process(), edm::service::ELadministrator.process(), JetTagMVAExtractor.process(), EgammaHLTValidationUtils.EgammaDQMModuleMaker.process, ora::CArrayMapping.process(), L1GctJetFinderBase.process(), ora::ObjectMapping.process(), Config.Process.process, ora::EmptyMapping.process(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.process(), edm::ProductHolderIndexHelper::Item.process(), and cmsPerfHarvest.visit().

Referenced by ConfigBuilder.ConfigBuilder.prepare_VALIDATION().

1731  def renameHLTprocessInSequence(self,sequence,proc=None,HLTprocess='HLT'):
1732  if self._options.hltProcess:
1733  proc=self._options.hltProcess
1734  else:
1735  proc=self.process.name_()
1736  if proc==HLTprocess: return
1737  # look up all module in dqm sequence
1738  print "replacing %s process name - sequence %s will use '%s'" % (HLTprocess,sequence, proc)
1739  getattr(self.process,sequence).visit(ConfigBuilder.MassSearchReplaceProcessNameVisitor(HLTprocess,proc,whitelist = ("subSystemFolder",)))
1740  if 'from Configuration.Applications.ConfigBuilder import ConfigBuilder' not in self.additionalCommands:
1741  self.additionalCommands.append('from Configuration.Applications.ConfigBuilder import ConfigBuilder')
1742  self.additionalCommands.append('process.%s.visit(ConfigBuilder.MassSearchReplaceProcessNameVisitor("%s", "%s", whitelist = ("subSystemFolder",)))'% (sequence,HLTprocess, proc))
1743 
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 1720 of file ConfigBuilder.py.

References helpers.massSearchReplaceAnyInputTag(), DTTTrigProd.DTTTrigProd.process, helper::NullPostProcessor< OutputCollection >.process(), NullPostProcessor< OutputCollection >.process(), HcalHitRelabeller.process(), helper::NullPostProcessor< reco::CandidateCollection >.process(), helper::NullPostProcessor< typename::helper::SelectedOutputCollectionTrait< reco::TrackCollection >::type >.process(), DTDQMMerge.DTDQMMerge.process, DTDqm.DTDqm.process, DTValidSummary.DTValidSummary.process, DTDQMHarvesting.DTDQMHarvesting.process, DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.process, DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.process, DTAnalysisResiduals.DTAnalysisResiduals.process, DTResidualCalibration.DTResidualCalibration.process, tfwliteselectortest::ThingsWorker.process(), DTNoiseCalibration.DTNoiseCalibration.process, DTDQMValidation.DTDQMValidation.process, DTTTrigValid.DTTTrigValid.process, DummyUpdator.process(), clangcms::CatchAll.process(), CSCTFDTReceiver.process(), EcalFenixTcpsFgvbEB.process(), EcalFenixBypassLin.process(), EcalFenixPeakFinder.process(), tfwliteselectortest::ThingsTSelector.process(), EcalFenixMaxof2.process(), examples::TrackAnalysisAlgorithm.process(), SingleTrajectoryUpdator.process(), TTULogic.process(), CSCTFMonitorInterface.process(), PFPileUpAlgo.process(), RBCLogic.process(), TTUWedgeORLogic.process(), CSCMonitorInterface.process(), EcalFenixEtStrip.process(), npstat::AbsVisitor< Input, unsigned long >.process(), EcalFenixTcpFormat.process(), RBCPatternLogic.process(), TTUSectorORLogic.process(), KalmanAlignmentUpdator.process(), npstat::AbsVisitor< Input, Result >.process(), npstat::AbsArrayProjector< Input, Result >.process(), DTT0DBValidation.DTT0DBValidation.process, BTagDifferentialPlot.process(), EcalFenixAmplitudeFilter.process(), __class__Worker.process(), EcalFenixStripFormatEE.process(), HcalCableMapper.process(), DTVDriftMeanTimerWriter.DTVDriftMeanTimerWriter.process, DTVDriftSegmentWriter.DTVDriftSegmentWriter.process, EcalFenixStripFormatEB.process(), RBCTestLogic.process(), TTUPointingLogic.process(), EcalFenixEtTot.process(), ora::IRelationalMapping.process(), DTTTrigResidualCorr.DTTTrigResidualCorr.process, TTUTwoORLogic.process(), EnergyLossPlain.process(), HcalSimpleReconstructor.process(), EcalFenixStripFgvbEE.process(), edm::ELextendedID.process, EcalFenixTcpFgvbEE.process(), DTTTrigCorrFirst.DTTTrigCorrFirst.process, RBCChamberORLogic.process(), TTUTrackingAlg.process(), EcalFenixFgvbEB.process(), L1GctEmLeafCard.process(), L1GctNullJetFinder.process(), L1GctSimpleJetFinder.process(), SiStripClusterToDigiProducer.process(), EcalFenixLinearizer.process(), L1GctHardwareJetFinder.process(), DTTTrigTimeBoxesWriter.DTTTrigTimeBoxesWriter.process, L1GctJetFinalStage.process(), L1GctProcessor.process(), RPCWheel.process(), TTUConfigurator.process(), L1GctGlobalHfSumAlgos.process(), npstat::VisitCounter< Input >.process(), edm::InputTag.process(), L1GctElectronFinalSort.process(), ora::PrimitiveMapping.process(), EgammaHLTPixelMatchElectronAlgo.process(), PFMETBenchmark.process(), PFTauElecRejectionBenchmark.process(), L1Comparator.process(), PFJetBenchmark.process(), KDTreeLinkerBase.process(), L1GctWheelEnergyFpga.process(), L1GctWheelJetFpga.process(), cscdqm::HWStandbyType.process, edm::EDConsumerBase::Labels.process, evf::FUResource.process(), ora::BlobMapping.process(), L1GctElectronSorter.process(), L1GctGlobalEnergyAlgos.process(), HLTTrackClusterRemover.process(), L1GctTdrJetFinder.process(), DTTFFEDReader.process(), TFWLiteSelectorBasic.process(), fwlite::internal::DataKey.process(), L1GctJetLeafCard.process(), SeedClusterRemover.process(), L1GlobalCaloTrigger.process(), TFWLiteSelector< __class__Worker >.process(), TFWLiteSelector< ThingsWorker >.process(), TFWLiteSelector< TrackAnalysisAlgorithm >.process(), TrackClusterRemover.process(), TFWLiteSelector< TWorker >.process(), EcalFenixTcp.process(), ora::OraReferenceMapping.process(), TestOutliers.process, HTTP.RequestManager.process(), ora::UniqueReferenceMapping.process(), lhef::LHERunInfo::Process.process, EcalFenixStrip.process(), ora::OraPtrMapping.process(), edm::service::ELtsErrorLog.process, CaloTowersCreationAlgo.process(), ora::NamedRefMapping.process(), ora::ArrayMapping.process(), edm::service::ELadministrator.process(), JetTagMVAExtractor.process(), EgammaHLTValidationUtils.EgammaDQMModuleMaker.process, ora::CArrayMapping.process(), L1GctJetFinderBase.process(), ora::ObjectMapping.process(), Config.Process.process, ora::EmptyMapping.process(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.process(), and edm::ProductHolderIndexHelper::Item.process().

Referenced by ConfigBuilder.ConfigBuilder.prepare_L1REPACK().

1721  def renameInputTagsInSequence(self,sequence,oldT="rawDataCollector",newT="rawDataRepacker"):
1722  print "Replacing all InputTag %s => %s"%(oldT,newT)
1723  from PhysicsTools.PatAlgos.tools.helpers import massSearchReplaceAnyInputTag
1724  massSearchReplaceAnyInputTag(getattr(self.process,sequence),oldT,newT)
1725  loadMe='from PhysicsTools.PatAlgos.tools.helpers import massSearchReplaceAnyInputTag'
1726  if not loadMe in self.additionalCommands:
1727  self.additionalCommands.append(loadMe)
1728  self.additionalCommands.append('massSearchReplaceAnyInputTag(process.%s,"%s","%s",False,True)'%(sequence,oldT,newT))
def massSearchReplaceAnyInputTag
Definition: helpers.py:258
def ConfigBuilder.ConfigBuilder.scheduleSequence (   self,
  seq,
  prefix,
  what = 'Path' 
)

Definition at line 1128 of file ConfigBuilder.py.

References DTTTrigProd.DTTTrigProd.process, helper::NullPostProcessor< OutputCollection >.process(), NullPostProcessor< OutputCollection >.process(), HcalHitRelabeller.process(), helper::NullPostProcessor< reco::CandidateCollection >.process(), helper::NullPostProcessor< typename::helper::SelectedOutputCollectionTrait< reco::TrackCollection >::type >.process(), DTDqm.DTDqm.process, DTDQMMerge.DTDQMMerge.process, DTValidSummary.DTValidSummary.process, DTAnalysisResiduals.DTAnalysisResiduals.process, DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.process, DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.process, DTDQMHarvesting.DTDQMHarvesting.process, DTNoiseCalibration.DTNoiseCalibration.process, DTResidualCalibration.DTResidualCalibration.process, tfwliteselectortest::ThingsWorker.process(), DTDQMValidation.DTDQMValidation.process, DTTTrigValid.DTTTrigValid.process, DummyUpdator.process(), clangcms::CatchAll.process(), EcalFenixTcpsFgvbEB.process(), CSCTFDTReceiver.process(), EcalFenixBypassLin.process(), tfwliteselectortest::ThingsTSelector.process(), EcalFenixPeakFinder.process(), EcalFenixMaxof2.process(), examples::TrackAnalysisAlgorithm.process(), SingleTrajectoryUpdator.process(), TTULogic.process(), CSCTFMonitorInterface.process(), RBCLogic.process(), TTUWedgeORLogic.process(), CSCMonitorInterface.process(), EcalFenixEtStrip.process(), PFPileUpAlgo.process(), npstat::AbsVisitor< Input, unsigned long >.process(), RBCPatternLogic.process(), TTUSectorORLogic.process(), KalmanAlignmentUpdator.process(), EcalFenixTcpFormat.process(), npstat::AbsVisitor< Input, Result >.process(), DTT0DBValidation.DTT0DBValidation.process, BTagDifferentialPlot.process(), HcalCableMapper.process(), EcalFenixAmplitudeFilter.process(), __class__Worker.process(), npstat::AbsArrayProjector< Input, Result >.process(), EcalFenixStripFormatEE.process(), DTVDriftMeanTimerWriter.DTVDriftMeanTimerWriter.process, DTVDriftSegmentWriter.DTVDriftSegmentWriter.process, EcalFenixStripFormatEB.process(), RBCTestLogic.process(), TTUPointingLogic.process(), EcalFenixEtTot.process(), ora::IRelationalMapping.process(), DTTTrigResidualCorr.DTTTrigResidualCorr.process, TTUTwoORLogic.process(), EnergyLossPlain.process(), HcalSimpleReconstructor.process(), EcalFenixStripFgvbEE.process(), edm::ELextendedID.process, EcalFenixTcpFgvbEE.process(), DTTTrigCorrFirst.DTTTrigCorrFirst.process, RBCChamberORLogic.process(), TTUTrackingAlg.process(), EcalFenixFgvbEB.process(), L1GctEmLeafCard.process(), L1GctNullJetFinder.process(), L1GctSimpleJetFinder.process(), SiStripClusterToDigiProducer.process(), EcalFenixLinearizer.process(), L1GctHardwareJetFinder.process(), DTTTrigTimeBoxesWriter.DTTTrigTimeBoxesWriter.process, L1GctJetFinalStage.process(), L1GctProcessor.process(), RPCWheel.process(), TTUConfigurator.process(), L1GctGlobalHfSumAlgos.process(), npstat::VisitCounter< Input >.process(), edm::InputTag.process(), L1GctElectronFinalSort.process(), ora::PrimitiveMapping.process(), EgammaHLTPixelMatchElectronAlgo.process(), PFTauElecRejectionBenchmark.process(), PFMETBenchmark.process(), L1Comparator.process(), PFJetBenchmark.process(), KDTreeLinkerBase.process(), L1GctWheelEnergyFpga.process(), L1GctWheelJetFpga.process(), cscdqm::HWStandbyType.process, edm::EDConsumerBase::Labels.process, evf::FUResource.process(), ora::BlobMapping.process(), L1GctElectronSorter.process(), L1GctGlobalEnergyAlgos.process(), HLTTrackClusterRemover.process(), L1GctTdrJetFinder.process(), DTTFFEDReader.process(), TFWLiteSelectorBasic.process(), fwlite::internal::DataKey.process(), L1GctJetLeafCard.process(), SeedClusterRemover.process(), L1GlobalCaloTrigger.process(), TFWLiteSelector< ThingsWorker >.process(), TFWLiteSelector< TWorker >.process(), TFWLiteSelector< __class__Worker >.process(), TrackClusterRemover.process(), TFWLiteSelector< TrackAnalysisAlgorithm >.process(), ora::OraReferenceMapping.process(), EcalFenixTcp.process(), TestOutliers.process, HTTP.RequestManager.process(), ora::UniqueReferenceMapping.process(), lhef::LHERunInfo::Process.process, EcalFenixStrip.process(), ora::OraPtrMapping.process(), edm::service::ELtsErrorLog.process, CaloTowersCreationAlgo.process(), ora::NamedRefMapping.process(), ora::ArrayMapping.process(), edm::service::ELadministrator.process(), JetTagMVAExtractor.process(), EgammaHLTValidationUtils.EgammaDQMModuleMaker.process, ora::CArrayMapping.process(), L1GctJetFinderBase.process(), ora::ObjectMapping.process(), Config.Process.process, ora::EmptyMapping.process(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.process(), and edm::ProductHolderIndexHelper::Item.process().

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

1129  def scheduleSequence(self,seq,prefix,what='Path'):
1130  if '*' in seq:
1131  #create only one path with all sequences in it
1132  for i,s in enumerate(seq.split('*')):
1133  if i==0:
1134  setattr(self.process,prefix,getattr(cms,what)( getattr(self.process, s) ))
1135  else:
1136  p=getattr(self.process,prefix)
1137  p+=getattr(self.process, s)
1138  self.schedule.append(getattr(self.process,prefix))
1139  return
1140  else:
1141  #create as many path as many sequences
1142  if not '+' in seq:
1143  if self.nextScheduleIsConditional:
1144  self.conditionalPaths.append(prefix)
1145  setattr(self.process,prefix,getattr(cms,what)( getattr(self.process, seq) ))
1146  self.schedule.append(getattr(self.process,prefix))
1147  else:
1148  for i,s in enumerate(seq.split('+')):
1149  sn=prefix+'%d'%(i)
1150  setattr(self.process,sn,getattr(cms,what)( getattr(self.process, s) ))
1151  self.schedule.append(getattr(self.process,sn))
1152  return
def ConfigBuilder.ConfigBuilder.scheduleSequenceAtEnd (   self,
  seq,
  prefix 
)

Definition at line 1153 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.scheduleSequence().

Referenced by ConfigBuilder.ConfigBuilder.prepare_ENDJOB().

1154  def scheduleSequenceAtEnd(self,seq,prefix):
1155  self.scheduleSequence(seq,prefix,what='EndPath')
1156  return

Member Data Documentation

ConfigBuilder.ConfigBuilder._options
private

Definition at line 166 of file ConfigBuilder.py.

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

Definition at line 2040 of file ConfigBuilder.py.

ConfigBuilder.ConfigBuilder.ALCADefaultCFF

Definition at line 831 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare_ALCA().

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

Definition at line 1176 of file ConfigBuilder.py.

list ConfigBuilder.ConfigBuilder.allFcn = []
static

Definition at line 765 of file ConfigBuilder.py.

list ConfigBuilder.ConfigBuilder.available = []
static

Definition at line 1209 of file ConfigBuilder.py.

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

Definition at line 1336 of file ConfigBuilder.py.

string ConfigBuilder.ConfigBuilder.beamspotType = 'Flat'
static

manipulate the beamspot

Definition at line 1331 of file ConfigBuilder.py.

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

Definition at line 2039 of file ConfigBuilder.py.

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

Definition at line 1285 of file ConfigBuilder.py.

string ConfigBuilder.ConfigBuilder.cffToBeLoaded = 'IOMC.EventVertexGenerators.VtxSmearedParameters_cfi'
static

Definition at line 1287 of file ConfigBuilder.py.

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

Definition at line 808 of file ConfigBuilder.py.

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

Definition at line 398 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(), and runall.testit.run().

string ConfigBuilder.ConfigBuilder.CppType = 'PoolOutputModule'
static

Definition at line 504 of file ConfigBuilder.py.

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

Definition at line 779 of file ConfigBuilder.py.

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

Definition at line 485 of file ConfigBuilder.py.

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

Definition at line 487 of file ConfigBuilder.py.

ConfigBuilder.ConfigBuilder.DIGI2RAWDefaultCFF

Definition at line 835 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare_DIGI2RAW().

ConfigBuilder.ConfigBuilder.DIGIDefaultCFF

Definition at line 834 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare_DIGI().

ConfigBuilder.ConfigBuilder.EDMtoMECFF

Definition at line 1795 of file ConfigBuilder.py.

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

Definition at line 749 of file ConfigBuilder.py.

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

load the relevant part

Definition at line 1510 of file ConfigBuilder.py.

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

Definition at line 1511 of file ConfigBuilder.py.

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

Definition at line 761 of file ConfigBuilder.py.

ConfigBuilder.ConfigBuilder.GENDefaultCFF

Definition at line 832 of file ConfigBuilder.py.

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

Definition at line 1257 of file ConfigBuilder.py.

ConfigBuilder.ConfigBuilder.genModules = generatorModule.__dict__
static

Definition at line 1258 of file ConfigBuilder.py.

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

Definition at line 1280 of file ConfigBuilder.py.

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

Definition at line 1799 of file ConfigBuilder.py.

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

Definition at line 1803 of file ConfigBuilder.py.

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

Definition at line 1815 of file ConfigBuilder.py.

ConfigBuilder.ConfigBuilder.HLTDefaultCFF

Definition at line 838 of file ConfigBuilder.py.

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

Definition at line 2080 of file ConfigBuilder.py.

dictionary ConfigBuilder.ConfigBuilder.ioJson = {}
static

Definition at line 2081 of file ConfigBuilder.py.

ConfigBuilder.ConfigBuilder.L1EMDefaultCFF

Definition at line 836 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare_L1().

ConfigBuilder.ConfigBuilder.L1MENUDefaultCFF

Definition at line 837 of file ConfigBuilder.py.

ConfigBuilder.ConfigBuilder.L1RecoDefaultCFF

Definition at line 840 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare_L1Reco().

ConfigBuilder.ConfigBuilder.L1TrackTriggerDefaultCFF

Definition at line 841 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare_L1TrackTrigger().

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

Definition at line 1841 of file ConfigBuilder.py.

ConfigBuilder.ConfigBuilder.loadFailure = True
static

Definition at line 1251 of file ConfigBuilder.py.

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

Definition at line 1241 of file ConfigBuilder.py.

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

Definition at line 1244 of file ConfigBuilder.py.

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

Definition at line 614 of file ConfigBuilder.py.

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

Definition at line 619 of file ConfigBuilder.py.

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

Definition at line 1992 of file ConfigBuilder.py.

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

Definition at line 460 of file ConfigBuilder.py.

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

Definition at line 458 of file ConfigBuilder.py.

tuple 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 506 of file ConfigBuilder.py.

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

Definition at line 1995 of file ConfigBuilder.py.

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

Definition at line 524 of file ConfigBuilder.py.

string ConfigBuilder.ConfigBuilder.outputModuleCfgCode = ""
static

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

Definition at line 1956 of file ConfigBuilder.py.

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

Definition at line 1958 of file ConfigBuilder.py.

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

Definition at line 582 of file ConfigBuilder.py.

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

Definition at line 776 of file ConfigBuilder.py.

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

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

Definition at line 774 of file ConfigBuilder.py.

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

Definition at line 526 of file ConfigBuilder.py.

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

string ConfigBuilder.ConfigBuilder.pathName = 'dqmoffline_step'
static

Definition at line 1774 of file ConfigBuilder.py.

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

Definition at line 2041 of file ConfigBuilder.py.

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

Definition at line 2066 of file ConfigBuilder.py.

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

Definition at line 609 of file ConfigBuilder.py.

ConfigBuilder.ConfigBuilder.RAW2DIGIDefaultCFF

Definition at line 839 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare_RAW2DIGI().

ConfigBuilder.ConfigBuilder.RECODefaultCFF

Definition at line 842 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare_RECO().

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

Definition at line 752 of file ConfigBuilder.py.

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

Definition at line 2028 of file ConfigBuilder.py.

string ConfigBuilder.ConfigBuilder.sequence = 'EIsequence'
static

Definition at line 1550 of file ConfigBuilder.py.

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

Definition at line 1800 of file ConfigBuilder.py.

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

Definition at line 1772 of file ConfigBuilder.py.

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

Definition at line 1177 of file ConfigBuilder.py.

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

Definition at line 1575 of file ConfigBuilder.py.

ConfigBuilder.ConfigBuilder.SIMDefaultCFF

Definition at line 833 of file ConfigBuilder.py.

string ConfigBuilder.ConfigBuilder.simGeometry = ''
static

Definition at line 965 of file ConfigBuilder.py.

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

Definition at line 996 of file ConfigBuilder.py.

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

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

tuple ConfigBuilder.ConfigBuilder.specialization = defineMixing(mixingDict,self._options.fast)
static

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

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

add the corresponding input content

Definition at line 183 of file ConfigBuilder.py.

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

Definition at line 182 of file ConfigBuilder.py.

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

Definition at line 661 of file ConfigBuilder.py.

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

ends the –output options model

Definition at line 546 of file ConfigBuilder.py.

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

Definition at line 497 of file ConfigBuilder.py.

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

Definition at line 471 of file ConfigBuilder.py.

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

Definition at line 489 of file ConfigBuilder.py.

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

Definition at line 560 of file ConfigBuilder.py.

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

Definition at line 468 of file ConfigBuilder.py.

string ConfigBuilder.ConfigBuilder.theFilterName = 'StreamALCACombined'
static

Definition at line 502 of file ConfigBuilder.py.

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

Definition at line 561 of file ConfigBuilder.py.

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

Definition at line 470 of file ConfigBuilder.py.

ConfigBuilder.ConfigBuilder.theModuleLabel = name
static

Definition at line 480 of file ConfigBuilder.py.

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

Definition at line 1266 of file ConfigBuilder.py.

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

Definition at line 469 of file ConfigBuilder.py.

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

event content

Definition at line 467 of file ConfigBuilder.py.

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

Definition at line 464 of file ConfigBuilder.py.

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

Definition at line 547 of file ConfigBuilder.py.

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

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