Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-02-09 00:44:52

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 "RecoPixelVertexing/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 #
0136 #
0137 # RAWSIM Data Tier definition
0138 #
0139 #
0140 RAWSIMEventContent = cms.PSet(
0141     outputCommands = cms.untracked.vstring('drop *'),
0142     splitLevel = cms.untracked.int32(0),
0143     eventAutoFlushCompressedSize=cms.untracked.int32(5*1024*1024)
0144 )
0145 RAWSIMEventContent.outputCommands.extend(RAWEventContent.outputCommands)
0146 RAWSIMEventContent.outputCommands.extend(SimG4CoreRAW.outputCommands)
0147 RAWSIMEventContent.outputCommands.extend(SimTrackerRAW.outputCommands)
0148 RAWSIMEventContent.outputCommands.extend(SimMuonRAW.outputCommands)
0149 RAWSIMEventContent.outputCommands.extend(SimCalorimetryRAW.outputCommands)
0150 RAWSIMEventContent.outputCommands.extend(SimGeneralRAW.outputCommands)
0151 RAWSIMEventContent.outputCommands.extend(GeneratorInterfaceRAW.outputCommands)
0152 RAWSIMEventContent.outputCommands.extend(RecoGenJetsFEVT.outputCommands)
0153 RAWSIMEventContent.outputCommands.extend(RecoGenMETFEVT.outputCommands)
0154 RAWSIMEventContent.outputCommands.extend(DigiToRawFEVT.outputCommands)
0155 RAWSIMEventContent.outputCommands.extend(MEtoEDMConverterFEVT.outputCommands)
0156 RAWSIMEventContent.outputCommands.extend(IOMCRAW.outputCommands)
0157 #
0158 #
0159 # RECOSIM Data Tier definition
0160 #
0161 #
0162 RECOSIMEventContent = cms.PSet(
0163     outputCommands = cms.untracked.vstring('drop *',
0164         'keep *_logErrorHarvester_*_*'),
0165     splitLevel = cms.untracked.int32(0),
0166     eventAutoFlushCompressedSize=cms.untracked.int32(5*1024*1024)
0167 )
0168 RECOSIMEventContent.outputCommands.extend(RECOEventContent.outputCommands)
0169 RECOSIMEventContent.outputCommands.extend(GeneratorInterfaceRECO.outputCommands)
0170 RECOSIMEventContent.outputCommands.extend(SimG4CoreRECO.outputCommands)
0171 RECOSIMEventContent.outputCommands.extend(SimTrackerRECO.outputCommands)
0172 RECOSIMEventContent.outputCommands.extend(SimMuonRECO.outputCommands)
0173 RECOSIMEventContent.outputCommands.extend(SimCalorimetryRECO.outputCommands)
0174 RECOSIMEventContent.outputCommands.extend(RecoGenMETRECO.outputCommands)
0175 RECOSIMEventContent.outputCommands.extend(RecoGenJetsRECO.outputCommands)
0176 RECOSIMEventContent.outputCommands.extend(SimGeneralRECO.outputCommands)
0177 #
0178 # FEVT Data Tier definition
0179 #
0180 #
0181 #FEVT is by definition RECO + RAW
0182 FEVTEventContent = cms.PSet(
0183     outputCommands = cms.untracked.vstring('drop *',
0184         'keep *_logErrorHarvester_*_*'),
0185     splitLevel = cms.untracked.int32(0),
0186     eventAutoFlushCompressedSize=cms.untracked.int32(5*1024*1024)
0187 )
0188 FEVTEventContent.outputCommands.extend(RAWEventContent.outputCommands)  
0189 FEVTEventContent.outputCommands.extend(RecoLocalTrackerRECO.outputCommands)
0190 FEVTEventContent.outputCommands.extend(RecoLocalMuonRECO.outputCommands)    
0191 FEVTEventContent.outputCommands.extend(RecoLocalCaloRECO.outputCommands)    
0192 FEVTEventContent.outputCommands.extend(RecoEcalRECO.outputCommands) 
0193 FEVTEventContent.outputCommands.extend(RecoEgammaRECO.outputCommands)   
0194 FEVTEventContent.outputCommands.extend(RecoTrackerRECO.outputCommands)  
0195 FEVTEventContent.outputCommands.extend(RecoJetsRECO.outputCommands) 
0196 FEVTEventContent.outputCommands.extend(RecoMETRECO.outputCommands)  
0197 FEVTEventContent.outputCommands.extend(RecoMuonRECO.outputCommands) 
0198 FEVTEventContent.outputCommands.extend(BeamSpotRECO.outputCommands) 
0199 FEVTEventContent.outputCommands.extend(RecoVertexRECO.outputCommands)   
0200 FEVTEventContent.outputCommands.extend(L1TriggerRECO.outputCommands)    
0201 FEVTEventContent.outputCommands.extend(HLTriggerRECO.outputCommands)    
0202 FEVTEventContent.outputCommands.extend(MEtoEDMConverterRECO.outputCommands) 
0203 FEVTEventContent.outputCommands.extend(EvtScalersRECO.outputCommands)   
0204 FEVTEventContent.outputCommands.extend(OnlineMetaDataContent.outputCommands)    
0205 FEVTEventContent.outputCommands.extend(TcdsEventContent.outputCommands) 
0206 
0207 #replace FEVTEventContent.outputCommands += HLTriggerFEVT.outputCommands 
0208 FEVTHLTALLEventContent = cms.PSet(
0209     outputCommands = cms.untracked.vstring('drop *'),
0210     splitLevel = cms.untracked.int32(0),
0211     eventAutoFlushCompressedSize=cms.untracked.int32(5*1024*1024)
0212 )
0213 FEVTHLTALLEventContent.outputCommands.extend(FEVTEventContent.outputCommands)
0214 FEVTHLTALLEventContent.outputCommands.append('keep *_*_*_HLT')
0215 #
0216 # FEVTSIM Data Tier definition
0217 #
0218 #
0219 FEVTSIMEventContent = cms.PSet(
0220     outputCommands = cms.untracked.vstring('drop *',
0221         'keep *_logErrorHarvester_*_*'),
0222     splitLevel = cms.untracked.int32(0),
0223     eventAutoFlushCompressedSize=cms.untracked.int32(5*1024*1024)
0224 )
0225 FEVTSIMEventContent.outputCommands.extend(FEVTEventContent.outputCommands)
0226 FEVTSIMEventContent.outputCommands.extend(SimG4CoreRAW.outputCommands)
0227 FEVTSIMEventContent.outputCommands.extend(SimTrackerRAW.outputCommands) 
0228 FEVTSIMEventContent.outputCommands.extend(SimMuonRAW.outputCommands)    
0229 FEVTSIMEventContent.outputCommands.extend(SimCalorimetryRAW.outputCommands) 
0230 FEVTSIMEventContent.outputCommands.extend(SimGeneralRAW.outputCommands) 
0231 FEVTSIMEventContent.outputCommands.extend(GeneratorInterfaceRAW.outputCommands) 
0232 FEVTSIMEventContent.outputCommands.extend(RecoGenJetsFEVT.outputCommands)   
0233 FEVTSIMEventContent.outputCommands.extend(RecoGenMETFEVT.outputCommands)    
0234 FEVTSIMEventContent.outputCommands.extend(DigiToRawFEVT.outputCommands) 
0235 FEVTSIMEventContent.outputCommands.extend(MEtoEDMConverterFEVT.outputCommands)  
0236 FEVTSIMEventContent.outputCommands.extend(IOMCRAW.outputCommands)   
0237 FEVTSIMEventContent.outputCommands.extend(GeneratorInterfaceRECO.outputCommands)    
0238 FEVTSIMEventContent.outputCommands.extend(RecoGenMETRECO.outputCommands)    
0239 FEVTSIMEventContent.outputCommands.extend(RecoGenJetsRECO.outputCommands)   
0240 FEVTSIMEventContent.outputCommands.extend(SimG4CoreRECO.outputCommands) 
0241 FEVTSIMEventContent.outputCommands.extend(SimTrackerRECO.outputCommands)    
0242 FEVTSIMEventContent.outputCommands.extend(SimMuonRECO.outputCommands)   
0243 FEVTSIMEventContent.outputCommands.extend(SimCalorimetryRECO.outputCommands)    
0244 FEVTSIMEventContent.outputCommands.extend(SimGeneralRECO.outputCommands)
0245 #
0246 #
0247 # FEVTDEBUG Data Tier definition
0248 #
0249 #
0250 FEVTDEBUGEventContent = cms.PSet(
0251    outputCommands = cms.untracked.vstring('drop *',
0252        'keep *_logErrorHarvester_*_*'),
0253    splitLevel = cms.untracked.int32(0),
0254    eventAutoFlushCompressedSize=cms.untracked.int32(5*1024*1024)
0255 )
0256 FEVTDEBUGEventContent.outputCommands.extend(FEVTSIMEventContent.outputCommands)
0257 FEVTDEBUGEventContent.outputCommands.extend(L1TriggerFEVTDEBUG.outputCommands)
0258 FEVTDEBUGEventContent.outputCommands.extend(SimGeneralFEVTDEBUG.outputCommands)
0259 FEVTDEBUGEventContent.outputCommands.extend(SimTrackerFEVTDEBUG.outputCommands)
0260 FEVTDEBUGEventContent.outputCommands.extend(SimMuonFEVTDEBUG.outputCommands)
0261 FEVTDEBUGEventContent.outputCommands.extend(SimCalorimetryFEVTDEBUG.outputCommands)
0262 #
0263 #
0264 # ALCARECO Data Tier definition
0265 #
0266 #