Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:03:33

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 #
0004 #
0005 # Event Content definition
0006 #
0007 # Data Tiers defined:
0008 #
0009 #  FEVT, RECO, AOD: 
0010 #    include reconstruction content
0011 #
0012 #  FEVTSIM, RECOSIM, AODSIM: 
0013 #    include reconstruction and simulation
0014 #
0015 #  FEVTSIMANA, RECOSIMANA, AODSIMANA: 
0016 #    include reconstruction, simulation and analysis
0017 #  FEVTSIMDIGIHLTDEBUG FEVTSIMHLTDEBUG
0018 #
0019 #  $Id: EventContentCosmics_cff.py,v 1.22 2010/09/08 13:29:39 vlimant Exp $
0020 #
0021 #
0022 #
0023 #
0024 # Recontruction Systems
0025 #
0026 #
0027 from RecoTracker.Configuration.RecoTrackerP5_EventContent_cff import *
0028 from RecoMuon.Configuration.RecoMuonCosmics_EventContent_cff import *
0029 from RecoLocalMuon.Configuration.RecoLocalMuonCosmics_EventContent_cff import *
0030 from RecoEcal.Configuration.RecoEcal_EventContentCosmics_cff import *
0031 from RecoLocalCalo.Configuration.RecoLocalCalo_EventContentCosmics_cff import *
0032 from RecoLocalTracker.Configuration.RecoLocalTracker_Cosmics_EventContent_cff import *
0033 from RecoJets.Configuration.RecoJets_EventContent_cff import *
0034 from RecoMET.Configuration.RecoMET_EventContent_cff import *
0035 from RecoVertex.BeamSpotProducer.BeamSpot_EventContent_cff import *
0036 from RecoEgamma.Configuration.RecoEgamma_EventContent_cff import *
0037 from RecoVertex.Configuration.RecoVertex_EventContent_cff import *
0038 # raw2digi that are already the final RECO/AOD products
0039 from EventFilter.ScalersRawToDigi.Scalers_EventContent_cff import *
0040 from EventFilter.OnlineMetaDataRawToDigi.OnlineMetaData_EventContent_cff import *
0041 from EventFilter.OnlineMetaDataRawToDigi.Tcds_EventContent_cff import *
0042 # DigiToRaw content
0043 from EventFilter.Configuration.DigiToRaw_EventContent_cff import *
0044 # Simulation System
0045 from GeneratorInterface.Configuration.GeneratorInterface_EventContent_cff import *
0046 from SimG4Core.Configuration.SimG4Core_EventContent_cff import *
0047 from SimTracker.Configuration.SimTracker_EventContent_cff import *
0048 from SimMuon.Configuration.SimMuon_EventContent_cff import *
0049 from SimCalorimetry.Configuration.SimCalorimetry_EventContent_cff import *
0050 from SimGeneral.Configuration.SimGeneral_EventContent_cff import *
0051 from IOMC.RandomEngine.IOMC_EventContent_cff import *
0052 # L1
0053 from L1Trigger.Configuration.L1Trigger_EventContent_Cosmics_cff import *
0054 # HLT
0055 from HLTrigger.Configuration.HLTrigger_EventContent_cff import *
0056 # DQM
0057 from DQMOffline.Configuration.DQMOffline_EventContent_cff import *
0058 
0059 from Configuration.EventContent.EventContent_cff import REGENEventContent,RESIMEventContent,REDIGIEventContent
0060 from Configuration.EventContent.EventContent_cff import DQMEventContent
0061 
0062 #not in Cosmics 
0063 #include "TrackingTools/Configuration/data/TrackingTools_EventContent.cff"
0064 #include "RecoBTau/Configuration/data/RecoBTau_EventContent.cff"
0065 #include "RecoBTag/Configuration/data/RecoBTag_EventContent.cff"
0066 #include "RecoTauTag/Configuration/data/RecoTauTag_EventContent.cff"
0067 #include "RecoVertex/Configuration/data/RecoVertex_EventContent.cff"
0068 #include "RecoTracker/Configuration/data/RecoPixelVertexing_EventContent.cff"
0069 #include "RecoEgamma/Configuration/data/RecoEgamma_EventContent.cff"
0070 #include "RecoParticleFlow/Configuration/data/RecoParticleFlow_EventContent.cff"
0071 
0072 # RAW only data tier
0073 RAWEventContent = cms.PSet(
0074     outputCommands = cms.untracked.vstring('drop *', 
0075         'keep  FEDRawDataCollection_rawDataCollector_*_*', 
0076         'keep  FEDRawDataCollection_source_*_*'),
0077     splitLevel = cms.untracked.int32(0),
0078     eventAutoFlushCompressedSize=cms.untracked.int32(5*1024*1024)
0079 )
0080 RAWEventContent.outputCommands.extend(L1TriggerRAW.outputCommands)
0081 RAWEventContent.outputCommands.extend(HLTriggerRAW.outputCommands)
0082 #
0083 #
0084 # RECO Data Tier definition
0085 #
0086 #
0087 RECOEventContent = cms.PSet(
0088     outputCommands = cms.untracked.vstring('drop *',
0089         'keep *_logErrorHarvester_*_*'),
0090     splitLevel = cms.untracked.int32(0),
0091     eventAutoFlushCompressedSize=cms.untracked.int32(5*1024*1024)
0092 )
0093 RECOEventContent.outputCommands.extend(RecoLocalTrackerRECO.outputCommands)
0094 RECOEventContent.outputCommands.extend(RecoLocalMuonRECO.outputCommands)
0095 RECOEventContent.outputCommands.extend(RecoLocalCaloRECO.outputCommands)
0096 RECOEventContent.outputCommands.extend(RecoEcalRECO.outputCommands)
0097 RECOEventContent.outputCommands.extend(RecoEgammaRECO.outputCommands)
0098 RECOEventContent.outputCommands.extend(RecoTrackerRECO.outputCommands)
0099 RECOEventContent.outputCommands.extend(RecoJetsRECO.outputCommands)
0100 RECOEventContent.outputCommands.extend(RecoMETRECO.outputCommands)
0101 RECOEventContent.outputCommands.extend(RecoMuonRECO.outputCommands)
0102 RECOEventContent.outputCommands.extend(BeamSpotRECO.outputCommands)
0103 RECOEventContent.outputCommands.extend(RecoVertexRECO.outputCommands)
0104 RECOEventContent.outputCommands.extend(L1TriggerRECO.outputCommands)
0105 RECOEventContent.outputCommands.extend(HLTriggerRECO.outputCommands)
0106 RECOEventContent.outputCommands.extend(MEtoEDMConverterRECO.outputCommands)
0107 RECOEventContent.outputCommands.extend(EvtScalersRECO.outputCommands)
0108 RECOEventContent.outputCommands.extend(OnlineMetaDataContent.outputCommands)
0109 RECOEventContent.outputCommands.extend(TcdsEventContent.outputCommands)
0110 #
0111 #
0112 # AOD Data Tier definition
0113 #
0114 #
0115 AODEventContent = cms.PSet(
0116     outputCommands = cms.untracked.vstring('drop *',
0117         'keep *_logErrorHarvester_*_*'),
0118     eventAutoFlushCompressedSize=cms.untracked.int32(15*1024*1024)
0119 )
0120 AODEventContent.outputCommands.extend(RecoLocalTrackerAOD.outputCommands)
0121 AODEventContent.outputCommands.extend(RecoLocalMuonAOD.outputCommands)
0122 AODEventContent.outputCommands.extend(RecoLocalCaloAOD.outputCommands)
0123 AODEventContent.outputCommands.extend(RecoEcalAOD.outputCommands)
0124 AODEventContent.outputCommands.extend(RecoEgammaAOD.outputCommands)
0125 AODEventContent.outputCommands.extend(RecoTrackerAOD.outputCommands)
0126 AODEventContent.outputCommands.extend(RecoJetsAOD.outputCommands)
0127 AODEventContent.outputCommands.extend(RecoMETAOD.outputCommands)
0128 AODEventContent.outputCommands.extend(RecoMuonAOD.outputCommands)
0129 AODEventContent.outputCommands.extend(BeamSpotAOD.outputCommands)
0130 AODEventContent.outputCommands.extend(RecoVertexAOD.outputCommands)
0131 AODEventContent.outputCommands.extend(MEtoEDMConverterAOD.outputCommands)
0132 AODEventContent.outputCommands.extend(EvtScalersAOD.outputCommands)
0133 AODEventContent.outputCommands.extend(OnlineMetaDataContent.outputCommands)
0134 AODEventContent.outputCommands.extend(TcdsEventContent.outputCommands)
0135 AODEventContent.outputCommands.extend(L1TriggerAOD.outputCommands)
0136 #
0137 #
0138 # RAWSIM Data Tier definition
0139 #
0140 #
0141 RAWSIMEventContent = cms.PSet(
0142     outputCommands = cms.untracked.vstring('drop *'),
0143     splitLevel = cms.untracked.int32(0),
0144     eventAutoFlushCompressedSize=cms.untracked.int32(5*1024*1024)
0145 )
0146 RAWSIMEventContent.outputCommands.extend(RAWEventContent.outputCommands)
0147 RAWSIMEventContent.outputCommands.extend(SimG4CoreRAW.outputCommands)
0148 RAWSIMEventContent.outputCommands.extend(SimTrackerRAW.outputCommands)
0149 RAWSIMEventContent.outputCommands.extend(SimMuonRAW.outputCommands)
0150 RAWSIMEventContent.outputCommands.extend(SimCalorimetryRAW.outputCommands)
0151 RAWSIMEventContent.outputCommands.extend(SimGeneralRAW.outputCommands)
0152 RAWSIMEventContent.outputCommands.extend(GeneratorInterfaceRAW.outputCommands)
0153 RAWSIMEventContent.outputCommands.extend(RecoGenJetsFEVT.outputCommands)
0154 RAWSIMEventContent.outputCommands.extend(RecoGenMETFEVT.outputCommands)
0155 RAWSIMEventContent.outputCommands.extend(DigiToRawFEVT.outputCommands)
0156 RAWSIMEventContent.outputCommands.extend(MEtoEDMConverterFEVT.outputCommands)
0157 RAWSIMEventContent.outputCommands.extend(IOMCRAW.outputCommands)
0158 
0159 #
0160 # Temporary collections needed for Phase-2 RECO using RAWSIM as input in Prod-like workflow
0161 # They are until packer/unpackers are done.
0162 #
0163 from Configuration.Eras.Modifier_phase2_common_cff import phase2_common
0164 phase2_common.toModify(RAWSIMEventContent,
0165     outputCommands = RAWSIMEventContent.outputCommands+[
0166         'keep *_sim*Digis_*_*',
0167         'keep *Phase2TrackerDigi*_*_*_*'])
0168 
0169 #
0170 #
0171 # RECOSIM Data Tier definition
0172 #
0173 #
0174 RECOSIMEventContent = cms.PSet(
0175     outputCommands = cms.untracked.vstring('drop *',
0176         'keep *_logErrorHarvester_*_*'),
0177     splitLevel = cms.untracked.int32(0),
0178     eventAutoFlushCompressedSize=cms.untracked.int32(5*1024*1024)
0179 )
0180 RECOSIMEventContent.outputCommands.extend(RECOEventContent.outputCommands)
0181 RECOSIMEventContent.outputCommands.extend(GeneratorInterfaceRECO.outputCommands)
0182 RECOSIMEventContent.outputCommands.extend(SimG4CoreRECO.outputCommands)
0183 RECOSIMEventContent.outputCommands.extend(SimTrackerRECO.outputCommands)
0184 RECOSIMEventContent.outputCommands.extend(SimMuonRECO.outputCommands)
0185 RECOSIMEventContent.outputCommands.extend(SimCalorimetryRECO.outputCommands)
0186 RECOSIMEventContent.outputCommands.extend(RecoGenMETRECO.outputCommands)
0187 RECOSIMEventContent.outputCommands.extend(RecoGenJetsRECO.outputCommands)
0188 RECOSIMEventContent.outputCommands.extend(SimGeneralRECO.outputCommands)
0189 #
0190 # FEVT Data Tier definition
0191 #
0192 #
0193 #FEVT is by definition RECO + RAW
0194 FEVTEventContent = cms.PSet(
0195     outputCommands = cms.untracked.vstring('drop *',
0196         'keep *_logErrorHarvester_*_*'),
0197     splitLevel = cms.untracked.int32(0),
0198     eventAutoFlushCompressedSize=cms.untracked.int32(5*1024*1024)
0199 )
0200 FEVTEventContent.outputCommands.extend(RAWEventContent.outputCommands)  
0201 FEVTEventContent.outputCommands.extend(RecoLocalTrackerRECO.outputCommands)
0202 FEVTEventContent.outputCommands.extend(RecoLocalMuonRECO.outputCommands)    
0203 FEVTEventContent.outputCommands.extend(RecoLocalCaloRECO.outputCommands)    
0204 FEVTEventContent.outputCommands.extend(RecoEcalRECO.outputCommands) 
0205 FEVTEventContent.outputCommands.extend(RecoEgammaRECO.outputCommands)   
0206 FEVTEventContent.outputCommands.extend(RecoTrackerRECO.outputCommands)  
0207 FEVTEventContent.outputCommands.extend(RecoJetsRECO.outputCommands) 
0208 FEVTEventContent.outputCommands.extend(RecoMETRECO.outputCommands)  
0209 FEVTEventContent.outputCommands.extend(RecoMuonRECO.outputCommands) 
0210 FEVTEventContent.outputCommands.extend(BeamSpotRECO.outputCommands) 
0211 FEVTEventContent.outputCommands.extend(RecoVertexRECO.outputCommands)   
0212 FEVTEventContent.outputCommands.extend(L1TriggerRECO.outputCommands)    
0213 FEVTEventContent.outputCommands.extend(HLTriggerRECO.outputCommands)    
0214 FEVTEventContent.outputCommands.extend(MEtoEDMConverterRECO.outputCommands) 
0215 FEVTEventContent.outputCommands.extend(EvtScalersRECO.outputCommands)   
0216 FEVTEventContent.outputCommands.extend(OnlineMetaDataContent.outputCommands)    
0217 FEVTEventContent.outputCommands.extend(TcdsEventContent.outputCommands) 
0218 
0219 phase2_tracker.toModify(FEVTEventContent, 
0220     outputCommands = FEVTEventContent.outputCommands + [
0221         'keep Phase2TrackerDigiedmDetSetVector_mix_*_*',
0222         'keep *_TTClustersFromPhase2TrackerDigis_*_*',
0223         'keep *_TTStubsFromPhase2TrackerDigis_*_*',
0224         'keep *_TrackerDTC_*_*',
0225         'keep *_*_Level1TTTracks_*'])
0226 
0227 #replace FEVTEventContent.outputCommands += HLTriggerFEVT.outputCommands 
0228 FEVTHLTALLEventContent = cms.PSet(
0229     outputCommands = cms.untracked.vstring('drop *'),
0230     splitLevel = cms.untracked.int32(0),
0231     eventAutoFlushCompressedSize=cms.untracked.int32(5*1024*1024)
0232 )
0233 FEVTHLTALLEventContent.outputCommands.extend(FEVTEventContent.outputCommands)
0234 FEVTHLTALLEventContent.outputCommands.append('keep *_*_*_HLT')
0235 #
0236 # FEVTSIM Data Tier definition
0237 #
0238 #
0239 FEVTSIMEventContent = cms.PSet(
0240     outputCommands = cms.untracked.vstring('drop *',
0241         'keep *_logErrorHarvester_*_*'),
0242     splitLevel = cms.untracked.int32(0),
0243     eventAutoFlushCompressedSize=cms.untracked.int32(5*1024*1024)
0244 )
0245 FEVTSIMEventContent.outputCommands.extend(FEVTEventContent.outputCommands)
0246 FEVTSIMEventContent.outputCommands.extend(SimG4CoreRAW.outputCommands)
0247 FEVTSIMEventContent.outputCommands.extend(SimTrackerRAW.outputCommands) 
0248 FEVTSIMEventContent.outputCommands.extend(SimMuonRAW.outputCommands)    
0249 FEVTSIMEventContent.outputCommands.extend(SimCalorimetryRAW.outputCommands) 
0250 FEVTSIMEventContent.outputCommands.extend(SimGeneralRAW.outputCommands) 
0251 FEVTSIMEventContent.outputCommands.extend(GeneratorInterfaceRAW.outputCommands) 
0252 FEVTSIMEventContent.outputCommands.extend(RecoGenJetsFEVT.outputCommands)   
0253 FEVTSIMEventContent.outputCommands.extend(RecoGenMETFEVT.outputCommands)    
0254 FEVTSIMEventContent.outputCommands.extend(DigiToRawFEVT.outputCommands) 
0255 FEVTSIMEventContent.outputCommands.extend(MEtoEDMConverterFEVT.outputCommands)  
0256 FEVTSIMEventContent.outputCommands.extend(IOMCRAW.outputCommands)   
0257 FEVTSIMEventContent.outputCommands.extend(GeneratorInterfaceRECO.outputCommands)    
0258 FEVTSIMEventContent.outputCommands.extend(RecoGenMETRECO.outputCommands)    
0259 FEVTSIMEventContent.outputCommands.extend(RecoGenJetsRECO.outputCommands)   
0260 FEVTSIMEventContent.outputCommands.extend(SimG4CoreRECO.outputCommands) 
0261 FEVTSIMEventContent.outputCommands.extend(SimTrackerRECO.outputCommands)    
0262 FEVTSIMEventContent.outputCommands.extend(SimMuonRECO.outputCommands)   
0263 FEVTSIMEventContent.outputCommands.extend(SimCalorimetryRECO.outputCommands)    
0264 FEVTSIMEventContent.outputCommands.extend(SimGeneralRECO.outputCommands)
0265 #
0266 #
0267 # FEVTDEBUG Data Tier definition
0268 #
0269 #
0270 FEVTDEBUGEventContent = cms.PSet(
0271    outputCommands = cms.untracked.vstring('drop *',
0272        'keep *_logErrorHarvester_*_*'),
0273    splitLevel = cms.untracked.int32(0),
0274    eventAutoFlushCompressedSize=cms.untracked.int32(5*1024*1024)
0275 )
0276 FEVTDEBUGEventContent.outputCommands.extend(FEVTSIMEventContent.outputCommands)
0277 FEVTDEBUGEventContent.outputCommands.extend(L1TriggerFEVTDEBUG.outputCommands)
0278 FEVTDEBUGEventContent.outputCommands.extend(SimGeneralFEVTDEBUG.outputCommands)
0279 FEVTDEBUGEventContent.outputCommands.extend(SimTrackerFEVTDEBUG.outputCommands)
0280 FEVTDEBUGEventContent.outputCommands.extend(SimMuonFEVTDEBUG.outputCommands)
0281 FEVTDEBUGEventContent.outputCommands.extend(SimCalorimetryFEVTDEBUG.outputCommands)
0282 #
0283 #
0284 # ALCARECO Data Tier definition
0285 #
0286 #