Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-06-10 01:53:43

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_hgcalVFEProducer_*_*',
0133         'keep l1tHGCalTriggerCellBXVector_hgcalConcentratorProducer_*_*',
0134         'keep l1tHGCalTowerBXVector_hgcalTowerProducer_*_*',
0135         'keep l1tHGCalClusterBXVector_hgcalBackEndLayer1Producer_*_*',
0136         'keep l1tHGCalMulticlusterBXVector_hgcalBackEndLayer2Producer_*_*'
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 *_hgcalVFEProducerhgcalConcentratorProducer_*_*',
0174         'keep *_hgcalBackEndLayer1Producer_*_*',
0175         'keep *_hgcalBackEndLayer2Producer_*_*',
0176         'keep *_hgcalTowerMapProducer_*_*',
0177         'keep *_hgcalTowerProducer_*_*',
0178         'keep *_L1EGammaClusterEmuProducer_*_*',
0179         'keep *_l1EGammaEEProducer_*_*',
0180         'keep *_L1TkPrimaryVertex_*_*',
0181         'keep *_L1TkElectronsCrystal_*_*',
0182         'keep *_L1TkElectronsLooseCrystal_*_*',
0183         'keep *_L1TkElectronsEllipticMatchCrystal_*_*',
0184         'keep *_L1TkIsoElectronsCrystal_*_*',
0185         'keep *_L1TkPhotonsCrystal_*_*',
0186         'keep *_L1TkElectronsHGC_*_*',
0187         'keep *_L1TkElectronsEllipticMatchHGC_*_*',
0188         'keep *_L1TkIsoElectronsHGC_*_*',
0189         'keep *_L1TkPhotonsHGC_*_*',
0190         'keep *_L1TkMuons_*_*',
0191         'keep *_pfClustersFromL1EGClusters_*_*',
0192         'keep *_pfClustersFromCombinedCaloHCal_*_*',
0193         'keep *_pfClustersFromCombinedCaloHF_*_*',
0194         'keep *_pfClustersFromHGC3DClusters_*_*',
0195         'keep *_pfTracksFromL1TracksBarrel_*_*',
0196         'keep *_l1pfProducerBarrel_*_*',
0197         'keep *_pfTracksFromL1TracksHGCal_*_*',
0198         'keep *_l1pfProducerHGCal_*_*',
0199         'keep *_l1pfProducerHGCalNoTK_*_*',
0200         'keep *_l1pfProducerHF_*_*',
0201         'keep *_l1pfCandidates_*_*',
0202         'keep *_ak4PFL1Calo_*_*',
0203         'keep *_ak4PFL1PF_*_*',
0204         'keep *_ak4PFL1Puppi_*_*',
0205         'keep *_ak4PFL1CaloCorrected_*_*',
0206         'keep *_ak4PFL1PFCorrected_*_*',
0207         'keep *_ak4PFL1PuppiCorrected_*_*',
0208         'keep *_Phase1L1TJetProducer_*_*', 
0209         'keep *_Phase1L1TJetCalibrator_*_*',
0210         'keep *_l1ctLayer1Barrel_*_*',
0211         'keep *_l1ctLayer1HGCal_*_*',
0212         'keep *_l1ctLayer1HGCalNoTK_*_*',
0213         'keep *_l1ctLayer1HF_*_*',
0214         'keep *_l1ctLayer1_*_*',
0215         'keep *_l1PFMetCalo_*_*',
0216         'keep *_l1PFMetPF_*_*',
0217         'keep *_l1PFMetPuppi_*_*',
0218         'keep *_l1NNTauProducer_*_*',
0219         'keep *_l1NNTauProducerPuppi_*_*',
0220         'keep *_TTStubsFromPhase2TrackerDigis_*_*',
0221         'keep *_TTClustersFromPhase2TrackerDigis_*_*',
0222         'keep *_TTTracksFromExtendedTrackletEmulation_*_*',
0223         'keep *_TTTracksFromTrackletEmulation_*_*',
0224         ]
0225     obj.outputCommands += l1Phase2Digis
0226 
0227 from Configuration.Eras.Modifier_phase2_trigger_cff import phase2_trigger
0228 phase2_muon.toModify(L1TriggerFEVTDEBUG, func=_appendPhase2Digis)