CMS 3D CMS Logo

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

Public Member Functions

def __init__
 
def addGlobalOptions
 
def append_filenames
 
def build_source
 
def buildOptions
 
def buildPathList
 
def customize
 
def dump
 
def expand_filenames
 
def fixPrescales
 
def getPathList
 
def getRawConfigurationFromDB
 
def instrumentDQM
 
def instrumentErrorEventType
 
def instrumentOpenMode
 
def instrumentTiming
 
def loadAdditionalConditions
 
def loadCff
 
def loadCffCommand
 
def overrideGlobalTag
 
def overrideL1MenuXml
 
def overrideOutput
 
def overrideParameters
 
def overrideProcessName
 
def runL1Emulator
 
def specificCustomize
 
def updateMessageLogger
 

Static Public Member Functions

def consolidateNegativeList
 
def consolidatePositiveList
 
def dumppaths
 
def expandWildcards
 

Public Attributes

 all_paths
 
 config
 
 converter
 
 data
 
 labels
 
 options
 
 parent
 
 source
 

Private Member Functions

def _fix_parameter
 

Detailed Description

Definition at line 21 of file confdb.py.

Constructor & Destructor Documentation

def confdb.HLTProcess.__init__ (   self,
  configuration 
)

Definition at line 23 of file confdb.py.

23 
24  def __init__(self, configuration):
25  self.config = configuration
26  self.data = None
27  self.source = []
28  self.parent = []
29 
30  self.options = {
31  'essources' : [],
32  'esmodules' : [],
33  'modules' : [],
34  'sequences' : [],
35  'services' : [],
36  'paths' : [],
37  'psets' : [],
38  'blocks' : [],
39  }
40 
41  self.labels = {}
42  if self.config.fragment:
43  self.labels['process'] = 'fragment'
44  self.labels['dict'] = 'fragment.__dict__'
45  else:
46  self.labels['process'] = 'process'
47  self.labels['dict'] = 'process.__dict__'
48 
49  if self.config.online:
50  self.labels['connect'] = 'frontier://(proxyurl=http://localhost:3128)(serverurl=http://localhost:8000/FrontierOnProd)(serverurl=http://localhost:8000/FrontierOnProd)(retrieve-ziplevel=0)'
51  else:
52  self.labels['connect'] = 'frontier://FrontierProd'
53 
54  if self.config.prescale and (self.config.prescale.lower() != 'none'):
55  self.labels['prescale'] = self.config.prescale
56 
57  # get the configuration from ConfdB
58  from confdbOfflineConverter import OfflineConverter
59  self.converter = OfflineConverter(version = self.config.menu.version, database = self.config.menu.database)
60  self.buildPathList()
61  self.buildOptions()
63  self.customize()
64 
def getRawConfigurationFromDB
Definition: confdb.py:65

Member Function Documentation

def confdb.HLTProcess._fix_parameter (   self,
  args 
)
private
arguments:
name:     parameter name (optional)
type:     parameter type (look for tracked and untracked variants)
value:    original value
replace:  replacement value

Definition at line 301 of file confdb.py.

References CombinedSVCalibration.data, CombinedTauTagCalibration.data, DOTExport.DotProducer.data, TrackProbabilityCalibration.data, ElectronLikelihoodCalibration.data, CSCTMBScope.data, confdb.HLTProcess.data, SimpleVFATFrameCollection.data, dqm::DQMFileSaverOnline::SnapshotFiles.data, classes.PlotData.data, QGLikelihoodObject.data, dqmTnP::AbstractFitter.data, LASModuleProfile.data, QGLikelihoodSystematicsObject.data, TkLasBeam.data, GeometryComparisonPlotter.data, EcalGlobalShowerContainmentCorrectionsVsEta::Coefficients.data, edm::MapOfVectors< K, T >::Iter.data, edm::DetSet< T >.data, @573.data, EcalShowerContainmentCorrections::Coefficients.data, cscdqm::Cache.data, DQMNet::Bucket.data, and VFATFrame.data.

Referenced by confdb.HLTProcess.customize(), and confdb.HLTProcess.instrumentErrorEventType().

302  def _fix_parameter(self, **args):
303  """arguments:
304  name: parameter name (optional)
305  type: parameter type (look for tracked and untracked variants)
306  value: original value
307  replace: replacement value
308  """
309  if 'name' in args:
310  self.data = re.sub(
311  r'%(name)s = cms(?P<tracked>(?:\.untracked)?)\.%(type)s\( (?P<quote>["\']?)%(value)s(?P=quote)' % args,
312  r'%(name)s = cms\g<tracked>.%(type)s( \g<quote>%(replace)s\g<quote>' % args,
313  self.data)
314  else:
315  self.data = re.sub(
316  r'cms(?P<tracked>(?:\.untracked)?)\.%(type)s\( (?P<quote>["\']?)%(value)s(?P=quote)' % args,
317  r'cms\g<tracked>.%(type)s( \g<quote>%(replace)s\g<quote>' % args,
318  self.data)
319 
def _fix_parameter
Definition: confdb.py:301
def confdb.HLTProcess.addGlobalOptions (   self)

Definition at line 281 of file confdb.py.

References CombinedSVCalibration.data, CombinedTauTagCalibration.data, DOTExport.DotProducer.data, TrackProbabilityCalibration.data, ElectronLikelihoodCalibration.data, CSCTMBScope.data, confdb.HLTProcess.data, SimpleVFATFrameCollection.data, dqm::DQMFileSaverOnline::SnapshotFiles.data, classes.PlotData.data, QGLikelihoodObject.data, dqmTnP::AbstractFitter.data, LASModuleProfile.data, QGLikelihoodSystematicsObject.data, TkLasBeam.data, GeometryComparisonPlotter.data, EcalGlobalShowerContainmentCorrectionsVsEta::Coefficients.data, edm::MapOfVectors< K, T >::Iter.data, edm::DetSet< T >.data, @573.data, EcalShowerContainmentCorrections::Coefficients.data, cscdqm::Cache.data, DQMNet::Bucket.data, and VFATFrame.data.

Referenced by confdb.HLTProcess.customize().

282  def addGlobalOptions(self):
283  # add global options
284  self.data += """
285 # limit the number of events to be processed
286 %%(process)s.maxEvents = cms.untracked.PSet(
287  input = cms.untracked.int32( %d )
288 )
289 """ % self.config.events
290 
291  if not self.config.profiling:
292  self.data += """
293 # enable TrigReport, TimeReport and MultiThreading
294 %(process)s.options = cms.untracked.PSet(
295  wantSummary = cms.untracked.bool( True ),
296  numberOfThreads = cms.untracked.uint32( 4 ),
297  numberOfStreams = cms.untracked.uint32( 0 ),
298  sizeOfStackForThreadsInKB = cms.untracked.uint32( 10*1024 )
299 )
300 """
def addGlobalOptions
Definition: confdb.py:281
def confdb.HLTProcess.append_filenames (   self,
  name,
  filenames 
)

Definition at line 841 of file confdb.py.

References CombinedSVCalibration.data, CombinedTauTagCalibration.data, DOTExport.DotProducer.data, TrackProbabilityCalibration.data, ElectronLikelihoodCalibration.data, CSCTMBScope.data, confdb.HLTProcess.data, SimpleVFATFrameCollection.data, dqm::DQMFileSaverOnline::SnapshotFiles.data, classes.PlotData.data, QGLikelihoodObject.data, dqmTnP::AbstractFitter.data, LASModuleProfile.data, QGLikelihoodSystematicsObject.data, TkLasBeam.data, GeometryComparisonPlotter.data, EcalGlobalShowerContainmentCorrectionsVsEta::Coefficients.data, edm::MapOfVectors< K, T >::Iter.data, edm::DetSet< T >.data, @573.data, EcalShowerContainmentCorrections::Coefficients.data, cscdqm::Cache.data, DQMNet::Bucket.data, and VFATFrame.data.

Referenced by confdb.HLTProcess.build_source().

842  def append_filenames(self, name, filenames):
843  if len(filenames) > 255:
844  token_open = "( *("
845  token_close = ") )"
846  else:
847  token_open = "("
848  token_close = ")"
849 
850  self.data += " %s = cms.untracked.vstring%s\n" % (name, token_open)
851  for line in filenames:
852  self.data += " '%s',\n" % line
853  self.data += " %s,\n" % (token_close)
854 
def append_filenames
Definition: confdb.py:841
def confdb.HLTProcess.build_source (   self)

Definition at line 867 of file confdb.py.

References confdb.HLTProcess.append_filenames(), CombinedSVCalibration.data, CombinedTauTagCalibration.data, DOTExport.DotProducer.data, TrackProbabilityCalibration.data, ElectronLikelihoodCalibration.data, CSCTMBScope.data, confdb.HLTProcess.data, SimpleVFATFrameCollection.data, dqm::DQMFileSaverOnline::SnapshotFiles.data, classes.PlotData.data, QGLikelihoodObject.data, dqmTnP::AbstractFitter.data, LASModuleProfile.data, QGLikelihoodSystematicsObject.data, TkLasBeam.data, GeometryComparisonPlotter.data, EcalGlobalShowerContainmentCorrectionsVsEta::Coefficients.data, edm::MapOfVectors< K, T >::Iter.data, edm::DetSet< T >.data, @573.data, EcalShowerContainmentCorrections::Coefficients.data, cscdqm::Cache.data, DQMNet::Bucket.data, VFATFrame.data, confdb.HLTProcess.expand_filenames(), confdb.HLTProcess.parent, FWPSetTableManager::PSetData.parent, TiXmlNode.parent, confdb.HLTProcess.source, lhef::XMLDocument.source, DQMNet::Peer.source, Config.Process.source, gen::Hydjet2Hadronizer.source, condformats_serialization_generate.SerializationCodeGenerator.source, and BeautifulSoup.ResultSet.source.

