CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
patEventContent_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 patEventContentNoCleaning = [
4  'keep *_selectedPatPhotons*_*_*',
5  'keep *_selectedPatElectrons*_*_*',
6  'keep *_selectedPatMuons*_*_*',
7  'keep *_selectedPatTaus*_*_*',
8  'keep *_selectedPatJets*_*_*',
9  'drop *_*PF_caloTowers_*',
10  'drop *_*JPT_pfCandidates_*',
11  'drop *_*Calo_pfCandidates_*',
12  'keep *_patMETs*_*_*',
13  'keep *_selectedPatPFParticles*_*_*',
14  'keep *_selectedPatTrackCands*_*_*'
15 ]
16 
17 patEventContent = [
18  'keep *_selectedPatJets*_*_*', ## keep refactorized pat jet elements
19  'drop patJets_selectedPatJets*_*_*', ## drop the actual selected pat jets, they're redundant
20  'drop *_selectedPatJets_pfCandidates_*', ## drop for default patJets which are CaloJets
21  'drop *_*PF_caloTowers_*', ## drop collections not needed for the corresponding jet types
22  'drop *_*JPT_pfCandidates_*', ## drop collections not needed for the corresponding jet types
23  'drop *_*Calo_pfCandidates_*', ## drop collections not needed for the corresponding jet types
24  'keep *_cleanPatPhotons*_*_*',
25  'keep *_cleanPatElectrons*_*_*',
26  'keep *_cleanPatMuons*_*_*',
27  'keep *_cleanPatTaus*_*_*',
28  'keep *_cleanPatJets*_*_*',
29  'keep *_patMETs*_*_*',
30  'keep *_cleanPatHemispheres*_*_*',
31  'keep *_cleanPatPFParticles*_*_*',
32  'keep *_cleanPatTrackCands*_*_*'
33 ]
34 
35 patExtraAodEventContent = [
36  # GEN
37  'keep recoGenParticles_genParticles*_*_*',
38  'keep GenEventInfoProduct_*_*_*',
39  'keep GenRunInfoProduct_*_*_*',
40  # RECO
41  'keep recoTracks_generalTracks*_*_*',
42  'keep *_towerMaker_*_*',
43  'keep *_offlineBeamSpot_*_*',
44  'keep *_offlinePrimaryVertices*_*_*',
45  # TRIGGER
46  'keep edmTriggerResults_TriggerResults*_*_*',
47  'keep *_hltTriggerSummaryAOD_*_*',
48  'keep L1GlobalTriggerReadoutRecord_gtDigis_*_*',
49  # COND
50  'keep edmConditionsIn*Block_conditionsInEdm_*_*'
51 ]
52 
53 patTriggerEventContent = [
54  'keep patTriggerAlgorithms_patTrigger_*_*',
55  'keep patTriggerConditions_patTrigger_*_*',
56  'keep patTriggerObjects_patTrigger_*_*',
57  'keep patTriggerFilters_patTrigger_*_*',
58  'keep patTriggerPaths_patTrigger_*_*',
59  'keep *_patTriggerEvent_*_*'
60 ]
61 patTriggerStandAloneEventContent = [
62  'keep patTriggerObjectStandAlones_patTrigger_*_*',
63  'keep patTriggerObjectStandAlonesedmAssociation_*_*_*'
64 ]
65 patTriggerL1RefsEventContent = [
66  'keep *_l1extraParticles_*_*',
67  'keep *_gctDigis_*_*'
68 ]
69 
70 patEventContentTriggerMatch = [
71  'keep *_*PatPhotons*TriggerMatch_*_*',
72  'keep *_*PatElectrons*TriggerMatch_*_*',
73  'keep *_*PatMuons*TriggerMatch_*_*',
74  'keep *_*PatTaus*TriggerMatch_*_*',
75  'keep *_*PatJets*TriggerMatch_*_*',
76  'keep *_patMETs*TriggerMatch_*_*'
77 ]
78 
79 patHiEventContent = [
80  'keep patPhotons_selected*_*_*',
81  'keep patMuons_selected*_*_*',
82  'keep patJets_selected*_*_*',
83  'keep patHeavyIon_heavyIon_*_*'
84 ]
85 
86 patHiExtraAodEventContent = [
87  'keep recoGenParticles_hiGenParticles*_*_*',
88  'keep recoGenJets_iterativeCone5HiGenJets*_*_*', # until a better solution
89  'keep recoTracks_hiSelectedTracks*_*_*'
90 ]