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
 

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 define_Configs
 
def doNotInlineEventContent
 
def doNotInlineEventContent
 
def executeAndRemember
 
def filesFromOption
 
def finalizeFastSimHLT
 
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_ENDJOB
 
def prepare_FASTSIM
 
def prepare_GEN
 
def prepare_HARVESTING
 
def prepare_HLT
 
def prepare_L1
 
def prepare_L1HwVal
 
def prepare_L1Reco
 
def prepare_POSTRECO
 
def prepare_RAW2DIGI
 
def prepare_RAW2RECO
 
def prepare_RECO
 
def prepare_REPACK
 
def prepare_SIM
 
def prepare_SKIM
 
def prepare_VALIDATION
 
def renameHLTprocessInSequence
 
def scheduleSequence
 
def scheduleSequenceAtEnd
 

Public Attributes

 addedObjects
 
 additionalCommands
 
 additionalOutputs
 
 ALCADefaultCFF
 
 ALCADefaultSeq
 
 ALCAHARVESTDefaultCFF
 
 ALCAHARVESTDefaultSeq
 
 blacklist_paths
 
 CFWRITERDefaultCFF
 
 CFWRITERDefaultSeq
 
 ConditionsDefaultCFF
 
 DATAMIXDefaultCFF
 
 DATAMIXDefaultSeq
 
 DIGI2RAWDefaultCFF
 
 DIGI2RAWDefaultSeq
 
 DIGIDefaultCFF
 
 DIGIDefaultSeq
 
 DQMDefaultSeq
 
 DQMOFFLINEDefaultCFF
 
 EDMtoMECFF
 
 ENDJOBDefaultCFF
 
 ENDJOBDefaultSeq
 
 eventcontent
 
 EVTCONTDefaultCFF
 
 FASTSIMDefaultSeq
 
 GENDefaultCFF
 
 GENDefaultSeq
 
 GeometryCFF
 
 HARVESTINGDefaultCFF
 
 HARVESTINGDefaultSeq
 
 HLTDefaultCFF
 
 HLTDefaultSeq
 
 imports
 
 L1DefaultSeq
 
 L1EMDefaultCFF
 
 L1HwValDefaultCFF
 
 L1HwValDefaultSeq
 
 L1MENUDefaultCFF
 
 L1RecoDefaultCFF
 
 L1RecoDefaultSeq
 
 magFieldCFF
 
 PATLayer0DefaultSeq
 
 POSTRECODefaultCFF
 
 POSTRECODefaultSeq
 
 process
 
 productionFilterSequence
 
 pythonCfgCode
 
 RAW2DIGIDefaultCFF
 
 RAW2DIGIDefaultSeq
 
 RAW2RECODefaultSeq
 
 RECODefaultCFF
 
 RECODefaultSeq
 
 REPACKDefaultCFF
 
 REPACKDefaultSeq
 
 schedule
 
 SIMDefaultCFF
 
 SIMDefaultSeq
 
 SKIMDefaultCFF
 
 stepMap
 
 VALIDATIONDefaultCFF
 
 VALIDATIONDefaultSeq
 
 with_input
 
 with_output
 

Static Public Attributes

list alcaSequence = autoAlca[location]
 
tuple alcastream = getattr(alcaConfig,name)
 
list allFcn = []
 
list allowedFields = ['tag','record','connect','label']
 
list available = []
 
tuple customiseFile = re.sub(r'\.pyc$', '.py', package.__file__)
 
tuple field = item.split('=')
 
tuple fileName = opt.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 items = spec.split(',')
 
tuple lastStep = getattr(harvestingConfig,"ALCAHARVESTDQMSaveAndMetadataWriter")
 
 loadFailure = True
 
tuple loadFragment = self._options.evt_type.replace('.py','',)
 
string loadFragment = 'Configuration.Generator.'
 
list location = specifiedCommand[1:]
 
dictionary mixingDict = {'file':pileupSpec}
 
list mixingDict = Mixing[pileupSpec]
 
tuple outDefDictStr = outDefDict.__str__()
 
tuple outList = eval(self._options.outputDefinition)
 
tuple output
 
tuple outputModule = getattr(self.process,theModuleLabel)
 
string outputModuleName = streamType+'output'
 
list package = sys.modules[packageName]
 
tuple packageName = f.replace(".py","")
 
tuple path = getattr(self.process,theModuleLabel+'_step')
 
dictionary payloadSpec = {}
 
string payloadSpecToAppend = ''
 
tuple pileupSpec = self._options.pileup.split(',')
 
tuple rest = opt.split('.')
 
tuple sequence = sequence.split('.')
 
tuple shortName = name.replace('ALCARECOStream','')
 
tuple specialization = defineMixing(mixingDict,'FASTSIM' in self.stepMap)
 
tuple specs = self._options.custom_conditions.split('+')
 
list stepList = [re.sub(r'^prepare_', '', methodName) for methodName in ConfigBuilder.__dict__ if methodName.startswith('prepare_')]
 
list stepName = stepParts[0]
 
tuple stepParts = step.split(":")
 Benedikt can we add here a check that assure that we are going to generate a correct config file? i.e. More...
 
tuple streamTypes = self.eventcontent.split(',')
 
tuple theEventContent = getattr(self.process, self._options.inputEventContent+"EventContent")
 ends the –output options model More...
 
tuple theExtraOutputCommands = anyOf(['o','oC','outputCommands'],outDefDict,'')
 
tuple theFileName = self._options.dirout+anyOf(['fn','fileName'],outDefDict,theModuleLabel+'.root')
 
 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(',')
 
list tryNames
 

Private Attributes

 _options
 

Detailed Description

The main building routines 

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