Referenced by confdb.HLTProcess.customize().

868  def build_source(self):
869  if self.config.input:
870  # if a dataset or a list of input files was given, use it
871  self.source = self.expand_filenames(self.config.input)
872  elif self.config.online:
873  # online we always run on data
874  self.source = [ "file:/tmp/InputCollection.root" ]
875  elif self.config.data:
876  # offline we can run on data...
877  self.source = [ "file:RelVal_Raw_%s_DATA.root" % self.config.type ]
878  else:
879  # ...or on mc
880  self.source = [ "file:RelVal_Raw_%s_MC.root" % self.config.type ]
881 
882  if self.config.parent:
883  # if a dataset or a list of input files was given for the parent data, use it
884  self.parent = self.expand_filenames(self.config.parent)
885 
886  self.data += """
887 %(process)s.source = cms.Source( "PoolSource",
888 """
889  self.append_filenames("fileNames", self.source)
890  if (self.parent):
891  self.append_filenames("secondaryFileNames", self.parent)
892  self.data += """\
893  inputCommands = cms.untracked.vstring(
894  'keep *'
895  )
896 )
897 """
def expand_filenames
Definition: confdb.py:855
def append_filenames
Definition: confdb.py:841
def confdb.HLTProcess.buildOptions (   self)

Definition at line 749 of file confdb.py.

References bitset_utilities.append(), FileExportPlugin.FileExportPlugin.options, DOTExport.DotProducer.options, and confdb.HLTProcess.options.

750  def buildOptions(self):
751  # common configuration for all scenarios
752  self.options['services'].append( "-DQM" )
753  self.options['services'].append( "-FUShmDQMOutputService" )
754  self.options['services'].append( "-MicroStateService" )
755  self.options['services'].append( "-ModuleWebRegistry" )
756  self.options['services'].append( "-TimeProfilerService" )
757 
758  # remove the DAQ modules and the online definition of the DQMStore and DQMFileSaver
759  # unless a hilton-like configuration has been requested
760  if not self.config.hilton:
761  self.options['services'].append( "-EvFDaqDirector" )
762  self.options['services'].append( "-FastMonitoringService" )
763  self.options['services'].append( "-DQMStore" )
764  self.options['modules'].append( "-hltDQMFileSaver" )
765 
766  if self.config.fragment:
767  # extract a configuration file fragment
768  self.options['essources'].append( "-GlobalTag" )
769  self.options['essources'].append( "-HepPDTESSource" )
770  self.options['essources'].append( "-XMLIdealGeometryESSource" )
771  self.options['essources'].append( "-eegeom" )
772  self.options['essources'].append( "-es_hardcode" )
773  self.options['essources'].append( "-magfield" )
774 
775  self.options['esmodules'].append( "-AutoMagneticFieldESProducer" )
776  self.options['esmodules'].append( "-SlaveField0" )
777  self.options['esmodules'].append( "-SlaveField20" )
778  self.options['esmodules'].append( "-SlaveField30" )
779  self.options['esmodules'].append( "-SlaveField35" )
780  self.options['esmodules'].append( "-SlaveField38" )
781  self.options['esmodules'].append( "-SlaveField40" )
782  self.options['esmodules'].append( "-VBF0" )
783  self.options['esmodules'].append( "-VBF20" )
784  self.options['esmodules'].append( "-VBF30" )
785  self.options['esmodules'].append( "-VBF35" )
786  self.options['esmodules'].append( "-VBF38" )
787  self.options['esmodules'].append( "-VBF40" )
788  self.options['esmodules'].append( "-CSCGeometryESModule" )
789  self.options['esmodules'].append( "-CaloGeometryBuilder" )
790  self.options['esmodules'].append( "-CaloTowerHardcodeGeometryEP" )
791  self.options['esmodules'].append( "-CastorHardcodeGeometryEP" )
792  self.options['esmodules'].append( "-DTGeometryESModule" )
793  self.options['esmodules'].append( "-EcalBarrelGeometryEP" )
794  self.options['esmodules'].append( "-EcalElectronicsMappingBuilder" )
795  self.options['esmodules'].append( "-EcalEndcapGeometryEP" )
796  self.options['esmodules'].append( "-EcalLaserCorrectionService" )
797  self.options['esmodules'].append( "-EcalPreshowerGeometryEP" )
798  self.options['esmodules'].append( "-HcalHardcodeGeometryEP" )
799  self.options['esmodules'].append( "-HcalTopologyIdealEP" )
800  self.options['esmodules'].append( "-MuonNumberingInitialization" )
801  self.options['esmodules'].append( "-ParametrizedMagneticFieldProducer" )
802  self.options['esmodules'].append( "-RPCGeometryESModule" )
803  self.options['esmodules'].append( "-SiStripGainESProducer" )
804  self.options['esmodules'].append( "-SiStripRecHitMatcherESProducer" )
805  self.options['esmodules'].append( "-SiStripQualityESProducer" )
806  self.options['esmodules'].append( "-StripCPEfromTrackAngleESProducer" )
807  self.options['esmodules'].append( "-TrackerDigiGeometryESModule" )
808  self.options['esmodules'].append( "-TrackerGeometricDetESModule" )
809  self.options['esmodules'].append( "-VolumeBasedMagneticFieldESProducer" )
810  self.options['esmodules'].append( "-ZdcHardcodeGeometryEP" )
811  self.options['esmodules'].append( "-hcal_db_producer" )
812  self.options['esmodules'].append( "-L1GtTriggerMaskAlgoTrigTrivialProducer" )
813  self.options['esmodules'].append( "-L1GtTriggerMaskTechTrigTrivialProducer" )
814  self.options['esmodules'].append( "-hltESPEcalTrigTowerConstituentsMapBuilder" )
815  self.options['esmodules'].append( "-hltESPGlobalTrackingGeometryESProducer" )
816  self.options['esmodules'].append( "-hltESPMuonDetLayerGeometryESProducer" )
817  self.options['esmodules'].append( "-hltESPTrackerRecoGeometryESProducer" )
818  self.options['esmodules'].append( "-trackerTopology" )
819 
820  self.options['esmodules'].append( "-CaloTowerGeometryFromDBEP" )
821  self.options['esmodules'].append( "-CastorGeometryFromDBEP" )
822  self.options['esmodules'].append( "-EcalBarrelGeometryFromDBEP" )
823  self.options['esmodules'].append( "-EcalEndcapGeometryFromDBEP" )
824  self.options['esmodules'].append( "-EcalPreshowerGeometryFromDBEP" )
825  self.options['esmodules'].append( "-HcalGeometryFromDBEP" )
826  self.options['esmodules'].append( "-ZdcGeometryFromDBEP" )
827  self.options['esmodules'].append( "-XMLFromDBSource" )
828  self.options['esmodules'].append( "-sistripconn" )
829 
830  self.options['services'].append( "-MessageLogger" )
831 
832  self.options['psets'].append( "-maxEvents" )
833  self.options['psets'].append( "-options" )
834 
835  if self.config.fragment or (self.config.prescale and (self.config.prescale.lower() == 'none')):
836  self.options['services'].append( "-PrescaleService" )
837 
838  if self.config.fragment or self.config.timing:
839  self.options['services'].append( "-FastTimerService" )
840 
boost::dynamic_bitset append(const boost::dynamic_bitset<> &bs1, const boost::dynamic_bitset<> &bs2)
this method takes two bitsets bs1 and bs2 and returns result of bs2 appended to the end of bs1 ...
def confdb.HLTProcess.buildPathList (   self)

Definition at line 692 of file confdb.py.

693  def buildPathList(self):
694  self.all_paths = self.getPathList()
695 
696  if self.config.paths:
697  # no path list was requested, dump the full table, minus unsupported / unwanted paths
698  paths = self.config.paths.split(',')
699  else:
700  # dump only the requested paths, plus the eventual output endpaths
701  paths = []
702 
703  if self.config.fragment or self.config.output in ('none', 'full'):
704  # 'full' removes all outputs (same as 'none') and then adds a single "keep *" output (see the overrideOutput method)
705  if self.config.paths:
706  # paths are removed by default
707  pass
708  else:
709  # drop all output endpaths
710  paths.append( "-*Output" )
711  paths.append( "-RatesMonitoring")
712  paths.append( "-DQMHistograms")
713  elif self.config.output == 'minimal':
714  # drop all output endpaths but HLTDQMResultsOutput
715  if self.config.paths:
716  paths.append( "HLTDQMResultsOutput" )
717  else:
718  paths.append( "-*Output" )
719  paths.append( "-RatesMonitoring")
720  paths.append( "-DQMHistograms")
721  paths.append( "HLTDQMResultsOutput" )
722  else:
723  # keep / add back all output endpaths
724  if self.config.paths:
725  paths.append( "*Output" )
726  else:
727  pass # paths are kepy by default
728 
729  # drop unwanted paths for profiling (and timing studies)
730  if self.config.profiling:
731  paths.append( "-HLTriggerFirstPath" )
732  paths.append( "-HLTAnalyzerEndpath" )
733 
734  # this should never be in any dump (nor online menu)
735  paths.append( "-OfflineOutput" )
736 
737  # expand all wildcards
738  paths = self.expandWildcards(paths, self.all_paths)
739 
740  if self.config.paths:
741  # do an "additive" consolidation
742  self.options['paths'] = self.consolidatePositiveList(paths)
743  if not self.options['paths']:
744  raise RuntimeError('Error: option "--paths %s" does not select any valid paths' % self.config.paths)
745  else:
746  # do a "subtractive" consolidation
747  self.options['paths'] = self.consolidateNegativeList(paths)
748 
def consolidateNegativeList
Definition: confdb.py:124
def consolidatePositiveList
Definition: confdb.py:136
def expandWildcards
Definition: confdb.py:108
def confdb.HLTProcess.consolidateNegativeList (   elements)
static

