Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:48:04

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 # output block for alcastream HCAL Min Bias
0004 # output module 
0005 #  module alcastreamHcalMinbiasOutput = PoolOutputModule
0006 
0007 OutALCARECOHcalCalMinBias_noDrop = cms.PSet(
0008     SelectEvents = cms.untracked.PSet(
0009         SelectEvents = cms.vstring('pathALCARECOHcalCalMinBias')
0010     ),
0011     outputCommands = cms.untracked.vstring(
0012         'keep *_hltTriggerSummaryAOD_*_*',
0013         'keep *_TriggerResults_*_*',
0014         'keep HcalNoiseSummary_hcalnoise_*_*',
0015         'keep HBHERecHitsSorted_hbherecoMBNZS_*_*',
0016         'keep HORecHitsSorted_horecoMBNZS_*_*',
0017         'keep HFRecHitsSorted_hfrecoMBNZS_*_*',
0018         'keep HBHERecHitsSorted_hbherecoNoise_*_*',
0019         'keep HORecHitsSorted_horecoNoise_*_*',
0020         'keep HFRecHitsSorted_hfrecoNoise_*_*')
0021 )
0022 
0023 import copy
0024 OutALCARECOHcalCalMinBias=copy.deepcopy(OutALCARECOHcalCalMinBias_noDrop)
0025 OutALCARECOHcalCalMinBias.outputCommands.insert(0, "drop *")
0026 
0027 ## customizations for the pp_on_AA eras
0028 from Configuration.ProcessModifiers.pp_on_AA_cff import pp_on_AA
0029 OutALCARECOHcalCalMinBiasHI = copy.deepcopy(OutALCARECOHcalCalMinBias_noDrop)
0030 OutALCARECOHcalCalMinBiasHI.outputCommands.insert(0, "drop *")
0031 OutALCARECOHcalCalMinBiasHI.outputCommands.insert(6, "keep HFRecHitsSorted_hfreco_*_*")
0032 
0033 #Specify to use HI output for the pp_on_AA 
0034 pp_on_AA.toReplaceWith(OutALCARECOHcalCalMinBias,OutALCARECOHcalCalMinBiasHI)