Classes | |
class | HLTProcess |
Functions | |
def | _fix_parameter |
def | addGlobalOptions |
untracked parameters with NO default in the code if 'hltHcalDataIntegrityMonitor' in %(dict)s: %(process)shltHcalDataIntegrityMonitor.RawDataLabel = cms.untracked.InputTag("rawDataCollector") if 'hltDt4DSegments' in %(dict)s: %(process)shltDt4DSegments.debug = cms.untracked.bool( False ) """ | |
def | build_source |
def | buildOptions |
def | buildPathList |
def | dumppaths |
def | fixForFastSim |
def | fixForMC |
def | fixPrescales |
def | instrumentErrorEventType |
def | instrumentOpenMode |
def | instrumentTiming |
def | loadAdditionalConditions |
def | overrideGlobalTag |
def | overrideL1Menu |
def | overrideL1MenuXml |
def | overrideOutput |
def | overrideParameters |
def | overrideProcessName |
def | runL1Emulator |
def | runL1EmulatorGT |
def | splitter |
def | updateMessageLogger |
Variables | |
all_paths | |
data | |
source |
def confdb::_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 324 of file confdb.py.
00325 : 00326 """arguments: 00327 name: parameter name (optional) 00328 type: parameter type (look for tracked and untracked variants) 00329 value: original value 00330 replace: replacement value 00331 """ 00332 if 'name' in args: 00333 self.data = re.sub( 00334 r'%(name)s = cms(?P<tracked>(?:\.untracked)?)\.%(type)s\( (?P<quote>["\']?)%(value)s(?P=quote)' % args, 00335 r'%(name)s = cms\g<tracked>.%(type)s( \g<quote>%(replace)s\g<quote>' % args, 00336 self.data) 00337 else: 00338 self.data = re.sub( 00339 r'cms(?P<tracked>(?:\.untracked)?)\.%(type)s\( (?P<quote>["\']?)%(value)s(?P=quote)' % args, 00340 r'cms\g<tracked>.%(type)s( \g<quote>%(replace)s\g<quote>' % args, 00341 self.data) 00342
def confdb::addGlobalOptions | ( | self | ) |
untracked parameters with NO default in the code if 'hltHcalDataIntegrityMonitor' in %(dict)s: %(process)shltHcalDataIntegrityMonitor.RawDataLabel = cms.untracked.InputTag("rawDataCollector") if 'hltDt4DSegments' in %(dict)s: %(process)shltDt4DSegments.debug = cms.untracked.bool( False ) """
dummyfy hltGetConditions in cff's if 'hltGetConditions' in %(dict)s and 'HLTriggerFirstPath' in %(dict)s : %(process)shltDummyConditions = cms.EDFilter( "HLTBool", result = cms.bool( True ) ) %(process)sHLTriggerFirstPath.replace(%(process)shltGetConditions,%(process)shltDummyConditions) """
Definition at line 307 of file confdb.py.
00308 : 00309 # add global options 00310 self.data += """ 00311 # limit the number of events to be processed 00312 %(process)smaxEvents = cms.untracked.PSet( 00313 input = cms.untracked.int32( 100 ) 00314 ) 00315 """ 00316 if not self.config.profiling: 00317 self.data += """ 00318 # enable the TrigReport and TimeReport 00319 %(process)soptions = cms.untracked.PSet( 00320 wantSummary = cms.untracked.bool( True ) 00321 ) 00322 """ 00323
def confdb::build_source | ( | self | ) |
Definition at line 1060 of file confdb.py.
01061 : 01062 if self.config.input: 01063 # if a dataset or a list of input files was given, use it 01064 if self.config.input[0:8] == 'dataset:': 01065 from dbsFileQuery import dbsFileQuery 01066 # extract the dataset name, and use DBS to fine the list of LFNs 01067 dataset = self.config.input[8:] 01068 query = 'find file where dataset=' + dataset 01069 files = dbsFileQuery(query) 01070 self.source = files 01071 else: 01072 # assume a list of input files 01073 self.source = self.config.input.split(',') 01074 elif self.config.online: 01075 # online we always run on data 01076 self.source = [ "file:/tmp/InputCollection.root" ] 01077 elif self.config.data: 01078 # offline we can run on data... 01079 self.source = [ "file:RelVal_Raw_%s_DATA.root" % self.config.type ] 01080 else: 01081 # ...or on mc 01082 self.source = [ "file:RelVal_Raw_%s_STARTUP.root" % self.config.type ] 01083 01084 self.data += """ 01085 %(process)ssource = cms.Source( "PoolSource", 01086 fileNames = cms.untracked.vstring( 01087 """ 01088 if self.source: 01089 for line in self.source: 01090 self.data += " '%s',\n" % line 01091 self.data += """ ), 01092 secondaryFileNames = cms.untracked.vstring( 01093 """ 01094 if self.parent: 01095 for line in self.parent: 01096 self.data += " '%s',\n" % line 01097 self.data += """ ), 01098 inputCommands = cms.untracked.vstring( 01099 'keep *' 01100 ) 01101 ) 01102 """ 01103
def confdb::buildOptions | ( | self | ) |
Definition at line 825 of file confdb.py.
00826 : 00827 # common configuration for all scenarios 00828 self.options['services'].append( "-FUShmDQMOutputService" ) 00829 00830 if self.config.fragment: 00831 # extract a configuration file fragment 00832 self.options['essources'].append( "-GlobalTag" ) 00833 self.options['essources'].append( "-HepPDTESSource" ) 00834 self.options['essources'].append( "-XMLIdealGeometryESSource" ) 00835 self.options['essources'].append( "-eegeom" ) 00836 self.options['essources'].append( "-es_hardcode" ) 00837 self.options['essources'].append( "-magfield" ) 00838 00839 self.options['esmodules'].append( "-AutoMagneticFieldESProducer" ) 00840 self.options['esmodules'].append( "-SlaveField0" ) 00841 self.options['esmodules'].append( "-SlaveField20" ) 00842 self.options['esmodules'].append( "-SlaveField30" ) 00843 self.options['esmodules'].append( "-SlaveField35" ) 00844 self.options['esmodules'].append( "-SlaveField38" ) 00845 self.options['esmodules'].append( "-SlaveField40" ) 00846 self.options['esmodules'].append( "-VBF0" ) 00847 self.options['esmodules'].append( "-VBF20" ) 00848 self.options['esmodules'].append( "-VBF30" ) 00849 self.options['esmodules'].append( "-VBF35" ) 00850 self.options['esmodules'].append( "-VBF38" ) 00851 self.options['esmodules'].append( "-VBF40" ) 00852 self.options['esmodules'].append( "-CSCGeometryESModule" ) 00853 self.options['esmodules'].append( "-CaloGeometryBuilder" ) 00854 self.options['esmodules'].append( "-CaloTowerHardcodeGeometryEP" ) 00855 self.options['esmodules'].append( "-CastorHardcodeGeometryEP" ) 00856 self.options['esmodules'].append( "-DTGeometryESModule" ) 00857 self.options['esmodules'].append( "-EcalBarrelGeometryEP" ) 00858 self.options['esmodules'].append( "-EcalElectronicsMappingBuilder" ) 00859 self.options['esmodules'].append( "-EcalEndcapGeometryEP" ) 00860 self.options['esmodules'].append( "-EcalLaserCorrectionService" ) 00861 self.options['esmodules'].append( "-EcalPreshowerGeometryEP" ) 00862 self.options['esmodules'].append( "-HcalHardcodeGeometryEP" ) 00863 self.options['esmodules'].append( "-HcalTopologyIdealEP" ) 00864 self.options['esmodules'].append( "-MuonNumberingInitialization" ) 00865 self.options['esmodules'].append( "-ParametrizedMagneticFieldProducer" ) 00866 self.options['esmodules'].append( "-RPCGeometryESModule" ) 00867 self.options['esmodules'].append( "-SiStripGainESProducer" ) 00868 self.options['esmodules'].append( "-SiStripRecHitMatcherESProducer" ) 00869 self.options['esmodules'].append( "-SiStripQualityESProducer" ) 00870 self.options['esmodules'].append( "-StripCPEfromTrackAngleESProducer" ) 00871 self.options['esmodules'].append( "-TrackerDigiGeometryESModule" ) 00872 self.options['esmodules'].append( "-TrackerGeometricDetESModule" ) 00873 self.options['esmodules'].append( "-VolumeBasedMagneticFieldESProducer" ) 00874 self.options['esmodules'].append( "-ZdcHardcodeGeometryEP" ) 00875 self.options['esmodules'].append( "-hcal_db_producer" ) 00876 self.options['esmodules'].append( "-L1GtTriggerMaskAlgoTrigTrivialProducer" ) 00877 self.options['esmodules'].append( "-L1GtTriggerMaskTechTrigTrivialProducer" ) 00878 self.options['esmodules'].append( "-hltESPEcalTrigTowerConstituentsMapBuilder" ) 00879 self.options['esmodules'].append( "-hltESPGlobalTrackingGeometryESProducer" ) 00880 self.options['esmodules'].append( "-hltESPMuonDetLayerGeometryESProducer" ) 00881 self.options['esmodules'].append( "-hltESPTrackerRecoGeometryESProducer" ) 00882 if not self.config.fastsim: 00883 self.options['esmodules'].append( "-CaloTowerGeometryFromDBEP" ) 00884 self.options['esmodules'].append( "-CastorGeometryFromDBEP" ) 00885 self.options['esmodules'].append( "-EcalBarrelGeometryFromDBEP" ) 00886 self.options['esmodules'].append( "-EcalEndcapGeometryFromDBEP" ) 00887 self.options['esmodules'].append( "-EcalPreshowerGeometryFromDBEP" ) 00888 self.options['esmodules'].append( "-HcalGeometryFromDBEP" ) 00889 self.options['esmodules'].append( "-ZdcGeometryFromDBEP" ) 00890 self.options['esmodules'].append( "-XMLFromDBSource" ) 00891 self.options['esmodules'].append( "-sistripconn" ) 00892 00893 self.options['services'].append( "-PrescaleService" ) 00894 self.options['services'].append( "-MessageLogger" ) 00895 self.options['services'].append( "-DQM" ) 00896 self.options['services'].append( "-DQMStore" ) 00897 self.options['services'].append( "-MicroStateService" ) 00898 self.options['services'].append( "-ModuleWebRegistry" ) 00899 self.options['services'].append( "-TimeProfilerService" ) 00900 self.options['services'].append( "-FastTimerService" ) 00901 00902 self.options['psets'].append( "-maxEvents" ) 00903 self.options['psets'].append( "-options" ) 00904 00905 if self.config.fastsim: 00906 # remove components not supported or needed by fastsim 00907 self.options['esmodules'].append( "-navigationSchoolESProducer" ) 00908 self.options['esmodules'].append( "-TransientTrackBuilderESProducer" ) 00909 self.options['esmodules'].append( "-SteppingHelixPropagatorAny" ) 00910 self.options['esmodules'].append( "-OppositeMaterialPropagator" ) 00911 self.options['esmodules'].append( "-MaterialPropagator" ) 00912 self.options['esmodules'].append( "-CaloTowerConstituentsMapBuilder" ) 00913 self.options['esmodules'].append( "-CaloTopologyBuilder" ) 00914 00915 self.options['services'].append( "-UpdaterService" ) 00916 00917 self.options['modules'].append( "hltL3MuonIsolations" ) 00918 self.options['modules'].append( "hltPixelVertices" ) 00919 self.options['modules'].append( "-hltCkfL1SeededTrackCandidates" ) 00920 self.options['modules'].append( "-hltCtfL1SeededithMaterialTracks" ) 00921 self.options['modules'].append( "-hltCkf3HitL1SeededTrackCandidates" ) 00922 self.options['modules'].append( "-hltCtf3HitL1SeededWithMaterialTracks" ) 00923 self.options['modules'].append( "-hltCkf3HitActivityTrackCandidates" ) 00924 self.options['modules'].append( "-hltCtf3HitActivityWithMaterialTracks" ) 00925 self.options['modules'].append( "-hltActivityCkfTrackCandidatesForGSF" ) 00926 self.options['modules'].append( "-hltL1SeededCkfTrackCandidatesForGSF" ) 00927 self.options['modules'].append( "-hltMuCkfTrackCandidates" ) 00928 self.options['modules'].append( "-hltMuCtfTracks" ) 00929 self.options['modules'].append( "-hltTau3MuCkfTrackCandidates" ) 00930 self.options['modules'].append( "-hltTau3MuCtfWithMaterialTracks" ) 00931 self.options['modules'].append( "-hltMuTrackJpsiCkfTrackCandidates" ) 00932 self.options['modules'].append( "-hltMuTrackJpsiCtfTracks" ) 00933 self.options['modules'].append( "-hltMuTrackJpsiEffCkfTrackCandidates" ) 00934 self.options['modules'].append( "-hltMuTrackJpsiEffCtfTracks" ) 00935 self.options['modules'].append( "-hltJpsiTkPixelSeedFromL3Candidate" ) 00936 self.options['modules'].append( "-hltCkfTrackCandidatesJpsiTk" ) 00937 self.options['modules'].append( "-hltCtfWithMaterialTracksJpsiTk" ) 00938 00939 self.options['modules'].append( "-hltESRegionalEgammaRecHit" ) 00940 self.options['modules'].append( "-hltEcalRegionalJetsFEDs" ) 00941 self.options['modules'].append( "-hltEcalRegionalMuonsFEDs" ) 00942 self.options['modules'].append( "-hltEcalRegionalEgammaFEDs" ) 00943 self.options['modules'].append( "-hltFEDSelector" ) 00944 self.options['modules'].append( "-hltL3TrajSeedOIHit" ) 00945 self.options['modules'].append( "-hltL3TrajSeedIOHit" ) 00946 self.options['modules'].append( "-hltL3TrackCandidateFromL2OIState" ) 00947 self.options['modules'].append( "-hltL3TrackCandidateFromL2OIHit" ) 00948 self.options['modules'].append( "-hltL3TrackCandidateFromL2IOHit" ) 00949 self.options['modules'].append( "-hltL3TrackCandidateFromL2NoVtx" ) 00950 self.options['modules'].append( "-hltHcalDigis" ) 00951 self.options['modules'].append( "-hltHoreco" ) 00952 self.options['modules'].append( "-hltHfreco" ) 00953 self.options['modules'].append( "-hltHbhereco" ) 00954 self.options['modules'].append( "-hltEcalRegionalRestFEDs" ) 00955 self.options['modules'].append( "-hltEcalRegionalESRestFEDs" ) 00956 self.options['modules'].append( "-hltEcalRawToRecHitFacility" ) 00957 self.options['modules'].append( "-hltESRawToRecHitFacility" ) 00958 self.options['modules'].append( "-hltEcalRegionalJetsRecHit" ) 00959 self.options['modules'].append( "-hltEcalRegionalMuonsRecHit" ) 00960 self.options['modules'].append( "-hltEcalRegionalEgammaRecHit" ) 00961 self.options['modules'].append( "-hltEcalRecHitAll" ) 00962 self.options['modules'].append( "-hltESRecHitAll" ) 00963 # === hltPF 00964 self.options['modules'].append( "-hltPFJetCkfTrackCandidates" ) 00965 self.options['modules'].append( "-hltPFJetCtfWithMaterialTracks" ) 00966 self.options['modules'].append( "-hltPFlowTrackSelectionHighPurity" ) 00967 # === hltFastJet 00968 self.options['modules'].append( "-hltDisplacedHT250L1FastJetRegionalPixelSeedGenerator" ) 00969 self.options['modules'].append( "-hltDisplacedHT250L1FastJetRegionalCkfTrackCandidates" ) 00970 self.options['modules'].append( "-hltDisplacedHT250L1FastJetRegionalCtfWithMaterialTracks" ) 00971 self.options['modules'].append( "-hltDisplacedHT300L1FastJetRegionalPixelSeedGenerator" ) 00972 self.options['modules'].append( "-hltDisplacedHT300L1FastJetRegionalCkfTrackCandidates" ) 00973 self.options['modules'].append( "-hltDisplacedHT300L1FastJetRegionalCtfWithMaterialTracks" ) 00974 self.options['modules'].append( "-hltBLifetimeRegionalPixelSeedGeneratorbbPhiL1FastJet" ) 00975 self.options['modules'].append( "-hltBLifetimeRegionalCkfTrackCandidatesbbPhiL1FastJet" ) 00976 self.options['modules'].append( "-hltBLifetimeRegionalCtfWithMaterialTracksbbPhiL1FastJet" ) 00977 self.options['modules'].append( "-hltBLifetimeRegionalPixelSeedGeneratorHbbVBF" ) 00978 self.options['modules'].append( "-hltBLifetimeRegionalCkfTrackCandidatesHbbVBF" ) 00979 self.options['modules'].append( "-hltBLifetimeRegionalCtfWithMaterialTracksHbbVBF" ) 00980 self.options['modules'].append( "-hltBLifetimeBTagIP3D1stTrkRegionalPixelSeedGeneratorJet20HbbL1FastJet" ) 00981 self.options['modules'].append( "-hltBLifetimeBTagIP3D1stTrkRegionalCkfTrackCandidatesJet20HbbL1FastJet" ) 00982 self.options['modules'].append( "-hltBLifetimeBTagIP3D1stTrkRegionalCtfWithMaterialTracksJet20HbbL1FastJet" ) 00983 self.options['modules'].append( "-hltBLifetimeDiBTagIP3D1stTrkRegionalPixelSeedGeneratorJet20HbbL1FastJet" ) 00984 self.options['modules'].append( "-hltBLifetimeDiBTagIP3D1stTrkRegionalCkfTrackCandidatesJet20HbbL1FastJet" ) 00985 self.options['modules'].append( "-hltBLifetimeDiBTagIP3D1stTrkRegionalCtfWithMaterialTracksJet20HbbL1FastJet" ) 00986 # === hltBLifetimeRegional 00987 self.options['modules'].append( "-hltBLifetimeRegionalPixelSeedGeneratorHbb" ) 00988 self.options['modules'].append( "-hltBLifetimeRegionalCkfTrackCandidatesHbb" ) 00989 self.options['modules'].append( "-hltBLifetimeRegionalCtfWithMaterialTracksHbb" ) 00990 self.options['modules'].append( "-hltBLifetimeRegionalPixelSeedGeneratorbbPhi" ) 00991 self.options['modules'].append( "-hltBLifetimeRegionalCkfTrackCandidatesbbPhi" ) 00992 self.options['modules'].append( "-hltBLifetimeRegionalCtfWithMaterialTracksbbPhi" ) 00993 self.options['modules'].append( "-hltBLifetimeBTagIP3D1stTrkRegionalPixelSeedGeneratorJet20Hbb" ) 00994 self.options['modules'].append( "-hltBLifetimeBTagIP3D1stTrkRegionalCkfTrackCandidatesJet20Hbb" ) 00995 self.options['modules'].append( "-hltBLifetimeBTagIP3D1stTrkRegionalCtfWithMaterialTracksJet20Hbb" ) 00996 self.options['modules'].append( "-hltBLifetimeDiBTagIP3D1stTrkRegionalPixelSeedGeneratorJet20Hbb" ) 00997 self.options['modules'].append( "-hltBLifetimeDiBTagIP3D1stTrkRegionalCkfTrackCandidatesJet20Hbb" ) 00998 self.options['modules'].append( "-hltBLifetimeDiBTagIP3D1stTrkRegionalCtfWithMaterialTracksJet20Hbb" ) 00999 self.options['modules'].append( "-hltBLifetimeFastRegionalPixelSeedGeneratorHbbVBF" ) 01000 self.options['modules'].append( "-hltBLifetimeFastRegionalCkfTrackCandidatesHbbVBF" ) 01001 self.options['modules'].append( "-hltBLifetimeFastRegionalCtfWithMaterialTracksHbbVBF" ) 01002 self.options['modules'].append( "-hltBLifetimeRegionalPixelSeedGeneratorbbPhiL1FastJetFastPV" ) 01003 self.options['modules'].append( "-hltBLifetimeRegionalCkfTrackCandidatesbbPhiL1FastJetFastPV" ) 01004 self.options['modules'].append( "-hltBLifetimeRegionalCtfWithMaterialTracksbbPhiL1FastJetFastPV" ) 01005 self.options['modules'].append( "-hltFastPixelBLifetimeRegionalPixelSeedGeneratorHbb" ) 01006 self.options['modules'].append( "-hltFastPixelBLifetimeRegionalCkfTrackCandidatesHbb" ) 01007 self.options['modules'].append( "-hltFastPixelBLifetimeRegionalCtfWithMaterialTracksHbb" ) 01008 01009 self.options['modules'].append( "-hltPixelTracksForMinBias" ) 01010 self.options['modules'].append( "-hltPixelTracksForHighMult" ) 01011 self.options['modules'].append( "-hltRegionalPixelTracks" ) 01012 self.options['modules'].append( "-hltPixelTracksReg" ) 01013 self.options['modules'].append( "-hltIter4Merged" ) 01014 self.options['modules'].append( "-hltFastPixelHitsVertex" ) 01015 self.options['modules'].append( "-hltFastPixelTracks") 01016 self.options['modules'].append( "-hltFastPixelTracksRecover") 01017 01018 self.options['modules'].append( "-hltFastPrimaryVertex") 01019 self.options['modules'].append( "-hltFastPVPixelTracks") 01020 self.options['modules'].append( "-hltFastPVPixelTracksRecover" ) 01021 01022 self.options['modules'].append( "-hltIter4Tau3MuMerged" ) 01023 self.options['modules'].append( "hltPixelMatchElectronsActivity" ) 01024 01025 self.options['modules'].append( "-hltMuonCSCDigis" ) 01026 self.options['modules'].append( "-hltMuonDTDigis" ) 01027 self.options['modules'].append( "-hltMuonRPCDigis" ) 01028 self.options['modules'].append( "-hltGtDigis" ) 01029 self.options['modules'].append( "-hltL1GtTrigReport" ) 01030 self.options['modules'].append( "hltCsc2DRecHits" ) 01031 self.options['modules'].append( "hltDt1DRecHits" ) 01032 self.options['modules'].append( "hltRpcRecHits" ) 01033 self.options['modules'].append( "-hltScalersRawToDigi" ) 01034 01035 self.options['sequences'].append( "-HLTL1SeededEgammaRegionalRecoTrackerSequence" ) 01036 self.options['sequences'].append( "-HLTEcalActivityEgammaRegionalRecoTrackerSequence" ) 01037 self.options['sequences'].append( "-HLTPixelMatchElectronActivityTrackingSequence" ) 01038 self.options['sequences'].append( "-HLTDoLocalStripSequence" ) 01039 self.options['sequences'].append( "-HLTDoLocalPixelSequence" ) 01040 self.options['sequences'].append( "-HLTDoLocalPixelSequenceRegL2Tau" ) 01041 self.options['sequences'].append( "-hltSiPixelDigis" ) 01042 self.options['sequences'].append( "-hltSiPixelClusters" ) 01043 self.options['sequences'].append( "-hltSiPixelRecHits" ) 01044 self.options['sequences'].append( "-HLTRecopixelvertexingSequence" ) 01045 self.options['sequences'].append( "-HLTEndSequence" ) 01046 self.options['sequences'].append( "-HLTBeginSequence" ) 01047 self.options['sequences'].append( "-HLTBeginSequenceNZS" ) 01048 self.options['sequences'].append( "-HLTBeginSequenceBPTX" ) 01049 self.options['sequences'].append( "-HLTBeginSequenceAntiBPTX" ) 01050 self.options['sequences'].append( "-HLTHBHENoiseSequence" ) 01051 self.options['sequences'].append( "-HLTIterativeTracking" ) 01052 self.options['sequences'].append( "-HLTIterativeTrackingTau3Mu" ) 01053 self.options['sequences'].append( "-HLTRegionalCKFTracksForL3Isolation" ) 01054 self.options['sequences'].append( "-HLTHBHENoiseCleanerSequence" ) 01055 01056 # remove HLTAnalyzerEndpath from fastsim cff's 01057 if self.config.fragment: 01058 self.options['paths'].append( "-HLTAnalyzerEndpath" ) 01059
def confdb::buildPathList | ( | self | ) |
Definition at line 768 of file confdb.py.
00769 : 00770 self.all_paths = self.getPathList() 00771 00772 if self.config.paths: 00773 # no path list was requested, dump the full table, minus unsupported / unwanted paths 00774 paths = self.config.paths.split(',') 00775 else: 00776 # dump only the requested paths, plus the eventual output endpaths 00777 paths = [] 00778 00779 if self.config.fragment or self.config.output in ('none', 'full'): 00780 # 'full' removes all outputs (same as 'none') and then adds a single "keep *" output (see the overrideOutput method) 00781 if self.config.paths: 00782 # paths are removed by default 00783 pass 00784 else: 00785 # drop all output endpaths 00786 paths.append( "-*Output" ) 00787 elif self.config.output == 'minimal': 00788 # drop all output endpaths but HLTDQMResultsOutput 00789 if self.config.paths: 00790 paths.append( "HLTDQMResultsOutput" ) 00791 else: 00792 paths.append( "-*Output" ) 00793 paths.append( "HLTDQMResultsOutput" ) 00794 else: 00795 # keep / add back all output endpaths 00796 if self.config.paths: 00797 paths.append( "*Output" ) 00798 else: 00799 pass # paths are kepy by default 00800 00801 # drop paths unsupported by fastsim 00802 if self.config.fastsim: 00803 paths.extend( "-%s" % path for path in self.fastsimUnsupportedPaths ) 00804 00805 # drop unwanted paths for profiling (and timing studies) 00806 if self.config.profiling: 00807 paths.append( "-HLTriggerFirstPath" ) 00808 paths.append( "-HLTAnalyzerEndpath" ) 00809 00810 # this should never be in any dump (nor online menu) 00811 paths.append( "-OfflineOutput" ) 00812 00813 # expand all wildcards 00814 paths = self.expandWildcards(paths, self.all_paths) 00815 00816 if self.config.paths: 00817 # do an "additive" consolidation 00818 self.options['paths'] = self.consolidatePositiveList(paths) 00819 if not self.options['paths']: 00820 raise RuntimeError('Error: option "--paths %s" does not select any valid paths' % self.config.paths) 00821 else: 00822 # do a "subtractive" consolidation 00823 self.options['paths'] = self.consolidateNegativeList(paths) 00824
def confdb::dumppaths | ( | paths | ) |
def confdb::fixForFastSim | ( | self | ) |
Definition at line 351 of file confdb.py.
00352 : 00353 if self.config.fastsim: 00354 # adapt the hle configuration (fragment) to run under fastsim 00355 self.data = re.sub( r'import FWCore.ParameterSet.Config as cms', r'\g<0>\nfrom FastSimulation.HighLevelTrigger.HLTSetup_cff import *', self.data) 00356 00357 # remove the definition of streams and datasets 00358 self.data = re.compile( r'^streams.*\n(.*\n)*?^\)\s*\n', re.MULTILINE ).sub( '', self.data ) 00359 self.data = re.compile( r'^datasets.*\n(.*\n)*?^\)\s*\n', re.MULTILINE ).sub( '', self.data ) 00360 00361 # fix the definition of module 00362 # FIXME: this should be updated to take into accout the --l1-emulator option 00363 self._fix_parameter( type = 'InputTag', value = 'hltL1extraParticles', replace = 'l1extraParticles') 00364 self._fix_parameter(name = 'GMTReadoutCollection', type = 'InputTag', value = 'hltGtDigis', replace = 'gmtDigis') 00365 self._fix_parameter( type = 'InputTag', value = 'hltGtDigis', replace = 'gtDigis') 00366 self._fix_parameter( type = 'InputTag', value = 'hltL1GtObjectMap', replace = 'gtDigis') 00367 self._fix_parameter(name = 'initialSeeds', type = 'InputTag', value = 'noSeedsHere', replace = 'globalPixelSeeds:GlobalPixel') 00368 self._fix_parameter(name = 'preFilteredSeeds', type = 'bool', value = 'True', replace = 'False') 00369 self._fix_parameter( type = 'InputTag', value = 'hltOfflineBeamSpot', replace = 'offlineBeamSpot') 00370 self._fix_parameter( type = 'InputTag', value = 'hltOnlineBeamSpot', replace = 'offlineBeamSpot') 00371 self._fix_parameter( type = 'InputTag', value = 'hltMuonCSCDigis', replace = 'simMuonCSCDigis') 00372 self._fix_parameter( type = 'InputTag', value = 'hltMuonDTDigis', replace = 'simMuonDTDigis') 00373 self._fix_parameter( type = 'InputTag', value = 'hltMuonRPCDigis', replace = 'simMuonRPCDigis') 00374 self._fix_parameter( type = 'InputTag', value = 'hltRegionalTracksForL3MuonIsolation', replace = 'hltPixelTracks') 00375 self._fix_parameter(name = 'src', type = 'InputTag', value = 'hltHcalTowerNoiseCleaner', replace = 'hltTowerMakerForAll') 00376 self._fix_parameter(name = 'src', type = 'InputTag', value = 'hltIter4Tau3MuMerged', replace = 'hltIter4Merged') 00377 00378 # fix the definition of sequences and paths 00379 self.data = re.sub( r'hltMuonCSCDigis', r'cms.SequencePlaceholder( "simMuonCSCDigis" )', self.data ) 00380 self.data = re.sub( r'hltMuonDTDigis', r'cms.SequencePlaceholder( "simMuonDTDigis" )', self.data ) 00381 self.data = re.sub( r'hltMuonRPCDigis', r'cms.SequencePlaceholder( "simMuonRPCDigis" )', self.data ) 00382 self.data = re.sub( r'HLTEndSequence', r'cms.SequencePlaceholder( "HLTEndSequence" )', self.data ) 00383 self.data = re.sub( r'hltGtDigis', r'HLTBeginSequence', self.data ) 00384
def confdb::fixForMC | ( | self | ) |
Definition at line 343 of file confdb.py.
00344 : 00345 if not self.config.data: 00346 pass # No longer needed! 00347 # # override the raw data collection label 00348 # self._fix_parameter(type = 'InputTag', value = 'source', replace = 'rawDataCollector') 00349 # self._fix_parameter(type = 'string', value = 'source', replace = 'rawDataCollector') 00350
def confdb::fixPrescales | ( | self | ) |
Definition at line 385 of file confdb.py.
00386 : 00387 # update the PrescaleService to match the new list of paths 00388 if self.options['paths']: 00389 if self.options['paths'][0][0] == '-': 00390 # drop requested paths 00391 for minuspath in self.options['paths']: 00392 path = minuspath[1:] 00393 self.data = re.sub(r' cms.PSet\( pathName = cms.string\( "%s" \),\n prescales = cms.vuint32\( .* \)\n \),?\n' % path, '', self.data) 00394 else: 00395 # keep requested paths 00396 for path in self.all_paths: 00397 if path not in self.options['paths']: 00398 self.data = re.sub(r' cms.PSet\( pathName = cms.string\( "%s" \),\n prescales = cms.vuint32\( .* \)\n \),?\n' % path, '', self.data) 00399 00400 if self.config.unprescale: 00401 self.data += """ 00402 # remove the HLT prescales 00403 if 'PrescaleService' in %(dict)s: 00404 %(process)sPrescaleService.lvl1DefaultLabel = cms.string( '0' ) 00405 %(process)sPrescaleService.lvl1Labels = cms.vstring( '0', '1', '2', '3', '4', '5', '6', '7', '8', '9' ) 00406 %(process)sPrescaleService.prescaleTable = cms.VPSet( ) 00407 """ 00408
def confdb::instrumentErrorEventType | ( | self | ) |
Definition at line 423 of file confdb.py.
00424 : 00425 if self.config.errortype: 00426 # change all HLTTriggerTypeFilter EDFilters to accept only error events (SelectedTriggerType = 0) 00427 self._fix_parameter(name = 'SelectedTriggerType', type ='int32', value = '1', replace = '0') 00428 self._fix_parameter(name = 'SelectedTriggerType', type ='int32', value = '2', replace = '0') 00429 self._fix_parameter(name = 'SelectedTriggerType', type ='int32', value = '3', replace = '0') 00430
def confdb::instrumentOpenMode | ( | self | ) |
Definition at line 409 of file confdb.py.
00410 : 00411 if self.config.open: 00412 # find all EDfilters 00413 filters = [ match[1] for match in re.findall(r'(process\.)?\b(\w+) = cms.EDFilter', self.data) ] 00414 re_sequence = re.compile( r'cms\.(Path|Sequence)\((.*)\)' ) 00415 # remove existing 'cms.ingore' and '~' modifiers 00416 self.data = re_sequence.sub( lambda line: re.sub( r'cms\.ignore *\( *((process\.)?\b(\w+)) *\)', r'\1', line.group(0) ), self.data ) 00417 self.data = re_sequence.sub( lambda line: re.sub( r'~', '', line.group(0) ), self.data ) 00418 # wrap all EDfilters with "cms.ignore( ... )", 1000 at a time (python 2.6 complains for too-big regular expressions) 00419 for some in splitter(filters, 1000): 00420 re_filters = re.compile( r'\b((process\.)?(' + r'|'.join(some) + r'))\b' ) 00421 self.data = re_sequence.sub( lambda line: re_filters.sub( r'cms.ignore( \1 )', line.group(0) ), self.data ) 00422
def confdb::instrumentTiming | ( | self | ) |
Definition at line 685 of file confdb.py.
00686 : 00687 if self.config.profiling: 00688 # instrument the menu for profiling: remove the HLTAnalyzerEndpath, add/override the HLTriggerFirstPath, with hltGetRaw and hltGetConditions 00689 text = '' 00690 00691 if not 'hltGetRaw' in self.data: 00692 # add hltGetRaw 00693 text += """ 00694 %(process)shltGetRaw = cms.EDAnalyzer( "HLTGetRaw", 00695 RawDataCollection = cms.InputTag( "rawDataCollector" ) 00696 ) 00697 """ 00698 00699 if not 'hltGetConditions' in self.data: 00700 # add hltGetConditions 00701 text += """ 00702 %(process)shltGetConditions = cms.EDAnalyzer( 'EventSetupRecordDataGetter', 00703 verbose = cms.untracked.bool( False ), 00704 toGet = cms.VPSet( ) 00705 ) 00706 """ 00707 00708 if not 'hltBoolFalse' in self.data: 00709 # add hltBoolFalse 00710 text += """ 00711 %(process)shltBoolFalse = cms.EDFilter( "HLTBool", 00712 result = cms.bool( False ) 00713 ) 00714 """ 00715 00716 # add the definition of HLTriggerFirstPath 00717 # FIXME in a cff, should also update the HLTSchedule 00718 text += """ 00719 %(process)sHLTriggerFirstPath = cms.Path( %(process)shltGetRaw + %(process)shltGetConditions + %(process)shltBoolFalse ) 00720 """ 00721 self.data = re.sub(r'.*cms\.(End)?Path.*', text + r'\g<0>', self.data, 1) 00722 00723 # load additional conditions needed by hltGetConditions 00724 self.loadAdditionalConditions('add XML geometry to keep hltGetConditions happy', 00725 { 00726 'record' : 'GeometryFileRcd', 00727 'tag' : 'XMLFILE_Geometry_311YV1_Ideal_mc', 00728 'label' : 'Ideal', 00729 'connect' : '%(connect)s/CMS_COND_34X_GEOMETRY' 00730 }, { 00731 'record' : 'GeometryFileRcd', 00732 'tag' : 'XMLFILE_Geometry_311YV1_Extended_mc', 00733 'label' : 'Extended', 00734 'connect' : '%(connect)s/CMS_COND_34X_GEOMETRY' 00735 } 00736 ) 00737 00738 # instrument the menu with the Service, EDProducer and EndPath needed for timing studies 00739 # FIXME in a cff, should also update the HLTSchedule 00740 if self.config.timing: 00741 self.data += """ 00742 # instrument the menu with the modules and EndPath needed for timing studies 00743 %(process)sPathTimerService = cms.Service( "PathTimerService", 00744 ) 00745 %(process)shltTimer = cms.EDProducer( "PathTimerInserter", 00746 ) 00747 %(process)shltOutputTiming = cms.OutputModule( "PoolOutputModule", 00748 fileName = cms.untracked.string( "outputTiming.root" ), 00749 fastCloning = cms.untracked.bool( False ), 00750 splitLevel = cms.untracked.int32( 0 ), 00751 dataset = cms.untracked.PSet( 00752 dataTier = cms.untracked.string( 'RECO' ), 00753 filterName = cms.untracked.string( '' ) 00754 ), 00755 outputCommands = cms.untracked.vstring( 'drop *', 00756 'keep HLTPerformanceInfo_*_*_*' ) 00757 ) 00758 00759 %(process)sTimingOutput = cms.EndPath( %(process)shltTimer + %(process)shltOutputTiming ) 00760 """
def confdb::loadAdditionalConditions | ( | self, | |
comment, | |||
conditions | |||
) |
Definition at line 659 of file confdb.py.
00660 : 00661 # load additional conditions 00662 self.data += """ 00663 # %s 00664 if 'GlobalTag' in %%(dict)s: 00665 """ % comment 00666 for condition in conditions: 00667 self.data += """ %%(process)sGlobalTag.toGet.append( 00668 cms.PSet( 00669 record = cms.string( '%(record)s' ), 00670 tag = cms.string( '%(tag)s' ), 00671 label = cms.untracked.string( '%(label)s' ), 00672 connect = cms.untracked.string( '%(connect)s' ) 00673 ) 00674 ) 00675 """ % condition 00676
def confdb::overrideGlobalTag | ( | self | ) |
Definition at line 431 of file confdb.py.
00432 : 00433 # overwrite GlobalTag 00434 # the logic is: 00435 # - always set the correct connection string and pfnPrefix 00436 # - if a GlobalTag is specified on the command line: 00437 # - override the global tag 00438 # - if the GT is "auto:...", insert the code to read it from Configuration.AlCa.autoCond 00439 # - if a GlobalTag is NOT specified on the command line: 00440 # - when running on data, do nothing, and keep the global tag in the menu 00441 # - when running on mc, take the GT from the configuration.type 00442 00443 # override the GlobalTag connection string and pfnPrefix 00444 text = """ 00445 # override the GlobalTag, connection string and pfnPrefix 00446 if 'GlobalTag' in %%(dict)s: 00447 %%(process)sGlobalTag.connect = '%%(connect)s/CMS_COND_31X_GLOBALTAG' 00448 %%(process)sGlobalTag.pfnPrefix = cms.untracked.string('%%(connect)s/') 00449 """ 00450 00451 # when running on MC, override the global tag even if not specified on the command line 00452 if not self.config.data and not self.config.globaltag: 00453 if self.config.type in globalTag: 00454 self.config.globaltag = globalTag[self.config.type] 00455 else: 00456 self.config.globaltag = globalTag['GRun'] 00457 00458 # check if the GlobalTag is an autoCond or an explicit tag 00459 if not self.config.globaltag: 00460 # skip the cases with no override 00461 pass 00462 elif self.config.globaltag.startswith('auto:'): 00463 self.config.menuGlobalTagAuto = self.config.globaltag[5:] 00464 text += " from Configuration.AlCa.autoCond import autoCond\n" 00465 text += " %%(process)sGlobalTag.globaltag = autoCond['%(menuGlobalTagAuto)s'].split(',')[0]\n" 00466 else: 00467 text += " %%(process)sGlobalTag.globaltag = '%(globaltag)s'\n" 00468 00469 self.data += text % self.config.__dict__ 00470
def confdb::overrideL1Menu | ( | self | ) |
Definition at line 471 of file confdb.py.
00472 : 00473 # if requested, override the L1 menu from the GlobalTag (using the same connect as the GlobalTag itself) 00474 if self.config.l1.override: 00475 self.config.l1.record = 'L1GtTriggerMenuRcd' 00476 self.config.l1.label = '' 00477 self.config.l1.tag = self.config.l1.override 00478 if not self.config.l1.connect: 00479 self.config.l1.connect = '%(connect)s/CMS_COND_31X_L1T' 00480 self.loadAdditionalConditions( 'override the L1 menu', self.config.l1.__dict__ ) 00481
def confdb::overrideL1MenuXml | ( | self | ) |
Definition at line 482 of file confdb.py.
00483 : 00484 # if requested, override the L1 menu from the GlobalTag (Xml file) 00485 if self.config.l1Xml.XmlFile: 00486 text = """ 00487 # override the L1 menu from an Xml file 00488 %%(process)sl1GtTriggerMenuXml = cms.ESProducer("L1GtTriggerMenuXmlProducer", 00489 TriggerMenuLuminosity = cms.string('%(LumiDir)s'), 00490 DefXmlFile = cms.string('%(XmlFile)s'), 00491 VmeXmlFile = cms.string('') 00492 ) 00493 %%(process)sL1GtTriggerMenuRcdSource = cms.ESSource("EmptyESSource", 00494 recordName = cms.string('L1GtTriggerMenuRcd'), 00495 iovIsRunNotTime = cms.bool(True), 00496 firstValid = cms.vuint32(1) 00497 ) 00498 %%(process)ses_prefer_l1GtParameters = cms.ESPrefer('L1GtTriggerMenuXmlProducer','l1GtTriggerMenuXml') 00499 """ 00500 self.data += text % self.config.l1Xml.__dict__
def confdb::overrideOutput | ( | self | ) |
Definition at line 580 of file confdb.py.
00581 : 00582 # override the "online" ShmStreamConsumer output modules with "offline" PoolOutputModule's 00583 self.data = re.sub( 00584 r'\b(process\.)?hltOutput(\w+) *= *cms\.OutputModule\( *"ShmStreamConsumer" *,', 00585 r'%(process)shltOutput\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 ),', 00586 self.data 00587 ) 00588 00589 if not self.config.fragment and self.config.output == 'full': 00590 # add a single "keep *" output 00591 self.data += """ 00592 # add a single "keep *" output 00593 %(process)shltOutputFULL = cms.OutputModule( "PoolOutputModule", 00594 fileName = cms.untracked.string( "outputFULL.root" ), 00595 fastCloning = cms.untracked.bool( False ), 00596 dataset = cms.untracked.PSet( 00597 dataTier = cms.untracked.string( 'RECO' ), 00598 filterName = cms.untracked.string( '' ) 00599 ), 00600 outputCommands = cms.untracked.vstring( 'keep *' ) 00601 ) 00602 %(process)sFULLOutput = cms.EndPath( %(process)shltOutputFULL ) 00603 """ 00604
def confdb::overrideParameters | ( | self, | |
module, | |||
parameters | |||
) |
def confdb::overrideProcessName | ( | self | ) |
Definition at line 606 of file confdb.py.
00607 : 00608 if self.config.name is None: 00609 return 00610 00611 # the following was stolen and adapted from HLTrigger.Configuration.customL1THLT_Options 00612 self.data += """ 00613 # override the process name 00614 %%(process)ssetName_('%(name)s') 00615 00616 # adapt HLT modules to the correct process name 00617 if 'hltTrigReport' in %%(dict)s: 00618 %%(process)shltTrigReport.HLTriggerResults = cms.InputTag( 'TriggerResults', '', '%(name)s' ) 00619 00620 if 'hltPreExpressCosmicsOutputSmart' in %%(dict)s: 00621 %%(process)shltPreExpressCosmicsOutputSmart.TriggerResultsTag = cms.InputTag( 'TriggerResults', '', '%(name)s' ) 00622 00623 if 'hltPreExpressOutputSmart' in %%(dict)s: 00624 %%(process)shltPreExpressOutputSmart.TriggerResultsTag = cms.InputTag( 'TriggerResults', '', '%(name)s' ) 00625 00626 if 'hltPreDQMForHIOutputSmart' in %%(dict)s: 00627 %%(process)shltPreDQMForHIOutputSmart.TriggerResultsTag = cms.InputTag( 'TriggerResults', '', '%(name)s' ) 00628 00629 if 'hltPreDQMForPPOutputSmart' in %%(dict)s: 00630 %%(process)shltPreDQMForPPOutputSmart.TriggerResultsTag = cms.InputTag( 'TriggerResults', '', '%(name)s' ) 00631 00632 if 'hltPreHLTDQMResultsOutputSmart' in %%(dict)s: 00633 %%(process)shltPreHLTDQMResultsOutputSmart.TriggerResultsTag = cms.InputTag( 'TriggerResults', '', '%(name)s' ) 00634 00635 if 'hltPreHLTDQMOutputSmart' in %%(dict)s: 00636 %%(process)shltPreHLTDQMOutputSmart.TriggerResultsTag = cms.InputTag( 'TriggerResults', '', '%(name)s' ) 00637 00638 if 'hltPreHLTMONOutputSmart' in %%(dict)s: 00639 %%(process)shltPreHLTMONOutputSmart.TriggerResultsTag = cms.InputTag( 'TriggerResults', '', '%(name)s' ) 00640 00641 if 'hltDQMHLTScalers' in %%(dict)s: 00642 %%(process)shltDQMHLTScalers.triggerResults = cms.InputTag( 'TriggerResults', '', '%(name)s' ) 00643 %%(process)shltDQMHLTScalers.processname = '%(name)s' 00644 00645 if 'hltDQML1SeedLogicScalers' in %%(dict)s: 00646 %%(process)shltDQML1SeedLogicScalers.processname = '%(name)s' 00647 """ % self.config.__dict__ 00648
def confdb::runL1Emulator | ( | self | ) |
Definition at line 532 of file confdb.py.
00533 : 00534 # if requested, run (part of) the L1 emulator 00535 if self.config.emulator: 00536 # FIXME this fragment used "process" explicitly 00537 emulator = { 00538 'RawToDigi': '', 00539 'CustomL1T': '', 00540 'CustomHLT': '' 00541 } 00542 00543 if self.config.data: 00544 emulator['RawToDigi'] = 'RawToDigi_Data_cff' 00545 else: 00546 emulator['RawToDigi'] = 'RawToDigi_cff' 00547 00548 if self.config.emulator == 'gt': 00549 emulator['CustomL1T'] = 'customiseL1GtEmulatorFromRaw' 00550 emulator['CustomHLT'] = 'switchToSimGtDigis' 00551 elif self.config.emulator == 'gct,gt': 00552 emulator['CustomL1T'] = 'customiseL1CaloAndGtEmulatorsFromRaw' 00553 emulator['CustomHLT'] = 'switchToSimGctGtDigis' 00554 elif self.config.emulator == 'gmt,gt': 00555 # XXX currently unsupported 00556 emulator['CustomL1T'] = 'customiseL1MuonAndGtEmulatorsFromRaw' 00557 emulator['CustomHLT'] = 'switchToSimGmtGtDigis' 00558 elif self.config.emulator in ('gmt,gct,gt', 'gct,gmt,gt', 'all'): 00559 emulator['CustomL1T'] = 'customiseL1EmulatorFromRaw' 00560 emulator['CustomHLT'] = 'switchToSimGmtGctGtDigis' 00561 else: 00562 # unsupported argument, default to running the whole emulator 00563 emulator['CustomL1T'] = 'customiseL1EmulatorFromRaw' 00564 emulator['CustomHLT'] = 'switchToSimGmtGctGtDigis' 00565 00566 self.data += """ 00567 # customize the L1 emulator to run %(CustomL1T)s with HLT to %(CustomHLT)s 00568 process.load( 'Configuration.StandardSequences.%(RawToDigi)s' ) 00569 process.load( 'Configuration.StandardSequences.SimL1Emulator_cff' ) 00570 import L1Trigger.Configuration.L1Trigger_custom 00571 process = L1Trigger.Configuration.L1Trigger_custom.%(CustomL1T)s( process ) 00572 process = L1Trigger.Configuration.L1Trigger_custom.customiseResetPrescalesAndMasks( process ) 00573 00574 # customize the HLT to use the emulated results 00575 import HLTrigger.Configuration.customizeHLTforL1Emulator 00576 process = HLTrigger.Configuration.customizeHLTforL1Emulator.switchToL1Emulator( process ) 00577 process = HLTrigger.Configuration.customizeHLTforL1Emulator.%(CustomHLT)s( process ) 00578 """ % emulator 00579
def confdb::runL1EmulatorGT | ( | self | ) |
Definition at line 501 of file confdb.py.
00502 : 00503 # if requested, run (part of) the L1 emulator, then repack the data into a new RAW collection, to be used by the HLT 00504 if not self.config.emulator: 00505 return 00506 00507 if self.config.emulator != 'gt': 00508 # only the GT emulator is currently supported 00509 return 00510 00511 # run the L1 GT emulator, then repack the data into a new RAW collection, to be used by the HLT 00512 text = """ 00513 # run the L1 GT emulator, then repack the data into a new RAW collection, to be used by the HLT 00514 """ 00515 if self.config.fragment: 00516 # FIXME in a cff, should also update the HLTSchedule 00517 text += "import Configuration.StandardSequences.SimL1EmulatorRepack_GT_cff\n" 00518 else: 00519 text += "process.load( 'Configuration.StandardSequences.SimL1EmulatorRepack_GT_cff' )\n" 00520 00521 if not 'hltBoolFalse' in self.data: 00522 # add hltBoolFalse 00523 text += """ 00524 %(process)shltBoolFalse = cms.EDFilter( "HLTBool", 00525 result = cms.bool( False ) 00526 ) 00527 """ 00528 text += "process.L1Emulator = cms.Path( process.SimL1Emulator + process.hltBoolFalse )\n\n" 00529 00530 self.data = re.sub(r'.*cms\.(End)?Path.*', text + r'\g<0>', self.data, 1) 00531
def confdb::splitter | ( | iterator, | |
n | |||
) |
Definition at line 10 of file confdb.py.
Referenced by TotemT1Organization::_FromUnitIDToData(), SplittingConfigurableHisto::fill(), HLTLogMonitorFilter::filter(), and SplittingConfigurableHisto::SplittingConfigurableHisto().
def confdb::updateMessageLogger | ( | self | ) |
Definition at line 649 of file confdb.py.
00650 : 00651 # request summary informations from the MessageLogger 00652 self.data += """ 00653 if 'MessageLogger' in %(dict)s: 00654 %(process)sMessageLogger.categories.append('TriggerSummaryProducerAOD') 00655 %(process)sMessageLogger.categories.append('L1GtTrigReport') 00656 %(process)sMessageLogger.categories.append('HLTrigReport') 00657 """ 00658