Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-05-13 22:35:12

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