5 from pipe
import pipe
as _pipe
6 from options
import globalTag
27 if self.config.fragment:
28 self.
labels[
'process'] =
''
29 self.
labels[
'dict'] =
'locals()'
31 self.
labels[
'process'] =
'process.'
32 self.
labels[
'dict'] =
'process.__dict__'
34 if self.config.online:
35 self.
labels[
'connect'] =
'frontier://(proxyurl=http://localhost:3128)(serverurl=http://localhost:8000/FrontierOnProd)(serverurl=http://localhost:8000/FrontierOnProd)(retrieve-ziplevel=0)'
37 self.
labels[
'connect'] =
'frontier://FrontierProd'
47 if self.config.menu.run:
48 return '--runNumber %s' % self.config.menu.run
50 return '--%s --configName %s' % (self.config.menu.db, self.config.menu.name)
54 return '--noedsources'
56 return '--input ' + self.
source
59 return ' '.
join([
'--%s %s' % (key,
','.
join(vals))
for key, vals
in self.options.iteritems()
if vals])
62 if not self.config.fragment:
71 if 'Exhausted Resultset' in data
or 'CONFIG_NOT_FOUND' in data:
72 raise ImportError(
'%s is not a valid HLT menu' % self.config.menuConfig.value)
77 cmdline =
'edmConfigFromDB --cff %s --noedsources --noes --noservices --nosequences --nomodules' % self.
_build_query()
79 if 'Exhausted Resultset' in data
or 'CONFIG_NOT_FOUND' in data:
80 raise ImportError(
'%s is not a valid HLT menu' % self.config.menuConfig.value)
81 filter = re.compile(
r' *= *cms.(End)?Path.*')
82 paths = [ filter.sub(
'', line)
for line
in data.splitlines()
if filter.search(line) ]
102 filter = re.compile(
r'^' + glob.replace(
'?',
'.').
replace(
'*',
'.*').
replace(
'[!',
'[^') +
r'$')
103 matches.extend( negate + element
for element
in collection
if filter.match(element) )
114 if self.config.fragment:
144 if self.config.type
in (
'HIon', ):
146 # HIon paths in smart prescalers
147 if 'hltPreHLTDQMSmart' in %(dict)s:
148 %(process)shltPreHLTDQMSmart.throw = cms.bool( False )
149 if 'hltPreHLTMONSmart' in %(dict)s:
150 %(process)shltPreHLTMONSmart.throw = cms.bool( False )
151 if 'hltPreExpressSmart' in %(dict)s:
152 %(process)shltPreExpressSmart.throw = cms.bool( False )
153 if 'hltPreDQMSmart' in %(dict)s:
154 %(process)shltPreDQMSmart.throw = cms.bool( False )
180 %(process)smaxEvents = cms.untracked.PSet(
181 input = cms.untracked.int32( 100 )
183 %(process)soptions = cms.untracked.PSet(
184 wantSummary = cms.untracked.bool( True )
191 name: parameter name (optional)
192 type: parameter type (look for tracked and untracked variants)
193 value: original value
194 replace: replacement value
198 r'%(name)s = cms(?P<tracked>(?:\.untracked)?)\.%(type)s\( (?P<quote>["\']?)%(value)s(?P=quote)' % args,
199 r'%(name)s = cms\g<tracked>.%(type)s( \g<quote>%(replace)s\g<quote>' % args,
203 r'cms(?P<tracked>(?:\.untracked)?)\.%(type)s\( (?P<quote>["\']?)%(value)s(?P=quote)' % args,
204 r'cms\g<tracked>.%(type)s( \g<quote>%(replace)s\g<quote>' % args,
209 if not self.config.data:
211 self.
_fix_parameter(type =
'InputTag', value =
'source', replace =
'rawDataCollector')
212 self.
_fix_parameter(type =
'string', value =
'source', replace =
'rawDataCollector')
216 if self.config.fastsim:
218 self.
data = re.sub(
r'import FWCore.ParameterSet.Config as cms',
r'\g<0>\nfrom FastSimulation.HighLevelTrigger.HLTSetup_cff import *', self.
data)
221 self.
data = re.compile(
r'^streams.*\n(.*\n)*?^\)\s*\n', re.MULTILINE ).sub(
'', self.
data )
222 self.
data = re.compile(
r'^datasets.*\n(.*\n)*?^\)\s*\n', re.MULTILINE ).sub(
'', self.
data )
225 self.
_fix_parameter( type =
'InputTag', value =
'hltL1extraParticles', replace =
'l1extraParticles')
226 self.
_fix_parameter(name =
'GMTReadoutCollection', type =
'InputTag', value =
'hltGtDigis', replace =
'gmtDigis')
227 self.
_fix_parameter( type =
'InputTag', value =
'hltGtDigis', replace =
'gtDigis')
228 self.
_fix_parameter( type =
'InputTag', value =
'hltL1GtObjectMap', replace =
'gtDigis')
229 self.
_fix_parameter(name =
'initialSeeds', type =
'InputTag', value =
'noSeedsHere', replace =
'globalPixelSeeds:GlobalPixel')
230 self.
_fix_parameter(name =
'preFilteredSeeds', type =
'bool', value =
'True', replace =
'False')
231 self.
_fix_parameter( type =
'InputTag', value =
'hltOfflineBeamSpot', replace =
'offlineBeamSpot')
232 self.
_fix_parameter( type =
'InputTag', value =
'hltMuonCSCDigis', replace =
'simMuonCSCDigis')
233 self.
_fix_parameter( type =
'InputTag', value =
'hltMuonDTDigis', replace =
'simMuonDTDigis')
234 self.
_fix_parameter( type =
'InputTag', value =
'hltMuonRPCDigis', replace =
'simMuonRPCDigis')
237 self.
data = re.sub(
r'hltMuonCSCDigis',
r'cms.SequencePlaceholder( "simMuonCSCDigis" )', self.
data )
238 self.
data = re.sub(
r'hltMuonDTDigis',
r'cms.SequencePlaceholder( "simMuonDTDigis" )', self.
data )
239 self.
data = re.sub(
r'hltMuonRPCDigis',
r'cms.SequencePlaceholder( "simMuonRPCDigis" )', self.
data )
240 self.
data = re.sub(
r'HLTEndSequence',
r'cms.SequencePlaceholder( "HLTEndSequence" )', self.
data )
241 self.
data = re.sub(
r'hltGtDigis',
r'HLTBeginSequence', self.
data )
245 if self.config.unprescale:
247 # remove the HLT prescales
248 if 'PrescaleService' in %(dict)s:
249 %(process)sPrescaleService.lvl1DefaultLabel = cms.untracked.string( '0' )
250 %(process)sPrescaleService.lvl1Labels = cms.vstring( '0', '1', '2', '3', '4', '5', '6', '7', '8', '9' )
251 %(process)sPrescaleService.prescaleTable = cms.VPSet( )
258 filters = [ match[1]
for match
in re.findall(
r'(process\.)?\b(\w+) = cms.EDFilter', self.
data) ]
260 re_filters = re.compile(
r'\b((process\.)?(' +
r'|'.
join(filters) +
r'))\b' )
261 re_sequence = re.compile(
r'cms\.(Path|Sequence)\((.*)\)' )
262 self.
data = re_sequence.sub(
lambda line: re_filters.sub(
r'cms.ignore( \1 )', line.group(0) ), self.
data )
273 if self.config.online:
274 if self.config.globaltag:
277 # override the GlobalTag
278 if 'GlobalTag' in %%(dict)s:
279 %%(process)sGlobalTag.globaltag = '%(globaltag)s'
285 # override the GlobalTag, connection string and pfnPrefix
286 if 'GlobalTag' in %%(dict)s:
287 %%(process)sGlobalTag.connect = '%%(connect)s/CMS_COND_31X_GLOBALTAG'
288 %%(process)sGlobalTag.pfnPrefix = cms.untracked.string('%%(connect)s/')
296 if not self.config.globaltag:
297 if self.config.type
in globalTag:
298 self.config.globaltag = globalTag[self.config.type]
300 self.config.globaltag = globalTag[
'GRun']
303 if not self.config.globaltag:
306 elif self.config.globaltag.startswith(
'auto:'):
307 self.config.menuGlobalTagAuto = self.config.globaltag[5:]
308 text +=
" from Configuration.PyReleaseValidation.autoCond import autoCond\n"
309 text +=
" %%(process)sGlobalTag.globaltag = autoCond['%(menuGlobalTagAuto)s']\n"
311 text +=
" %%(process)sGlobalTag.globaltag = '%(globaltag)s'\n"
313 self.
data += text % self.config.__dict__
318 if self.config.l1.override:
319 self.config.l1.record =
'L1GtTriggerMenuRcd'
320 self.config.l1.label =
''
321 self.config.l1.tag = self.config.l1.override
322 if not self.config.l1.connect:
323 self.config.l1.connect =
'%(connect)s/CMS_COND_31X_L1T'
328 reOutputModuleDef = re.compile(
r'\b(process\.)?hltOutput(\w+) *= *cms\.OutputModule\(.*\n([^)].*\n)*\) *\n')
329 reOutputModuleRef = re.compile(
r' *[+*]? *\b(process\.)?hltOutput(\w+)')
330 if self.config.output ==
'none':
332 self.
data = reOutputModuleDef.sub(
'', self.
data)
333 self.
data = reOutputModuleRef.sub(
'', self.
data)
335 elif self.config.output ==
'minimal':
337 repl =
lambda match: (match.group(2) ==
'HLTDQMResults')
and match.group()
or ''
338 self.
data = reOutputModuleDef.sub(repl, self.
data)
339 self.
data = reOutputModuleRef.sub(repl, self.
data)
343 r'\b(process\.)?hltOutput(\w+) *= *cms\.OutputModule\( *"ShmStreamConsumer" *,',
344 r'%(process)shltOutput\2 = cms.OutputModule( "PoolOutputModule",\n fileName = cms.untracked.string( "output\2.root" ),\n fastCloning = cms.untracked.bool( False ),',
353 # override the process name
354 %%(process)ssetName_('%(name)s')
356 # adapt HLT modules to the correct process name
357 if 'hltTrigReport' in %%(dict)s:
358 %%(process)shltTrigReport.HLTriggerResults = cms.InputTag( 'TriggerResults', '', '%(name)s' )
360 if 'hltDQMHLTScalers' in %%(dict)s:
361 %%(process)shltDQMHLTScalers.triggerResults = cms.InputTag( 'TriggerResults', '', '%(name)s' )
363 if 'hltPreExpressSmart' in %%(dict)s:
364 %%(process)shltPreExpressSmart.TriggerResultsTag = cms.InputTag( 'TriggerResults', '', '%(name)s' )
366 if 'hltPreHLTMONSmart' in %%(dict)s:
367 %%(process)shltPreHLTMONSmart.TriggerResultsTag = cms.InputTag( 'TriggerResults', '', '%(name)s' )
369 if 'hltPreDQMSmart' in %%(dict)s:
370 %%(process)shltPreDQMSmart.TriggerResultsTag = cms.InputTag( 'TriggerResults', '', '%(name)s' )
372 if 'hltDQML1SeedLogicScalers' in %%(dict)s:
373 %%(process)shltDQML1SeedLogicScalers.processname = '%(name)s'
374 """ % self.config.__dict__
380 if 'MessageLogger' in %(dict)s:
381 %(process)sMessageLogger.categories.append('TriggerSummaryProducerAOD')
382 %(process)sMessageLogger.categories.append('L1GtTrigReport')
383 %(process)sMessageLogger.categories.append('HLTrigReport')
391 if 'GlobalTag' in %%(dict)s:
393 for condition
in conditions:
394 self.
data +=
""" %%(process)sGlobalTag.toGet.append(
396 record = cms.string( '%(record)s' ),
397 tag = cms.string( '%(tag)s' ),
398 label = cms.untracked.string( '%(label)s' ),
399 connect = cms.untracked.string( '%(connect)s' )
405 if self.config.timing:
409 if 'HLTriggerFirstPath' in self.
data:
411 self.
data = re.sub(
r'.*\bHLTriggerFirstPath\s*=.*\n',
'', self.
data)
413 if not 'hltGetRaw' in self.
data:
416 %%(process)shltGetRaw = cms.EDAnalyzer( "HLTGetRaw",
417 RawDataCollection = cms.InputTag( "%s" )
419 """ % ( self.config.data
and 'source' or 'rawDataCollector' )
421 if not 'hltGetConditions' in self.
data:
424 %(process)shltGetConditions = cms.EDAnalyzer( 'EventSetupRecordDataGetter',
425 verbose = cms.untracked.bool( False ),
432 %(process)sHLTriggerFirstPath = cms.Path( %(process)shltGetRaw + %(process)shltGetConditions + %(process)shltBoolFalse )
434 self.
data = re.sub(
r'.*cms\.(End)?Path.*', text +
r'\g<0>', self.
data, 1)
437 # instrument the menu with the modules and EndPath needed for timing studies
438 %(process)sPathTimerService = cms.Service( "PathTimerService",
440 %(process)shltTimer = cms.EDProducer( "PathTimerInserter",
442 %(process)shltOutputTiming = cms.OutputModule( "PoolOutputModule",
443 fileName = cms.untracked.string( "outputTiming.root" ),
444 fastCloning = cms.untracked.bool( False ),
445 splitLevel = cms.untracked.int32( 0 ),
446 dataset = cms.untracked.PSet(
447 dataTier = cms.untracked.string( 'RECO' ),
448 filterName = cms.untracked.string( '' )
450 outputCommands = cms.untracked.vstring( 'drop *',
451 'keep HLTPerformanceInfo_*_*_*' )
454 %(process)sTimingOutput = cms.EndPath( %(process)shltTimer + %(process)shltOutputTiming )
458 'record' :
'GeometryFileRcd',
459 'tag' :
'XMLFILE_Geometry_380V3_Ideal_mc',
461 'connect' :
'%(connect)s/CMS_COND_34X_GEOMETRY'
463 'record' :
'GeometryFileRcd',
464 'tag' :
'XMLFILE_Geometry_380V3_Extended_mc',
465 'label' :
'Extended',
466 'connect' :
'%(connect)s/CMS_COND_34X_GEOMETRY'
477 if not self.config.fragment:
480 if self.config.fragment:
484 self.
options[
'essources'].
append(
"-XMLIdealGeometryESSource" )
489 self.
options[
'esmodules'].
append(
"-AutoMagneticFieldESProducer" )
504 self.
options[
'esmodules'].
append(
"-CaloTowerHardcodeGeometryEP" )
505 self.
options[
'esmodules'].
append(
"-CastorHardcodeGeometryEP" )
508 self.
options[
'esmodules'].
append(
"-EcalElectronicsMappingBuilder" )
510 self.
options[
'esmodules'].
append(
"-EcalLaserCorrectionService" )
511 self.
options[
'esmodules'].
append(
"-EcalPreshowerGeometryEP" )
512 self.
options[
'esmodules'].
append(
"-HcalHardcodeGeometryEP" )
514 self.
options[
'esmodules'].
append(
"-MuonNumberingInitialization" )
515 self.
options[
'esmodules'].
append(
"-ParametrizedMagneticFieldProducer" )
518 self.
options[
'esmodules'].
append(
"-SiStripRecHitMatcherESProducer" )
519 self.
options[
'esmodules'].
append(
"-SiStripQualityESProducer" )
520 self.
options[
'esmodules'].
append(
"-StripCPEfromTrackAngleESProducer" )
521 self.
options[
'esmodules'].
append(
"-TrackerDigiGeometryESModule" )
522 self.
options[
'esmodules'].
append(
"-TrackerGeometricDetESModule" )
523 self.
options[
'esmodules'].
append(
"-VolumeBasedMagneticFieldESProducer" )
526 self.
options[
'esmodules'].
append(
"-L1GtTriggerMaskAlgoTrigTrivialProducer" )
527 self.
options[
'esmodules'].
append(
"-L1GtTriggerMaskTechTrigTrivialProducer" )
528 self.
options[
'esmodules'].
append(
"-hltESPEcalTrigTowerConstituentsMapBuilder" )
529 self.
options[
'esmodules'].
append(
"-hltESPGlobalTrackingGeometryESProducer" )
530 self.
options[
'esmodules'].
append(
"-hltESPMuonDetLayerGeometryESProducer" )
531 self.
options[
'esmodules'].
append(
"-hltESPTrackerRecoGeometryESProducer" )
532 if not self.config.fastsim:
533 self.
options[
'esmodules'].
append(
"-CaloTowerGeometryFromDBEP" )
534 self.
options[
'esmodules'].
append(
"-CastorGeometryFromDBEP" )
535 self.
options[
'esmodules'].
append(
"-EcalBarrelGeometryFromDBEP" )
536 self.
options[
'esmodules'].
append(
"-EcalEndcapGeometryFromDBEP" )
537 self.
options[
'esmodules'].
append(
"-EcalPreshowerGeometryFromDBEP" )
549 if not self.config.fastsim:
567 if self.config.fastsim:
571 self.
options[
'esmodules'].
append(
"-SiPixelTemplateDBObjectESProducer" )
574 self.
options[
'esmodules'].
append(
"-trajectoryCleanerBySharedHits" )
576 self.
options[
'esmodules'].
append(
"-navigationSchoolESProducer" )
577 self.
options[
'esmodules'].
append(
"-muonCkfTrajectoryFilter" )
578 self.
options[
'esmodules'].
append(
"-ckfBaseTrajectoryFilter" )
579 self.
options[
'esmodules'].
append(
"-TransientTrackBuilderESProducer" )
580 self.
options[
'esmodules'].
append(
"-TrackerRecoGeometryESProducer" )
581 self.
options[
'esmodules'].
append(
"-SteppingHelixPropagatorOpposite" )
582 self.
options[
'esmodules'].
append(
"-SteppingHelixPropagatorAny" )
583 self.
options[
'esmodules'].
append(
"-SteppingHelixPropagatorAlong" )
586 self.
options[
'esmodules'].
append(
"-SmartPropagatorOpposite" )
588 self.
options[
'esmodules'].
append(
"-SmartPropagatorAnyOpposite" )
591 self.
options[
'esmodules'].
append(
"-RungeKuttaTrackerPropagator" )
592 self.
options[
'esmodules'].
append(
"-OppositeMaterialPropagator" )
593 self.
options[
'esmodules'].
append(
"-MuonTransientTrackingRecHitBuilderESProducer" )
594 self.
options[
'esmodules'].
append(
"-MuonDetLayerGeometryESProducer" )
595 self.
options[
'esmodules'].
append(
"-MuonCkfTrajectoryBuilder" )
600 self.
options[
'esmodules'].
append(
"-KFSmootherForRefitInsideOut" )
601 self.
options[
'esmodules'].
append(
"-KFSmootherForMuonTrackLoader" )
602 self.
options[
'esmodules'].
append(
"-KFFitterForRefitInsideOut" )
603 self.
options[
'esmodules'].
append(
"-GroupedCkfTrajectoryBuilder" )
604 self.
options[
'esmodules'].
append(
"-GlobalTrackingGeometryESProducer" )
607 self.
options[
'esmodules'].
append(
"-hltCkfTrajectoryBuilder" )
608 self.
options[
'esmodules'].
append(
"-Chi2MeasurementEstimator" )
610 self.
options[
'esmodules'].
append(
"-CaloTowerConstituentsMapBuilder" )
615 self.
options[
'blocks'].
append(
"hltL1NonIsoLargeWindowElectronPixelSeeds::SeedConfiguration" )
616 self.
options[
'blocks'].
append(
"hltL1IsoLargeWindowElectronPixelSeeds::SeedConfiguration" )
617 self.
options[
'blocks'].
append(
"hltL1NonIsoStartUpElectronPixelSeeds::SeedConfiguration" )
618 self.
options[
'blocks'].
append(
"hltL1IsoStartUpElectronPixelSeeds::SeedConfiguration" )
622 self.
options[
'modules'].
append(
"-hltCkfL1IsoTrackCandidates" )
623 self.
options[
'modules'].
append(
"-hltCtfL1IsoWithMaterialTracks" )
624 self.
options[
'modules'].
append(
"-hltCkfL1NonIsoTrackCandidates" )
625 self.
options[
'modules'].
append(
"-hltCtfL1NonIsoWithMaterialTracks" )
626 self.
options[
'modules'].
append(
"hltPixelMatchLargeWindowElectronsL1Iso" )
627 self.
options[
'modules'].
append(
"hltPixelMatchLargeWindowElectronsL1NonIso" )
628 self.
options[
'modules'].
append(
"-hltESRegionalEgammaRecHit" )
630 self.
options[
'modules'].
append(
"-hltEcalRegionalJetsRecHitTmp" )
631 self.
options[
'modules'].
append(
"-hltEcalRegionalMuonsFEDs" )
632 self.
options[
'modules'].
append(
"-hltEcalRegionalMuonsRecHitTmp" )
633 self.
options[
'modules'].
append(
"-hltEcalRegionalEgammaFEDs" )
634 self.
options[
'modules'].
append(
"-hltEcalRegionalEgammaRecHitTmp" )
638 self.
options[
'modules'].
append(
"-hltL3TrackCandidateFromL2OIState" )
639 self.
options[
'modules'].
append(
"-hltL3TrackCandidateFromL2OIHit" )
640 self.
options[
'modules'].
append(
"-hltL3TrackCandidateFromL2IOHit" )
641 self.
options[
'modules'].
append(
"-hltL3TrackCandidateFromL2NoVtx" )
647 self.
options[
'modules'].
append(
"-hltEcalRegionalESRestFEDs" )
648 self.
options[
'modules'].
append(
"-hltEcalRawToRecHitFacility" )
649 self.
options[
'modules'].
append(
"-hltESRawToRecHitFacility" )
650 self.
options[
'modules'].
append(
"-hltEcalRegionalJetsRecHit" )
651 self.
options[
'modules'].
append(
"-hltEcalRegionalMuonsRecHit" )
652 self.
options[
'modules'].
append(
"-hltEcalRegionalEgammaRecHit" )
656 self.
options[
'modules'].
append(
"-hltL3TauHighPtPixelSeeds" )
657 self.
options[
'modules'].
append(
"-hltL3TauCkfTrackCandidates" )
658 self.
options[
'modules'].
append(
"-hltL3TauCkfHighPtTrackCandidates" )
659 self.
options[
'modules'].
append(
"-hltL3TauCtfWithMaterialTracks" )
661 self.
options[
'modules'].
append(
"-hltL25TauCkfTrackCandidates" )
662 self.
options[
'modules'].
append(
"-hltL25TauCtfWithMaterialTracks" )
663 self.
options[
'modules'].
append(
"-hltL3TauSingleTrack15CtfWithMaterialTracks" )
664 self.
options[
'modules'].
append(
"-hltPFJetCtfWithMaterialTracks" )
665 self.
options[
'modules'].
append(
"-hltBLifetimeRegionalPixelSeedGeneratorStartup" )
666 self.
options[
'modules'].
append(
"-hltBLifetimeRegionalCkfTrackCandidatesStartup" )
667 self.
options[
'modules'].
append(
"-hltBLifetimeRegionalCtfWithMaterialTracksStartup" )
668 self.
options[
'modules'].
append(
"-hltBLifetimeRegionalPixelSeedGeneratorStartupU" )
669 self.
options[
'modules'].
append(
"-hltBLifetimeRegionalCkfTrackCandidatesStartupU" )
670 self.
options[
'modules'].
append(
"-hltBLifetimeRegionalCtfWithMaterialTracksStartupU" )
671 self.
options[
'modules'].
append(
"-hltBLifetimeRegionalPixelSeedGenerator" )
672 self.
options[
'modules'].
append(
"-hltBLifetimeRegionalCkfTrackCandidates" )
673 self.
options[
'modules'].
append(
"-hltBLifetimeRegionalCtfWithMaterialTracks" )
674 self.
options[
'modules'].
append(
"-hltBLifetimeRegionalPixelSeedGeneratorRelaxed" )
675 self.
options[
'modules'].
append(
"-hltBLifetimeRegionalCkfTrackCandidatesRelaxed" )
676 self.
options[
'modules'].
append(
"-hltBLifetimeRegionalCtfWithMaterialTracksRelaxed" )
677 self.
options[
'modules'].
append(
"-hltPixelTracksForMinBias" )
678 self.
options[
'modules'].
append(
"-hltPixelTracksForHighMult" )
688 self.
options[
'sequences'].
append(
"-HLTL1IsoEgammaRegionalRecoTrackerSequence" )
689 self.
options[
'sequences'].
append(
"-HLTL1NonIsoEgammaRegionalRecoTrackerSequence" )
690 self.
options[
'sequences'].
append(
"-HLTL1IsoElectronsRegionalRecoTrackerSequence" )
691 self.
options[
'sequences'].
append(
"-HLTL1NonIsoElectronsRegionalRecoTrackerSequence" )
692 self.
options[
'sequences'].
append(
"-HLTPixelMatchLargeWindowElectronL1IsoTrackingSequence" )
693 self.
options[
'sequences'].
append(
"-HLTPixelMatchLargeWindowElectronL1NonIsoTrackingSequence" )
694 self.
options[
'sequences'].
append(
"-HLTPixelTrackingForMinBiasSequence" )
695 self.
options[
'sequences'].
append(
"-HLTDoLocalStripSequence" )
696 self.
options[
'sequences'].
append(
"-HLTDoLocalPixelSequence" )
697 self.
options[
'sequences'].
append(
"-HLTRecopixelvertexingSequence" )
698 self.
options[
'sequences'].
append(
"-HLTL3TauTrackReconstructionSequence" )
699 self.
options[
'sequences'].
append(
"-HLTL3TauHighPtTrackReconstructionSequence" )
700 self.
options[
'sequences'].
append(
"-HLTL25TauTrackReconstructionSequence" )
701 self.
options[
'sequences'].
append(
"-HLTL3TauSingleTrack15ReconstructionSequence" )
702 self.
options[
'sequences'].
append(
"-HLTTrackReconstructionForJets" )
707 self.
options[
'sequences'].
append(
"-HLTBeginSequenceAntiBPTX" )
708 self.
options[
'sequences'].
append(
"-HLTL2HcalIsolTrackSequence" )
709 self.
options[
'sequences'].
append(
"-HLTL2HcalIsolTrackSequenceHB" )
710 self.
options[
'sequences'].
append(
"-HLTL2HcalIsolTrackSequenceHE" )
711 self.
options[
'sequences'].
append(
"-HLTL3HcalIsolTrackSequence" )
730 self.
options[
'paths'].
append(
"-HLT_Activity_PixelClusters" )
733 self.
options[
'paths'].
append(
"-HLT_DoubleEle4_SW_eeRes_L1R" )
734 self.
options[
'paths'].
append(
"-HLT_DoubleEle4_SW_eeRes_L1R_v*" )
735 self.
options[
'paths'].
append(
"-HLT_DoubleEle5_SW_Upsilon_L1R_v*" )
736 self.
options[
'paths'].
append(
"-HLT_DoublePhoton4_Jpsi_L1R" )
737 self.
options[
'paths'].
append(
"-HLT_DoublePhoton4_Upsilon_L1R" )
738 self.
options[
'paths'].
append(
"-HLT_DoublePhoton4_eeRes_L1R" )
740 self.
options[
'paths'].
append(
"-HLT_EgammaSuperClusterOnly_L1R" )
750 self.
options[
'paths'].
append(
"-HLT_Jet15U_HcalNoiseFiltered" )
751 self.
options[
'paths'].
append(
"-HLT_Jet15U_HcalNoiseFiltered_v*" )
756 self.
options[
'paths'].
append(
"-HLT_Mu0_TkMu0_OST_Jpsi_Tight_v*" )
759 self.
options[
'paths'].
append(
"-HLT_Mu3_TkMu0_OST_Jpsi_Tight_v*" )
765 self.
options[
'paths'].
append(
"-HLT_Mu5_TkMu0_OST_Jpsi_Tight_v*" )
769 self.
options[
'paths'].
append(
"-HLT_SelectEcalSpikesHighEt_L1R" )
773 if self.config.fragment:
778 if self.config.online:
780 self.
source =
"file:/tmp/InputCollection.root"
781 elif self.config.data:
783 self.
source =
"/store/data/Run2010B/MinimumBias/RAW/v1/000/149/291/DC6C917A-0EE3-DF11-867B-001617C3B654.root"
786 self.
source =
"file:RelVal_DigiL1Raw_%s.root" % self.config.type
def expandWildcardOptions
static std::string join(char **cmd)
def getRawConfigurationFromDB
def loadAdditionalConditions