Definition at line 124 of file confdb.py.

125  def consolidateNegativeList(elements):
126  # consolidate a list of path exclusions and re-inclusions
127  # the result is the list of paths to be removed from the dump
128  result = set()
129  for element in elements:
130  if element[0] == '-':
131  result.add( element )
132  else:
133  result.discard( '-' + element )
134  return sorted( element for element in result )
def consolidateNegativeList
Definition: confdb.py:124
def confdb.HLTProcess.consolidatePositiveList (   elements)
static

Definition at line 136 of file confdb.py.

137  def consolidatePositiveList(elements):
138  # consolidate a list of path selection and re-exclusions
139  # the result is the list of paths to be included in the dump
140  result = set()
141  for element in elements:
142  if element[0] == '-':
143  result.discard( element[1:] )
144  else:
145  result.add( element )
146  return sorted( element for element in result )
147 
def consolidatePositiveList
Definition: confdb.py:136
def confdb.HLTProcess.customize (   self)

Definition at line 197 of file confdb.py.

References confdb.HLTProcess._fix_parameter(), confdb.HLTProcess.addGlobalOptions(), confdb.HLTProcess.build_source(), CombinedSVCalibration.data, CombinedTauTagCalibration.data, DOTExport.DotProducer.data, TrackProbabilityCalibration.data, ElectronLikelihoodCalibration.data, CSCTMBScope.data, confdb.HLTProcess.data, SimpleVFATFrameCollection.data, classes.PlotData.data, dqm::DQMFileSaverOnline::SnapshotFiles.data, QGLikelihoodObject.data, dqmTnP::AbstractFitter.data, LASModuleProfile.data, QGLikelihoodSystematicsObject.data, TkLasBeam.data, GeometryComparisonPlotter.data, EcalGlobalShowerContainmentCorrectionsVsEta::Coefficients.data, edm::MapOfVectors< K, T >::Iter.data, edm::DetSet< T >.data, @573.data, EcalShowerContainmentCorrections::Coefficients.data, cscdqm::Cache.data, DQMNet::Bucket.data, VFATFrame.data, confdb.HLTProcess.fixPrescales(), confdb.HLTProcess.instrumentDQM(), confdb.HLTProcess.instrumentErrorEventType(), confdb.HLTProcess.instrumentOpenMode(), confdb.HLTProcess.instrumentTiming(), confdb.HLTProcess.overrideGlobalTag(), confdb.HLTProcess.overrideL1MenuXml(), confdb.HLTProcess.overrideOutput(), confdb.HLTProcess.overrideProcessName(), confdb.HLTProcess.runL1Emulator(), confdb.HLTProcess.specificCustomize(), and confdb.HLTProcess.updateMessageLogger().

198  def customize(self):
199 
200  # adapt the source to the current scenario
201  if not self.config.fragment:
202  self.build_source()
203 
204  # manual override some parameters
205  if self.config.type in ('HIon', ):
206  if self.config.data:
207  if not self.config.fragment:
208  self._fix_parameter( type = 'InputTag', value = 'rawDataCollector', replace = 'rawDataRepacker')
209 
210  # if requested, remove the HLT prescales
211  self.fixPrescales()
212 
213  # if requested, override all ED/HLTfilters to always pass ("open" mode)
214  self.instrumentOpenMode()
215 
216  # if requested, change all HLTTriggerTypeFilter EDFilters to accept only error events (SelectedTriggerType = 0)
218 
219  # if requested, instrument the self with the modules and EndPath needed for timing studies
220  self.instrumentTiming()
221 
222  # if requested, override the L1 self from the GlobalTag (Xml)
223  self.overrideL1MenuXml()
224 
225  # if requested, run the L1 emulator
226  self.runL1Emulator()
227 
228  if self.config.fragment:
229  self.data += """
230 # dummyfy hltGetConditions in cff's
231 if 'hltGetConditions' in %(dict)s and 'HLTriggerFirstPath' in %(dict)s :
232  %(process)s.hltDummyConditions = cms.EDFilter( "HLTBool",
233  result = cms.bool( True )
234  )
235  %(process)s.HLTriggerFirstPath.replace(%(process)s.hltGetConditions,%(process)s.hltDummyConditions)
236 """
237 
238  else:
239 
240  # override the process name and adapt the relevant filters
241  self.overrideProcessName()
242 
243  # override the output modules to output root files
244  self.overrideOutput()
245 
246  # add global options
247  self.addGlobalOptions()
248 
249  # if requested or necessary, override the GlobalTag and connection strings (incl. L1!)
250  self.overrideGlobalTag()
251 
252  # request summary informations from the MessageLogger
253  self.updateMessageLogger()
254 
255  # replace DQMStore and DQMRootOutputModule with a configuration suitable for running offline
256  self.instrumentDQM()
257 
258  # load 5.2.x JECs, until they are in the GlobalTag
259 # self.loadAdditionalConditions('load 5.2.x JECs',
260 # {
261 # 'record' : 'JetCorrectionsRecord',
262 # 'tag' : 'JetCorrectorParametersCollection_AK5Calo_2012_V8_hlt_mc',
263 # 'label' : 'AK5CaloHLT',
264 # 'connect' : '%(connect)s/CMS_CONDITIONS'
265 # }, {
266 # 'record' : 'JetCorrectionsRecord',
267 # 'tag' : 'JetCorrectorParametersCollection_AK5PF_2012_V8_hlt_mc',
268 # 'label' : 'AK5PFHLT',
269 # 'connect' : '%(connect)s/CMS_CONDITIONS'
270 # }, {
271 # 'record' : 'JetCorrectionsRecord',
272 # 'tag' : 'JetCorrectorParametersCollection_AK5PFchs_2012_V8_hlt_mc',
273 # 'label' : 'AK5PFchsHLT',
274 # 'connect' : '%(connect)s/CMS_CONDITIONS'
275 # }
276 # )
277 
278  # add specific customisations
279  self.specificCustomize()
280 
def _fix_parameter
Definition: confdb.py:301
def overrideL1MenuXml
Definition: confdb.py:421
def addGlobalOptions
Definition: confdb.py:281
def overrideOutput
Definition: confdb.py:441
def overrideProcessName
Definition: confdb.py:467
def specificCustomize
Definition: confdb.py:158
def instrumentErrorEventType
Definition: confdb.py:358
def overrideGlobalTag
Definition: confdb.py:366
def instrumentTiming
Definition: confdb.py:562
def instrumentOpenMode
Definition: confdb.py:344
def updateMessageLogger
Definition: confdb.py:513
def confdb.HLTProcess.dump (   self)

Definition at line 149 of file confdb.py.

References CombinedSVCalibration.data, CombinedTauTagCalibration.data, DOTExport.DotProducer.data, TrackProbabilityCalibration.data, ElectronLikelihoodCalibration.data, CSCTMBScope.data, confdb.HLTProcess.data, SimpleVFATFrameCollection.data, dqm::DQMFileSaverOnline::SnapshotFiles.data, classes.PlotData.data, QGLikelihoodObject.data, dqmTnP::AbstractFitter.data, LASModuleProfile.data, QGLikelihoodSystematicsObject.data, TkLasBeam.data, GeometryComparisonPlotter.data, EcalGlobalShowerContainmentCorrectionsVsEta::Coefficients.data, edm::MapOfVectors< K, T >::Iter.data, edm::DetSet< T >.data, @573.data, EcalShowerContainmentCorrections::Coefficients.data, cscdqm::Cache.data, DQMNet::Bucket.data, VFATFrame.data, Utilities.InputTagLabelSet.labels, confdb.HLTProcess.labels, ecaldqm::binning::AxisSpecs.labels, and svgfig.Ticks.labels.

150  def dump(self):
151  self.data = self.data % self.labels
152  if self.config.fragment:
153  self.data = re.sub( r'\bprocess\b', 'fragment', self.data )
154  self.data = re.sub( r'\bProcess\b', 'ProcessFragment', self.data )
155  return self.data
156 
def confdb.HLTProcess.dumppaths (   paths)
static

Definition at line 686 of file confdb.py.

687  def dumppaths(paths):
688  sys.stderr.write('Path selection:\n')
689  for path in paths:
690  sys.stderr.write('\t%s\n' % path)
691  sys.stderr.write('\n\n')
def confdb.HLTProcess.expand_filenames (   self,
  input 
)

Definition at line 855 of file confdb.py.

Referenced by confdb.HLTProcess.build_source().

856  def expand_filenames(self, input):
857  # check if the input is a dataset or a list of files
858  if input[0:8] == 'dataset:':
859  from dasFileQuery import dasFileQuery
860  # extract the dataset name, and use DAS to fine the list of LFNs
861  dataset = input[8:]
862  files = dasFileQuery(dataset)
863  else:
864  # assume a comma-separated list of input files
865  files = self.config.input.split(',')
866  return files
def expand_filenames
Definition: confdb.py:855
def confdb.HLTProcess.expandWildcards (   globs,
  collection 
)
static

Definition at line 108 of file confdb.py.

