CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
RecoLocalCalo_EventContent_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
4 #
5 # start with HCAL part
6 #
7 #FEVT
8 RecoLocalCaloFEVT = cms.PSet(
9  outputCommands = cms.untracked.vstring('keep *_hbhereco_*_*',
10  'keep *_hbheprereco_*_*',
11  'keep *_hfreco_*_*',
12  'keep *_horeco_*_*',
13  'keep HBHERecHitsSorted_hbherecoMB_*_*',
14  'keep HBHERecHitsSorted_hbheprerecoMB_*_*',
15  'keep HORecHitsSorted_horecoMB_*_*',
16  'keep HFRecHitsSorted_hfrecoMB_*_*',
17  'keep ZDCDataFramesSorted_*Digis_*_*',
18  'keep ZDCRecHitsSorted_*_*_*',
19  'keep QIE10DataFrameHcalDataFrameContainer_hcalDigis_ZDC_*',
20  'keep *_reducedHcalRecHits_*_*',
21  'keep *_castorreco_*_*',
22  'keep HcalUnpackerReport_*_*_*'
23  )
24 )
25 #RECO content
26 RecoLocalCaloRECO = cms.PSet(
27  outputCommands = cms.untracked.vstring('keep *_hbhereco_*_*',
28  'keep *_hbheprereco_*_*',
29  'keep *_hfreco_*_*',
30  'keep *_horeco_*_*',
31  'keep HBHERecHitsSorted_hbherecoMB_*_*',
32  'keep HORecHitsSorted_horecoMB_*_*',
33  'keep HFRecHitsSorted_hfrecoMB_*_*',
34  #'keep ZDCDataFramesSorted_*Digis_*_*',
35  'keep ZDCDataFramesSorted_hcalDigis_*_*',
36  'keep ZDCDataFramesSorted_castorDigis_*_*',
37  'keep QIE10DataFrameHcalDataFrameContainer_hcalDigis_ZDC_*',
38  'keep ZDCRecHitsSorted_*_*_*',
39  'keep *_reducedHcalRecHits_*_*',
40  'keep *_castorreco_*_*',
41  #'keep HcalUnpackerReport_*_*_*'
42  'keep HcalUnpackerReport_castorDigis_*_*',
43  'keep HcalUnpackerReport_hcalDigiAlCaMB_*_*',
44  'keep HcalUnpackerReport_hcalDigis_*_*'
45  )
46 )
47 #AOD content
48 RecoLocalCaloAOD = cms.PSet(
49  outputCommands = cms.untracked.vstring(
50  'keep *_castorreco_*_*',
51  'keep *_reducedHcalRecHits_*_*',
52  #'keep HcalUnpackerReport_*_*_*'
53  'keep HcalUnpackerReport_castorDigis_*_*',
54  'keep HcalUnpackerReport_hcalDigiAlCaMB_*_*',
55  'keep HcalUnpackerReport_hcalDigis_*_*'
56  )
57 )
58 RecoLocalCaloFEVT.outputCommands.extend(ecalLocalRecoFEVT.outputCommands)
59 RecoLocalCaloRECO.outputCommands.extend(ecalLocalRecoRECO.outputCommands)
60 RecoLocalCaloAOD.outputCommands.extend(ecalLocalRecoAOD.outputCommands)
61 
62 from Configuration.StandardSequences.Eras import eras
63 eras.pA_2016.toModify( RecoLocalCaloAOD.outputCommands,
64  func=lambda outputCommands: outputCommands.extend(['keep *_zdcreco_*_*',
65  'keep ZDCDataFramesSorted_hcalDigis_*_*',
66  'keep ZDCDataFramesSorted_castorDigis_*_*',
67  'keep QIE10DataFrameHcalDataFrameContainer_hcalDigis_ZDC_*'
68  ])
69  )