CMS 3D CMS Logo

ALCARECOEcalCalIsolElectron_Output_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # output block for alcastream Electron
4 OutALCARECOEcalCalElectron_specific = cms.untracked.vstring(
5  'drop reco*Clusters_hfEMClusters_*_*',
6  'drop reco*Clusters_pfPhotonTranslator_*_*',
7  'drop *EcalRecHit*_ecalRecHit_*_*',
8  'drop *EcalrecHit*_*ecalPreshowerRecHit*_*EcalRecHitsES*_*',
9  'drop *EcalRecHit*_reducedEcalRecHitsE*_*_*',
10  'drop *_*Unclean*_*_*',
11  'drop *_*unclean*_*_*',
12  'drop *_*_*Unclean*_*',
13  'drop *_*_*unclean*_*',
14  'drop *CaloCluster*_*particleFlowEGamma*_*EBEEClusters*_*',
15  'drop *CaloCluster*_*particleFlowEGamma*_*ESClusters*_*',
16 # 'keep *CaloCluster*_*alCaIsolatedElectrons*_*alcaCaloCluster*_*'
17  'keep *CaloCluster*_alCaIsolatedElectrons_*alcaCaloCluster*_*'
18 )
19 
20 OutALCARECOEcalCalElectron_noDrop = cms.PSet(
21  # put this if you have a filter
22  SelectEvents = cms.untracked.PSet(
23  SelectEvents = cms.vstring('pathALCARECOEcalCalZElectron', 'pathALCARECOEcalCalWElectron', 'pathALCARECOEcalCalZSCElectron')
24  ),
25  outputCommands = cms.untracked.vstring(
26  'keep *_pfMet_*_*', # met for Wenu selection
27  'keep *_kt6PFJetsForRhoCorrection_rho_*', #rho for effective area subtraction
28  'keep *_kt6PFJets_rho_*', #rho for effective area subtraction
29  #'keep recoVertexs_offlinePrimaryVertices*_*_*',
30  'keep recoVertexs_offlinePrimaryVertices_*_*',
31  'keep recoVertexs_offlinePrimaryVerticesWithBS_*_*',
32  'keep *BeamSpot_offlineBeamSpot_*_*',
33  'keep *_allConversions_*_*',
34  'keep *_conversions_*_*',
35  #'keep *GsfTrack*_*_*_*',
36  'keep *GsfTrack*_electronGsfTracks_*_*',
37  'keep *GsfTrack*_uncleanedOnlyElectronGsfTracks_*_*',
38  'keep *_generator_*_*',
39  'keep *_addPileupInfo_*_*',
40  'keep *_genParticles_*_*',
41  'keep recoGsfElectron*_gsfElectron*_*_*',
42  #'keep recoGsfElectron*_gedGsfElectron*_*_*',
43  'keep recoGsfElectron*_gedGsfElectrons_*_*',
44  'keep recoGsfElectron*_gedGsfElectronsTmp_*_*',
45  'keep recoGsfElectron*_gedGsfElectronCores_*_*',
46  'keep recoPhoton*_gedPhoton_*_*',
47  #'keep recoCaloClusters_*_*_*',
48  'keep recoCaloClusters_hfEMClusters_*_*',
49  'keep recoCaloClusters_particleFlowEGamma_*_*',
50  'keep recoCaloClusters_alCaIsolatedElectrons_*_*',
51  'keep recoCaloClusters_cleanedHybridSuperClusters_*_*',
52  'keep recoCaloClusters_hybridSuperClusters_*_*',
53  'keep recoCaloClusters_uncleanedHybridSuperClusters_*_*',
54  'keep recoCaloClusters_multi5x5BasicClustersCleaned_*_*',
55  'keep recoCaloClusters_multi5x5BasicClustersUncleaned_*_*',
56  'keep recoCaloClusters_multi5x5SuperClusters_*_*',
57  'keep recoCaloClusters_particleFlowSuperClusterECAL_*_*',
58  #'keep recoSuperClusters_*_*_*',
59  'keep recoSuperClusters_SCselector_*_*',
60  'keep recoSuperClusters_cleanedHybridSuperClusters_*_*',
61  'keep recoSuperClusters_correctedHybridSuperClusters_*_*',
62  'keep recoSuperClusters_correctedMulti5x5SuperClustersWithPreshower_*_*',
63  'keep recoSuperClusters_hfEMClusters_*_*',
64  'keep recoSuperClusters_hybridSuperClusters_*_*',
65  'keep recoSuperClusters_mergedSuperClusters_*_*',
66  'keep recoSuperClusters_multi5x5SuperClustersWithPreshower_*_*',
67  'keep recoSuperClusters_particleFlowEGamma_*_*',
68  'keep recoSuperClusters_uncleanedHybridSuperClusters_*_*',
69  'keep recoSuperClusters_uncleanedOnlyCorrectedHybridSuperClusters_*_*',
70  'keep recoSuperClusters_uncleanedOnlyCorrectedMulti5x5SuperClustersWithPreshower_*_*',
71  'keep recoSuperClusters_uncleanedOnlyMulti5x5SuperClustersWithPreshower_*_*',
72  'keep recoSuperClusters_multi5x5SuperClustersCleaned_*_*',
73  'keep recoSuperClusters_multi5x5SuperClustersUncleaned_*_*',
74  'keep recoSuperClusters_multi5x5SuperClusters_*_*',
75  'keep recoSuperClusters_particleFlowSuperClusterECAL_*_*',
76  #'keep recoPreshowerCluster*_*_*_*',
77  'keep recoPreshowerCluster*_multi5x5SuperClustersWithPreshower_*_*',
78  'keep recoPreshowerCluster*_uncleanedOnlyMulti5x5SuperClustersWithPreshower_*_*',
79  'keep recoPreshowerCluster*_multi5x5PreshowerClusterShape_*_*',
80  'keep *_pfElectronTranslator_*_*',
81  #'keep *_*_*_HLT',
82  #'keep *_generalTracks_*_*',
83  #'keep reco*Track*Extra*_generalTracks_*_*',
84  'keep *_alcaElectronTracksReducer_*_*',
85  # for the trigger matching
86  'keep *_l1extraParticles_*_*',
87  'keep L1GlobalTriggerReadoutRecord_gtDigis_*_*',
88  'keep *_l1L1GtObjectMap_*_*',
89  'keep edmConditionsInEventBlock_conditionsInEdm_*_*',
90  'keep edmConditionsInLumiBlock_conditionsInEdm_*_*',
91  'keep edmConditionsInRunBlock_conditionsInEdm_*_*',
92  'keep *_TriggerResults_*_*',
93  'keep *_hltTriggerSummaryAOD_*_HLT',
94  # pfisolation CMSSW_5_3_X
95  'keep *EcalRecHit*_alCaIsolatedElectrons_*_*',
96  'keep *EcalRecHit*_reducedEcalRecHitsES_alCaRecHitsES_*',
97  )
98 )
99 
100 import copy
101 OutALCARECOEcalCalElectron=copy.deepcopy(OutALCARECOEcalCalElectron_noDrop)
102 OutALCARECOEcalCalElectron.outputCommands.insert(0, "drop *")
103 OutALCARECOEcalCalElectron.outputCommands+=OutALCARECOEcalCalElectron_specific
104 
105 OutALCARECOEcalCalWElectron=copy.deepcopy(OutALCARECOEcalCalElectron)
106 OutALCARECOEcalCalWElectron_noDrop=copy.deepcopy(OutALCARECOEcalCalElectron_noDrop)
107 OutALCARECOEcalCalWElectron.SelectEvents = cms.untracked.PSet(
108  SelectEvents = cms.vstring('pathALCARECOEcalCalWElectron') )
109 OutALCARECOEcalCalWElectron_noDrop.SelectEvents = cms.untracked.PSet(
110  SelectEvents = cms.vstring('pathALCARECOEcalCalWElectron') )
111 
112 
113 OutALCARECOEcalCalZElectron=copy.deepcopy(OutALCARECOEcalCalElectron)
114 OutALCARECOEcalCalZElectron_noDrop=copy.deepcopy(OutALCARECOEcalCalElectron_noDrop)
115 
116 OutALCARECOEcalCalZElectron.SelectEvents = cms.untracked.PSet(
117  SelectEvents = cms.vstring('pathALCARECOEcalCalZElectron', 'pathALCARECOEcalCalZSCElectron') )
118 OutALCARECOEcalCalZElectron_noDrop.SelectEvents = cms.untracked.PSet(
119  SelectEvents = cms.vstring('pathALCARECOEcalCalZElectron', 'pathALCARECOEcalCalZSCElectron') )
120 
121 
122