References python.rootplot.root2matplotlib.replace().

109  def expandWildcards(globs, collection):
110  # expand a list of unix-style wildcards matching a given collection
111  # wildcards with no matches are silently discarded
112  matches = []
113  for glob in globs:
114  negate = ''
115  if glob[0] == '-':
116  negate = '-'
117  glob = glob[1:]
118  # translate a unix-style glob expression into a regular expression
119  filter = re.compile(r'^' + glob.replace('?', '.').replace('*', '.*').replace('[!', '[^') + r'$')
120  matches.extend( negate + element for element in collection if filter.match(element) )
121  return matches
122 
def expandWildcards
Definition: confdb.py:108
def confdb.HLTProcess.fixPrescales (   self)

Definition at line 320 of file confdb.py.

References confdb.HLTProcess.all_paths, CombinedTauTagCalibration.data, CombinedSVCalibration.data, DOTExport.DotProducer.data, TrackProbabilityCalibration.data, ElectronLikelihoodCalibration.data, CSCTMBScope.data, confdb.HLTProcess.data, SimpleVFATFrameCollection.data, dqm::DQMFileSaverOnline::SnapshotFiles.data, classes.PlotData.data, QGLikelihoodObject.data, dqmTnP::AbstractFitter.data, LASModuleProfile.data, QGLikelihoodSystematicsObject.data, TkLasBeam.data, GeometryComparisonPlotter.data, EcalGlobalShowerContainmentCorrectionsVsEta::Coefficients.data, edm::MapOfVectors< K, T >::Iter.data, edm::DetSet< T >.data, @573.data, EcalShowerContainmentCorrections::Coefficients.data, cscdqm::Cache.data, DQMNet::Bucket.data, VFATFrame.data, FileExportPlugin.FileExportPlugin.options, DOTExport.DotProducer.options, and confdb.HLTProcess.options.

Referenced by confdb.HLTProcess.customize().

321  def fixPrescales(self):
322  # update the PrescaleService to match the new list of paths
323  if self.options['paths']:
324  if self.options['paths'][0][0] == '-':
325  # drop requested paths
326  for minuspath in self.options['paths']:
327  path = minuspath[1:]
328  self.data = re.sub(r' cms.PSet\( pathName = cms.string\( "%s" \),\n prescales = cms.vuint32\( .* \)\n \),?\n' % path, '', self.data)
329  else:
330  # keep requested paths
331  for path in self.all_paths:
332  if path not in self.options['paths']:
333  self.data = re.sub(r' cms.PSet\( pathName = cms.string\( "%s" \),\n prescales = cms.vuint32\( .* \)\n \),?\n' % path, '', self.data)
334 
335  if self.config.prescale and (self.config.prescale.lower() != 'none'):
336  # TO DO: check that the requested prescale column is valid
337  self.data += """
338 # force the use of a specific HLT prescale column
339 if 'PrescaleService' in %(dict)s:
340  %(process)s.PrescaleService.forceDefault = True
341  %(process)s.PrescaleService.lvl1DefaultLabel = '%(prescale)s'
342 """
343 
def confdb.HLTProcess.getPathList (   self)

Definition at line 83 of file confdb.py.

83 
84  def getPathList(self):
85  if self.config.menu.run:
86  args = ['--runNumber', self.config.menu.run]
87  else:
88  args = ['--configName', self.config.menu.name]
89  args.extend( (
90  '--cff',
91  '--noedsources',
92  '--noes',
93  '--noservices',
94  '--nosequences',
95  '--nomodules'
96  ) )
97 
98  data, err = self.converter.query( *args )
99  if 'ERROR' in err or 'Exhausted Resultset' in err or 'CONFIG_NOT_FOUND' in err:
100  sys.stderr.write("%s: error while retrieving the list of paths from the HLT menu\n\n" % os.path.basename(sys.argv[0]))
101  sys.stderr.write(err + "\n\n")
102  sys.exit(1)
103  filter = re.compile(r' *= *cms.(End)?Path.*')
104  paths = [ filter.sub('', line) for line in data.splitlines() if filter.search(line) ]
105  return paths
106 
def confdb.HLTProcess.getRawConfigurationFromDB (   self)

Definition at line 65 of file confdb.py.

References CombinedSVCalibration.data, DOTExport.DotProducer.data, CombinedTauTagCalibration.data, TrackProbabilityCalibration.data, ElectronLikelihoodCalibration.data, CSCTMBScope.data, confdb.HLTProcess.data, SimpleVFATFrameCollection.data, dqm::DQMFileSaverOnline::SnapshotFiles.data, classes.PlotData.data, QGLikelihoodObject.data, dqmTnP::AbstractFitter.data, LASModuleProfile.data, QGLikelihoodSystematicsObject.data, TkLasBeam.data, GeometryComparisonPlotter.data, EcalGlobalShowerContainmentCorrectionsVsEta::Coefficients.data, edm::MapOfVectors< K, T >::Iter.data, edm::DetSet< T >.data, @573.data, EcalShowerContainmentCorrections::Coefficients.data, cscdqm::Cache.data, DQMNet::Bucket.data, VFATFrame.data, and join().

65 
66  def getRawConfigurationFromDB(self):
67  if self.config.menu.run:
68  args = ['--runNumber', self.config.menu.run]
69  else:
70  args = ['--configName', self.config.menu.name ]
71  args.append('--noedsources')
72  for key, vals in self.options.iteritems():
73  if vals:
74  args.extend(('--'+key, ','.join(vals)))
75 
76  data, err = self.converter.query( *args )
77  if 'ERROR' in err or 'Exhausted Resultset' in err or 'CONFIG_NOT_FOUND' in err:
78  sys.stderr.write("%s: error while retrieving the HLT menu\n\n" % os.path.basename(sys.argv[0]))
79  sys.stderr.write(err + "\n\n")
80  sys.exit(1)
81  self.data = data
82 
static std::string join(char **cmd)
Definition: RemoteFile.cc:18
def getRawConfigurationFromDB
Definition: confdb.py:65
def confdb.HLTProcess.instrumentDQM (   self)

Definition at line 653 of file confdb.py.

References CombinedSVCalibration.data, CombinedTauTagCalibration.data, DOTExport.DotProducer.data, TrackProbabilityCalibration.data, ElectronLikelihoodCalibration.data, CSCTMBScope.data, confdb.HLTProcess.data, SimpleVFATFrameCollection.data, dqm::DQMFileSaverOnline::SnapshotFiles.data, classes.PlotData.data, QGLikelihoodObject.data, dqmTnP::AbstractFitter.data, LASModuleProfile.data, QGLikelihoodSystematicsObject.data, TkLasBeam.data, GeometryComparisonPlotter.data, EcalGlobalShowerContainmentCorrectionsVsEta::Coefficients.data, edm::MapOfVectors< K, T >::Iter.data, edm::DetSet< T >.data, @573.data, EcalShowerContainmentCorrections::Coefficients.data, cscdqm::Cache.data, DQMNet::Bucket.data, VFATFrame.data, and confdb.HLTProcess.loadCffCommand().

Referenced by confdb.HLTProcess.customize().

654  def instrumentDQM(self):
655  if not self.config.hilton:
656  # remove any reference to the hltDQMFileSaver
657  if 'hltDQMFileSaver' in self.data:
658  self.data = re.sub(r'\b(process\.)?hltDQMFileSaver \+ ', '', self.data)
659  self.data = re.sub(r' \+ \b(process\.)?hltDQMFileSaver', '', self.data)
660  self.data = re.sub(r'\b(process\.)?hltDQMFileSaver', '', self.data)
661 
662  # instrument the HLT menu with DQMStore and DQMRootOutputModule suitable for running offline
663  dqmstore = "\n# load the DQMStore and DQMRootOutputModule\n"
664  dqmstore += self.loadCffCommand('DQMServices.Core.DQMStore_cfi')
665  dqmstore += "%(process)s.DQMStore.enableMultiThread = True\n"
666  dqmstore += """
667 %(process)s.dqmOutput = cms.OutputModule("DQMRootOutputModule",
668  fileName = cms.untracked.string("DQMIO.root")
669 )
670 """
671 
672  empty_path = re.compile(r'.*\b(process\.)?DQMOutput = cms\.EndPath\( *\).*')
673  other_path = re.compile(r'(.*\b(process\.)?DQMOutput = cms\.EndPath\()(.*)')
674  if empty_path.search(self.data):
675  # replace an empty DQMOutput path
676  self.data = empty_path.sub(dqmstore + '\n%(process)s.DQMOutput = cms.EndPath( %(process)s.dqmOutput )\n', self.data)
677  elif other_path.search(self.data):
678  # prepend the dqmOutput to the DQMOutput path
679  self.data = other_path.sub(dqmstore + r'\g<1> %(process)s.dqmOutput +\g<3>', self.data)
680  else:
681  # ceate a new DQMOutput path with the dqmOutput module
682  self.data += dqmstore
683  self.data += '\n%(process)s.DQMOutput = cms.EndPath( %(process)s.dqmOutput )\n'
684 
def loadCffCommand
Definition: confdb.py:543
def confdb.HLTProcess.instrumentErrorEventType (   self)

Definition at line 358 of file confdb.py.

References confdb.HLTProcess._fix_parameter().

Referenced by confdb.HLTProcess.customize().

