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 299 of file confdb.py.

References CombinedSVCalibration.data, CombinedTauTagCalibration.data, DOTExport.DotProducer.data, TrackProbabilityCalibration.data, ElectronLikelihoodCalibration.data, CSCTMBScope.data, confdb.HLTProcess.data, SimpleVFATFrameCollection.data, TotemVFATInfo.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, @574.data, EcalShowerContainmentCorrections::Coefficients.data, cscdqm::Cache.data, DQMNet::Bucket.data, VFATFrame.data, and conddblib.Payload.data.

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

300  def _fix_parameter(self, **args):
301  """arguments:
302  name: parameter name (optional)
303  type: parameter type (look for tracked and untracked variants)
304  value: original value
305  replace: replacement value
306  """
307  if 'name' in args:
308  self.data = re.sub(
309  r'%(name)s = cms(?P<tracked>(?:\.untracked)?)\.%(type)s\( (?P<quote>["\']?)%(value)s(?P=quote)' % args,
310  r'%(name)s = cms\g<tracked>.%(type)s( \g<quote>%(replace)s\g<quote>' % args,
311  self.data)
312  else:
313  self.data = re.sub(
314  r'cms(?P<tracked>(?:\.untracked)?)\.%(type)s\( (?P<quote>["\']?)%(value)s(?P=quote)' % args,
315  r'cms\g<tracked>.%(type)s( \g<quote>%(replace)s\g<quote>' % args,
316  self.data)
317 
def _fix_parameter
Definition: confdb.py:299
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, TotemVFATInfo.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, @574.data, EcalShowerContainmentCorrections::Coefficients.data, cscdqm::Cache.data, DQMNet::Bucket.data, VFATFrame.data, and conddblib.Payload.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 the TrigReport and TimeReport
294 %(process)s.options = cms.untracked.PSet(
295  wantSummary = cms.untracked.bool( True )
296 )
297 """
298 
def addGlobalOptions
Definition: confdb.py:281
def confdb.HLTProcess.append_filenames (   self,
  name,
  filenames 
)

Definition at line 839 of file confdb.py.

References CombinedSVCalibration.data, CombinedTauTagCalibration.data, DOTExport.DotProducer.data, TrackProbabilityCalibration.data, ElectronLikelihoodCalibration.data, CSCTMBScope.data, confdb.HLTProcess.data, SimpleVFATFrameCollection.data, TotemVFATInfo.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, @574.data, EcalShowerContainmentCorrections::Coefficients.data, cscdqm::Cache.data, DQMNet::Bucket.data, VFATFrame.data, and conddblib.Payload.data.

Referenced by confdb.HLTProcess.build_source().

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

Definition at line 865 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, TotemVFATInfo.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, @574.data, EcalShowerContainmentCorrections::Coefficients.data, cscdqm::Cache.data, DQMNet::Bucket.data, VFATFrame.data, conddblib.Payload.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().

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

Definition at line 747 of file confdb.py.

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

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

691  def buildPathList(self):
692  self.all_paths = self.getPathList()
693 
694  if self.config.paths:
695  # no path list was requested, dump the full table, minus unsupported / unwanted paths
696  paths = self.config.paths.split(',')
697  else:
698  # dump only the requested paths, plus the eventual output endpaths
699  paths = []
700 
701  if self.config.fragment or self.config.output in ('none', 'full'):
702  # 'full' removes all outputs (same as 'none') and then adds a single "keep *" output (see the overrideOutput method)
703  if self.config.paths:
704  # paths are removed by default
705  pass
706  else:
707  # drop all output endpaths
708  paths.append( "-*Output" )
709  paths.append( "-RatesMonitoring")
710  paths.append( "-DQMHistograms")
711  elif self.config.output == 'minimal':
712  # drop all output endpaths but HLTDQMResultsOutput
713  if self.config.paths:
714  paths.append( "HLTDQMResultsOutput" )
715  else:
716  paths.append( "-*Output" )
717  paths.append( "-RatesMonitoring")
718  paths.append( "-DQMHistograms")
719  paths.append( "HLTDQMResultsOutput" )
720  else:
721  # keep / add back all output endpaths
722  if self.config.paths:
723  paths.append( "*Output" )
724  else:
725  pass # paths are kepy by default
726 
727  # drop unwanted paths for profiling (and timing studies)
728  if self.config.profiling:
729  paths.append( "-HLTriggerFirstPath" )
730  paths.append( "-HLTAnalyzerEndpath" )
731 
732  # this should never be in any dump (nor online menu)
733  paths.append( "-OfflineOutput" )
734 
735  # expand all wildcards
736  paths = self.expandWildcards(paths, self.all_paths)
737 
738  if self.config.paths:
739  # do an "additive" consolidation
740  self.options['paths'] = self.consolidatePositiveList(paths)
741  if not self.options['paths']:
742  raise RuntimeError('Error: option "--paths %s" does not select any valid paths' % self.config.paths)
743  else:
744  # do a "subtractive" consolidation
745  self.options['paths'] = self.consolidateNegativeList(paths)
746 
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, TotemVFATInfo.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, @574.data, EcalShowerContainmentCorrections::Coefficients.data, cscdqm::Cache.data, DQMNet::Bucket.data, VFATFrame.data, conddblib.Payload.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:299
def overrideL1MenuXml
Definition: confdb.py:419
def addGlobalOptions
Definition: confdb.py:281
def overrideOutput
Definition: confdb.py:439
def overrideProcessName
Definition: confdb.py:465
def specificCustomize
Definition: confdb.py:158
def instrumentErrorEventType
Definition: confdb.py:356
def overrideGlobalTag
Definition: confdb.py:364
def instrumentTiming
Definition: confdb.py:560
def instrumentOpenMode
Definition: confdb.py:342
def updateMessageLogger
Definition: confdb.py:511
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, TotemVFATInfo.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, @574.data, EcalShowerContainmentCorrections::Coefficients.data, cscdqm::Cache.data, DQMNet::Bucket.data, VFATFrame.data, conddblib.Payload.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 684 of file confdb.py.

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

Definition at line 853 of file confdb.py.

Referenced by confdb.HLTProcess.build_source().

854  def expand_filenames(self, input):
855  # check if the input is a dataset or a list of files
856  if input[0:8] == 'dataset:':
857  from dasFileQuery import dasFileQuery
858  # extract the dataset name, and use DAS to fine the list of LFNs
859  dataset = input[8:]
860  files = dasFileQuery(dataset)
861  else:
862  # assume a comma-separated list of input files
863  files = self.config.input.split(',')
864  return files
def expand_filenames
Definition: confdb.py:853
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 318 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, TotemVFATInfo.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, @574.data, EcalShowerContainmentCorrections::Coefficients.data, cscdqm::Cache.data, DQMNet::Bucket.data, VFATFrame.data, conddblib.Payload.data, FileExportPlugin.FileExportPlugin.options, DOTExport.DotProducer.options, and confdb.HLTProcess.options.

Referenced by confdb.HLTProcess.customize().

319  def fixPrescales(self):
320  # update the PrescaleService to match the new list of paths
321  if self.options['paths']:
322  if self.options['paths'][0][0] == '-':
323  # drop requested paths
324  for minuspath in self.options['paths']:
325  path = minuspath[1:]
326  self.data = re.sub(r' cms.PSet\( pathName = cms.string\( "%s" \),\n prescales = cms.vuint32\( .* \)\n \),?\n' % path, '', self.data)
327  else:
328  # keep requested paths
329  for path in self.all_paths:
330  if path not in self.options['paths']:
331  self.data = re.sub(r' cms.PSet\( pathName = cms.string\( "%s" \),\n prescales = cms.vuint32\( .* \)\n \),?\n' % path, '', self.data)
332 
333  if self.config.prescale and (self.config.prescale.lower() != 'none'):
334  # TO DO: check that the requested prescale column is valid
335  self.data += """
336 # force the use of a specific HLT prescale column
337 if 'PrescaleService' in %(dict)s:
338  %(process)s.PrescaleService.forceDefault = True
339  %(process)s.PrescaleService.lvl1DefaultLabel = '%(prescale)s'
340 """
341 
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, CombinedTauTagCalibration.data, DOTExport.DotProducer.data, TrackProbabilityCalibration.data, ElectronLikelihoodCalibration.data, CSCTMBScope.data, confdb.HLTProcess.data, SimpleVFATFrameCollection.data, TotemVFATInfo.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, @574.data, EcalShowerContainmentCorrections::Coefficients.data, cscdqm::Cache.data, DQMNet::Bucket.data, VFATFrame.data, conddblib.Payload.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 651 of file confdb.py.

References CombinedSVCalibration.data, CombinedTauTagCalibration.data, DOTExport.DotProducer.data, TrackProbabilityCalibration.data, ElectronLikelihoodCalibration.data, CSCTMBScope.data, confdb.HLTProcess.data, SimpleVFATFrameCollection.data, TotemVFATInfo.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, @574.data, EcalShowerContainmentCorrections::Coefficients.data, cscdqm::Cache.data, DQMNet::Bucket.data, VFATFrame.data, conddblib.Payload.data, and confdb.HLTProcess.loadCffCommand().

Referenced by confdb.HLTProcess.customize().

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

Definition at line 356 of file confdb.py.

References confdb.HLTProcess._fix_parameter().

Referenced by confdb.HLTProcess.customize().

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

Definition at line 342 of file confdb.py.

References CombinedSVCalibration.data, CombinedTauTagCalibration.data, DOTExport.DotProducer.data, TrackProbabilityCalibration.data, ElectronLikelihoodCalibration.data, CSCTMBScope.data, confdb.HLTProcess.data, SimpleVFATFrameCollection.data, TotemVFATInfo.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, @574.data, EcalShowerContainmentCorrections::Coefficients.data, cscdqm::Cache.data, DQMNet::Bucket.data, VFATFrame.data, conddblib.Payload.data, and join().

Referenced by confdb.HLTProcess.customize().

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

Definition at line 560 of file confdb.py.

References CombinedSVCalibration.data, CombinedTauTagCalibration.data, DOTExport.DotProducer.data, TrackProbabilityCalibration.data, ElectronLikelihoodCalibration.data, CSCTMBScope.data, confdb.HLTProcess.data, SimpleVFATFrameCollection.data, TotemVFATInfo.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, @574.data, EcalShowerContainmentCorrections::Coefficients.data, cscdqm::Cache.data, DQMNet::Bucket.data, VFATFrame.data, conddblib.Payload.data, and confdb.HLTProcess.loadCff().

Referenced by confdb.HLTProcess.customize().

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

Definition at line 523 of file confdb.py.

References CombinedSVCalibration.data, CombinedTauTagCalibration.data, DOTExport.DotProducer.data, TrackProbabilityCalibration.data, ElectronLikelihoodCalibration.data, CSCTMBScope.data, confdb.HLTProcess.data, SimpleVFATFrameCollection.data, TotemVFATInfo.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, @574.data, EcalShowerContainmentCorrections::Coefficients.data, cscdqm::Cache.data, DQMNet::Bucket.data, VFATFrame.data, and conddblib.Payload.data.

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

Definition at line 548 of file confdb.py.

References CombinedSVCalibration.data, CombinedTauTagCalibration.data, DOTExport.DotProducer.data, TrackProbabilityCalibration.data, ElectronLikelihoodCalibration.data, CSCTMBScope.data, confdb.HLTProcess.data, SimpleVFATFrameCollection.data, TotemVFATInfo.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, @574.data, EcalShowerContainmentCorrections::Coefficients.data, cscdqm::Cache.data, DQMNet::Bucket.data, VFATFrame.data, conddblib.Payload.data, and confdb.HLTProcess.loadCffCommand().

Referenced by confdb.HLTProcess.instrumentTiming().

549  def loadCff(self, module):
550  self.data += self.loadCffCommand(module)
551 
def loadCffCommand
Definition: confdb.py:541
def confdb.HLTProcess.loadCffCommand (   self,
  module 
)

Definition at line 541 of file confdb.py.

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

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

Definition at line 364 of file confdb.py.

References CombinedSVCalibration.data, CombinedTauTagCalibration.data, DOTExport.DotProducer.data, TrackProbabilityCalibration.data, ElectronLikelihoodCalibration.data, CSCTMBScope.data, confdb.HLTProcess.data, SimpleVFATFrameCollection.data, TotemVFATInfo.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, @574.data, EcalShowerContainmentCorrections::Coefficients.data, cscdqm::Cache.data, DQMNet::Bucket.data, VFATFrame.data, and conddblib.Payload.data.

Referenced by confdb.HLTProcess.customize().

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

Definition at line 419 of file confdb.py.

References CombinedSVCalibration.data, CombinedTauTagCalibration.data, DOTExport.DotProducer.data, TrackProbabilityCalibration.data, ElectronLikelihoodCalibration.data, CSCTMBScope.data, confdb.HLTProcess.data, SimpleVFATFrameCollection.data, TotemVFATInfo.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, @574.data, EcalShowerContainmentCorrections::Coefficients.data, cscdqm::Cache.data, DQMNet::Bucket.data, VFATFrame.data, and conddblib.Payload.data.

Referenced by confdb.HLTProcess.customize().

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

Definition at line 439 of file confdb.py.

References CombinedSVCalibration.data, CombinedTauTagCalibration.data, DOTExport.DotProducer.data, TrackProbabilityCalibration.data, ElectronLikelihoodCalibration.data, CSCTMBScope.data, confdb.HLTProcess.data, SimpleVFATFrameCollection.data, TotemVFATInfo.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, @574.data, EcalShowerContainmentCorrections::Coefficients.data, cscdqm::Cache.data, DQMNet::Bucket.data, VFATFrame.data, and conddblib.Payload.data.

Referenced by confdb.HLTProcess.customize().

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

Definition at line 552 of file confdb.py.

References CombinedSVCalibration.data, CombinedTauTagCalibration.data, DOTExport.DotProducer.data, TrackProbabilityCalibration.data, ElectronLikelihoodCalibration.data, CSCTMBScope.data, confdb.HLTProcess.data, SimpleVFATFrameCollection.data, TotemVFATInfo.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, @574.data, EcalShowerContainmentCorrections::Coefficients.data, cscdqm::Cache.data, DQMNet::Bucket.data, VFATFrame.data, and conddblib.Payload.data.

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

Definition at line 465 of file confdb.py.

References CombinedSVCalibration.data, CombinedTauTagCalibration.data, DOTExport.DotProducer.data, TrackProbabilityCalibration.data, ElectronLikelihoodCalibration.data, CSCTMBScope.data, confdb.HLTProcess.data, SimpleVFATFrameCollection.data, TotemVFATInfo.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, @574.data, EcalShowerContainmentCorrections::Coefficients.data, cscdqm::Cache.data, DQMNet::Bucket.data, VFATFrame.data, and conddblib.Payload.data.

Referenced by confdb.HLTProcess.customize().

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

Definition at line 429 of file confdb.py.

References CombinedSVCalibration.data, CombinedTauTagCalibration.data, DOTExport.DotProducer.data, TrackProbabilityCalibration.data, ElectronLikelihoodCalibration.data, CSCTMBScope.data, confdb.HLTProcess.data, SimpleVFATFrameCollection.data, TotemVFATInfo.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, @574.data, EcalShowerContainmentCorrections::Coefficients.data, cscdqm::Cache.data, DQMNet::Bucket.data, VFATFrame.data, and conddblib.Payload.data.

Referenced by confdb.HLTProcess.customize().

430  def runL1Emulator(self):
431  # if requested, run the Full L1T emulator, then repack the data into a new RAW collection, to be used by the HLT
432  if self.config.emulator:
433  text = """
434 # run the Full L1T emulator, then repack the data into a new RAW collection, to be used by the HLT
435 from HLTrigger.Configuration.CustomConfigs import L1REPACK
436 %%(process)s = L1REPACK(%%(process)s,"%s")
437 """ % (self.config.emulator)
438  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, TotemVFATInfo.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, @574.data, EcalShowerContainmentCorrections::Coefficients.data, cscdqm::Cache.data, DQMNet::Bucket.data, VFATFrame.data, conddblib.Payload.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 511 of file confdb.py.

References CombinedSVCalibration.data, CombinedTauTagCalibration.data, DOTExport.DotProducer.data, TrackProbabilityCalibration.data, ElectronLikelihoodCalibration.data, CSCTMBScope.data, confdb.HLTProcess.data, SimpleVFATFrameCollection.data, TotemVFATInfo.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, @574.data, EcalShowerContainmentCorrections::Coefficients.data, cscdqm::Cache.data, DQMNet::Bucket.data, VFATFrame.data, and conddblib.Payload.data.

Referenced by confdb.HLTProcess.customize().

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

Member Data Documentation

confdb.HLTProcess.all_paths

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