File indexing completed on 2024-10-16 05:04:20
0001
0002
0003
0004
0005 import FWCore.ParameterSet.Config as cms
0006
0007 fragment = cms.ProcessFragment( "HLT" )
0008
0009 fragment.HLTConfigVersion = cms.PSet(
0010 tableName = cms.string("/dev/CMSSW_14_1_0/Fake1/V12")
0011 )
0012
0013 fragment.streams = cms.PSet( A = cms.vstring( 'InitialPD' ) )
0014 fragment.datasets = cms.PSet( InitialPD = cms.vstring( 'HLT_Physics_v1',
0015 'HLT_Random_v1',
0016 'HLT_ZeroBias_v1' ) )
0017
0018 fragment.CastorDbProducer = cms.ESProducer( "CastorDbProducer",
0019 appendToDataLabel = cms.string( "" )
0020 )
0021 fragment.hcalDDDRecConstants = cms.ESProducer( "HcalDDDRecConstantsESModule",
0022 appendToDataLabel = cms.string( "" )
0023 )
0024 fragment.hcalDDDSimConstants = cms.ESProducer( "HcalDDDSimConstantsESModule",
0025 appendToDataLabel = cms.string( "" )
0026 )
0027
0028 fragment.hltGetConditions = cms.EDAnalyzer( "EventSetupRecordDataGetter",
0029 verbose = cms.untracked.bool( False ),
0030 toGet = cms.VPSet(
0031 )
0032 )
0033 fragment.hltGetRaw = cms.EDAnalyzer( "HLTGetRaw",
0034 RawDataCollection = cms.InputTag( "rawDataCollector" )
0035 )
0036 fragment.hltBoolFalse = cms.EDFilter( "HLTBool",
0037 result = cms.bool( False )
0038 )
0039 fragment.hltTriggerType = cms.EDFilter( "HLTTriggerTypeFilter",
0040 SelectedTriggerType = cms.int32( 1 )
0041 )
0042 fragment.hltGtDigis = cms.EDProducer( "L1GlobalTriggerRawToDigi",
0043 DaqGtInputTag = cms.InputTag( "rawDataCollector" ),
0044 DaqGtFedId = cms.untracked.int32( 813 ),
0045 ActiveBoardsMask = cms.uint32( 0xffff ),
0046 UnpackBxInEvent = cms.int32( 5 ),
0047 Verbosity = cms.untracked.int32( 0 )
0048 )
0049 fragment.hltCaloStage1Digis = cms.EDProducer( "L1TRawToDigi",
0050 FedIds = cms.vint32( 1352 ),
0051 Setup = cms.string( "stage1::CaloSetup" ),
0052 FWId = cms.uint32( 4294967295 ),
0053 DmxFWId = cms.uint32( 0 ),
0054 FWOverride = cms.bool( False ),
0055 TMTCheck = cms.bool( True ),
0056 CTP7 = cms.untracked.bool( False ),
0057 MTF7 = cms.untracked.bool( False ),
0058 InputLabel = cms.InputTag( "rawDataCollector" ),
0059 lenSlinkHeader = cms.untracked.int32( 8 ),
0060 lenSlinkTrailer = cms.untracked.int32( 8 ),
0061 lenAMCHeader = cms.untracked.int32( 8 ),
0062 lenAMCTrailer = cms.untracked.int32( 0 ),
0063 lenAMC13Header = cms.untracked.int32( 8 ),
0064 lenAMC13Trailer = cms.untracked.int32( 8 ),
0065 debug = cms.untracked.bool( False ),
0066 MinFeds = cms.uint32( 0 )
0067 )
0068 fragment.hltCaloStage1LegacyFormatDigis = cms.EDProducer( "L1TCaloUpgradeToGCTConverter",
0069 bxMin = cms.int32( 0 ),
0070 bxMax = cms.int32( 0 ),
0071 InputCollection = cms.InputTag( "hltCaloStage1Digis" ),
0072 InputRlxTauCollection = cms.InputTag( 'hltCaloStage1Digis','rlxTaus' ),
0073 InputIsoTauCollection = cms.InputTag( 'hltCaloStage1Digis','isoTaus' ),
0074 InputHFSumsCollection = cms.InputTag( 'hltCaloStage1Digis','HFRingSums' ),
0075 InputHFCountsCollection = cms.InputTag( 'hltCaloStage1Digis','HFBitCounts' )
0076 )
0077 fragment.hltL1GtObjectMap = cms.EDProducer( "L1GlobalTrigger",
0078 GmtInputTag = cms.InputTag( "hltGtDigis" ),
0079 GctInputTag = cms.InputTag( "hltCaloStage1LegacyFormatDigis" ),
0080 CastorInputTag = cms.InputTag( "castorL1Digis" ),
0081 TechnicalTriggersInputTags = cms.VInputTag( 'simBscDigis' ),
0082 ProduceL1GtDaqRecord = cms.bool( False ),
0083 ProduceL1GtEvmRecord = cms.bool( False ),
0084 ProduceL1GtObjectMapRecord = cms.bool( True ),
0085 WritePsbL1GtDaqRecord = cms.bool( False ),
0086 ReadTechnicalTriggerRecords = cms.bool( True ),
0087 EmulateBxInEvent = cms.int32( 1 ),
0088 RecordLength = cms.vint32( 3, 0 ),
0089 AlternativeNrBxBoardDaq = cms.uint32( 0 ),
0090 AlternativeNrBxBoardEvm = cms.uint32( 0 ),
0091 BstLengthBytes = cms.int32( -1 ),
0092 AlgorithmTriggersUnprescaled = cms.bool( True ),
0093 AlgorithmTriggersUnmasked = cms.bool( False ),
0094 TechnicalTriggersUnprescaled = cms.bool( True ),
0095 TechnicalTriggersUnmasked = cms.bool( False ),
0096 TechnicalTriggersVetoUnmasked = cms.bool( True )
0097 )
0098 fragment.hltL1extraParticles = cms.EDProducer( "L1ExtraParticlesProd",
0099 muonSource = cms.InputTag( "hltGtDigis" ),
0100 etTotalSource = cms.InputTag( "hltCaloStage1LegacyFormatDigis" ),
0101 nonIsolatedEmSource = cms.InputTag( 'hltCaloStage1LegacyFormatDigis','nonIsoEm' ),
0102 etMissSource = cms.InputTag( "hltCaloStage1LegacyFormatDigis" ),
0103 htMissSource = cms.InputTag( "hltCaloStage1LegacyFormatDigis" ),
0104 produceMuonParticles = cms.bool( True ),
0105 forwardJetSource = cms.InputTag( 'hltCaloStage1LegacyFormatDigis','forJets' ),
0106 centralJetSource = cms.InputTag( 'hltCaloStage1LegacyFormatDigis','cenJets' ),
0107 produceCaloParticles = cms.bool( True ),
0108 tauJetSource = cms.InputTag( 'hltCaloStage1LegacyFormatDigis','tauJets' ),
0109 isoTauJetSource = cms.InputTag( 'hltCaloStage1LegacyFormatDigis','isoTauJets' ),
0110 isolatedEmSource = cms.InputTag( 'hltCaloStage1LegacyFormatDigis','isoEm' ),
0111 etHadSource = cms.InputTag( "hltCaloStage1LegacyFormatDigis" ),
0112 hfRingEtSumsSource = cms.InputTag( "hltCaloStage1LegacyFormatDigis" ),
0113 hfRingBitCountsSource = cms.InputTag( "hltCaloStage1LegacyFormatDigis" ),
0114 centralBxOnly = cms.bool( True ),
0115 ignoreHtMiss = cms.bool( False )
0116 )
0117 fragment.hltScalersRawToDigi = cms.EDProducer( "ScalersRawToDigi",
0118 scalersInputTag = cms.InputTag( "rawDataCollector" )
0119 )
0120 fragment.hltOnlineBeamSpot = cms.EDProducer( "BeamSpotOnlineProducer",
0121 changeToCMSCoordinates = cms.bool( False ),
0122 maxZ = cms.double( 40.0 ),
0123 setSigmaZ = cms.double( 0.0 ),
0124 beamMode = cms.untracked.uint32( 11 ),
0125 src = cms.InputTag( "hltScalersRawToDigi" ),
0126 gtEvmLabel = cms.InputTag( "" ),
0127 maxRadius = cms.double( 2.0 ),
0128 useTransientRecord = cms.bool( False )
0129 )
0130 fragment.hltPrePhysics = cms.EDFilter( "HLTPrescaler",
0131 offset = cms.uint32( 0 ),
0132 L1GtReadoutRecordTag = cms.InputTag( "hltGtDigis" )
0133 )
0134 fragment.hltBoolEnd = cms.EDFilter( "HLTBool",
0135 result = cms.bool( True )
0136 )
0137 fragment.hltRandomEventsFilter = cms.EDFilter( "HLTTriggerTypeFilter",
0138 SelectedTriggerType = cms.int32( 3 )
0139 )
0140 fragment.hltPreRandom = cms.EDFilter( "HLTPrescaler",
0141 offset = cms.uint32( 0 ),
0142 L1GtReadoutRecordTag = cms.InputTag( "hltGtDigis" )
0143 )
0144 fragment.hltL1sL1ZeroBias = cms.EDFilter( "HLTLevel1GTSeed",
0145 saveTags = cms.bool( True ),
0146 L1UseL1TriggerObjectMaps = cms.bool( True ),
0147 L1NrBxInEvent = cms.int32( 3 ),
0148 L1TechTriggerSeeding = cms.bool( False ),
0149 L1UseAliasesForSeeding = cms.bool( True ),
0150 L1SeedsLogicalExpression = cms.string( "L1_ZeroBias" ),
0151 L1GtReadoutRecordTag = cms.InputTag( "hltGtDigis" ),
0152 L1GtObjectMapTag = cms.InputTag( "hltL1GtObjectMap" ),
0153 L1CollectionsTag = cms.InputTag( "hltL1extraParticles" ),
0154 L1MuonCollectionTag = cms.InputTag( "hltL1extraParticles" )
0155 )
0156 fragment.hltPreZeroBias = cms.EDFilter( "HLTPrescaler",
0157 offset = cms.uint32( 0 ),
0158 L1GtReadoutRecordTag = cms.InputTag( "hltGtDigis" )
0159 )
0160 fragment.hltFEDSelector = cms.EDProducer( "EvFFEDSelector",
0161 inputTag = cms.InputTag( "rawDataCollector" ),
0162 fedList = cms.vuint32( 1023 )
0163 )
0164 fragment.hltTriggerSummaryAOD = cms.EDProducer( "TriggerSummaryProducerAOD",
0165 throw = cms.bool( False ),
0166 processName = cms.string( "@" ),
0167 moduleLabelPatternsToMatch = cms.vstring( 'hlt*' ),
0168 moduleLabelPatternsToSkip = cms.vstring( )
0169 )
0170 fragment.hltTriggerSummaryRAW = cms.EDProducer( "TriggerSummaryProducerRAW",
0171 processName = cms.string( "@" )
0172 )
0173 fragment.hltPreHLTAnalyzerEndpath = cms.EDFilter( "HLTPrescaler",
0174 offset = cms.uint32( 0 ),
0175 L1GtReadoutRecordTag = cms.InputTag( "hltGtDigis" )
0176 )
0177 fragment.hltL1GtTrigReport = cms.EDAnalyzer( "L1GtTrigReport",
0178 UseL1GlobalTriggerRecord = cms.bool( False ),
0179 L1GtRecordInputTag = cms.InputTag( "hltGtDigis" ),
0180 PrintVerbosity = cms.untracked.int32( 10 ),
0181 PrintOutput = cms.untracked.int32( 3 )
0182 )
0183 fragment.hltTrigReport = cms.EDAnalyzer( "HLTrigReport",
0184 HLTriggerResults = cms.InputTag( 'TriggerResults','','@currentProcess' ),
0185 reportBy = cms.untracked.string( "job" ),
0186 resetBy = cms.untracked.string( "never" ),
0187 serviceBy = cms.untracked.string( "never" ),
0188 ReferencePath = cms.untracked.string( "HLTriggerFinalPath" ),
0189 ReferenceRate = cms.untracked.double( 100.0 )
0190 )
0191
0192 fragment.HLTL1UnpackerSequence = cms.Sequence( fragment.hltGtDigis + fragment.hltCaloStage1Digis + fragment.hltCaloStage1LegacyFormatDigis + fragment.hltL1GtObjectMap + fragment.hltL1extraParticles )
0193 fragment.HLTBeamSpot = cms.Sequence( fragment.hltScalersRawToDigi + fragment.hltOnlineBeamSpot )
0194 fragment.HLTBeginSequence = cms.Sequence( fragment.hltTriggerType + fragment.HLTL1UnpackerSequence + fragment.HLTBeamSpot )
0195 fragment.HLTEndSequence = cms.Sequence( fragment.hltBoolEnd )
0196
0197 fragment.HLTriggerFirstPath = cms.Path( fragment.hltGetConditions + fragment.hltGetRaw + fragment.hltBoolFalse )
0198 fragment.HLT_Physics_v1 = cms.Path( fragment.HLTBeginSequence + fragment.hltPrePhysics + fragment.HLTEndSequence )
0199 fragment.HLT_Random_v1 = cms.Path( fragment.hltRandomEventsFilter + fragment.hltGtDigis + fragment.hltPreRandom + fragment.HLTEndSequence )
0200 fragment.HLT_ZeroBias_v1 = cms.Path( fragment.HLTBeginSequence + fragment.hltL1sL1ZeroBias + fragment.hltPreZeroBias + fragment.HLTEndSequence )
0201 fragment.HLTriggerFinalPath = cms.Path( fragment.hltGtDigis + fragment.hltScalersRawToDigi + fragment.hltFEDSelector + fragment.hltTriggerSummaryAOD + fragment.hltTriggerSummaryRAW + fragment.hltBoolFalse )
0202 fragment.HLTAnalyzerEndpath = cms.EndPath( fragment.hltGtDigis + fragment.hltPreHLTAnalyzerEndpath + fragment.hltL1GtTrigReport + fragment.hltTrigReport )
0203
0204
0205 fragment.schedule = cms.Schedule( *(fragment.HLTriggerFirstPath, fragment.HLT_Physics_v1, fragment.HLT_Random_v1, fragment.HLT_ZeroBias_v1, fragment.HLTriggerFinalPath, fragment.HLTAnalyzerEndpath, ))
0206
0207
0208
0209 if 'hltGetConditions' in fragment.__dict__ and 'HLTriggerFirstPath' in fragment.__dict__ :
0210 fragment.hltDummyConditions = cms.EDFilter( "HLTBool",
0211 result = cms.bool( True )
0212 )
0213 fragment.HLTriggerFirstPath.replace(fragment.hltGetConditions,fragment.hltDummyConditions)
0214
0215
0216 from HLTrigger.Configuration.customizeHLTforALL import customizeHLTforAll
0217 fragment = customizeHLTforAll(fragment,"Fake1")
0218
0219 from HLTrigger.Configuration.customizeHLTforCMSSW import customizeHLTforCMSSW
0220 fragment = customizeHLTforCMSSW(fragment,"Fake1")
0221
0222
0223 from HLTrigger.Configuration.Eras import modifyHLTforEras
0224 modifyHLTforEras(fragment)
0225