359  def instrumentErrorEventType(self):
360  if self.config.errortype:
361  # change all HLTTriggerTypeFilter EDFilters to accept only error events (SelectedTriggerType = 0)
362  self._fix_parameter(name = 'SelectedTriggerType', type ='int32', value = '1', replace = '0')
363  self._fix_parameter(name = 'SelectedTriggerType', type ='int32', value = '2', replace = '0')
364  self._fix_parameter(name = 'SelectedTriggerType', type ='int32', value = '3', replace = '0')
365 
def _fix_parameter
Definition: confdb.py:301
def instrumentErrorEventType
Definition: confdb.py:358
def confdb.HLTProcess.instrumentOpenMode (   self)

Definition at line 344 of file confdb.py.

References CombinedSVCalibration.data, CombinedTauTagCalibration.data, DOTExport.DotProducer.data, TrackProbabilityCalibration.data, ElectronLikelihoodCalibration.data, CSCTMBScope.data, confdb.HLTProcess.data, SimpleVFATFrameCollection.data, dqm::DQMFileSaverOnline::SnapshotFiles.data, classes.PlotData.data, QGLikelihoodObject.data, dqmTnP::AbstractFitter.data, LASModuleProfile.data, QGLikelihoodSystematicsObject.data, TkLasBeam.data, GeometryComparisonPlotter.data, EcalGlobalShowerContainmentCorrectionsVsEta::Coefficients.data, edm::MapOfVectors< K, T >::Iter.data, edm::DetSet< T >.data, @573.data, EcalShowerContainmentCorrections::Coefficients.data, cscdqm::Cache.data, DQMNet::Bucket.data, VFATFrame.data, and join().

Referenced by confdb.HLTProcess.customize().

345  def instrumentOpenMode(self):
346  if self.config.open:
347  # find all EDfilters
348  filters = [ match[1] for match in re.findall(r'(process\.)?\b(\w+) = cms.EDFilter', self.data) ]
349  re_sequence = re.compile( r'cms\.(Path|Sequence)\((.*)\)' )
350  # remove existing 'cms.ignore' and '~' modifiers
351  self.data = re_sequence.sub( lambda line: re.sub( r'cms\.ignore *\( *((process\.)?\b(\w+)) *\)', r'\1', line.group(0) ), self.data )
352  self.data = re_sequence.sub( lambda line: re.sub( r'~', '', line.group(0) ), self.data )
353  # wrap all EDfilters with "cms.ignore( ... )", 1000 at a time (python 2.6 complains for too-big regular expressions)
354  for some in splitter(filters, 1000):
355  re_filters = re.compile( r'\b((process\.)?(' + r'|'.join(some) + r'))\b' )
356  self.data = re_sequence.sub( lambda line: re_filters.sub( r'cms.ignore( \1 )', line.group(0) ), self.data )
357 
static std::string join(char **cmd)
Definition: RemoteFile.cc:18
def instrumentOpenMode
Definition: confdb.py:344
def confdb.HLTProcess.instrumentTiming (   self)

Definition at line 562 of file confdb.py.

References CombinedSVCalibration.data, CombinedTauTagCalibration.data, DOTExport.DotProducer.data, TrackProbabilityCalibration.data, ElectronLikelihoodCalibration.data, CSCTMBScope.data, confdb.HLTProcess.data, SimpleVFATFrameCollection.data, dqm::DQMFileSaverOnline::SnapshotFiles.data, classes.PlotData.data, QGLikelihoodObject.data, dqmTnP::AbstractFitter.data, LASModuleProfile.data, QGLikelihoodSystematicsObject.data, TkLasBeam.data, GeometryComparisonPlotter.data, EcalGlobalShowerContainmentCorrectionsVsEta::Coefficients.data, edm::MapOfVectors< K, T >::Iter.data, edm::DetSet< T >.data, @573.data, EcalShowerContainmentCorrections::Coefficients.data, cscdqm::Cache.data, DQMNet::Bucket.data, VFATFrame.data, and confdb.HLTProcess.loadCff().

Referenced by confdb.HLTProcess.customize().

563  def instrumentTiming(self):
564  if self.config.profiling:
565  # instrument the menu for profiling: remove the HLTAnalyzerEndpath, add/override the HLTriggerFirstPath, with hltGetRaw and hltGetConditions
566  text = ''
567 
568  if not 'hltGetRaw' in self.data:
569  # add hltGetRaw
570  text += """
571 %(process)s.hltGetRaw = cms.EDAnalyzer( "HLTGetRaw",
572  RawDataCollection = cms.InputTag( "rawDataCollector" )
573 )
574 """
575 
576  if not 'hltGetConditions' in self.data:
577  # add hltGetConditions
578  text += """
579 %(process)s.hltGetConditions = cms.EDAnalyzer( 'EventSetupRecordDataGetter',
580  verbose = cms.untracked.bool( False ),
581  toGet = cms.VPSet( )
582 )
583 """
584 
585  if not 'hltBoolFalse' in self.data:
586  # add hltBoolFalse
587  text += """
588 %(process)s.hltBoolFalse = cms.EDFilter( "HLTBool",
589  result = cms.bool( False )
590 )
591 """
592 
593  # add the definition of HLTriggerFirstPath
594  # FIXME in a cff, should also update the HLTSchedule
595  text += """
596 %(process)s.HLTriggerFirstPath = cms.Path( %(process)s.hltGetRaw + %(process)s.hltGetConditions + %(process)s.hltBoolFalse )
597 """
598  self.data = re.sub(r'.*cms\.(End)?Path.*', text + r'\g<0>', self.data, 1)
599 
600 
601  # instrument the menu with the Service, EDProducer and EndPath needed for timing studies
602  # FIXME in a cff, should also update the HLTSchedule
603  if self.config.timing:
604  self.data += """
605 # instrument the menu with the modules and EndPath needed for timing studies
606 """
607 
608  if not 'FastTimerService' in self.data:
609  self.data += '\n# configure the FastTimerService\n'
610  self.loadCff('HLTrigger.Timer.FastTimerService_cfi')
611  else:
612  self.data += '\n# configure the FastTimerService\n'
613 
614  self.data += """# this is currently ignored in CMSSW 7.x, always using the real time clock
615 %(process)s.FastTimerService.useRealTimeClock = True
616 # enable specific features
617 %(process)s.FastTimerService.enableTimingPaths = True
618 %(process)s.FastTimerService.enableTimingModules = True
619 %(process)s.FastTimerService.enableTimingExclusive = True
620 # print a text summary at the end of the job
621 %(process)s.FastTimerService.enableTimingSummary = True
622 # skip the first path (disregard the time spent loading event and conditions data)
623 %(process)s.FastTimerService.skipFirstPath = True
624 # enable DQM plots
625 %(process)s.FastTimerService.enableDQM = True
626 # enable most per-path DQM plots
627 %(process)s.FastTimerService.enableDQMbyPathActive = True
628 %(process)s.FastTimerService.enableDQMbyPathTotal = True
629 %(process)s.FastTimerService.enableDQMbyPathOverhead = False
630 %(process)s.FastTimerService.enableDQMbyPathDetails = True
631 %(process)s.FastTimerService.enableDQMbyPathCounters = True
632 %(process)s.FastTimerService.enableDQMbyPathExclusive = True
633 # disable per-module DQM plots
634 %(process)s.FastTimerService.enableDQMbyModule = False
635 %(process)s.FastTimerService.enableDQMbyModuleType = False
636 # enable per-event DQM sumary plots
637 %(process)s.FastTimerService.enableDQMSummary = True
638 # enable per-event DQM plots by lumisection
639 %(process)s.FastTimerService.enableDQMbyLumiSection = True
640 %(process)s.FastTimerService.dqmLumiSectionsRange = 2500
641 # set the time resolution of the DQM plots
642 %(process)s.FastTimerService.dqmTimeRange = 1000.
643 %(process)s.FastTimerService.dqmTimeResolution = 5.
644 %(process)s.FastTimerService.dqmPathTimeRange = 100.
645 %(process)s.FastTimerService.dqmPathTimeResolution = 0.5
646 %(process)s.FastTimerService.dqmModuleTimeRange = 40.
647 %(process)s.FastTimerService.dqmModuleTimeResolution = 0.2
648 # set the base DQM folder for the plots
649 %(process)s.FastTimerService.dqmPath = 'HLT/TimerService'
650 %(process)s.FastTimerService.enableDQMbyProcesses = True
651 """
652 
def instrumentTiming
Definition: confdb.py:562
def confdb.HLTProcess.loadAdditionalConditions (   self,
  comment,
  conditions 
)

Definition at line 525 of file confdb.py.

References CombinedSVCalibration.data, CombinedTauTagCalibration.data, DOTExport.DotProducer.data, TrackProbabilityCalibration.data, ElectronLikelihoodCalibration.data, CSCTMBScope.data, confdb.HLTProcess.data, SimpleVFATFrameCollection.data, dqm::DQMFileSaverOnline::SnapshotFiles.data, classes.PlotData.data, QGLikelihoodObject.data, dqmTnP::AbstractFitter.data, LASModuleProfile.data, QGLikelihoodSystematicsObject.data, TkLasBeam.data, GeometryComparisonPlotter.data, EcalGlobalShowerContainmentCorrectionsVsEta::Coefficients.data, edm::MapOfVectors< K, T >::Iter.data, edm::DetSet< T >.data, @573.data, EcalShowerContainmentCorrections::Coefficients.data, cscdqm::Cache.data, DQMNet::Bucket.data, and VFATFrame.data.

