Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-07-12 02:41:49

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 # RAW content
0004 L1TriggerRAW = cms.PSet(
0005     outputCommands = cms.untracked.vstring(
0006         'keep  FEDRawDataCollection_rawDataCollector_*_*',
0007         'keep  FEDRawDataCollection_source_*_*')
0008 )
0009 
0010 
0011 # RAWDEBUG content
0012 L1TriggerRAWDEBUG = cms.PSet(
0013     outputCommands = cms.untracked.vstring(
0014         'keep  FEDRawDataCollection_rawDataCollector_*_*',
0015         'keep  FEDRawDataCollection_source_*_*',
0016         'keep L1GlobalTriggerReadoutRecord_gtDigis_*_*',
0017         'keep *_l1GtRecord_*_*',
0018         'keep *_l1GtTriggerMenuLite_*_*',
0019         'keep *_conditionsInEdm_*_*',
0020         'keep *_l1extraParticles_*_*')
0021 )
0022 
0023 # RECO content
0024 L1TriggerRECO = cms.PSet(
0025     outputCommands = cms.untracked.vstring(
0026         'keep L1GlobalTriggerReadoutRecord_gtDigis_*_*',
0027         'keep *_l1GtRecord_*_*',
0028         'keep *_l1GtTriggerMenuLite_*_*',
0029         'keep *_conditionsInEdm_*_*',
0030         'keep *_l1extraParticles_*_*',
0031         'keep *_l1L1GtObjectMap_*_*',
0032         'keep L1MuGMTReadoutCollection_gtDigis_*_*',
0033         'keep L1GctEmCand*_gctDigis_*_*',
0034         'keep L1GctJetCand*_gctDigis_*_*',
0035         'keep L1GctEtHad*_gctDigis_*_*',
0036         'keep L1GctEtMiss*_gctDigis_*_*',
0037         'keep L1GctEtTotal*_gctDigis_*_*',
0038         'keep L1GctHtMiss*_gctDigis_*_*',
0039         'keep L1GctJetCounts*_gctDigis_*_*',
0040         'keep L1GctHFRingEtSums*_gctDigis_*_*',
0041         'keep L1GctHFBitCounts*_gctDigis_*_*',
0042         'keep LumiDetails_lumiProducer_*_*',
0043         'keep LumiSummary_lumiProducer_*_*')
0044 )
0045 
0046 
0047 # AOD content
0048 L1TriggerAOD = cms.PSet(
0049     outputCommands = cms.untracked.vstring(
0050         'keep L1GlobalTriggerReadoutRecord_gtDigis_*_*',
0051         'keep *_l1GtRecord_*_*',
0052         'keep *_l1GtTriggerMenuLite_*_*',
0053         'keep *_conditionsInEdm_*_*',
0054         'keep *_l1extraParticles_*_*',
0055         'keep *_l1L1GtObjectMap_*_*',
0056         'keep LumiSummary_lumiProducer_*_*')
0057 )
0058 
0059 
0060 L1TriggerFEVTDEBUG = cms.PSet(
0061     outputCommands = cms.untracked.vstring(
0062         'keep *_simCscTriggerPrimitiveDigis_*_*',
0063         'keep *_simDtTriggerPrimitiveDigis_*_*',
0064         'keep *_simRpcTriggerDigis_*_*',
0065         'keep *_simRctDigis_*_*',
0066         'keep *_simCsctfDigis_*_*',
0067         'keep *_simCsctfTrackDigis_*_*',
0068         'keep *_simDttfDigis_*_*',
0069         'keep *_simGctDigis_*_*',
0070         'keep *_simCaloStage1Digis_*_*',
0071         'keep *_simCaloStage1FinalDigis_*_*',
0072         'keep *_simCaloStage2Layer1Digis_*_*',
0073         'keep *_simCaloStage2Digis_*_*',
0074         'keep *_simGmtDigis_*_*',
0075         "keep *_simBmtfDigis_*_*",
0076         "keep *_simKBmtfDigis_*_*",
0077         "keep *_simOmtfDigis_*_*",
0078         "keep *_simEmtfDigis_*_*",
0079         "keep *_simGmtStage2Digis_*_*",
0080         'keep *_simGtDigis_*_*',
0081         "keep *_simGtStage2Digis_*_*",
0082         'keep *_cscTriggerPrimitiveDigis_*_*',
0083         'keep *_dtTriggerPrimitiveDigis_*_*',
0084         'keep *_rpcTriggerDigis_*_*',
0085         'keep *_rctDigis_*_*',
0086         'keep *_csctfDigis_*_*',
0087         'keep *_csctfTrackDigis_*_*',
0088         'keep *_dttfDigis_*_*',
0089         'keep *_gctDigis_*_*',
0090         'keep *_gmtDigis_*_*',
0091         'keep *_gtDigis_*_*',
0092         'keep *_gtEvmDigis_*_*',
0093         'keep *_l1GtRecord_*_*',
0094         'keep *_l1GtTriggerMenuLite_*_*',
0095         'keep *_conditionsInEdm_*_*',
0096         'keep *_l1extraParticles_*_*',
0097         'keep *_l1L1GtObjectMap_*_*',
0098         'keep LumiDetails_lumiProducer_*_*',
0099         'keep LumiSummary_lumiProducer_*_*')
0100 )
0101 
0102 
0103 def _appendStage2Digis(obj):
0104     l1Stage2Digis = [
0105         'keep *_gtStage2Digis_*_*',
0106         'keep *_gmtStage2Digis_*_*',
0107         'keep *_caloStage2Digis_*_*',
0108         ]
0109     obj.outputCommands += l1Stage2Digis
0110 
0111 # adding them to all places where we had l1extraParticles
0112 from Configuration.Eras.Modifier_stage2L1Trigger_cff import stage2L1Trigger
0113 stage2L1Trigger.toModify(L1TriggerRAWDEBUG, func=_appendStage2Digis)
0114 stage2L1Trigger.toModify(L1TriggerRECO, func=_appendStage2Digis)
0115 stage2L1Trigger.toModify(L1TriggerAOD, func=_appendStage2Digis)
0116 stage2L1Trigger.toModify(L1TriggerFEVTDEBUG, func=_appendStage2Digis)
0117 
0118 ## Run-3 EMTF and GMT showers
0119 def _appendRun3ShowerDigis(obj):
0120     run3ShowerDigis = [
0121         "keep *_simEmtfShowers_*_*",
0122         'keep *_simGmtShowerDigis_*_*',
0123         ]
0124     obj.outputCommands += run3ShowerDigis
0125 
0126 from Configuration.Eras.Modifier_run3_common_cff import run3_common
0127 (stage2L1Trigger & run3_common).toModify(L1TriggerFEVTDEBUG, func=_appendRun3ShowerDigis)
0128 
0129 # adding HGCal L1 trigger digis
0130 def _appendHGCalDigis(obj):
0131     l1HGCalDigis = [
0132         'keep l1tHGCalTriggerCellBXVector_l1tHGCalVFEProducer_*_*',
0133         'keep l1tHGCalTriggerCellBXVector_l1tHGCalConcentratorProducer_*_*',
0134         'keep l1tHGCalTowerBXVector_l1tHGCalTowerProducer_*_*',
0135         'keep l1tHGCalClusterBXVector_l1tHGCalBackEndLayer1Producer_*_*',
0136         'keep l1tHGCalMulticlusterBXVector_l1tHGCalBackEndLayer2Producer_*_*'
0137         ]
0138     obj.outputCommands += l1HGCalDigis
0139 
0140 from Configuration.Eras.Modifier_phase2_hgcal_cff import phase2_hgcal
0141 phase2_hgcal.toModify(L1TriggerFEVTDEBUG, func=_appendHGCalDigis)
0142 
0143 # adding GEM trigger primitives
0144 def _appendGEMDigis(obj):
0145     l1GEMDigis = [
0146         'keep *_simMuonGEMPadDigis_*_*',
0147         'keep *_simMuonGEMPadDigiClusters_*_*',
0148         ]
0149     obj.outputCommands += l1GEMDigis
0150 
0151 from Configuration.Eras.Modifier_run3_GEM_cff import run3_GEM
0152 run3_GEM.toModify(L1TriggerFEVTDEBUG, func=_appendGEMDigis)
0153 
0154 # adding ME0 trigger primitives
0155 def _appendME0Digis(obj):
0156     l1ME0Digis = [
0157         'keep *_simMuonME0PadDigis__*',
0158         'keep *_me0TriggerDigis__*',
0159         'keep *_simMuonME0PseudoReDigisCoarse__*',
0160         'keep *_me0RecHitsCoarse__*',
0161         'keep *_me0TriggerPseudoDigis__*',
0162         'keep *_me0TriggerConvertedPseudoDigis__*',
0163         ]
0164     obj.outputCommands += l1ME0Digis
0165 
0166 from Configuration.Eras.Modifier_phase2_muon_cff import phase2_muon
0167 phase2_muon.toModify(L1TriggerFEVTDEBUG, func=_appendME0Digis)
0168 
0169 # adding phase2 trigger
0170 def _appendPhase2Digis(obj):
0171     l1Phase2Digis = [
0172         "keep *_simKBmtfDigis_*_*",
0173         'keep *_l1tHGCalVFEProducerhgcalConcentratorProducer_*_*',
0174         'keep *_l1tHGCalBackEndLayer1Producer_*_*',
0175         'keep *_l1tHGCalBackEndLayer2Producer_*_*',
0176         'keep *_l1tHGCalTowerMapProducer_*_*',
0177         'keep *_l1tHGCalTowerProducer_*_*',
0178         'keep *_l1tHGCalEnergySplitTowerMapProducer_*_*',
0179         'keep *_l1tHGCalEnergySplitTowerProducer_*_*',
0180         'keep *_l1tEGammaClusterEmuProducer_*_*',
0181         'keep *_l1tVertexFinder_*_*',
0182         'keep *_l1tVertexFinderEmulator_*_*',
0183         'keep *_l1tTrackJets_*_*',
0184         'keep *_l1tTrackJetsExtended_*_*',
0185         'keep *_l1tTrackFastJets_*_*',
0186         'keep *_l1tTrackerEtMiss_*_*',
0187         'keep *_l1tTrackerHTMiss_*_*',
0188         'keep *_l1tTrackJetsEmulation_*_*',
0189         'keep *_l1tTrackJetsExtendedEmulation_*_*',
0190         'keep *_l1tTrackerEmuEtMiss_*_*',
0191         'keep *_l1tTrackerEmuHTMiss_*_*',
0192         'keep *_l1tTrackerEmuHTMissExtended_*_*',
0193         'keep *_l1tTrackTripletEmulation_*_*',
0194         'keep *_l1tTowerCalibration_*_*',
0195         'keep *_l1tCaloJet_*_*',
0196         'keep *_l1tCaloJetHTT_*_*',
0197         'keep *_l1tPhase2CaloJetEmulator_*_*',
0198         'keep *_l1tNNCaloTauProducer_*_*',
0199         'keep *_l1tNNCaloTauEmulator_*_*',
0200         'keep *_l1tPFClustersFromL1EGClusters_*_*',
0201         'keep *_l1tPFClustersFromCombinedCaloHCal_*_*',
0202         'keep *_l1tPFClustersFromCombinedCaloHF_*_*',
0203         'keep *_l1tPFClustersFromHGC3DClusters_*_*',
0204         'keep *_l1tPFTracksFromL1TracksBarrel_*_*',
0205         'keep *_l1tPFTracksFromL1TracksHGCal_*_*',
0206         'keep *_l1tSC4PFL1PuppiCorrectedEmulator_*_*',
0207         'keep *_l1tSC4PFL1PuppiCorrectedEmulatorMHT_*_*',
0208         'keep *_l1tSC4PFL1PuppiExtendedCorrectedEmulator_*_*',
0209         'keep *_l1tSC4PFL1PuppiExtendedCorrectedEmulatorMHT_*_*',
0210     'keep *_l1tSC8PFL1PuppiCorrectedEmulator_*_*',
0211         'keep *_l1tPhase1JetProducer9x9_*_*', 
0212         'keep *_l1tPhase1JetCalibrator9x9_*_*',
0213         'keep *_l1tPhase1JetSumsProducer9x9_*_*',
0214         'keep *_l1tPhase1JetProducer9x9trimmed_*_*', 
0215         'keep *_l1tPhase1JetCalibrator9x9trimmed_*_*',
0216         'keep *_l1tPhase1JetSumsProducer9x9trimmed_*_*',
0217         'keep *_l1tLayer1Barrel_*_*',
0218         'keep *_l1tLayer1HGCal_*_*',
0219         'keep *_l1tLayer1HGCalNoTK_*_*',
0220         'keep *_l1tLayer1HF_*_*',
0221         'keep *_l1tLayer1_*_*',
0222         'keep *_l1tLayer1BarrelExtended_*_*',
0223         'keep *_l1tLayer1HGCalExtended_*_*',
0224         'keep *_l1tLayer1Extended_*_*',
0225         'keep *_l1tLayer1EG_*_*',
0226         'keep *_l1tLayer2EG_*_*',
0227         'keep *_l1tMETPFProducer_*_*',
0228         'keep *_l1tMETMLProducer_*_*',
0229         'keep *_l1tNNTauProducer_*_*',
0230         'keep *_l1tNNTauProducerPuppi_*_*',
0231         'keep *_l1tHPSPFTauProducer_*_*',
0232         'keep *_l1tBJetProducerPuppi_*_*',
0233         'keep *_l1tBJetProducerPuppiCorrectedEmulator_*_*',
0234         'keep *_l1tTOoLLiPProducer_*_*',
0235         'keep *_l1tTOoLLiPProducerCorrectedEmulator_*_*',
0236         'keep *_TTStubsFromPhase2TrackerDigis_*_*',
0237         'keep *_TTClustersFromPhase2TrackerDigis_*_*',
0238         'keep *_l1tTTTracksFromExtendedTrackletEmulation_*_*',
0239         'keep *_l1tTTTracksFromTrackletEmulation_*_*',
0240         'keep *_l1tTkStubsGmt_*_*',
0241         'keep *_l1tTkMuonsGmt_*_*',
0242         'keep *_l1tSAMuonsGmt_*_*',
0243         'keep *_l1tTkMuonsGmtLowPtFix_*_*', # in the long run this should be removed, but these fix objects will be used for now.
0244     'keep *_l1tPhase2L1CaloEGammaEmulator_*_*',
0245         ]
0246     obj.outputCommands += l1Phase2Digis
0247 
0248 from Configuration.Eras.Modifier_phase2_trigger_cff import phase2_trigger
0249 phase2_muon.toModify(L1TriggerFEVTDEBUG, func=_appendPhase2Digis)