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