526  def loadAdditionalConditions(self, comment, *conditions):
527  # load additional conditions
528  self.data += """
529 # %s
530 if 'GlobalTag' in %%(dict)s:
531 """ % comment
532  for condition in conditions:
533  self.data += """ %%(process)s.GlobalTag.toGet.append(
534  cms.PSet(
535  record = cms.string( '%(record)s' ),
536  tag = cms.string( '%(tag)s' ),
537  label = cms.untracked.string( '%(label)s' ),
538  connect = cms.untracked.string( '%(connect)s' )
539  )
540  )
541 """ % condition
542 
def loadAdditionalConditions
Definition: confdb.py:525
def confdb.HLTProcess.loadCff (   self,
  module 
)

Definition at line 550 of file confdb.py.

References CombinedSVCalibration.data, CombinedTauTagCalibration.data, DOTExport.DotProducer.data, TrackProbabilityCalibration.data, ElectronLikelihoodCalibration.data, CSCTMBScope.data, confdb.HLTProcess.data, SimpleVFATFrameCollection.data, dqm::DQMFileSaverOnline::SnapshotFiles.data, classes.PlotData.data, QGLikelihoodObject.data, dqmTnP::AbstractFitter.data, LASModuleProfile.data, QGLikelihoodSystematicsObject.data, TkLasBeam.data, GeometryComparisonPlotter.data, EcalGlobalShowerContainmentCorrectionsVsEta::Coefficients.data, edm::MapOfVectors< K, T >::Iter.data, edm::DetSet< T >.data, @573.data, EcalShowerContainmentCorrections::Coefficients.data, cscdqm::Cache.data, DQMNet::Bucket.data, VFATFrame.data, and confdb.HLTProcess.loadCffCommand().

Referenced by confdb.HLTProcess.instrumentTiming().

551  def loadCff(self, module):
552  self.data += self.loadCffCommand(module)
553 
def loadCffCommand
Definition: confdb.py:543
def confdb.HLTProcess.loadCffCommand (   self,
  module 
)

Definition at line 543 of file confdb.py.

Referenced by confdb.HLTProcess.instrumentDQM(), and confdb.HLTProcess.loadCff().

544  def loadCffCommand(self, module):
545  # load a cfi or cff module
546  if self.config.fragment:
547  return 'from %s import *\n' % module
548  else:
549  return 'process.load( "%s" )\n' % module
def loadCffCommand
Definition: confdb.py:543
def confdb.HLTProcess.overrideGlobalTag (   self)

Definition at line 366 of file confdb.py.

References CombinedSVCalibration.data, CombinedTauTagCalibration.data, DOTExport.DotProducer.data, TrackProbabilityCalibration.data, ElectronLikelihoodCalibration.data, CSCTMBScope.data, confdb.HLTProcess.data, SimpleVFATFrameCollection.data, dqm::DQMFileSaverOnline::SnapshotFiles.data, classes.PlotData.data, QGLikelihoodObject.data, dqmTnP::AbstractFitter.data, LASModuleProfile.data, QGLikelihoodSystematicsObject.data, TkLasBeam.data, GeometryComparisonPlotter.data, EcalGlobalShowerContainmentCorrectionsVsEta::Coefficients.data, edm::MapOfVectors< K, T >::Iter.data, edm::DetSet< T >.data, @573.data, EcalShowerContainmentCorrections::Coefficients.data, cscdqm::Cache.data, DQMNet::Bucket.data, and VFATFrame.data.

Referenced by confdb.HLTProcess.customize().

367  def overrideGlobalTag(self):
368  # overwrite GlobalTag
369  # the logic is:
370  # - always set the correct connection string and pfnPrefix
371  # - if a GlobalTag is specified on the command line:
372  # - override the global tag
373  # - if the GT is "auto:...", insert the code to read it from Configuration.AlCa.autoCond
374  # - if a GlobalTag is NOT specified on the command line:
375  # - when running on data, do nothing, and keep the global tag in the menu
376  # - when running on mc, take the GT from the configuration.type
377 
378  # override the GlobalTag connection string and pfnPrefix
379  text = """
380 # override the GlobalTag, connection string and pfnPrefix
381 if 'GlobalTag' in %(dict)s:
382 """
383 
384  # when running on MC, override the global tag even if not specified on the command line
385  if not self.config.data and not self.config.globaltag:
386  if self.config.type in globalTag:
387  self.config.globaltag = globalTag[self.config.type]
388  else:
389  self.config.globaltag = globalTag['GRun']
390 
391  # if requested, override the L1 menu from the GlobalTag (using the same connect as the GlobalTag itself)
392  if self.config.l1.override:
393  self.config.l1.tag = self.config.l1.override
394  self.config.l1.record = 'L1TUtmTriggerMenuRcd'
395  self.config.l1.connect = '%(connect)s/CMS_CONDITIONS'
396  self.config.l1.label = ''
397  if not self.config.l1.snapshotTime:
398  self.config.l1.snapshotTime = '9999-12-31 23:59:59.000'
399  self.config.l1cond = '%(tag)s,%(record)s,%(connect)s,%(label)s,%(snapshotTime)s' % self.config.l1.__dict__
400  else:
401  self.config.l1cond = None
402 
403  if self.config.globaltag or self.config.l1cond:
404  text += " from Configuration.AlCa.GlobalTag import GlobalTag as customiseGlobalTag\n"
405  text += " %(process)s.GlobalTag = customiseGlobalTag(%(process)s.GlobalTag"
406  if self.config.globaltag:
407  text += ", globaltag = %s" % repr(self.config.globaltag)
408  if self.config.l1cond:
409  text += ", conditions = %s" % repr(self.config.l1cond)
410  text += ")\n"
411 
412  text += """ %(process)s.GlobalTag.connect = '%(connect)s/CMS_CONDITIONS'
413 """
414 # %(process)s.GlobalTag.pfnPrefix = cms.untracked.string('%(connect)s/')
415 # for pset in %(process)s.GlobalTag.toGet.value():
416 # pset.connect = pset.connect.value().replace('frontier://FrontierProd/', '%(connect)s/')
417 # # fix for multi-run processing
418 # %(process)s.GlobalTag.RefreshEachRun = cms.untracked.bool( False )
419 # %(process)s.GlobalTag.ReconnectEachRun = cms.untracked.bool( False )
420  self.data += text
def overrideGlobalTag
Definition: confdb.py:366
def confdb.HLTProcess.overrideL1MenuXml (   self)

Definition at line 421 of file confdb.py.

References CombinedSVCalibration.data, CombinedTauTagCalibration.data, DOTExport.DotProducer.data, TrackProbabilityCalibration.data, ElectronLikelihoodCalibration.data, CSCTMBScope.data, confdb.HLTProcess.data, SimpleVFATFrameCollection.data, dqm::DQMFileSaverOnline::SnapshotFiles.data, classes.PlotData.data, QGLikelihoodObject.data, dqmTnP::AbstractFitter.data, LASModuleProfile.data, QGLikelihoodSystematicsObject.data, TkLasBeam.data, GeometryComparisonPlotter.data, EcalGlobalShowerContainmentCorrectionsVsEta::Coefficients.data, edm::MapOfVectors< K, T >::Iter.data, edm::DetSet< T >.data, @573.data, EcalShowerContainmentCorrections::Coefficients.data, cscdqm::Cache.data, DQMNet::Bucket.data, and VFATFrame.data.

Referenced by confdb.HLTProcess.customize().

422  def overrideL1MenuXml(self):
423  # if requested, override the GlobalTag's L1T menu from an Xml file
424  if self.config.l1Xml.XmlFile:
425  text = """
426 # override the GlobalTag's L1T menu from an Xml file
427 from HLTrigger.Configuration.CustomConfigs import L1XML
428 %%(process)s = L1XML(%%(process)s,"%s")
429 """ % (self.config.l1Xml.XmlFile)
430  self.data += text
def overrideL1MenuXml
Definition: confdb.py:421
def confdb.HLTProcess.overrideOutput (   self)

Definition at line 441 of file confdb.py.

References CombinedSVCalibration.data, CombinedTauTagCalibration.data, DOTExport.DotProducer.data, TrackProbabilityCalibration.data, ElectronLikelihoodCalibration.data, CSCTMBScope.data, confdb.HLTProcess.data, SimpleVFATFrameCollection.data, dqm::DQMFileSaverOnline::SnapshotFiles.data, classes.PlotData.data, QGLikelihoodObject.data, dqmTnP::AbstractFitter.data, LASModuleProfile.data, QGLikelihoodSystematicsObject.data, TkLasBeam.data, GeometryComparisonPlotter.data, EcalGlobalShowerContainmentCorrectionsVsEta::Coefficients.data, edm::MapOfVectors< K, T >::Iter.data, edm::DetSet< T >.data, @573.data, EcalShowerContainmentCorrections::Coefficients.data, cscdqm::Cache.data, DQMNet::Bucket.data, and VFATFrame.data.

Referenced by confdb.HLTProcess.customize().

442  def overrideOutput(self):
443  # override the "online" ShmStreamConsumer output modules with "offline" PoolOutputModule's
444  self.data = re.sub(
445  r'\b(process\.)?hltOutput(\w+) *= *cms\.OutputModule\( *"ShmStreamConsumer" *,',
446  r'%(process)s.hltOutput\2 = cms.OutputModule( "PoolOutputModule",\n fileName = cms.untracked.string( "output\2.root" ),\n fastCloning = cms.untracked.bool( False ),\n dataset = cms.untracked.PSet(\n filterName = cms.untracked.string( "" ),\n dataTier = cms.untracked.string( "RAW" )\n ),',
447  self.data
448  )
449 
450  if not self.config.fragment and self.config.output == 'full':
451  # add a single "keep *" output
452  self.data += """
453 # add a single "keep *" output
454 %(process)s.hltOutputFULL = cms.OutputModule( "PoolOutputModule",
455  fileName = cms.untracked.string( "outputFULL.root" ),
456  fastCloning = cms.untracked.bool( False ),
457  dataset = cms.untracked.PSet(
458  dataTier = cms.untracked.string( 'RECO' ),
459  filterName = cms.untracked.string( '' )
460  ),
461  outputCommands = cms.untracked.vstring( 'keep *' )
462 )
463 %(process)s.FULLOutput = cms.EndPath( %(process)s.hltOutputFULL )
464 """
465 
def overrideOutput
Definition: confdb.py:441
def confdb.HLTProcess.overrideParameters (   self,
  module,
  parameters 
)

