File indexing completed on 2024-07-26 17:50:30
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_0_0/Fake2/V16")
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.GlobalParametersRcdSource = cms.ESSource( "EmptyESSource",
0019 recordName = cms.string( "L1TGlobalParametersRcd" ),
0020 iovIsRunNotTime = cms.bool( True ),
0021 firstValid = cms.vuint32( 1 )
0022 )
0023
0024 fragment.GlobalParameters = cms.ESProducer( "StableParametersTrivialProducer",
0025 TotalBxInEvent = cms.int32( 5 ),
0026 NumberPhysTriggers = cms.uint32( 512 ),
0027 NumberL1Muon = cms.uint32( 12 ),
0028 NumberL1EGamma = cms.uint32( 12 ),
0029 NumberL1Jet = cms.uint32( 12 ),
0030 NumberL1Tau = cms.uint32( 8 ),
0031 NumberChips = cms.uint32( 5 ),
0032 PinsOnChip = cms.uint32( 512 ),
0033 OrderOfChip = cms.vint32( 1 ),
0034 NumberL1IsoEG = cms.uint32( 4 ),
0035 NumberL1JetCounts = cms.uint32( 12 ),
0036 UnitLength = cms.int32( 8 ),
0037 NumberL1ForJet = cms.uint32( 4 ),
0038 IfCaloEtaNumberBits = cms.uint32( 4 ),
0039 IfMuEtaNumberBits = cms.uint32( 6 ),
0040 NumberL1TauJet = cms.uint32( 4 ),
0041 NumberL1Mu = cms.uint32( 4 ),
0042 NumberConditionChips = cms.uint32( 1 ),
0043 NumberPsbBoards = cms.int32( 7 ),
0044 NumberL1CenJet = cms.uint32( 4 ),
0045 PinsOnConditionChip = cms.uint32( 512 ),
0046 NumberL1NoIsoEG = cms.uint32( 4 ),
0047 NumberTechnicalTriggers = cms.uint32( 64 ),
0048 NumberPhysTriggersExtended = cms.uint32( 64 ),
0049 WordLength = cms.int32( 64 ),
0050 OrderConditionChip = cms.vint32( 1 ),
0051 appendToDataLabel = cms.string( "" )
0052 )
0053 fragment.CastorDbProducer = cms.ESProducer( "CastorDbProducer",
0054 appendToDataLabel = cms.string( "" )
0055 )
0056 fragment.hcalDDDRecConstants = cms.ESProducer( "HcalDDDRecConstantsESModule",
0057 appendToDataLabel = cms.string( "" )
0058 )
0059 fragment.hcalDDDSimConstants = cms.ESProducer( "HcalDDDSimConstantsESModule",
0060 appendToDataLabel = cms.string( "" )
0061 )
0062
0063 fragment.hltGetConditions = cms.EDAnalyzer( "EventSetupRecordDataGetter",
0064 verbose = cms.untracked.bool( False ),
0065 toGet = cms.VPSet(
0066 )
0067 )
0068 fragment.hltGetRaw = cms.EDAnalyzer( "HLTGetRaw",
0069 RawDataCollection = cms.InputTag( "rawDataCollector" )
0070 )
0071 fragment.hltBoolFalse = cms.EDFilter( "HLTBool",
0072 result = cms.bool( False )
0073 )
0074 fragment.hltTriggerType = cms.EDFilter( "HLTTriggerTypeFilter",
0075 SelectedTriggerType = cms.int32( 1 )
0076 )
0077 fragment.hltGtStage2Digis = cms.EDProducer( "L1TRawToDigi",
0078 FedIds = cms.vint32( 1404 ),
0079 Setup = cms.string( "stage2::GTSetup" ),
0080 FWId = cms.uint32( 0 ),
0081 DmxFWId = cms.uint32( 0 ),
0082 FWOverride = cms.bool( False ),
0083 TMTCheck = cms.bool( True ),
0084 CTP7 = cms.untracked.bool( False ),
0085 MTF7 = cms.untracked.bool( False ),
0086 InputLabel = cms.InputTag( "rawDataCollector" ),
0087 lenSlinkHeader = cms.untracked.int32( 8 ),
0088 lenSlinkTrailer = cms.untracked.int32( 8 ),
0089 lenAMCHeader = cms.untracked.int32( 8 ),
0090 lenAMCTrailer = cms.untracked.int32( 0 ),
0091 lenAMC13Header = cms.untracked.int32( 8 ),
0092 lenAMC13Trailer = cms.untracked.int32( 8 ),
0093 debug = cms.untracked.bool( False ),
0094 MinFeds = cms.uint32( 0 )
0095 )
0096 fragment.hltGtStage2ObjectMap = cms.EDProducer( "L1TGlobalProducer",
0097 MuonInputTag = cms.InputTag( 'hltGtStage2Digis','Muon' ),
0098 MuonShowerInputTag = cms.InputTag( 'hltGtStage2Digis','MuonShower' ),
0099 EGammaInputTag = cms.InputTag( 'hltGtStage2Digis','EGamma' ),
0100 TauInputTag = cms.InputTag( 'hltGtStage2Digis','Tau' ),
0101 JetInputTag = cms.InputTag( 'hltGtStage2Digis','Jet' ),
0102 EtSumInputTag = cms.InputTag( 'hltGtStage2Digis','EtSum' ),
0103 EtSumZdcInputTag = cms.InputTag( 'hltGtStage2Digis','EtSumZDC' ),
0104 CICADAInputTag = cms.InputTag( "" ),
0105 ExtInputTag = cms.InputTag( "hltGtStage2Digis" ),
0106 AlgoBlkInputTag = cms.InputTag( "hltGtStage2Digis" ),
0107 GetPrescaleColumnFromData = cms.bool( False ),
0108 AlgorithmTriggersUnprescaled = cms.bool( True ),
0109 RequireMenuToMatchAlgoBlkInput = cms.bool( True ),
0110 AlgorithmTriggersUnmasked = cms.bool( True ),
0111 useMuonShowers = cms.bool( True ),
0112 resetPSCountersEachLumiSec = cms.bool( True ),
0113 semiRandomInitialPSCounters = cms.bool( False ),
0114 ProduceL1GtDaqRecord = cms.bool( True ),
0115 ProduceL1GtObjectMapRecord = cms.bool( True ),
0116 EmulateBxInEvent = cms.int32( 1 ),
0117 L1DataBxInEvent = cms.int32( 5 ),
0118 AlternativeNrBxBoardDaq = cms.uint32( 0 ),
0119 BstLengthBytes = cms.int32( -1 ),
0120 PrescaleSet = cms.uint32( 1 ),
0121 Verbosity = cms.untracked.int32( 0 ),
0122 PrintL1Menu = cms.untracked.bool( False ),
0123 TriggerMenuLuminosity = cms.string( "startup" )
0124 )
0125 fragment.hltScalersRawToDigi = cms.EDProducer( "ScalersRawToDigi",
0126 scalersInputTag = cms.InputTag( "rawDataCollector" )
0127 )
0128 fragment.hltOnlineBeamSpot = cms.EDProducer( "BeamSpotOnlineProducer",
0129 changeToCMSCoordinates = cms.bool( False ),
0130 maxZ = cms.double( 40.0 ),
0131 setSigmaZ = cms.double( 0.0 ),
0132 beamMode = cms.untracked.uint32( 11 ),
0133 src = cms.InputTag( "hltScalersRawToDigi" ),
0134 gtEvmLabel = cms.InputTag( "" ),
0135 maxRadius = cms.double( 2.0 ),
0136 useTransientRecord = cms.bool( False )
0137 )
0138 fragment.hltPrePhysics = cms.EDFilter( "HLTPrescaler",
0139 offset = cms.uint32( 0 ),
0140 L1GtReadoutRecordTag = cms.InputTag( "hltGtStage2Digis" )
0141 )
0142 fragment.hltBoolEnd = cms.EDFilter( "HLTBool",
0143 result = cms.bool( True )
0144 )
0145 fragment.hltRandomEventsFilter = cms.EDFilter( "HLTTriggerTypeFilter",
0146 SelectedTriggerType = cms.int32( 3 )
0147 )
0148 fragment.hltPreRandom = cms.EDFilter( "HLTPrescaler",
0149 offset = cms.uint32( 0 ),
0150 L1GtReadoutRecordTag = cms.InputTag( "hltGtStage2Digis" )
0151 )
0152 fragment.hltL1sZeroBias = cms.EDFilter( "HLTL1TSeed",
0153 saveTags = cms.bool( True ),
0154 L1SeedsLogicalExpression = cms.string( "L1_ZeroBias" ),
0155 L1ObjectMapInputTag = cms.InputTag( "hltGtStage2ObjectMap" ),
0156 L1GlobalInputTag = cms.InputTag( "hltGtStage2Digis" ),
0157 L1MuonInputTag = cms.InputTag( 'hltGtStage2Digis','Muon' ),
0158 L1MuonShowerInputTag = cms.InputTag( 'hltGtStage2Digis','MuonShower' ),
0159 L1EGammaInputTag = cms.InputTag( 'hltGtStage2Digis','EGamma' ),
0160 L1JetInputTag = cms.InputTag( 'hltGtStage2Digis','Jet' ),
0161 L1TauInputTag = cms.InputTag( 'hltGtStage2Digis','Tau' ),
0162 L1EtSumInputTag = cms.InputTag( 'hltGtStage2Digis','EtSum' ),
0163 L1EtSumZdcInputTag = cms.InputTag( 'hltGtStage2Digis','EtSumZDC' )
0164 )
0165 fragment.hltPreZeroBias = cms.EDFilter( "HLTPrescaler",
0166 offset = cms.uint32( 0 ),
0167 L1GtReadoutRecordTag = cms.InputTag( "hltGtStage2Digis" )
0168 )
0169 fragment.hltFEDSelector = cms.EDProducer( "EvFFEDSelector",
0170 inputTag = cms.InputTag( "rawDataCollector" ),
0171 fedList = cms.vuint32( 1023, 1024 )
0172 )
0173 fragment.hltTriggerSummaryAOD = cms.EDProducer( "TriggerSummaryProducerAOD",
0174 throw = cms.bool( False ),
0175 processName = cms.string( "@" ),
0176 moduleLabelPatternsToMatch = cms.vstring( 'hlt*' ),
0177 moduleLabelPatternsToSkip = cms.vstring( )
0178 )
0179 fragment.hltTriggerSummaryRAW = cms.EDProducer( "TriggerSummaryProducerRAW",
0180 processName = cms.string( "@" )
0181 )
0182 fragment.hltPreHLTAnalyzerEndpath = cms.EDFilter( "HLTPrescaler",
0183 offset = cms.uint32( 0 ),
0184 L1GtReadoutRecordTag = cms.InputTag( "hltGtStage2Digis" )
0185 )
0186 fragment.hltL1TGlobalSummary = cms.EDAnalyzer( "L1TGlobalSummary",
0187 AlgInputTag = cms.InputTag( "hltGtStage2Digis" ),
0188 ExtInputTag = cms.InputTag( "hltGtStage2Digis" ),
0189 MinBx = cms.int32( 0 ),
0190 MaxBx = cms.int32( 0 ),
0191 DumpTrigResults = cms.bool( False ),
0192 DumpRecord = cms.bool( False ),
0193 DumpTrigSummary = cms.bool( True ),
0194 ReadPrescalesFromFile = cms.bool( False ),
0195 psFileName = cms.string( "prescale_L1TGlobal.csv" ),
0196 psColumn = cms.int32( 0 )
0197 )
0198 fragment.hltTrigReport = cms.EDAnalyzer( "HLTrigReport",
0199 HLTriggerResults = cms.InputTag( 'TriggerResults','','@currentProcess' ),
0200 reportBy = cms.untracked.string( "job" ),
0201 resetBy = cms.untracked.string( "never" ),
0202 serviceBy = cms.untracked.string( "never" ),
0203 ReferencePath = cms.untracked.string( "HLTriggerFinalPath" ),
0204 ReferenceRate = cms.untracked.double( 100.0 )
0205 )
0206
0207 fragment.HLTL1UnpackerSequence = cms.Sequence( fragment.hltGtStage2Digis + fragment.hltGtStage2ObjectMap )
0208 fragment.HLTBeamSpot = cms.Sequence( fragment.hltScalersRawToDigi + fragment.hltOnlineBeamSpot )
0209 fragment.HLTBeginSequence = cms.Sequence( fragment.hltTriggerType + fragment.HLTL1UnpackerSequence + fragment.HLTBeamSpot )
0210 fragment.HLTEndSequence = cms.Sequence( fragment.hltBoolEnd )
0211 fragment.HLTBeginSequenceRandom = cms.Sequence( fragment.hltRandomEventsFilter + fragment.hltGtStage2Digis )
0212
0213 fragment.HLTriggerFirstPath = cms.Path( fragment.hltGetConditions + fragment.hltGetRaw + fragment.hltBoolFalse )
0214 fragment.HLT_Physics_v1 = cms.Path( fragment.HLTBeginSequence + fragment.hltPrePhysics + fragment.HLTEndSequence )
0215 fragment.HLT_Random_v1 = cms.Path( fragment.HLTBeginSequenceRandom + fragment.hltPreRandom + fragment.HLTEndSequence )
0216 fragment.HLT_ZeroBias_v1 = cms.Path( fragment.HLTBeginSequence + fragment.hltL1sZeroBias + fragment.hltPreZeroBias + fragment.HLTEndSequence )
0217 fragment.HLTriggerFinalPath = cms.Path( fragment.hltGtStage2Digis + fragment.hltScalersRawToDigi + fragment.hltFEDSelector + fragment.hltTriggerSummaryAOD + fragment.hltTriggerSummaryRAW + fragment.hltBoolFalse )
0218 fragment.HLTAnalyzerEndpath = cms.EndPath( fragment.hltGtStage2Digis + fragment.hltPreHLTAnalyzerEndpath + fragment.hltL1TGlobalSummary + fragment.hltTrigReport )
0219
0220
0221 fragment.schedule = cms.Schedule( *(fragment.HLTriggerFirstPath, fragment.HLT_Physics_v1, fragment.HLT_Random_v1, fragment.HLT_ZeroBias_v1, fragment.HLTriggerFinalPath, fragment.HLTAnalyzerEndpath, ))
0222
0223
0224
0225 if 'hltGetConditions' in fragment.__dict__ and 'HLTriggerFirstPath' in fragment.__dict__ :
0226 fragment.hltDummyConditions = cms.EDFilter( "HLTBool",
0227 result = cms.bool( True )
0228 )
0229 fragment.HLTriggerFirstPath.replace(fragment.hltGetConditions,fragment.hltDummyConditions)
0230
0231
0232 from HLTrigger.Configuration.customizeHLTforALL import customizeHLTforAll
0233 fragment = customizeHLTforAll(fragment,"Fake2")
0234
0235 from HLTrigger.Configuration.customizeHLTforCMSSW import customizeHLTforCMSSW
0236 fragment = customizeHLTforCMSSW(fragment,"Fake2")
0237
0238
0239 from HLTrigger.Configuration.Eras import modifyHLTforEras
0240 modifyHLTforEras(fragment)
0241