101  def __init__(self, options, process = None, with_output = False, with_input = False ):
102  """options taken from old cmsDriver and optparse """
103 
104  options.outfile_name = options.dirout+options.fileout
106  self._options = options
107 
108  if self._options.isData and options.isMC:
109  raise Exception("ERROR: You may specify only --data or --mc, not both")
110  if not self._options.conditions:
111  raise Exception("ERROR: No conditions given!\nPlease specify conditions. E.g. via --conditions=IDEAL_30X::All")
112 
113  # what steps are provided by this class?
114  stepList = [re.sub(r'^prepare_', '', methodName) for methodName in ConfigBuilder.__dict__ if methodName.startswith('prepare_')]
115  self.stepMap={}
116  for step in self._options.step.split(","):
117  if step=='': continue
118  stepParts = step.split(":")
119  stepName = stepParts[0]
120  if stepName not in stepList:
121  raise ValueError("Step "+stepName+" unknown")
122  if len(stepParts)==1:
123  self.stepMap[stepName]=""
124  elif len(stepParts)==2:
125  self.stepMap[stepName]=stepParts[1].split('+')
126  elif len(stepParts)==3:
127  self.stepMap[stepName]=(stepParts[2].split('+'),stepParts[1])
128  else:
129  raise ValueError("Step definition "+step+" invalid")
130  #print "map of steps is:",self.stepMap
132  self.with_output = with_output
133  if hasattr(self._options,"no_output_flag") and self._options.no_output_flag:
134  self.with_output = False
135  self.with_input = with_input
136  if process == None:
137  self.process = cms.Process(self._options.name)
138  else:
139  self.process = process
140  self.imports = []
142  self.schedule = list()
143 
144  # we are doing three things here:
145  # creating a process to catch errors
146  # building the code to re-create the process
148  self.additionalCommands = []
149  # TODO: maybe a list of to be dumped objects would help as well
150  self.blacklist_paths = []
151  self.addedObjects = []
152  self.additionalOutputs = {}
154  self.productionFilterSequence = None
155 
156 
double split
Definition: MVATrainer.cc:139
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger list("!*","!HLTx*"if it matches 2 triggers or more) will accept the event if all the matching triggers are FAIL.It will reject the event if any of the triggers are PASS or EXCEPTION(this matches the behavior of"!*"before the partial wildcard feature was incorporated).Triggers which are in the READY state are completely ignored.(READY should never be returned since the trigger paths have been run

Member Function Documentation

def ConfigBuilder.ConfigBuilder.addCommon (   self)

Definition at line 173 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare().

174  def addCommon(self):
175  if 'HARVESTING' in self.stepMap.keys() or 'ALCAHARVEST' in self.stepMap.keys():
176  self.process.options = cms.untracked.PSet( Rethrow = cms.untracked.vstring('ProductNotFound'),fileMode = cms.untracked.string('FULLMERGE'))
177  else:
178  self.process.options = cms.untracked.PSet( )
179  self.addedObjects.append(("","options"))
180 
181  if self._options.lazy_download:
182  self.process.AdaptorConfig = cms.Service("AdaptorConfig",
183  stats = cms.untracked.bool(True),
184  enable = cms.untracked.bool(True),
185  cacheHint = cms.untracked.string("lazy-download"),
186  readHint = cms.untracked.string("read-ahead-buffered")
187  )
188  self.addedObjects.append(("Setup lazy download","AdaptorConfig"))
189 
190  #self.process.cmsDriverCommand = cms.untracked.PSet( command=cms.untracked.string('cmsDriver.py '+self._options.arguments) )
191  #self.addedObjects.append(("what cmsDriver command was used","cmsDriverCommand"))
def ConfigBuilder.ConfigBuilder.addConditions (   self)
Add conditions to the process

Definition at line 472 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.ConditionsDefaultCFF, ConfigBuilder.ConfigBuilder.executeAndRemember(), join(), ConfigBuilder.ConfigBuilder.loadAndRemember(), and split.

Referenced by ConfigBuilder.ConfigBuilder.prepare().

473  def addConditions(self):
474  """Add conditions to the process"""
475 
476  if 'auto:' in self._options.conditions:
477  from autoCond import autoCond
478  key=self._options.conditions.split(':')[-1]
479  if key not in autoCond:
480  raise Exception('no correspondance for '+self._options.conditions+'\n available keys are'+','.join(autoCond.keys()))
481  else:
482  self._options.conditions = autoCond[key]
483 
484  # the option can be a list of GT name and connection string
485 
486  #it is insane to keep this replace in: dependency on changes in DataProcessing
487  conditions = self._options.conditions.replace("FrontierConditions_GlobalTag,",'').split(',')
488  gtName = str( conditions[0] )
489  if len(conditions) > 1:
490  connect = str( conditions[1] )
491  if len(conditions) > 2:
492  pfnPrefix = str( conditions[2] )
493 
495 
496  # set the global tag
497  self.executeAndRemember("process.GlobalTag.globaltag = '%s'" % gtName)
498  if len(conditions) > 1:
499  self.executeAndRemember("process.GlobalTag.connect = '%s'" % connect)
500  if len(conditions) > 2:
501  self.executeAndRemember("process.GlobalTag.pfnPrefix = cms.untracked.string('%s')" % pfnPrefix)
static std::string join(char **cmd)
Definition: RemoteFile.cc:18
double split
Definition: MVATrainer.cc:139
def ConfigBuilder.ConfigBuilder.addCustomise (   self)
Include the customise code 

Definition at line 534 of file ConfigBuilder.py.

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

Definition at line 774 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.additionalOutputs, ConfigBuilder.ConfigBuilder.doNotInlineEventContent(), DTTTrigProd.DTTTrigProd.process, DTDqm.DTDqm.process, DTValidSummary.DTValidSummary.process, DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.process, DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.process, DTResidualCalibration.DTResidualCalibration.process, DTTTrigValid.DTTTrigValid.process, DTVDriftMeanTimerWriter.DTVDriftMeanTimerWriter.process, DTVDriftSegmentWriter.DTVDriftSegmentWriter.process, DTTTrigResidualCorr.DTTTrigResidualCorr.process, DTTTrigCorrFirst.DTTTrigCorrFirst.process, DTTTrigTimeBoxesWriter.DTTTrigTimeBoxesWriter.process, and ConfigBuilder.ConfigBuilder.process.

Referenced by ConfigBuilder.ConfigBuilder.prepare_SKIM().

775  def addExtraStream(self,name,stream,workflow='full'):
776  # define output module and go from there
777  output = cms.OutputModule("PoolOutputModule")
778  if stream.selectEvents.parameters_().__len__()!=0:
779  output.SelectEvents = stream.selectEvents
780  else:
781  output.SelectEvents = cms.untracked.PSet()
782  output.SelectEvents.SelectEvents=cms.vstring()
783  if isinstance(stream.paths,tuple):
784  for path in stream.paths:
785  output.SelectEvents.SelectEvents.append(path.label())
786  else:
787  output.SelectEvents.SelectEvents.append(stream.paths.label())
788 
789 
790 
791  if isinstance(stream.content,str):
792  evtPset=getattr(self.process,stream.content)
793  for p in evtPset.parameters_():
794  setattr(output,p,getattr(evtPset,p))
795  if not self._options.inlineEventContent:
796  def doNotInlineEventContent(instance,label = "process."+stream.content+".outputCommands"):
797  return label
798  output.outputCommands.__dict__["dumpPython"] = doNotInlineEventContent
799  else:
800  output.outputCommands = stream.content
801 
802 
803  output.fileName = cms.untracked.string(self._options.dirout+stream.name+'.root')
804 
805  output.dataset = cms.untracked.PSet( dataTier = stream.dataTier,
806  filterName = cms.untracked.string(stream.name))
807 
808  if self._options.filtername:
809  output.dataset.filterName= cms.untracked.string(self._options.filtername+"_"+stream.name)
810 
811  #add an automatic flushing to limit memory consumption
812  output.eventAutoFlushCompressedSize=cms.untracked.int32(5*1024*1024)
813 
814  if workflow in ("producers,full"):
815  if isinstance(stream.paths,tuple):
816  for path in stream.paths:
817  self.schedule.append(path)
818  else:
819  self.schedule.append(stream.paths)
820 
821  # in case of relvals we don't want to have additional outputs
822  if (not self._options.relval) and workflow in ("full","output"):
823  self.additionalOutputs[name] = output
824  setattr(self.process,name,output)
825 
826  if workflow == 'output':
827  # adjust the select events to the proper trigger results from previous process
828  filterList = output.SelectEvents.SelectEvents
829  for i, filter in enumerate(filterList):
830  filterList[i] = filter+":"+self._options.triggerResultsProcess
831 
832  return output
def ConfigBuilder.ConfigBuilder.addMaxEvents (   self)
Here we decide how many evts will be processed

Definition at line 192 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare().

193  def addMaxEvents(self):
194  """Here we decide how many evts will be processed"""
195  self.process.maxEvents=cms.untracked.PSet(input=cms.untracked.int32(int(self._options.number)))
196  self.addedObjects.append(("","maxEvents"))
def ConfigBuilder.ConfigBuilder.addOutput (   self)
Add output module to the process 

Definition at line 264 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare().

265  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 197 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare().

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

Definition at line 407 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare().

408  def addStandardSequences(self):
409  """
410  Add selected standard sequences to the process
411  """
# load the pile up file
def ConfigBuilder.ConfigBuilder.anyOf (   listOfKeys,
  dict,
  opt = None 
)

Definition at line 275 of file ConfigBuilder.py.

References join().

276  def anyOf(listOfKeys,dict,opt=None):
277  for k in listOfKeys:
278  if k in dict:
279  toReturn=dict[k]
280  dict.pop(k)
281  return toReturn
282  if opt!=None:
283  return opt
284  else:
285  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 1444 of file ConfigBuilder.py.

1445  def build_production_info(self, evt_type, evtnumber):
1446  """ Add useful info for the production. """
1447  self.process.configurationMetadata=cms.untracked.PSet\
1448  (version=cms.untracked.string("$Revision: 1.303.2.6 $"),
1449  name=cms.untracked.string("PyReleaseValidation"),
1450  annotation=cms.untracked.string(evt_type+ " nevts:"+str(evtnumber))
1451  )
1452 
1453  self.addedObjects.append(("Production Info","configurationMetadata"))
1454 
def ConfigBuilder.ConfigBuilder.define_Configs (   self)

Definition at line 598 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.loadAndRemember().

599  def define_Configs(self):
600  if ( self._options.scenario not in defaultOptions.scenarioOptions):
601  print 'Invalid scenario provided. Options are:'
602  print defaultOptions.scenarioOptions
603  sys.exit(-1)
604 
605  self.loadAndRemember('Configuration/StandardSequences/Services_cff')
606  if self._options.particleTable not in defaultOptions.particleTableList:
607  print 'Invalid particle table provided. Options are:'
608  print defaultOptions.particleTable
609  sys.exit(-1)
610  else:
611  self.loadAndRemember('SimGeneral.HepPDTESSource.'+self._options.particleTable+'_cfi')
612 
613  self.loadAndRemember('FWCore/MessageService/MessageLogger_cfi')
615  self.ALCADefaultCFF="Configuration/StandardSequences/AlCaRecoStreams_cff"
616  self.GENDefaultCFF="Configuration/StandardSequences/Generator_cff"
617  self.SIMDefaultCFF="Configuration/StandardSequences/Sim_cff"
618  self.DIGIDefaultCFF="Configuration/StandardSequences/Digi_cff"
619  self.DIGI2RAWDefaultCFF="Configuration/StandardSequences/DigiToRaw_cff"
620  self.L1EMDefaultCFF='Configuration/StandardSequences/SimL1Emulator_cff'
621  self.L1MENUDefaultCFF="Configuration/StandardSequences/L1TriggerDefaultMenu_cff"
622  self.HLTDefaultCFF="Configuration/StandardSequences/HLTtable_cff"
623  self.RAW2DIGIDefaultCFF="Configuration/StandardSequences/RawToDigi_Data_cff"
624  self.L1RecoDefaultCFF="Configuration/StandardSequences/L1Reco_cff"
625  self.RECODefaultCFF="Configuration/StandardSequences/Reconstruction_cff"
626  self.SKIMDefaultCFF="Configuration/StandardSequences/Skims_cff"
627  self.POSTRECODefaultCFF="Configuration/StandardSequences/PostRecoGenerator_cff"
628  self.VALIDATIONDefaultCFF="Configuration/StandardSequences/Validation_cff"
629  self.L1HwValDefaultCFF = "Configuration/StandardSequences/L1HwVal_cff"
630  self.DQMOFFLINEDefaultCFF="DQMOffline/Configuration/DQMOffline_cff"
631  self.HARVESTINGDefaultCFF="Configuration/StandardSequences/Harvesting_cff"
632  self.ALCAHARVESTDefaultCFF="Configuration/StandardSequences/AlCaHarvesting_cff"
633  self.ENDJOBDefaultCFF="Configuration/StandardSequences/EndOfProcess_cff"
634  self.ConditionsDefaultCFF = "Configuration/StandardSequences/FrontierConditions_GlobalTag_cff"
635  self.CFWRITERDefaultCFF = "Configuration/StandardSequences/CrossingFrameWriter_cff"
636  self.REPACKDefaultCFF="Configuration/StandardSequences/DigiToRaw_Repack_cff"
637 
638  # synchronize the geometry configuration and the FullSimulation sequence to be used
639  if self._options.geometry not in defaultOptions.geometryExtendedOptions:
640  self.SIMDefaultCFF="Configuration/StandardSequences/SimIdeal_cff"
641 
642  if "DATAMIX" in self.stepMap.keys():
643  self.DATAMIXDefaultCFF="Configuration/StandardSequences/DataMixer"+self._options.datamix+"_cff"
644  self.DIGIDefaultCFF="Configuration/StandardSequences/DigiDM_cff"
645  self.DIGI2RAWDefaultCFF="Configuration/StandardSequences/DigiToRawDM_cff"
646  self.L1EMDefaultCFF='Configuration/StandardSequences/SimL1EmulatorDM_cff'
648  self.ALCADefaultSeq=None
649  self.SIMDefaultSeq=None
650  self.GENDefaultSeq='pgen'
651  self.DIGIDefaultSeq='pdigi'
653  self.DIGI2RAWDefaultSeq='DigiToRaw'
654  self.HLTDefaultSeq='GRun'
655  self.L1DefaultSeq=None
659  self.RAW2DIGIDefaultSeq='RawToDigi'
660  self.L1RecoDefaultSeq='L1Reco'
661  if 'RAW2DIGI' in self.stepMap and 'RECO' in self.stepMap:
662  self.RECODefaultSeq='reconstruction'
663  else:
664  self.RECODefaultSeq='reconstruction_fromRECO'
667  self.L1HwValDefaultSeq='L1HwVal'
668  self.DQMDefaultSeq='DQMOffline'
669  self.FASTSIMDefaultSeq='all'
672  self.ENDJOBDefaultSeq='endOfProcess'
673  self.REPACKDefaultSeq='DigiToRawRepack'
675  self.EVTCONTDefaultCFF="Configuration/EventContent/EventContent_cff"
676 
677  # if fastsim switch event content
678  if "FASTSIM" in self.stepMap.keys():
679  self.GENDefaultSeq='pgen_genonly'
680  self.EVTCONTDefaultCFF = "FastSimulation/Configuration/EventContent_cff"
681  self.VALIDATIONDefaultCFF = "FastSimulation.Configuration.Validation_cff"
682 
683  # if its MC then change the raw2digi
684  if self._options.isMC==True:
685  self.RAW2DIGIDefaultCFF="Configuration/StandardSequences/RawToDigi_cff"
686  self.DQMOFFLINEDefaultCFF="DQMOffline/Configuration/DQMOfflineMC_cff"
687  self.ALCADefaultCFF="Configuration/StandardSequences/AlCaRecoStreamsMC_cff"
688 
689  if hasattr(self._options,"isRepacked") and self._options.isRepacked:
690  self.RAW2DIGIDefaultCFF="Configuration/StandardSequences/RawToDigi_Repacked_cff"
691 
692  # now for #%#$#! different scenarios
693 
694  if self._options.scenario=='nocoll' or self._options.scenario=='cosmics':
695  self.SIMDefaultCFF="Configuration/StandardSequences/SimNOBEAM_cff"
696  self._options.beamspot='NoSmear'
697 
698  if self._options.scenario=='cosmics':
699  self.DIGIDefaultCFF="Configuration/StandardSequences/DigiCosmics_cff"
700  self.RECODefaultCFF="Configuration/StandardSequences/ReconstructionCosmics_cff"
701  self.SKIMDefaultCFF="Configuration/StandardSequences/SkimsCosmics_cff"
702  self.EVTCONTDefaultCFF="Configuration/EventContent/EventContentCosmics_cff"
703  self.DQMOFFLINEDefaultCFF="DQMOffline/Configuration/DQMOfflineCosmics_cff"
704  if self._options.isMC==True:
705  self.DQMOFFLINEDefaultCFF="DQMOffline/Configuration/DQMOfflineCosmicsMC_cff"
706  self.HARVESTINGDefaultCFF="Configuration/StandardSequences/HarvestingCosmics_cff"
707  self.RECODefaultSeq='reconstructionCosmics'
708  self.DQMDefaultSeq='DQMOfflineCosmics'
709  self.eventcontent='FEVT'
710 
711  if self._options.himix:
712  print "From the presence of the himix option, we have determined that this is heavy ions and will use '--scenario HeavyIons'."
713  self._options.scenario='HeavyIons'
714 
715  if self._options.scenario=='HeavyIons':
716  self.HLTDefaultSeq = 'HIon'
717  if not self._options.himix:
718  self.GENDefaultSeq='pgen_hi'
719  else:
720  self.GENDefaultSeq='pgen_himix'
721  self.VALIDATIONDefaultCFF="Configuration/StandardSequences/ValidationHeavyIons_cff"
722  self.VALIDATIONDefaultSeq=''
723  self.EVTCONTDefaultCFF="Configuration/EventContent/EventContentHeavyIons_cff"
724  self.RECODefaultCFF="Configuration/StandardSequences/ReconstructionHeavyIons_cff"
725  self.RECODefaultSeq='reconstructionHeavyIons'
726  self.ALCADefaultCFF = "Configuration/StandardSequences/AlCaRecoStreamsHeavyIons_cff"
727  self.DQMOFFLINEDefaultCFF="DQMOffline/Configuration/DQMOfflineHeavyIons_cff"
728  self.DQMDefaultSeq='DQMOfflineHeavyIons'
729  self.SKIMDefaultCFF="Configuration/StandardSequences/SkimsHeavyIons_cff"
730  self.HARVESTINGDefaultCFF="Configuration/StandardSequences/HarvestingHeavyIons_cff"
731  if self._options.isMC==True:
732  self.DQMOFFLINEDefaultCFF="DQMOffline/Configuration/DQMOfflineHeavyIonsMC_cff"
733 
736 
737 
738  # the magnetic field
739  self.magFieldCFF = 'Configuration/StandardSequences/MagneticField_'+self._options.magField.replace('.','')+'_cff'
740  self.magFieldCFF = self.magFieldCFF.replace("__",'_')
741 
742  # the geometry
743  if 'FASTSIM' in self.stepMap:
744  if 'start' in self._options.conditions.lower():
745  self.GeometryCFF='FastSimulation/Configuration/Geometries_START_cff'
746  else:
747  self.GeometryCFF='FastSimulation/Configuration/Geometries_MC_cff'
748  else:
749  if self._options.gflash==True:
750  self.GeometryCFF='Configuration/StandardSequences/Geometry'+self._options.geometry+'GFlash_cff'
751  else:
752  self.GeometryCFF='Configuration/StandardSequences/Geometry'+self._options.geometry+'_cff'
753 
# Mixing
static std::string join(char **cmd)
Definition: RemoteFile.cc:18
def ConfigBuilder.ConfigBuilder.doNotInlineEventContent (   instance,
  label = "cms.untracked.vstring(process."+theStreamType+"EventContent.outputCommands)" 
)

Definition at line 348 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.executeAndRemember(), DTTTrigProd.DTTTrigProd.process, DTDqm.DTDqm.process, DTValidSummary.DTValidSummary.process, DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.process, DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.process, DTResidualCalibration.DTResidualCalibration.process, DTTTrigValid.DTTTrigValid.process, DTVDriftMeanTimerWriter.DTVDriftMeanTimerWriter.process, DTVDriftSegmentWriter.DTVDriftSegmentWriter.process, DTTTrigResidualCorr.DTTTrigResidualCorr.process, DTTTrigCorrFirst.DTTTrigCorrFirst.process, DTTTrigTimeBoxesWriter.DTTTrigTimeBoxesWriter.process, ConfigBuilder.ConfigBuilder.process, and split.

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

349  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 399 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.doNotInlineEventContent().

400  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 166 of file ConfigBuilder.py.

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

167  def executeAndRemember(self, command):
168  """helper routine to remember replace statements"""
169  self.additionalCommands.append(command)
170  if not command.strip().startswith("#"):
171  # substitute: process.foo = process.bar -> self.process.foo = self.process.bar
172  exec(command.replace("process.","self.process."))
def ConfigBuilder.ConfigBuilder.filesFromOption (   self)

Definition at line 201 of file ConfigBuilder.py.

References ConfigBuilder.filesFromDASQuery().

202  def filesFromOption(self):
203  for entry in self._options.filein.split(','):
204  print "entry",entry
205  if entry.startswith("filelist:"):
206  filesFromList(entry[9:],self.process.source)
207  elif entry.startswith("dbs:") or entry.startswith("das:"):
208  filesFromDASQuery('file dataset = %s'%(entry[4:]),self.process.source)
209  else:
210  self.process.source.fileNames.append(self._options.dirin+entry)
211  if self._options.secondfilein:
212  if not hasattr(self.process.source,"secondaryFileNames"):
213  raise Exception("--secondfilein not compatible with "+self._options.filetype+"input type")
214  for entry in self._options.secondfilein.split(','):
215  print "entry",entry
216  if entry.startswith("filelist:"):
217  self.process.source.secondaryFileNames.extend((filesFromList(entry[9:]))[0])
218  elif entry.startswith("dbs:") or entry.startswith("das:"):
219  self.process.source.secondaryFileNames.extend((filesFromDASQuery('file dataset = %s'%(entry[4:])))[0])
220  else:
221  self.process.source.secondaryFileNames.append(self._options.dirin+entry)
222 
223  if self._options.filein:
224  if self._options.filetype == "EDM":
225  self.process.source=cms.Source("PoolSource", fileNames = cms.untracked.vstring(), secondaryFileNames = cms.untracked.vstring())
226  filesFromOption(self)
227 
228  elif self._options.filetype == "LHE":
229  self.process.source=cms.Source("LHESource", fileNames = cms.untracked.vstring(self._options.filein))
230  elif self._options.filetype == "MCDB":
231  self.process.source=cms.Source("MCDBSource", articleID = cms.uint32(int(self._options.filein)), supportedProtocols = cms.untracked.vstring("rfio"))
232 
233  if 'HARVESTING' in self.stepMap.keys() or 'ALCAHARVEST' in self.stepMap.keys():
234  self.process.source.processingMode = cms.untracked.string("RunsAndLumis")
def ConfigBuilder.ConfigBuilder.finalizeFastSimHLT (   self)

Definition at line 1396 of file ConfigBuilder.py.

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

1397  def finalizeFastSimHLT(self):
1398  self.process.reconstruction = cms.Path(self.process.reconstructionWithFamos)
1399  self.schedule.append(self.process.reconstruction)
def ConfigBuilder.ConfigBuilder.loadAndRemember (   self,
  includeFile 
)
helper routine to load am memorize imports

Definition at line 157 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.addConditions(), 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_POSTRECO(), ConfigBuilder.ConfigBuilder.prepare_SIM(), and ConfigBuilder.ConfigBuilder.prepare_VALIDATION().

158  def loadAndRemember(self, includeFile):
159  """helper routine to load am memorize imports"""
160  # we could make the imports a on-the-fly data method of the process instance itself
161  # not sure if the latter is a good idea
162  includeFile = includeFile.replace('/','.')
163  self.imports.append(includeFile)
164  self.process.load(includeFile)
165  return sys.modules[includeFile]
def ConfigBuilder.ConfigBuilder.loadDefaultOrSpecifiedCFF (   self,
  sequence,
  defaultCFF 
)

Definition at line 838 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_RAW2DIGI(), ConfigBuilder.ConfigBuilder.prepare_RECO(), ConfigBuilder.ConfigBuilder.prepare_REPACK(), ConfigBuilder.ConfigBuilder.prepare_SKIM(), and ConfigBuilder.ConfigBuilder.prepare_VALIDATION().

839  def loadDefaultOrSpecifiedCFF(self, sequence,defaultCFF):
840  if ( len(sequence.split('.'))==1 ):
841  l=self.loadAndRemember(defaultCFF)
842  elif ( len(sequence.split('.'))==2 ):
843  l=self.loadAndRemember(sequence.split('.')[0])
844  sequence=sequence.split('.')[1]
845  else:
846  print "sub sequence configuration must be of the form dir/subdir/cff.a+b+c or cff.a"
847  print sequence,"not recognized"
848  raise
849  return l
def ConfigBuilder.ConfigBuilder.prepare (   self,
  doChecking = False 
)
Prepare the configuration string and add missing pieces.

Definition at line 1455 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.addCommon(), ConfigBuilder.ConfigBuilder.addConditions(), ConfigBuilder.ConfigBuilder.addMaxEvents(), ConfigBuilder.ConfigBuilder.addOutput(), ConfigBuilder.ConfigBuilder.addSource(), ConfigBuilder.ConfigBuilder.addStandardSequences(), ConfigBuilder.ConfigBuilder.EVTCONTDefaultCFF, ConfigBuilder.ConfigBuilder.loadAndRemember(), ConfigBuilder.ConfigBuilder.with_input, and ConfigBuilder.ConfigBuilder.with_output.

Referenced by addOnTests.StandardTester.runTests().

1456  def prepare(self, doChecking = False):
1457  """ Prepare the configuration string and add missing pieces."""
1458 
1459  self.loadAndRemember(self.EVTCONTDefaultCFF) #load the event contents regardless
1460  self.addMaxEvents()
1461  if self.with_input:
1462  self.addSource()
1463  self.addStandardSequences()
1464  self.addConditions()
1465 
1466 
1467  outputModuleCfgCode=""
1468  if not 'HARVESTING' in self.stepMap.keys() and not 'SKIM' in self.stepMap.keys() and not 'ALCAHARVEST' in self.stepMap.keys() and not 'ALCAOUTPUT' in self.stepMap.keys() and self.with_output:
1469  outputModuleCfgCode=self.addOutput()
1470 
1471  self.addCommon()
1473  self.pythonCfgCode = "# Auto generated configuration file\n"
1474  self.pythonCfgCode += "# using: \n# "+__version__[1:-1]+"\n# "+__source__[1:-1]+'\n'
1475  self.pythonCfgCode += "# with command line options: "+self._options.arguments+'\n'
1476  self.pythonCfgCode += "import FWCore.ParameterSet.Config as cms\n\n"
1477  self.pythonCfgCode += "process = cms.Process('"+self._options.name+"')\n\n"
1478 
1479  self.pythonCfgCode += "# import of standard configurations\n"
1480  for module in self.imports:
1481  self.pythonCfgCode += ("process.load('"+module+"')\n")
1482 
1483  # production info
1484  if not hasattr(self.process,"configurationMetadata"):
1485  self.build_production_info(self._options.evt_type, self._options.number)
1486  else:
1487  #the PSet was added via a load
1488  self.addedObjects.append(("Production Info","configurationMetadata"))
1489 
1490  self.pythonCfgCode +="\n"
1491  for comment,object in self.addedObjects:
1492  if comment!="":
1493  self.pythonCfgCode += "\n# "+comment+"\n"
1494  self.pythonCfgCode += dumpPython(self.process,object)
1495 
1496  # dump the output definition
1497  self.pythonCfgCode += "\n# Output definition\n"
1498  self.pythonCfgCode += outputModuleCfgCode
1499 
1500  # dump all additional outputs (e.g. alca or skim streams)
1501  self.pythonCfgCode += "\n# Additional output definition\n"
1502  #I do not understand why the keys are not normally ordered.
1503  nl=self.additionalOutputs.keys()
1504  nl.sort()
1505  for name in nl:
1506  output = self.additionalOutputs[name]
1507  self.pythonCfgCode += "process.%s = %s" %(name, output.dumpPython())
1508  tmpOut = cms.EndPath(output)
1509  setattr(self.process,name+'OutPath',tmpOut)
1510  self.schedule.append(tmpOut)
1511 
1512  # dump all additional commands
1513  self.pythonCfgCode += "\n# Other statements\n"
1514  for command in self.additionalCommands:
1515  self.pythonCfgCode += command + "\n"
1516 
1517  #comma separated list of objects that deserve to be inlined in the configuration (typically from a modified config deep down)
1518  for object in self._options.inlineObjets.split(','):
1519  if not object:
1520  continue
1521  if not hasattr(self.process,object):
1522  print 'cannot inline -'+object+'- : not known'
1523  else:
1524  self.pythonCfgCode +='\n'
1525  self.pythonCfgCode +=dumpPython(self.process,object)
1526 
1527  # dump all paths
1528  self.pythonCfgCode += "\n# Path and EndPath definitions\n"
1529  for path in self.process.paths:
1530  if getattr(self.process,path) not in self.blacklist_paths:
1531  self.pythonCfgCode += dumpPython(self.process,path)
1532  for endpath in self.process.endpaths:
1533  if getattr(self.process,endpath) not in self.blacklist_paths:
1534  self.pythonCfgCode += dumpPython(self.process,endpath)
1535 
1536  # dump the schedule
1537  self.pythonCfgCode += "\n# Schedule definition\n"
1538  result = "process.schedule = cms.Schedule("
1539 
1540  # handling of the schedule
1541  self.process.schedule = cms.Schedule()
1542  for item in self.schedule:
1543  if not isinstance(item, cms.Schedule):
1544  self.process.schedule.append(item)
1545  else:
1546  self.process.schedule.extend(item)
1547 
1548  if hasattr(self.process,"HLTSchedule"):
1549  beforeHLT = self.schedule[:self.schedule.index(self.process.HLTSchedule)]
1550  afterHLT = self.schedule[self.schedule.index(self.process.HLTSchedule)+1:]
1551  pathNames = ['process.'+p.label_() for p in beforeHLT]
1552  result += ','.join(pathNames)+')\n'
1553  result += 'process.schedule.extend(process.HLTSchedule)\n'
1554  pathNames = ['process.'+p.label_() for p in afterHLT]
1555  result += 'process.schedule.extend(['+','.join(pathNames)+'])\n'
1556  else:
1557  pathNames = ['process.'+p.label_() for p in self.schedule]
1558  result ='process.schedule = cms.Schedule('+','.join(pathNames)+')\n'
1559 
1560  self.pythonCfgCode += result
1561 
1562  # special treatment in case of production filter sequence 2/2
1563  if self.productionFilterSequence:
1564  self.pythonCfgCode +='# filter all path with the production filter sequence\n'
1565  self.pythonCfgCode +='for path in process.paths:\n'
1566  self.pythonCfgCode +='\tgetattr(process,path)._seq = process.%s * getattr(process,path)._seq \n'%(self.productionFilterSequence,)
1567 
1568  # dump customise fragment
1569  if self._options.customisation_file:
1570  self.pythonCfgCode += self.addCustomise()
1571  return
1572 
static std::string join(char **cmd)
Definition: RemoteFile.cc:18
def ConfigBuilder.ConfigBuilder.prepare_ALCA (   self,
  sequence = None,
  workflow = 'full' 
)
Enrich the process with alca streams 

Definition at line 883 of file ConfigBuilder.py.

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

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

884  def prepare_ALCA(self, sequence = None, workflow = 'full'):
885  """ Enrich the process with alca streams """
886  alcaConfig=self.loadDefaultOrSpecifiedCFF(sequence,self.ALCADefaultCFF)
887  sequence = sequence.split('.')[-1]
888 
889  # 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 1367 of file ConfigBuilder.py.

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

1368  def prepare_ALCAHARVEST(self, sequence = None):
1369  """ Enrich the process with AlCaHarvesting step """
1370  harvestingConfig = self.loadAndRemember(self.ALCAHARVESTDefaultCFF)
1371  sequence=sequence.split(".")[-1]
1372 
1373  # decide which AlcaHARVESTING paths to use
1374  harvestingList = sequence.split("+")
1375  for name in harvestingConfig.__dict__:
1376  harvestingstream = getattr(harvestingConfig,name)
1377  if name in harvestingList and isinstance(harvestingstream,cms.Path):
1378  self.schedule.append(harvestingstream)
1379  self.executeAndRemember("process.PoolDBOutputService.toPut.append(process.ALCAHARVEST" + name + "_dbOutput)")
1380  self.executeAndRemember("process.pclMetadataWriter.recordsToMap.append(process.ALCAHARVEST" + name + "_metadata)")
harvestingList.remove(name)
def ConfigBuilder.ConfigBuilder.prepare_ALCAOUTPUT (   self,
  sequence = None 
)

Definition at line 880 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.prepare_ALCA().

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

Definition at line 877 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.prepare_ALCA().

878  def prepare_ALCAPRODUCER(self, sequence = None):
879  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 1042 of file ConfigBuilder.py.

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

1043  def prepare_CFWRITER(self, sequence = None):
1044  """ Enrich the schedule with the crossing frame writer step"""
1046  self.scheduleSequence('pcfw','cfwriter_step')
1047  return
def ConfigBuilder.ConfigBuilder.prepare_DATAMIX (   self,
  sequence = None 
)
Enrich the schedule with the digitisation step

Definition at line 1048 of file ConfigBuilder.py.

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

1049  def prepare_DATAMIX(self, sequence = None):
1050  """ Enrich the schedule with the digitisation step"""
1052  self.scheduleSequence('pdatamix','datamixing_step')
1053  return
def ConfigBuilder.ConfigBuilder.prepare_DIGI (   self,
  sequence = None 
)
Enrich the schedule with the digitisation step

Definition at line 1029 of file ConfigBuilder.py.

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

1030  def prepare_DIGI(self, sequence = None):
1031  """ Enrich the schedule with the digitisation step"""
1032  self.loadDefaultOrSpecifiedCFF(sequence,self.DIGIDefaultCFF)
1033 
1034  if self._options.gflash==True:
1035  self.loadAndRemember("Configuration/StandardSequences/GFlashDIGI_cff")
1036 
1037  if self._options.himix==True:
1038  self.loadAndRemember("SimGeneral/MixingModule/himixDIGI_cff")
def ConfigBuilder.ConfigBuilder.prepare_DIGI2RAW (   self,
  sequence = None 
)

Definition at line 1054 of file ConfigBuilder.py.

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

1055  def prepare_DIGI2RAW(self, sequence = None):
1056  self.loadDefaultOrSpecifiedCFF(sequence,self.DIGI2RAWDefaultCFF)
1057  self.scheduleSequence(sequence.split('.')[-1],'digi2raw_step')
1058  return
def ConfigBuilder.ConfigBuilder.prepare_DQM (   self,
  sequence = 'DQMOffline' 
)

Definition at line 1314 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.DQMOFFLINEDefaultCFF, ConfigBuilder.ConfigBuilder.loadDefaultOrSpecifiedCFF(), DTTTrigProd.DTTTrigProd.process, DTDqm.DTDqm.process, DTValidSummary.DTValidSummary.process, DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.process, DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.process, DTResidualCalibration.DTResidualCalibration.process, DTTTrigValid.DTTTrigValid.process, DTVDriftMeanTimerWriter.DTVDriftMeanTimerWriter.process, DTVDriftSegmentWriter.DTVDriftSegmentWriter.process, DTTTrigResidualCorr.DTTTrigResidualCorr.process, DTTTrigCorrFirst.DTTTrigCorrFirst.process, DTTTrigTimeBoxesWriter.DTTTrigTimeBoxesWriter.process, ConfigBuilder.ConfigBuilder.process, and ConfigBuilder.ConfigBuilder.renameHLTprocessInSequence().

1315  def prepare_DQM(self, sequence = 'DQMOffline'):
1316  # this one needs replacement
1317 
1319  sequence=sequence.split('.')[-1]
def ConfigBuilder.ConfigBuilder.prepare_ENDJOB (   self,
  sequence = 'endOfProcess' 
)

Definition at line 1391 of file ConfigBuilder.py.

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

1392  def prepare_ENDJOB(self, sequence = 'endOfProcess'):
1393  self.loadDefaultOrSpecifiedCFF(sequence,self.ENDJOBDefaultCFF)
1394  self.scheduleSequenceAtEnd(sequence.split('.')[-1],'endjob_step')
1395  return
def ConfigBuilder.ConfigBuilder.prepare_FASTSIM (   self,
  sequence = "all" 
)
Enrich the schedule with fastsim

Definition at line 1400 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.executeAndRemember(), ConfigBuilder.ConfigBuilder.finalizeFastSimHLT(), ConfigBuilder.ConfigBuilder.loadAndRemember(), ConfigBuilder.ConfigBuilder.prepare_HLT(), DTTTrigProd.DTTTrigProd.process, DTDqm.DTDqm.process, DTValidSummary.DTValidSummary.process, DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.process, DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.process, DTResidualCalibration.DTResidualCalibration.process, DTTTrigValid.DTTTrigValid.process, DTVDriftSegmentWriter.DTVDriftSegmentWriter.process, DTVDriftMeanTimerWriter.DTVDriftMeanTimerWriter.process, DTTTrigResidualCorr.DTTTrigResidualCorr.process, DTTTrigCorrFirst.DTTTrigCorrFirst.process, DTTTrigTimeBoxesWriter.DTTTrigTimeBoxesWriter.process, and ConfigBuilder.ConfigBuilder.process.

1401  def prepare_FASTSIM(self, sequence = "all"):
1402  """Enrich the schedule with fastsim"""
1403  self.loadAndRemember("FastSimulation/Configuration/FamosSequences_cff")
1404 
1405  if sequence in ('all','allWithHLTFiltering',''):
1406  if not 'HLT' in self.stepMap.keys():
1407  self.prepare_HLT(sequence=None)
1408 
1409  self.executeAndRemember("process.famosSimHits.SimulateCalorimetry = True")
1410  self.executeAndRemember("process.famosSimHits.SimulateTracking = True")
1411 
1412  self.executeAndRemember("process.simulation = cms.Sequence(process.simulationWithFamos)")
1413  self.executeAndRemember("process.HLTEndSequence = cms.Sequence(process.reconstructionWithFamos)")
1414 
1415  # since we have HLT here, the process should be called HLT
1416  self._options.name = "HLT"
1417 
1418  # if we don't want to filter after HLT but simulate everything regardless of what HLT tells, we have to add reconstruction explicitly
1419  if sequence == 'all' and not 'HLT' in self.stepMap.keys(): #(a)
1420  self.finalizeFastSimHLT()
1421  elif sequence == 'famosWithEverything':
1422  self.process.fastsim_step = cms.Path( getattr(self.process, "famosWithEverything") )
1423  self.schedule.append(self.process.fastsim_step)
1424 
1425  # now the additional commands we need to make the config work
1426  self.executeAndRemember("process.VolumeBasedMagneticFieldESProducer.useParametrizedTrackerField = True")
1427  else:
1428  print "FastSim setting", sequence, "unknown."
1429  raise ValueError
1430 
1431  if 'Flat' in self._options.beamspot:
1432  beamspotType = 'Flat'
1433  elif 'Gauss' in self._options.beamspot:
1434  beamspotType = 'Gaussian'
1435  else:
1436  beamspotType = 'BetaFunc'
1437  self.loadAndRemember('IOMC.EventVertexGenerators.VtxSmearedParameters_cfi')
1438  beamspotName = 'process.%sVtxSmearingParameters' %(self._options.beamspot)
1439  self.executeAndRemember(beamspotName+'.type = cms.string("%s")'%(beamspotType))
1440  self.executeAndRemember('process.famosSimHits.VertexGenerator = '+beamspotName)
1441  self.executeAndRemember('process.famosPileUp.VertexGenerator = '+beamspotName)
1442 
1443 
def ConfigBuilder.ConfigBuilder.prepare_GEN (   self,
  sequence = None 
)
load the fragment of generator configuration 

Definition at line 947 of file ConfigBuilder.py.

948  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 1332 of file ConfigBuilder.py.

1333  def prepare_HARVESTING(self, sequence = None):
1334  """ Enrich the process with harvesting step """
1335  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 1077 of file ConfigBuilder.py.

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

Referenced by ConfigBuilder.ConfigBuilder.prepare_FASTSIM().

1078  def prepare_HLT(self, sequence = None):
1079  """ Enrich the schedule with the HLT simulation step"""
1080  loadDir='HLTrigger'
1081  fastSim=False
1082  if 'FASTSIM' in self.stepMap.keys():
1083  fastSim=True
1084  loadDir='FastSimulation'
1085  if not sequence:
1086  print "no specification of the hlt menu has been given, should never happen"
1087  raise Exception('no HLT sequence provided')
1088  else:
1089  if ',' in sequence:
1090  #case where HLT:something:something was provided
1091  self.executeAndRemember('import HLTrigger.Configuration.Utilities')
1092  optionsForHLT = {}
1093  optionsForHLT['data'] = self._options.isData
1094  optionsForHLT['type'] = 'GRun'
1095  if self._options.scenario == 'HeavyIons': optionsForHLT['type'] = 'HIon'
1096  optionsForHLTConfig = ', '.join('%s=%s' % (key, repr(val)) for (key, val) in optionsForHLT.iteritems())
1097  self.executeAndRemember('process.loadHltConfiguration("%s",%s)'%(sequence.replace(',',':'),optionsForHLTConfig))
1098  else:
1099  dataSpec=''
1100  if self._options.isData:
1101  dataSpec='_data'
1102  self.loadAndRemember('%s/Configuration/HLT_%s%s_cff'%(loadDir,sequence,dataSpec))
1103 
1104  self.schedule.append(self.process.HLTSchedule)
1105  [self.blacklist_paths.append(path) for path in self.process.HLTSchedule if isinstance(path,(cms.Path,cms.EndPath))]
1106  if (fastSim and 'HLT' in self.stepMap.keys()):
1107  self.finalizeFastSimHLT()
1108 
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 1064 of file ConfigBuilder.py.

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

1065  def prepare_L1(self, sequence = None):
1066  """ Enrich the schedule with the L1 simulation step"""
1067  if not sequence:
1068  self.loadAndRemember(self.L1EMDefaultCFF)
1069  else:
1070  # let the L1 package decide for the scenarios available
1071  from L1Trigger.Configuration.ConfigBuilder import getConfigsForScenario
1072  listOfImports = getConfigsForScenario(sequence)
1073  for file in listOfImports:
1074  self.loadAndRemember(file)
1075  self.scheduleSequence('SimL1Emulator','L1simulation_step')
1076  return
def getConfigsForScenario
def ConfigBuilder.ConfigBuilder.prepare_L1HwVal (   self,
  sequence = 'L1HwVal' 
)
Enrich the schedule with L1 HW validation 

Definition at line 1125 of file ConfigBuilder.py.

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

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

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

1132  def prepare_L1Reco(self, sequence = "L1Reco"):
1133  ''' Enrich the schedule with L1 reconstruction '''
self.loadDefaultOrSpecifiedCFF(sequence,self.L1RecoDefaultCFF)
def ConfigBuilder.ConfigBuilder.prepare_POSTRECO (   self,
  sequence = None 
)
Enrich the schedule with the postreco step 

Definition at line 1193 of file ConfigBuilder.py.

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

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

Definition at line 1120 of file ConfigBuilder.py.

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

Referenced by ConfigBuilder.ConfigBuilder.prepare_RAW2RECO().

1121  def prepare_RAW2DIGI(self, sequence = "RawToDigi"):
1122  self.loadDefaultOrSpecifiedCFF(sequence,self.RAW2DIGIDefaultCFF)
1123  self.scheduleSequence(sequence.split('.')[-1],'raw2digi_step')
1124  return
def ConfigBuilder.ConfigBuilder.prepare_RAW2RECO (   self,
  sequence = None 
)

Definition at line 1109 of file ConfigBuilder.py.

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

1110  def prepare_RAW2RECO(self, sequence = None):
1111  if ','in sequence:
1112  seqReco=sequence.split(',')[1]
1113  seqDigi=sequence.split(',')[0]
1114  else:
1115  print "RAW2RECO requires two specifications",sequence,"insufficient"
1116 
1117  self.prepare_RAW2DIGI(seqDigi)
1118  self.prepare_RECO(seqReco)
1119  return
def ConfigBuilder.ConfigBuilder.prepare_RECO (   self,
  sequence = "reconstruction" 
)
Enrich the schedule with reconstruction 

Definition at line 1137 of file ConfigBuilder.py.

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

Referenced by ConfigBuilder.ConfigBuilder.prepare_RAW2RECO().

1138  def prepare_RECO(self, sequence = "reconstruction"):
1139  ''' Enrich the schedule with reconstruction '''
self.loadDefaultOrSpecifiedCFF(sequence,self.RECODefaultCFF)
def ConfigBuilder.ConfigBuilder.prepare_REPACK (   self,
  sequence = None 
)

Definition at line 1059 of file ConfigBuilder.py.

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

1060  def prepare_REPACK(self, sequence = None):
1061  self.loadDefaultOrSpecifiedCFF(sequence,self.REPACKDefaultCFF)
1062  self.scheduleSequence(sequence.split('.')[-1],'digi2repack_step')
1063  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 1011 of file ConfigBuilder.py.

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

1012  def prepare_SIM(self, sequence = None):
1013  """ Enrich the schedule with the simulation step"""
1014  self.loadAndRemember(self.SIMDefaultCFF)
1015  if self._options.gflash==True:
1016  self.loadAndRemember("Configuration/StandardSequences/GFlashSIM_cff")
1017 
1018  if self._options.magField=='0T':
1019  self.executeAndRemember("process.g4SimHits.UseMagneticField = cms.bool(False)")
1020 
1021  if self._options.himix==True:
1022  if self._options.geometry in defaultOptions.geometryExtendedOptions:
1023  self.loadAndRemember("SimGeneral/MixingModule/himixSIMExtended_cff")
1024  else:
1025  self.loadAndRemember("SimGeneral/MixingModule/himixSIMIdeal_cff")
def ConfigBuilder.ConfigBuilder.prepare_SKIM (   self,
  sequence = "all" 
)
Enrich the schedule with skimming fragments

Definition at line 1143 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.addExtraStream(), ConfigBuilder.ConfigBuilder.EVTCONTDefaultCFF, join(), ConfigBuilder.ConfigBuilder.loadDefaultOrSpecifiedCFF(), and ConfigBuilder.ConfigBuilder.SKIMDefaultCFF.

1144  def prepare_SKIM(self, sequence = "all"):
1145  ''' Enrich the schedule with skimming fragments'''
1146  skimConfig = self.loadDefaultOrSpecifiedCFF(sequence,self.SKIMDefaultCFF)
1147  sequence = sequence.split('.')[-1]
1148 
1149  skimlist=[]
1150  ## support @Mu+DiJet+@Electron configuration via autoSkim.py
1151  for specifiedCommand in sequence.split('+'):
1152  if specifiedCommand[0]=="@":
1153  from Configuration.Skimming.autoSkim import autoSkim
1154  location=specifiedCommand[1:]
1155  skimSequence = autoSkim[location]
1156  skimlist.extend(skimSequence.split('+'))
1157  else:
1158  skimlist.append(specifiedCommand)
1159 
1160  #print "dictionnary for skims:",skimConfig.__dict__
1161  for skim in skimConfig.__dict__:
1162  skimstream = getattr(skimConfig,skim)
1163  if isinstance(skimstream,cms.Path):
1164  #black list the alca path so that they do not appear in the cfg
1165  self.blacklist_paths.append(skimstream)
1166  if (not isinstance(skimstream,cms.FilteredStream)):
1167  continue
1168  shortname = skim.replace('SKIMStream','')
1169  if (sequence=="all"):
1170  self.addExtraStream(skim,skimstream)
1171  elif (shortname in skimlist):
1172  self.addExtraStream(skim,skimstream)
1173  #add a DQM eventcontent for this guy
1174  if self._options.datatier!="":
1175  self.process.load(self.EVTCONTDefaultCFF)
1176  skimstreamDQM = cms.FilteredStream(
1177  responsible = skimstream.responsible,
1178  name = skimstream.name+'DQM',
1179  paths = skimstream.paths,
1180  selectEvents = skimstream.selectEvents,
1181  content = self._options.datatier+'EventContent',
1182  dataTier = cms.untracked.string(self._options.datatier)
1183  )
1184  self.addExtraStream(skim+'DQM',skimstreamDQM)
1185  for i in range(skimlist.count(shortname)):
1186  skimlist.remove(shortname)
1187 
1188 
1189 
1190  if (skimlist.__len__()!=0 and sequence!="all"):
1191  print 'WARNING, possible typo with SKIM:'+'+'.join(skimlist)
1192  raise Exception('WARNING, possible typo with SKIM:'+'+'.join(skimlist))
static std::string join(char **cmd)
Definition: RemoteFile.cc:18
def ConfigBuilder.ConfigBuilder.prepare_VALIDATION (   self,
  sequence = 'validation' 
)

Definition at line 1200 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.executeAndRemember(), ConfigBuilder.ConfigBuilder.loadAndRemember(), ConfigBuilder.ConfigBuilder.loadDefaultOrSpecifiedCFF(), DTTTrigProd.DTTTrigProd.process, DTValidSummary.DTValidSummary.process, DTDqm.DTDqm.process, DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.process, DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.process, DTResidualCalibration.DTResidualCalibration.process, DTTTrigValid.DTTTrigValid.process, DTVDriftMeanTimerWriter.DTVDriftMeanTimerWriter.process, DTVDriftSegmentWriter.DTVDriftSegmentWriter.process, DTTTrigResidualCorr.DTTTrigResidualCorr.process, DTTTrigCorrFirst.DTTTrigCorrFirst.process, DTTTrigTimeBoxesWriter.DTTTrigTimeBoxesWriter.process, ConfigBuilder.ConfigBuilder.process, ConfigBuilder.ConfigBuilder.renameHLTprocessInSequence(), ConfigBuilder.ConfigBuilder.stepMap, and ConfigBuilder.ConfigBuilder.VALIDATIONDefaultCFF.

1201  def prepare_VALIDATION(self, sequence = 'validation'):
1203  #in case VALIDATION:something:somethingelse -> something,somethingelse
1204  sequence=sequence.split('.')[-1]
1205  if sequence.find(',')!=-1:
1206  prevalSeqName=sequence.split(',')[0]
1207  valSeqName=sequence.split(',')[1]
1208  else:
1209  postfix=''
1210  if sequence:
1211  postfix='_'+sequence
1212  prevalSeqName='prevalidation'+postfix
1213  valSeqName='validation'+postfix
1214  if not hasattr(self.process,valSeqName):
1215  prevalSeqName=''
1216  valSeqName=sequence
1217 
1218  if not 'DIGI' in self.stepMap and not 'FASTSIM' in self.stepMap:
1219  self.loadAndRemember('Configuration.StandardSequences.ReMixingSeeds_cff')
1220  #rename the HLT process in validation steps
1221  if ('HLT' in self.stepMap and not 'FASTSIM' in self.stepMap) or self._options.hltProcess:
1222  self.renameHLTprocessInSequence(valSeqName)
1223  if prevalSeqName:
1224  self.renameHLTprocessInSequence(prevalSeqName)
1225 
1226  if prevalSeqName:
1227  self.process.prevalidation_step = cms.Path( getattr(self.process, prevalSeqName ) )
1228  self.schedule.append(self.process.prevalidation_step)
1229  if valSeqName.startswith('genvalid'):
1230  self.loadAndRemember("IOMC.RandomEngine.IOMC_cff")
1231  self.process.validation_step = cms.Path( getattr(self.process,valSeqName ) )
1232  else:
1233  self.process.validation_step = cms.EndPath( getattr(self.process,valSeqName ) )
1234  self.schedule.append(self.process.validation_step)
1235 
1236 
1237  if not 'DIGI' in self.stepMap:
1238  self.executeAndRemember("process.mix.playback = True")
1239  return
1240 
def ConfigBuilder.ConfigBuilder.renameHLTprocessInSequence (   self,
  sequence,
  proc = None,
  HLTprocess = 'HLT' 
)

Definition at line 1300 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.additionalCommands, DTTTrigProd.DTTTrigProd.process, DTDqm.DTDqm.process, DTValidSummary.DTValidSummary.process, DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.process, DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.process, DTResidualCalibration.DTResidualCalibration.process, DTTTrigValid.DTTTrigValid.process, DTVDriftMeanTimerWriter.DTVDriftMeanTimerWriter.process, DTVDriftSegmentWriter.DTVDriftSegmentWriter.process, DTTTrigResidualCorr.DTTTrigResidualCorr.process, DTTTrigCorrFirst.DTTTrigCorrFirst.process, DTTTrigTimeBoxesWriter.DTTTrigTimeBoxesWriter.process, ConfigBuilder.ConfigBuilder.process, and cmsPerfHarvest.visit().

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

1301  def renameHLTprocessInSequence(self,sequence,proc=None,HLTprocess='HLT'):
1302  if self._options.hltProcess:
1303  proc=self._options.hltProcess
1304  else:
1305  proc=self.process.name_()
1306  if proc==HLTprocess: return
1307  # look up all module in dqm sequence
1308  print "replacing %s process name - sequence %s will use '%s'" % (HLTprocess,sequence, proc)
1309  getattr(self.process,sequence).visit(ConfigBuilder.MassSearchReplaceProcessNameVisitor(HLTprocess,proc,whitelist = ("subSystemFolder",)))
1310  if 'from Configuration.PyReleaseValidation.ConfigBuilder import ConfigBuilder' not in self.additionalCommands:
1311  self.additionalCommands.append('from Configuration.PyReleaseValidation.ConfigBuilder import ConfigBuilder')
1312  self.additionalCommands.append('process.%s.visit(ConfigBuilder.MassSearchReplaceProcessNameVisitor("%s", "%s", whitelist = ("subSystemFolder",)))'% (sequence,HLTprocess, proc))
1313 
def visit
Retrieve data from a perf suite output (sub) directory, only examines TimeSize at the moment...
def ConfigBuilder.ConfigBuilder.scheduleSequence (   self,
  seq,
  prefix,
  what = 'Path' 
)

Definition at line 850 of file ConfigBuilder.py.

References DTTTrigProd.DTTTrigProd.process, DTDqm.DTDqm.process, DTValidSummary.DTValidSummary.process, DTVDriftMeanTimerCalibration.DTVDriftMeanTimerCalibration.process, DTVDriftSegmentCalibration.DTVDriftSegmentCalibration.process, DTResidualCalibration.DTResidualCalibration.process, DTTTrigValid.DTTTrigValid.process, DTVDriftMeanTimerWriter.DTVDriftMeanTimerWriter.process, DTVDriftSegmentWriter.DTVDriftSegmentWriter.process, DTTTrigResidualCorr.DTTTrigResidualCorr.process, DTTTrigCorrFirst.DTTTrigCorrFirst.process, DTTTrigTimeBoxesWriter.DTTTrigTimeBoxesWriter.process, and ConfigBuilder.ConfigBuilder.process.

Referenced by ConfigBuilder.ConfigBuilder.prepare_CFWRITER(), ConfigBuilder.ConfigBuilder.prepare_DATAMIX(), ConfigBuilder.ConfigBuilder.prepare_DIGI(), ConfigBuilder.ConfigBuilder.prepare_DIGI2RAW(), ConfigBuilder.ConfigBuilder.prepare_L1(), ConfigBuilder.ConfigBuilder.prepare_L1HwVal(), ConfigBuilder.ConfigBuilder.prepare_L1Reco(), ConfigBuilder.ConfigBuilder.prepare_POSTRECO(), ConfigBuilder.ConfigBuilder.prepare_RAW2DIGI(), ConfigBuilder.ConfigBuilder.prepare_RECO(), ConfigBuilder.ConfigBuilder.prepare_REPACK(), ConfigBuilder.ConfigBuilder.prepare_SIM(), and ConfigBuilder.ConfigBuilder.scheduleSequenceAtEnd().

851  def scheduleSequence(self,seq,prefix,what='Path'):
852  if '*' in seq:
853  #create only one path with all sequences in it
854  for i,s in enumerate(seq.split('*')):
855  if i==0:
856  setattr(self.process,prefix,getattr(cms,what)( getattr(self.process, s) ))
857  else:
858  p=getattr(self.process,prefix)
859  p+=getattr(self.process, s)
860  self.schedule.append(getattr(self.process,prefix))
861  return
862  else:
863  #create as many path as many sequences
864  if not '+' in seq:
865  setattr(self.process,prefix,getattr(cms,what)( getattr(self.process, seq) ))
866  self.schedule.append(getattr(self.process,prefix))
867  else:
868  for i,s in enumerate(seq.split('+')):
869  sn=prefix+'%d'%(i)
870  setattr(self.process,sn,getattr(cms,what)( getattr(self.process, s) ))
871  self.schedule.append(getattr(self.process,sn))
872  return
def ConfigBuilder.ConfigBuilder.scheduleSequenceAtEnd (   self,
  seq,
  prefix 
)

Definition at line 873 of file ConfigBuilder.py.

References ConfigBuilder.ConfigBuilder.scheduleSequence().

Referenced by ConfigBuilder.ConfigBuilder.prepare_ENDJOB().

874  def scheduleSequenceAtEnd(self,seq,prefix):
875  self.scheduleSequence(seq,prefix,what='EndPath')
876  return

Member Data Documentation

ConfigBuilder.ConfigBuilder._options
private

Definition at line 105 of file ConfigBuilder.py.

ConfigBuilder.ConfigBuilder.addedObjects

Definition at line 150 of file ConfigBuilder.py.

ConfigBuilder.ConfigBuilder.additionalCommands

Definition at line 147 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.renameHLTprocessInSequence().

ConfigBuilder.ConfigBuilder.additionalOutputs

Definition at line 151 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.addExtraStream().

ConfigBuilder.ConfigBuilder.ALCADefaultCFF

Definition at line 614 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare_ALCA().

ConfigBuilder.ConfigBuilder.ALCADefaultSeq

Definition at line 647 of file ConfigBuilder.py.

ConfigBuilder.ConfigBuilder.ALCAHARVESTDefaultCFF

Definition at line 631 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare_ALCAHARVEST().

ConfigBuilder.ConfigBuilder.ALCAHARVESTDefaultSeq

Definition at line 656 of file ConfigBuilder.py.

list ConfigBuilder.ConfigBuilder.alcaSequence = autoAlca[location]
static

Definition at line 898 of file ConfigBuilder.py.

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

Definition at line 904 of file ConfigBuilder.py.

list ConfigBuilder.ConfigBuilder.allFcn = []
static

Definition at line 558 of file ConfigBuilder.py.

list ConfigBuilder.ConfigBuilder.allowedFields = ['tag','record','connect','label']
static

Definition at line 512 of file ConfigBuilder.py.

list ConfigBuilder.ConfigBuilder.available = []
static

Definition at line 937 of file ConfigBuilder.py.

ConfigBuilder.ConfigBuilder.blacklist_paths

Definition at line 149 of file ConfigBuilder.py.

ConfigBuilder.ConfigBuilder.CFWRITERDefaultCFF

Definition at line 634 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare_CFWRITER().

ConfigBuilder.ConfigBuilder.CFWRITERDefaultSeq

Definition at line 657 of file ConfigBuilder.py.

ConfigBuilder.ConfigBuilder.ConditionsDefaultCFF

Definition at line 633 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.addConditions().

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

Definition at line 572 of file ConfigBuilder.py.

ConfigBuilder.ConfigBuilder.DATAMIXDefaultCFF

Definition at line 642 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare_DATAMIX().

ConfigBuilder.ConfigBuilder.DATAMIXDefaultSeq

Definition at line 651 of file ConfigBuilder.py.

ConfigBuilder.ConfigBuilder.DIGI2RAWDefaultCFF

Definition at line 618 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare_DIGI2RAW().

ConfigBuilder.ConfigBuilder.DIGI2RAWDefaultSeq

Definition at line 652 of file ConfigBuilder.py.

ConfigBuilder.ConfigBuilder.DIGIDefaultCFF

Definition at line 617 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare_DIGI().

ConfigBuilder.ConfigBuilder.DIGIDefaultSeq

Definition at line 650 of file ConfigBuilder.py.

ConfigBuilder.ConfigBuilder.DQMDefaultSeq

Definition at line 667 of file ConfigBuilder.py.

ConfigBuilder.ConfigBuilder.DQMOFFLINEDefaultCFF

Definition at line 629 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare_DQM().

ConfigBuilder.ConfigBuilder.EDMtoMECFF

Definition at line 1334 of file ConfigBuilder.py.

ConfigBuilder.ConfigBuilder.ENDJOBDefaultCFF

Definition at line 632 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare_ENDJOB().

ConfigBuilder.ConfigBuilder.ENDJOBDefaultSeq

Definition at line 671 of file ConfigBuilder.py.

ConfigBuilder.ConfigBuilder.eventcontent

Definition at line 708 of file ConfigBuilder.py.

ConfigBuilder.ConfigBuilder.EVTCONTDefaultCFF

Definition at line 674 of file ConfigBuilder.py.

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

ConfigBuilder.ConfigBuilder.FASTSIMDefaultSeq

Definition at line 668 of file ConfigBuilder.py.

tuple ConfigBuilder.ConfigBuilder.field = item.split('=')
static

Definition at line 515 of file ConfigBuilder.py.

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

Definition at line 542 of file ConfigBuilder.py.

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

Definition at line 554 of file ConfigBuilder.py.

ConfigBuilder.ConfigBuilder.GENDefaultCFF

Definition at line 615 of file ConfigBuilder.py.

ConfigBuilder.ConfigBuilder.GENDefaultSeq

Definition at line 649 of file ConfigBuilder.py.

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

Definition at line 967 of file ConfigBuilder.py.

ConfigBuilder.ConfigBuilder.genModules = generatorModule.__dict__
static

Definition at line 968 of file ConfigBuilder.py.

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

Definition at line 990 of file ConfigBuilder.py.

ConfigBuilder.ConfigBuilder.GeometryCFF

Definition at line 744 of file ConfigBuilder.py.

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

Definition at line 1338 of file ConfigBuilder.py.

ConfigBuilder.ConfigBuilder.HARVESTINGDefaultCFF

Definition at line 630 of file ConfigBuilder.py.

ConfigBuilder.ConfigBuilder.HARVESTINGDefaultSeq

Definition at line 655 of file ConfigBuilder.py.

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

Definition at line 1342 of file ConfigBuilder.py.

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

Definition at line 1344 of file ConfigBuilder.py.

ConfigBuilder.ConfigBuilder.HLTDefaultCFF

Definition at line 621 of file ConfigBuilder.py.

ConfigBuilder.ConfigBuilder.HLTDefaultSeq

Definition at line 653 of file ConfigBuilder.py.

ConfigBuilder.ConfigBuilder.imports

Definition at line 139 of file ConfigBuilder.py.

tuple ConfigBuilder.ConfigBuilder.items = spec.split(',')
static

Definition at line 510 of file ConfigBuilder.py.

Referenced by python.seqvaluedict.seqdict.__add__(), argparse.HelpFormatter._Section.__init__(), python.seqvaluedict.seqdict.__radd__(), validateAlignments.BetterConfigParser.exists(), argparse.HelpFormatter._Section.format_help(), svgfig.SVG.keys(), python.rootplot.core.Options.kwarg_list(), python.seqvaluedict.seqdict.map(), python.seqvaluedict.seqdict.reduce(), python.seqvaluedict.seqdict.swap(), and svgfig.SVG.values().

ConfigBuilder.ConfigBuilder.L1DefaultSeq

Definition at line 654 of file ConfigBuilder.py.

ConfigBuilder.ConfigBuilder.L1EMDefaultCFF

Definition at line 619 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare_L1().

ConfigBuilder.ConfigBuilder.L1HwValDefaultCFF

Definition at line 628 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare_L1HwVal().

ConfigBuilder.ConfigBuilder.L1HwValDefaultSeq

Definition at line 666 of file ConfigBuilder.py.

ConfigBuilder.ConfigBuilder.L1MENUDefaultCFF

Definition at line 620 of file ConfigBuilder.py.

ConfigBuilder.ConfigBuilder.L1RecoDefaultCFF

Definition at line 623 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare_L1Reco().

ConfigBuilder.ConfigBuilder.L1RecoDefaultSeq

Definition at line 659 of file ConfigBuilder.py.

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

Definition at line 1382 of file ConfigBuilder.py.

ConfigBuilder.ConfigBuilder.loadFailure = True
static

Definition at line 962 of file ConfigBuilder.py.

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

Definition at line 953 of file ConfigBuilder.py.

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

Definition at line 956 of file ConfigBuilder.py.

list ConfigBuilder.ConfigBuilder.location = specifiedCommand[1:]
static

Definition at line 897 of file ConfigBuilder.py.

ConfigBuilder.ConfigBuilder.magFieldCFF

Definition at line 738 of file ConfigBuilder.py.

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

Definition at line 418 of file ConfigBuilder.py.

list ConfigBuilder.ConfigBuilder.mixingDict = Mixing[pileupSpec]
static

Definition at line 420 of file ConfigBuilder.py.

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

Definition at line 289 of file ConfigBuilder.py.

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

Definition at line 287 of file ConfigBuilder.py.

tuple ConfigBuilder.ConfigBuilder.output
static
Initial value:
1 = cms.OutputModule("PoolOutputModule",
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 326 of file ConfigBuilder.py.

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

Definition at line 342 of file ConfigBuilder.py.

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

Definition at line 391 of file ConfigBuilder.py.

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

Definition at line 569 of file ConfigBuilder.py.

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

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

Definition at line 567 of file ConfigBuilder.py.

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

Definition at line 344 of file ConfigBuilder.py.

ConfigBuilder.ConfigBuilder.PATLayer0DefaultSeq

Definition at line 670 of file ConfigBuilder.py.

dictionary ConfigBuilder.ConfigBuilder.payloadSpec = {}
static

Definition at line 511 of file ConfigBuilder.py.

string ConfigBuilder.ConfigBuilder.payloadSpecToAppend = ''
static

Definition at line 523 of file ConfigBuilder.py.

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

Definition at line 413 of file ConfigBuilder.py.

ConfigBuilder.ConfigBuilder.POSTRECODefaultCFF

Definition at line 626 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare_POSTRECO().

ConfigBuilder.ConfigBuilder.POSTRECODefaultSeq

Definition at line 665 of file ConfigBuilder.py.

ConfigBuilder.ConfigBuilder.process

Definition at line 136 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.addExtraStream(), ConfigBuilder.ConfigBuilder.doNotInlineEventContent(), python.Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.dumpPython(), python.Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.open(), python.Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.outputEventContent(), ConfigBuilder.ConfigBuilder.prepare_DQM(), ConfigBuilder.ConfigBuilder.prepare_FASTSIM(), ConfigBuilder.ConfigBuilder.prepare_VALIDATION(), ConfigBuilder.ConfigBuilder.renameHLTprocessInSequence(), ConfigBuilder.ConfigBuilder.scheduleSequence(), python.Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.setProcess(), and python.Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.setProperty().

ConfigBuilder.ConfigBuilder.productionFilterSequence

Definition at line 153 of file ConfigBuilder.py.

ConfigBuilder.ConfigBuilder.pythonCfgCode

Definition at line 1472 of file ConfigBuilder.py.

ConfigBuilder.ConfigBuilder.RAW2DIGIDefaultCFF

Definition at line 622 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare_RAW2DIGI().

ConfigBuilder.ConfigBuilder.RAW2DIGIDefaultSeq

Definition at line 658 of file ConfigBuilder.py.

ConfigBuilder.ConfigBuilder.RAW2RECODefaultSeq

Definition at line 734 of file ConfigBuilder.py.

ConfigBuilder.ConfigBuilder.RECODefaultCFF

Definition at line 624 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare_RECO().

ConfigBuilder.ConfigBuilder.RECODefaultSeq

Definition at line 661 of file ConfigBuilder.py.

ConfigBuilder.ConfigBuilder.REPACKDefaultCFF

Definition at line 635 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare_REPACK().

ConfigBuilder.ConfigBuilder.REPACKDefaultSeq

Definition at line 672 of file ConfigBuilder.py.

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

Definition at line 545 of file ConfigBuilder.py.

ConfigBuilder.ConfigBuilder.schedule

Definition at line 141 of file ConfigBuilder.py.

Referenced by Config.Process.dumpConfig(), and Config.Process.dumpPython().

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

Definition at line 1339 of file ConfigBuilder.py.

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

Definition at line 905 of file ConfigBuilder.py.

ConfigBuilder.ConfigBuilder.SIMDefaultCFF

Definition at line 616 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare_SIM().

ConfigBuilder.ConfigBuilder.SIMDefaultSeq

Definition at line 648 of file ConfigBuilder.py.

ConfigBuilder.ConfigBuilder.SKIMDefaultCFF

Definition at line 625 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare_SKIM().

tuple ConfigBuilder.ConfigBuilder.specialization = defineMixing(mixingDict,'FASTSIM' in self.stepMap)
static

Definition at line 430 of file ConfigBuilder.py.

tuple ConfigBuilder.ConfigBuilder.specs = self._options.custom_conditions.split('+')
static

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

ConfigBuilder.ConfigBuilder.stepMap

Definition at line 114 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare_VALIDATION().

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

Definition at line 459 of file ConfigBuilder.py.

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

Benedikt can we add here a check that assure that we are going to generate a correct config file? i.e.

the harvesting do not have to include other step......

Definition at line 458 of file ConfigBuilder.py.

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

Definition at line 267 of file ConfigBuilder.py.

tuple ConfigBuilder.ConfigBuilder.theEventContent = getattr(self.process, self._options.inputEventContent+"EventContent")
static

ends the –output options model

Definition at line 248 of file ConfigBuilder.py.

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

Definition at line 300 of file ConfigBuilder.py.

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

Definition at line 314 of file ConfigBuilder.py.

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

Definition at line 372 of file ConfigBuilder.py.

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

Definition at line 297 of file ConfigBuilder.py.

string ConfigBuilder.ConfigBuilder.theFilterName = 'StreamALCACombined'
static

Definition at line 325 of file ConfigBuilder.py.

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

Definition at line 373 of file ConfigBuilder.py.

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

Definition at line 299 of file ConfigBuilder.py.

ConfigBuilder.ConfigBuilder.theModuleLabel = name
static

Definition at line 309 of file ConfigBuilder.py.

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

Definition at line 976 of file ConfigBuilder.py.

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

Definition at line 298 of file ConfigBuilder.py.

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

event content

Definition at line 296 of file ConfigBuilder.py.

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

Definition at line 293 of file ConfigBuilder.py.

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

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

ConfigBuilder.ConfigBuilder.VALIDATIONDefaultCFF

Definition at line 627 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare_VALIDATION().

ConfigBuilder.ConfigBuilder.VALIDATIONDefaultSeq

Definition at line 669 of file ConfigBuilder.py.

ConfigBuilder.ConfigBuilder.with_input

Definition at line 134 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare().

ConfigBuilder.ConfigBuilder.with_output

Definition at line 131 of file ConfigBuilder.py.

Referenced by ConfigBuilder.ConfigBuilder.prepare().