Definition at line 554 of file confdb.py.

References CombinedSVCalibration.data, CombinedTauTagCalibration.data, DOTExport.DotProducer.data, TrackProbabilityCalibration.data, ElectronLikelihoodCalibration.data, CSCTMBScope.data, confdb.HLTProcess.data, SimpleVFATFrameCollection.data, dqm::DQMFileSaverOnline::SnapshotFiles.data, classes.PlotData.data, QGLikelihoodObject.data, dqmTnP::AbstractFitter.data, LASModuleProfile.data, QGLikelihoodSystematicsObject.data, TkLasBeam.data, GeometryComparisonPlotter.data, EcalGlobalShowerContainmentCorrectionsVsEta::Coefficients.data, edm::MapOfVectors< K, T >::Iter.data, edm::DetSet< T >.data, @573.data, EcalShowerContainmentCorrections::Coefficients.data, cscdqm::Cache.data, DQMNet::Bucket.data, and VFATFrame.data.

555  def overrideParameters(self, module, parameters):
556  # override a module's parameter if the module is present in the configuration
557  self.data += "if '%s' in %%(dict)s:\n" % module
558  for (parameter, value) in parameters:
559  self.data += " %%(process)s.%s.%s = %s\n" % (module, parameter, value)
560  self.data += "\n"
561 
def overrideParameters
Definition: confdb.py:554
def confdb.HLTProcess.overrideProcessName (   self)

Definition at line 467 of file confdb.py.

References CombinedSVCalibration.data, CombinedTauTagCalibration.data, DOTExport.DotProducer.data, TrackProbabilityCalibration.data, ElectronLikelihoodCalibration.data, CSCTMBScope.data, confdb.HLTProcess.data, SimpleVFATFrameCollection.data, dqm::DQMFileSaverOnline::SnapshotFiles.data, classes.PlotData.data, QGLikelihoodObject.data, dqmTnP::AbstractFitter.data, LASModuleProfile.data, QGLikelihoodSystematicsObject.data, TkLasBeam.data, GeometryComparisonPlotter.data, EcalGlobalShowerContainmentCorrectionsVsEta::Coefficients.data, edm::MapOfVectors< K, T >::Iter.data, edm::DetSet< T >.data, @573.data, EcalShowerContainmentCorrections::Coefficients.data, cscdqm::Cache.data, DQMNet::Bucket.data, and VFATFrame.data.

Referenced by confdb.HLTProcess.customize().

468  def overrideProcessName(self):
469  if self.config.name is None:
470  return
471 
472  # sanitise process name
473  self.config.name = self.config.name.replace("_","")
474  # override the process name
475  quote = '[\'\"]'
476  self.data = re.compile(r'^(process\s*=\s*cms\.Process\(\s*' + quote + r')\w+(' + quote + r'\s*\).*)$', re.MULTILINE).sub(r'\1%s\2' % self.config.name, self.data, 1)
477 
478  # the following was stolen and adapted from HLTrigger.Configuration.customL1THLT_Options
479  self.data += """
480 # adapt HLT modules to the correct process name
481 if 'hltTrigReport' in %%(dict)s:
482  %%(process)s.hltTrigReport.HLTriggerResults = cms.InputTag( 'TriggerResults', '', '%(name)s' )
483 
484 if 'hltPreExpressCosmicsOutputSmart' in %%(dict)s:
485  %%(process)s.hltPreExpressCosmicsOutputSmart.hltResults = cms.InputTag( 'TriggerResults', '', '%(name)s' )
486 
487 if 'hltPreExpressOutputSmart' in %%(dict)s:
488  %%(process)s.hltPreExpressOutputSmart.hltResults = cms.InputTag( 'TriggerResults', '', '%(name)s' )
489 
490 if 'hltPreDQMForHIOutputSmart' in %%(dict)s:
491  %%(process)s.hltPreDQMForHIOutputSmart.hltResults = cms.InputTag( 'TriggerResults', '', '%(name)s' )
492 
493 if 'hltPreDQMForPPOutputSmart' in %%(dict)s:
494  %%(process)s.hltPreDQMForPPOutputSmart.hltResults = cms.InputTag( 'TriggerResults', '', '%(name)s' )
495 
496 if 'hltPreHLTDQMResultsOutputSmart' in %%(dict)s:
497  %%(process)s.hltPreHLTDQMResultsOutputSmart.hltResults = cms.InputTag( 'TriggerResults', '', '%(name)s' )
498 
499 if 'hltPreHLTDQMOutputSmart' in %%(dict)s:
500  %%(process)s.hltPreHLTDQMOutputSmart.hltResults = cms.InputTag( 'TriggerResults', '', '%(name)s' )
501 
502 if 'hltPreHLTMONOutputSmart' in %%(dict)s:
503  %%(process)s.hltPreHLTMONOutputSmart.hltResults = cms.InputTag( 'TriggerResults', '', '%(name)s' )
504 
505 if 'hltDQMHLTScalers' in %%(dict)s:
506  %%(process)s.hltDQMHLTScalers.triggerResults = cms.InputTag( 'TriggerResults', '', '%(name)s' )
507  %%(process)s.hltDQMHLTScalers.processname = '%(name)s'
508 
509 if 'hltDQML1SeedLogicScalers' in %%(dict)s:
510  %%(process)s.hltDQML1SeedLogicScalers.processname = '%(name)s'
511 """ % self.config.__dict__
512 
def overrideProcessName
Definition: confdb.py:467
def confdb.HLTProcess.runL1Emulator (   self)

Definition at line 431 of file confdb.py.

References CombinedSVCalibration.data, CombinedTauTagCalibration.data, DOTExport.DotProducer.data, TrackProbabilityCalibration.data, ElectronLikelihoodCalibration.data, CSCTMBScope.data, confdb.HLTProcess.data, SimpleVFATFrameCollection.data, dqm::DQMFileSaverOnline::SnapshotFiles.data, classes.PlotData.data, QGLikelihoodObject.data, dqmTnP::AbstractFitter.data, LASModuleProfile.data, QGLikelihoodSystematicsObject.data, TkLasBeam.data, GeometryComparisonPlotter.data, EcalGlobalShowerContainmentCorrectionsVsEta::Coefficients.data, edm::MapOfVectors< K, T >::Iter.data, edm::DetSet< T >.data, @573.data, EcalShowerContainmentCorrections::Coefficients.data, cscdqm::Cache.data, DQMNet::Bucket.data, and VFATFrame.data.

Referenced by confdb.HLTProcess.customize().

432  def runL1Emulator(self):
433  # if requested, run the Full L1T emulator, then repack the data into a new RAW collection, to be used by the HLT
434  if self.config.emulator:
435  text = """
436 # run the Full L1T emulator, then repack the data into a new RAW collection, to be used by the HLT
437 from HLTrigger.Configuration.CustomConfigs import L1REPACK
438 %%(process)s = L1REPACK(%%(process)s,"%s")
439 """ % (self.config.emulator)
440  self.data += text
def confdb.HLTProcess.specificCustomize (   self)

Definition at line 158 of file confdb.py.

References CombinedSVCalibration.data, CombinedTauTagCalibration.data, DOTExport.DotProducer.data, TrackProbabilityCalibration.data, ElectronLikelihoodCalibration.data, CSCTMBScope.data, confdb.HLTProcess.data, SimpleVFATFrameCollection.data, dqm::DQMFileSaverOnline::SnapshotFiles.data, classes.PlotData.data, QGLikelihoodObject.data, dqmTnP::AbstractFitter.data, LASModuleProfile.data, QGLikelihoodSystematicsObject.data, TkLasBeam.data, GeometryComparisonPlotter.data, EcalGlobalShowerContainmentCorrectionsVsEta::Coefficients.data, edm::MapOfVectors< K, T >::Iter.data, edm::DetSet< T >.data, @573.data, EcalShowerContainmentCorrections::Coefficients.data, cscdqm::Cache.data, DQMNet::Bucket.data, VFATFrame.data, confdb.HLTProcess.source, lhef::XMLDocument.source, DQMNet::Peer.source, Config.Process.source, gen::Hydjet2Hadronizer.source, condformats_serialization_generate.SerializationCodeGenerator.source, and BeautifulSoup.ResultSet.source.

Referenced by confdb.HLTProcess.customize().

