CMS 3D CMS Logo

ALCARECOHcalCalMinBias_Output_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # output block for alcastream HCAL Min Bias
4 # output module
5 # module alcastreamHcalMinbiasOutput = PoolOutputModule
6 
7 OutALCARECOHcalCalMinBias_noDrop = cms.PSet(
8  SelectEvents = cms.untracked.PSet(
9  SelectEvents = cms.vstring('pathALCARECOHcalCalMinBias')
10  ),
11  outputCommands = cms.untracked.vstring(
12  'keep *_hltTriggerSummaryAOD_*_*',
13  'keep *_TriggerResults_*_*',
14  'keep HcalNoiseSummary_hcalnoise_*_*',
15  'keep HBHERecHitsSorted_hbherecoMBNZS_*_*',
16  'keep HORecHitsSorted_horecoMBNZS_*_*',
17  'keep HFRecHitsSorted_hfrecoMBNZS_*_*',
18  'keep HBHERecHitsSorted_hbherecoNoise_*_*',
19  'keep HORecHitsSorted_horecoNoise_*_*',
20  'keep HFRecHitsSorted_hfrecoNoise_*_*')
21 )
22 
23 import copy
24 OutALCARECOHcalCalMinBias=copy.deepcopy(OutALCARECOHcalCalMinBias_noDrop)
25 OutALCARECOHcalCalMinBias.outputCommands.insert(0, "drop *")
26 
27 
28 from Configuration.ProcessModifiers.pp_on_AA_cff import pp_on_AA
29 OutALCARECOHcalCalMinBiasHI = copy.deepcopy(OutALCARECOHcalCalMinBias_noDrop)
30 OutALCARECOHcalCalMinBiasHI.outputCommands.insert(0, "drop *")
31 OutALCARECOHcalCalMinBiasHI.outputCommands.insert(6, "keep HFRecHitsSorted_hfreco_*_*")
32 
33 #Specify to use HI output for the pp_on_AA
34 pp_on_AA.toReplaceWith(OutALCARECOHcalCalMinBias,OutALCARECOHcalCalMinBiasHI)