Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-02-01 05:47:29

0001 # hltGetConfiguration /dev/CMSSW_13_0_0/Fake2 --cff --data --type Fake2
0002 
0003 # /dev/CMSSW_13_0_0/Fake2/V4 (CMSSW_13_0_0_pre3)
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_13_0_0/Fake2/V4')
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     semiRandomInitialPSCounters = cms.bool( False ),
0113     ProduceL1GtDaqRecord = cms.bool( True ),
0114     ProduceL1GtObjectMapRecord = cms.bool( True ),
0115     EmulateBxInEvent = cms.int32( 1 ),
0116     L1DataBxInEvent = cms.int32( 5 ),
0117     AlternativeNrBxBoardDaq = cms.uint32( 0 ),
0118     BstLengthBytes = cms.int32( -1 ),
0119     PrescaleSet = cms.uint32( 1 ),
0120     Verbosity = cms.untracked.int32( 0 ),
0121     PrintL1Menu = cms.untracked.bool( False ),
0122     TriggerMenuLuminosity = cms.string( "startup" )
0123 )
0124 fragment.hltScalersRawToDigi = cms.EDProducer( "ScalersRawToDigi",
0125     scalersInputTag = cms.InputTag( "rawDataCollector" )
0126 )
0127 fragment.hltOnlineBeamSpot = cms.EDProducer( "BeamSpotOnlineProducer",
0128     changeToCMSCoordinates = cms.bool( False ),
0129     maxZ = cms.double( 40.0 ),
0130     setSigmaZ = cms.double( 0.0 ),
0131     beamMode = cms.untracked.uint32( 11 ),
0132     src = cms.InputTag( "hltScalersRawToDigi" ),
0133     gtEvmLabel = cms.InputTag( "" ),
0134     maxRadius = cms.double( 2.0 ),
0135     useTransientRecord = cms.bool( False )
0136 )
0137 fragment.hltPrePhysics = cms.EDFilter( "HLTPrescaler",
0138     offset = cms.uint32( 0 ),
0139     L1GtReadoutRecordTag = cms.InputTag( "hltGtStage2Digis" )
0140 )
0141 fragment.hltBoolEnd = cms.EDFilter( "HLTBool",
0142     result = cms.bool( True )
0143 )
0144 fragment.hltRandomEventsFilter = cms.EDFilter( "HLTTriggerTypeFilter",
0145     SelectedTriggerType = cms.int32( 3 )
0146 )
0147 fragment.hltPreRandom = cms.EDFilter( "HLTPrescaler",
0148     offset = cms.uint32( 0 ),
0149     L1GtReadoutRecordTag = cms.InputTag( "hltGtStage2Digis" )
0150 )
0151 fragment.hltL1sZeroBias = cms.EDFilter( "HLTL1TSeed",
0152     saveTags = cms.bool( True ),
0153     L1SeedsLogicalExpression = cms.string( "L1_ZeroBias" ),
0154     L1ObjectMapInputTag = cms.InputTag( "hltGtStage2ObjectMap" ),
0155     L1GlobalInputTag = cms.InputTag( "hltGtStage2Digis" ),
0156     L1MuonInputTag = cms.InputTag( 'hltGtStage2Digis','Muon' ),
0157     L1MuonShowerInputTag = cms.InputTag( 'hltGtStage2Digis','MuonShower' ),
0158     L1EGammaInputTag = cms.InputTag( 'hltGtStage2Digis','EGamma' ),
0159     L1JetInputTag = cms.InputTag( 'hltGtStage2Digis','Jet' ),
0160     L1TauInputTag = cms.InputTag( 'hltGtStage2Digis','Tau' ),
0161     L1EtSumInputTag = cms.InputTag( 'hltGtStage2Digis','EtSum' )
0162 )
0163 fragment.hltPreZeroBias = cms.EDFilter( "HLTPrescaler",
0164     offset = cms.uint32( 0 ),
0165     L1GtReadoutRecordTag = cms.InputTag( "hltGtStage2Digis" )
0166 )
0167 fragment.hltFEDSelector = cms.EDProducer( "EvFFEDSelector",
0168     inputTag = cms.InputTag( "rawDataCollector" ),
0169     fedList = cms.vuint32( 1023, 1024 )
0170 )
0171 fragment.hltTriggerSummaryAOD = cms.EDProducer( "TriggerSummaryProducerAOD",
0172     throw = cms.bool( False ),
0173     processName = cms.string( "@" ),
0174     moduleLabelPatternsToMatch = cms.vstring( 'hlt*' ),
0175     moduleLabelPatternsToSkip = cms.vstring(  )
0176 )
0177 fragment.hltTriggerSummaryRAW = cms.EDProducer( "TriggerSummaryProducerRAW",
0178     processName = cms.string( "@" )
0179 )
0180 fragment.hltPreHLTAnalyzerEndpath = cms.EDFilter( "HLTPrescaler",
0181     offset = cms.uint32( 0 ),
0182     L1GtReadoutRecordTag = cms.InputTag( "hltGtStage2Digis" )
0183 )
0184 fragment.hltL1TGlobalSummary = cms.EDAnalyzer( "L1TGlobalSummary",
0185     AlgInputTag = cms.InputTag( "hltGtStage2Digis" ),
0186     ExtInputTag = cms.InputTag( "hltGtStage2Digis" ),
0187     MinBx = cms.int32( 0 ),
0188     MaxBx = cms.int32( 0 ),
0189     DumpTrigResults = cms.bool( False ),
0190     DumpRecord = cms.bool( False ),
0191     DumpTrigSummary = cms.bool( True ),
0192     ReadPrescalesFromFile = cms.bool( False ),
0193     psFileName = cms.string( "prescale_L1TGlobal.csv" ),
0194     psColumn = cms.int32( 0 )
0195 )
0196 fragment.hltTrigReport = cms.EDAnalyzer( "HLTrigReport",
0197     HLTriggerResults = cms.InputTag( 'TriggerResults','','@currentProcess' ),
0198     reportBy = cms.untracked.string( "job" ),
0199     resetBy = cms.untracked.string( "never" ),
0200     serviceBy = cms.untracked.string( "never" ),
0201     ReferencePath = cms.untracked.string( "HLTriggerFinalPath" ),
0202     ReferenceRate = cms.untracked.double( 100.0 )
0203 )
0204 
0205 fragment.HLTL1UnpackerSequence = cms.Sequence( fragment.hltGtStage2Digis + fragment.hltGtStage2ObjectMap )
0206 fragment.HLTBeamSpot = cms.Sequence( fragment.hltScalersRawToDigi + fragment.hltOnlineBeamSpot )
0207 fragment.HLTBeginSequence = cms.Sequence( fragment.hltTriggerType + fragment.HLTL1UnpackerSequence + fragment.HLTBeamSpot )
0208 fragment.HLTEndSequence = cms.Sequence( fragment.hltBoolEnd )
0209 fragment.HLTBeginSequenceRandom = cms.Sequence( fragment.hltRandomEventsFilter + fragment.hltGtStage2Digis )
0210 
0211 fragment.HLTriggerFirstPath = cms.Path( fragment.hltGetConditions + fragment.hltGetRaw + fragment.hltBoolFalse )
0212 fragment.HLT_Physics_v1 = cms.Path( fragment.HLTBeginSequence + fragment.hltPrePhysics + fragment.HLTEndSequence )
0213 fragment.HLT_Random_v1 = cms.Path( fragment.HLTBeginSequenceRandom + fragment.hltPreRandom + fragment.HLTEndSequence )
0214 fragment.HLT_ZeroBias_v1 = cms.Path( fragment.HLTBeginSequence + fragment.hltL1sZeroBias + fragment.hltPreZeroBias + fragment.HLTEndSequence )
0215 fragment.HLTriggerFinalPath = cms.Path( fragment.hltGtStage2Digis + fragment.hltScalersRawToDigi + fragment.hltFEDSelector + fragment.hltTriggerSummaryAOD + fragment.hltTriggerSummaryRAW + fragment.hltBoolFalse )
0216 fragment.HLTAnalyzerEndpath = cms.EndPath( fragment.hltGtStage2Digis + fragment.hltPreHLTAnalyzerEndpath + fragment.hltL1TGlobalSummary + fragment.hltTrigReport )
0217 
0218 
0219 fragment.schedule = cms.Schedule( *(fragment.HLTriggerFirstPath, fragment.HLT_Physics_v1, fragment.HLT_Random_v1, fragment.HLT_ZeroBias_v1, fragment.HLTriggerFinalPath, fragment.HLTAnalyzerEndpath, ))
0220 
0221 
0222 # dummify hltGetConditions in cff's
0223 if 'hltGetConditions' in fragment.__dict__ and 'HLTriggerFirstPath' in fragment.__dict__ :
0224     fragment.hltDummyConditions = cms.EDFilter( "HLTBool",
0225         result = cms.bool( True )
0226     )
0227     fragment.HLTriggerFirstPath.replace(fragment.hltGetConditions,fragment.hltDummyConditions)
0228 
0229 # add specific customizations
0230 from HLTrigger.Configuration.customizeHLTforALL import customizeHLTforAll
0231 fragment = customizeHLTforAll(fragment,"Fake2")
0232 
0233 from HLTrigger.Configuration.customizeHLTforCMSSW import customizeHLTforCMSSW
0234 fragment = customizeHLTforCMSSW(fragment,"Fake2")
0235 
0236 # Eras-based customisations
0237 from HLTrigger.Configuration.Eras import modifyHLTforEras
0238 modifyHLTforEras(fragment)
0239