159  def specificCustomize(self):
160  # specific customizations now live in HLTrigger.Configuration.customizeHLTforALL.customizeHLTforAll(.,.)
161  if self.config.fragment:
162  self.data += """
163 # add specific customizations
164 from HLTrigger.Configuration.customizeHLTforALL import customizeHLTforAll
165 fragment = customizeHLTforAll(fragment,"%s")
166 """ % (self.config.type)
167  else:
168  if self.config.type=="Fake":
169  prefix = "run1"
170  else:
171  prefix = "run2"
172  _gtData = "auto:"+prefix+"_hlt_"+self.config.type
173  _gtMc = "auto:"+prefix+"_mc_" +self.config.type
174  self.data += """
175 # add specific customizations
176 _customInfo = {}
177 _customInfo['menuType' ]= "%s"
178 _customInfo['globalTags']= {}
179 _customInfo['globalTags'][True ] = "%s"
180 _customInfo['globalTags'][False] = "%s"
181 _customInfo['inputFiles']={}
182 _customInfo['inputFiles'][True] = "file:RelVal_Raw_%s_DATA.root"
183 _customInfo['inputFiles'][False] = "file:RelVal_Raw_%s_MC.root"
184 _customInfo['maxEvents' ]= %s
185 _customInfo['globalTag' ]= "%s"
186 _customInfo['inputFile' ]= %s
187 _customInfo['realData' ]= %s
188 from HLTrigger.Configuration.customizeHLTforALL import customizeHLTforAll
189 %%(process)s = customizeHLTforAll(%%(process)s,"%s",_customInfo)
190 """ % (self.config.type,_gtData,_gtMc,self.config.type,self.config.type,self.config.events,self.config.globaltag,self.source,self.config.data,self.config.type)
191 
192  self.data += """
193 from HLTrigger.Configuration.customizeHLTforCMSSW import customizeHLTforCMSSW
194 %%(process)s = customizeHLTforCMSSW(%%(process)s,"%s")
195 """ % (self.config.type)
def specificCustomize
Definition: confdb.py:158
def confdb.HLTProcess.updateMessageLogger (   self)

Definition at line 513 of file confdb.py.

References CombinedSVCalibration.data, CombinedTauTagCalibration.data, DOTExport.DotProducer.data, TrackProbabilityCalibration.data, ElectronLikelihoodCalibration.data, CSCTMBScope.data, confdb.HLTProcess.data, SimpleVFATFrameCollection.data, dqm::DQMFileSaverOnline::SnapshotFiles.data, classes.PlotData.data, QGLikelihoodObject.data, dqmTnP::AbstractFitter.data, LASModuleProfile.data, QGLikelihoodSystematicsObject.data, TkLasBeam.data, GeometryComparisonPlotter.data, EcalGlobalShowerContainmentCorrectionsVsEta::Coefficients.data, edm::MapOfVectors< K, T >::Iter.data, edm::DetSet< T >.data, @573.data, EcalShowerContainmentCorrections::Coefficients.data, cscdqm::Cache.data, DQMNet::Bucket.data, and VFATFrame.data.

Referenced by confdb.HLTProcess.customize().

514  def updateMessageLogger(self):
515  # request summary informations from the MessageLogger
516  self.data += """
517 if 'MessageLogger' in %(dict)s:
518  %(process)s.MessageLogger.categories.append('TriggerSummaryProducerAOD')
519  %(process)s.MessageLogger.categories.append('L1GtTrigReport')
520  %(process)s.MessageLogger.categories.append('L1TGlobalSummary')
521  %(process)s.MessageLogger.categories.append('HLTrigReport')
522  %(process)s.MessageLogger.categories.append('FastReport')
523 """
524 
def updateMessageLogger
Definition: confdb.py:513

Member Data Documentation

confdb.HLTProcess.all_paths

Definition at line 693 of file confdb.py.

Referenced by confdb.HLTProcess.fixPrescales().

confdb.HLTProcess.config

Definition at line 24 of file confdb.py.

confdb.HLTProcess.converter

Definition at line 58 of file confdb.py.

confdb.HLTProcess.data

Definition at line 25 of file confdb.py.

Referenced by cuy.FindIssue.__init__(), data_sources.node.__str__(), confdb.HLTProcess._fix_parameter(), confdb.HLTProcess.addGlobalOptions(), confdb.HLTProcess.append_filenames(), data_sources.json_list.as_dicts(), data_sources.json_list.as_table(), confdb.HLTProcess.build_source(), confdb.HLTProcess.customize(), confdb.HLTProcess.dump(), confdb.HLTProcess.fixPrescales(), confdb.HLTProcess.getRawConfigurationFromDB(), confdb.HLTProcess.instrumentDQM(), confdb.HLTProcess.instrumentOpenMode(), confdb.HLTProcess.instrumentTiming(), data_sources.json_list.last(), confdb.HLTProcess.loadAdditionalConditions(), confdb.HLTProcess.loadCff(), confdb.HLTProcess.overrideGlobalTag(), confdb.HLTProcess.overrideL1MenuXml(), confdb.HLTProcess.overrideOutput(), confdb.HLTProcess.overrideParameters(), confdb.HLTProcess.overrideProcessName(), confdb.HLTProcess.runL1Emulator(), confdb.HLTProcess.specificCustomize(), and confdb.HLTProcess.updateMessageLogger().

confdb.HLTProcess.labels

Definition at line 40 of file confdb.py.

Referenced by confdb.HLTProcess.dump().

confdb.HLTProcess.options

Definition at line 29 of file confdb.py.

Referenced by betterConfigParser.BetterConfigParser.__updateDict(), confdb.HLTProcess.buildOptions(), betterConfigParser.BetterConfigParser.checkInput(), DOTExport.DotExport.export(), confdb.HLTProcess.fixPrescales(), edmIntegrityCheck.IntegrityCheck.query(), cmsswPreprocessor.CmsswPreprocessor.run(), production_tasks.BaseDataset.run(), production_tasks.GenerateMask.run(), production_tasks.RunCMSBatch.run(), production_tasks.MonitorJobs.run(), production_tasks.CheckJobStatus.run(), production_tasks.CleanJobFiles.run(), and DOTExport.DotExport.write_output().

confdb.HLTProcess.parent

Definition at line 27 of file confdb.py.

Referenced by BeautifulSoup.PageElement._invert(), Vispa.Gui.ConnectableWidget.ConnectableWidget.addMenuEntry(), Vispa.Views.LineDecayView.LineDecayContainer.applyFilter(), Vispa.Views.BoxDecayView.BoxDecayContainer.arrangeUsingRelations(), Vispa.Views.BoxDecayView.BoxDecayContainer.autolayoutAlgorithm(), Vispa.Gui.ZoomableScrollableWidgetOwner.ZoomableScrollableWidgetOwner.autosizeScrollArea(), Vispa.Views.BoxDecayView.BoxDecayContainer.autosizeScrollArea(), confdb.HLTProcess.build_source(), Vispa.Gui.PortWidget.PortWidget.connectionPoint(), Vispa.Main.StartupScreen.StartupScreen.createDescriptionWidget(), Vispa.Views.BoxDecayView.BoxDecayContainer.dataAccessor(), Vispa.Views.LineDecayView.LineDecayContainer.dataAccessor(), Vispa.Views.LineDecayView.DecayLine.dataAccessor(), Vispa.Views.LineDecayView.LineDecayContainer.delete(), Vispa.Views.LineDecayView.DecayNode.delete(), Vispa.Views.LineDecayView.DecayLine.delete(), Vispa.Gui.VispaWidget.VispaWidget.delete(), Vispa.Gui.VispaWidget.VispaWidget.dragWidget(), Vispa.Share.ImageExporter.ImageExporter.exportImageDialog(), Vispa.Views.LineDecayView.DecayLine.extendedSize(), argparse.HelpFormatter._Section.format_help(), python.rootplot.argparse.HelpFormatter._Section.format_help(), edmIntegrityCheck.PublishToFileSystem.get(), Vispa.Gui.VispaWidget.VispaWidget.keyPressEvent(), Vispa.Gui.MenuWidget.MenuWidget.leaveEvent(), Vispa.Gui.ConnectableWidget.ConnectableWidget.leaveEvent(), Vispa.Gui.PortWidget.PortWidget.moduleParent(), Vispa.Gui.WidgetContainer.WidgetContainer.mouseDoubleClickEvent(), Vispa.Gui.VispaWidget.VispaWidget.mouseDoubleClickEvent(), Vispa.Gui.PortConnection.PointToPointConnection.mousePressEvent(), Vispa.Gui.VispaWidget.VispaWidget.mousePressEvent(), Vispa.Views.LineDecayView.ParticleWidget.mousePressEvent(), Vispa.Views.LineDecayView.DecayNode.move(), Vispa.Views.LineDecayView.LineDecayContainer.noDecorationsMode(), Vispa.Views.LineDecayView.LineDecayContainer.operationId(), Vispa.Views.LineDecayView.DecayLine.paint(), Vispa.Gui.VispaWidget.VispaWidget.paintEvent(), Vispa.Gui.ConnectableWidget.ConnectableWidget.positionizeMenuWidget(), edmIntegrityCheck.PublishToFileSystem.publish(), Vispa.Views.LineDecayView.DecayLine.qtLineStyle(), Vispa.Views.WidgetView.WidgetView.restoreSelection(), Vispa.Views.WidgetView.WidgetView.select(), Vispa.Gui.PortConnection.PointToPointConnection.select(), Vispa.Gui.VispaWidget.VispaWidget.select(), Vispa.Views.LineDecayView.LineDecayContainer.select(), Vispa.Views.LineDecayView.LineDecayContainer.sizeHint(), Vispa.Views.LineDecayView.LineDecayContainer.tabController(), Vispa.Views.BoxDecayView.BoxDecayContainer.toggleCollapsed(), Vispa.Views.LineDecayView.DecayNode.unite(), Vispa.Views.PropertyView.PropertyView.valueChanged(), Vispa.Views.BoxDecayView.BoxDecayContainer.widgetByObject(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner.widgetDoubleClicked(), and Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner.widgetDragged().

confdb.HLTProcess.source

Definition at line 26 of file confdb.py.

Referenced by confdb.HLTProcess.build_source(), and confdb.HLTProcess.specificCustomize().