Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-05-21 03:39:29

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