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/Fake --type Fake
0002 
0003 # /dev/CMSSW_12_4_0/Fake/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/Fake/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.hltGctDigis = cms.EDProducer( "GctRawToDigi",
0051     unpackSharedRegions = cms.bool( False ),
0052     numberOfGctSamplesToUnpack = cms.uint32( 1 ),
0053     numberOfRctSamplesToUnpack = cms.uint32( 1 ),
0054     hltMode = cms.bool( True ),
0055     inputLabel = cms.InputTag( "rawDataCollector" ),
0056     unpackerVersion = cms.uint32( 0 ),
0057     gctFedId = cms.untracked.int32( 745 ),
0058     checkHeaders = cms.untracked.bool( False ),
0059     verbose = cms.untracked.bool( False )
0060 )
0061 fragment.hltL1GtObjectMap = cms.EDProducer( "L1GlobalTrigger",
0062     GmtInputTag = cms.InputTag( "hltGtDigis" ),
0063     GctInputTag = cms.InputTag( "hltGctDigis" ),
0064     CastorInputTag = cms.InputTag( "castorL1Digis" ),
0065     TechnicalTriggersInputTags = cms.VInputTag( 'simBscDigis' ),
0066     ProduceL1GtDaqRecord = cms.bool( False ),
0067     ProduceL1GtEvmRecord = cms.bool( False ),
0068     ProduceL1GtObjectMapRecord = cms.bool( True ),
0069     WritePsbL1GtDaqRecord = cms.bool( False ),
0070     ReadTechnicalTriggerRecords = cms.bool( True ),
0071     EmulateBxInEvent = cms.int32( 1 ),
0072     RecordLength = cms.vint32( 3, 0 ),
0073     AlternativeNrBxBoardDaq = cms.uint32( 0 ),
0074     AlternativeNrBxBoardEvm = cms.uint32( 0 ),
0075     BstLengthBytes = cms.int32( -1 ),
0076     AlgorithmTriggersUnprescaled = cms.bool( True ),
0077     AlgorithmTriggersUnmasked = cms.bool( False ),
0078     TechnicalTriggersUnprescaled = cms.bool( True ),
0079     TechnicalTriggersUnmasked = cms.bool( False ),
0080     TechnicalTriggersVetoUnmasked = cms.bool( True )
0081 )
0082 fragment.hltL1extraParticles = cms.EDProducer( "L1ExtraParticlesProd",
0083     muonSource = cms.InputTag( "hltGtDigis" ),
0084     etTotalSource = cms.InputTag( "hltGctDigis" ),
0085     nonIsolatedEmSource = cms.InputTag( 'hltGctDigis','nonIsoEm' ),
0086     etMissSource = cms.InputTag( "hltGctDigis" ),
0087     htMissSource = cms.InputTag( "hltGctDigis" ),
0088     produceMuonParticles = cms.bool( True ),
0089     forwardJetSource = cms.InputTag( 'hltGctDigis','forJets' ),
0090     centralJetSource = cms.InputTag( 'hltGctDigis','cenJets' ),
0091     produceCaloParticles = cms.bool( True ),
0092     tauJetSource = cms.InputTag( 'hltGctDigis','tauJets' ),
0093     isoTauJetSource = cms.InputTag( 'hltGctDigis','isoTauJets' ),
0094     isolatedEmSource = cms.InputTag( 'hltGctDigis','isoEm' ),
0095     etHadSource = cms.InputTag( "hltGctDigis" ),
0096     hfRingEtSumsSource = cms.InputTag( "hltGctDigis" ),
0097     hfRingBitCountsSource = cms.InputTag( "hltGctDigis" ),
0098     centralBxOnly = cms.bool( True ),
0099     ignoreHtMiss = cms.bool( False )
0100 )
0101 fragment.hltScalersRawToDigi = cms.EDProducer( "ScalersRawToDigi",
0102     scalersInputTag = cms.InputTag( "rawDataCollector" )
0103 )
0104 fragment.hltOnlineBeamSpot = cms.EDProducer( "BeamSpotOnlineProducer",
0105     changeToCMSCoordinates = cms.bool( False ),
0106     maxZ = cms.double( 40.0 ),
0107     setSigmaZ = cms.double( 0.0 ),
0108     beamMode = cms.untracked.uint32( 11 ),
0109     src = cms.InputTag( "hltScalersRawToDigi" ),
0110     gtEvmLabel = cms.InputTag( "" ),
0111     maxRadius = cms.double( 2.0 ),
0112     useTransientRecord = cms.bool( False )
0113 )
0114 fragment.hltPrePhysics = cms.EDFilter( "HLTPrescaler",
0115     offset = cms.uint32( 0 ),
0116     L1GtReadoutRecordTag = cms.InputTag( "hltGtDigis" )
0117 )
0118 fragment.hltBoolEnd = cms.EDFilter( "HLTBool",
0119     result = cms.bool( True )
0120 )
0121 fragment.hltRandomEventsFilter = cms.EDFilter( "HLTTriggerTypeFilter",
0122     SelectedTriggerType = cms.int32( 3 )
0123 )
0124 fragment.hltPreRandom = cms.EDFilter( "HLTPrescaler",
0125     offset = cms.uint32( 0 ),
0126     L1GtReadoutRecordTag = cms.InputTag( "hltGtDigis" )
0127 )
0128 fragment.hltL1sL1ZeroBias = cms.EDFilter( "HLTLevel1GTSeed",
0129     saveTags = cms.bool( True ),
0130     L1UseL1TriggerObjectMaps = cms.bool( True ),
0131     L1NrBxInEvent = cms.int32( 3 ),
0132     L1TechTriggerSeeding = cms.bool( False ),
0133     L1UseAliasesForSeeding = cms.bool( True ),
0134     L1SeedsLogicalExpression = cms.string( "L1_ZeroBias" ),
0135     L1GtReadoutRecordTag = cms.InputTag( "hltGtDigis" ),
0136     L1GtObjectMapTag = cms.InputTag( "hltL1GtObjectMap" ),
0137     L1CollectionsTag = cms.InputTag( "hltL1extraParticles" ),
0138     L1MuonCollectionTag = cms.InputTag( "hltL1extraParticles" )
0139 )
0140 fragment.hltPreZeroBias = cms.EDFilter( "HLTPrescaler",
0141     offset = cms.uint32( 0 ),
0142     L1GtReadoutRecordTag = cms.InputTag( "hltGtDigis" )
0143 )
0144 fragment.hltFEDSelector = cms.EDProducer( "EvFFEDSelector",
0145     inputTag = cms.InputTag( "rawDataCollector" ),
0146     fedList = cms.vuint32( 1023 )
0147 )
0148 fragment.hltTriggerSummaryAOD = cms.EDProducer( "TriggerSummaryProducerAOD",
0149     throw = cms.bool( False ),
0150     processName = cms.string( "@" ),
0151     moduleLabelPatternsToMatch = cms.vstring( 'hlt*' ),
0152     moduleLabelPatternsToSkip = cms.vstring(  )
0153 )
0154 fragment.hltTriggerSummaryRAW = cms.EDProducer( "TriggerSummaryProducerRAW",
0155     processName = cms.string( "@" )
0156 )
0157 fragment.hltPreHLTAnalyzerEndpath = cms.EDFilter( "HLTPrescaler",
0158     offset = cms.uint32( 0 ),
0159     L1GtReadoutRecordTag = cms.InputTag( "hltGtDigis" )
0160 )
0161 fragment.hltL1GtTrigReport = cms.EDAnalyzer( "L1GtTrigReport",
0162     UseL1GlobalTriggerRecord = cms.bool( False ),
0163     L1GtRecordInputTag = cms.InputTag( "hltGtDigis" ),
0164     PrintVerbosity = cms.untracked.int32( 10 ),
0165     PrintOutput = cms.untracked.int32( 3 )
0166 )
0167 fragment.hltTrigReport = cms.EDAnalyzer( "HLTrigReport",
0168     HLTriggerResults = cms.InputTag( 'TriggerResults','','@currentProcess' ),
0169     reportBy = cms.untracked.string( "job" ),
0170     resetBy = cms.untracked.string( "never" ),
0171     serviceBy = cms.untracked.string( "never" ),
0172     ReferencePath = cms.untracked.string( "HLTriggerFinalPath" ),
0173     ReferenceRate = cms.untracked.double( 100.0 )
0174 )
0175 
0176 fragment.HLTL1UnpackerSequence = cms.Sequence( fragment.hltGtDigis + fragment.hltGctDigis + fragment.hltL1GtObjectMap + fragment.hltL1extraParticles )
0177 fragment.HLTBeamSpot = cms.Sequence( fragment.hltScalersRawToDigi + fragment.hltOnlineBeamSpot )
0178 fragment.HLTBeginSequence = cms.Sequence( fragment.hltTriggerType + fragment.HLTL1UnpackerSequence + fragment.HLTBeamSpot )
0179 fragment.HLTEndSequence = cms.Sequence( fragment.hltBoolEnd )
0180 
0181 fragment.HLTriggerFirstPath = cms.Path( fragment.hltGetConditions + fragment.hltGetRaw + fragment.hltBoolFalse )
0182 fragment.HLT_Physics_v1 = cms.Path( fragment.HLTBeginSequence + fragment.hltPrePhysics + fragment.HLTEndSequence )
0183 fragment.HLT_Random_v1 = cms.Path( fragment.hltRandomEventsFilter + fragment.hltGtDigis + fragment.hltPreRandom + fragment.HLTEndSequence )
0184 fragment.HLT_ZeroBias_v1 = cms.Path( fragment.HLTBeginSequence + fragment.hltL1sL1ZeroBias + fragment.hltPreZeroBias + fragment.HLTEndSequence )
0185 fragment.HLTriggerFinalPath = cms.Path( fragment.hltGtDigis + fragment.hltScalersRawToDigi + fragment.hltFEDSelector + fragment.hltTriggerSummaryAOD + fragment.hltTriggerSummaryRAW + fragment.hltBoolFalse )
0186 fragment.HLTAnalyzerEndpath = cms.EndPath( fragment.hltGtDigis + fragment.hltPreHLTAnalyzerEndpath + fragment.hltL1GtTrigReport + fragment.hltTrigReport )
0187 
0188 
0189 fragment.schedule = cms.Schedule( *(fragment.HLTriggerFirstPath, fragment.HLT_Physics_v1, fragment.HLT_Random_v1, fragment.HLT_ZeroBias_v1, fragment.HLTriggerFinalPath, fragment.HLTAnalyzerEndpath, ))
0190 
0191 
0192 # dummify hltGetConditions in cff's
0193 if 'hltGetConditions' in fragment.__dict__ and 'HLTriggerFirstPath' in fragment.__dict__ :
0194     fragment.hltDummyConditions = cms.EDFilter( "HLTBool",
0195         result = cms.bool( True )
0196     )
0197     fragment.HLTriggerFirstPath.replace(fragment.hltGetConditions,fragment.hltDummyConditions)
0198 
0199 # add specific customizations
0200 from HLTrigger.Configuration.customizeHLTforALL import customizeHLTforAll
0201 fragment = customizeHLTforAll(fragment,"Fake")
0202 
0203 from HLTrigger.Configuration.customizeHLTforCMSSW import customizeHLTforCMSSW
0204 fragment = customizeHLTforCMSSW(fragment,"Fake")
0205 
0206 # Eras-based customisations
0207 from HLTrigger.Configuration.Eras import modifyHLTforEras
0208 modifyHLTforEras(fragment)
0209