ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/HbbAnalysis/python/skimPAT_cff.py
Revision: 1.1
Committed: Wed Apr 15 12:03:00 2009 UTC (16 years ago) by amagnan
Content type: text/x-python
Branch: MAIN
Log Message:
add python configuration files

File Contents

# User Rev Content
1 amagnan 1.1 import FWCore.ParameterSet.Config as cms
2    
3     #---------------------------------------------------------------
4     # produce tcMET and JPT jet collections
5     #---------------------------------------------------------------
6    
7     #produce tcMET
8     # load muon corrections for !MET module
9     from JetMETCorrections.Type1MET.MetMuonCorrections_cff import *
10     # load track-corrected MET module
11     from RecoMET.METProducers.TCMET_cfi import *
12    
13    
14     #change corrections for CaloJets to correct ones:
15     from UserCode.HbbAnalysis.producePatLayer1_cff import *
16    
17     from JetMETCorrections.Configuration.JetPlusTrackCorrections_cff import *
18     from JetMETCorrections.Configuration.ZSPJetCorrections219_cff import *
19    
20     from RecoJets.Configuration.GenJetParticles_cff import *
21     genParticlesForJets.ignoreParticleIDs = cms.vuint32(
22     1000022, 2000012, 2000014,
23     2000016, 1000039, 5000039,
24     4000012, 9900012, 9900014,
25     9900016, 39, 12, 14, 16
26     )
27    
28     from RecoJets.JetProducers.iterativeCone5GenJets_cff import iterativeCone5GenJets
29     iterativeCone5GenJetsNoNuBSM = iterativeCone5GenJets
30    
31    
32    
33     #--------------------------------------------------------------------------
34     # Common Paths
35     #--------------------------------------------------------------------------
36    
37     pJPTcor = cms.Sequence( ZSPJetCorrections
38     *JetPlusTrackCorrections)
39    
40     pgenjets = cms.Sequence( genParticlesForJets
41     *iterativeCone5GenJetsNoNuBSM
42     )
43    
44     # run sequence of muon+track MET corrections
45     ptcmet = cms.Sequence( MetMuonCorrections
46     *tcMet
47     )
48    
49    
50    
51     ppat = cms.Sequence( producePatLayer1ForTauAnalyses )
52    
53     commonPath = cms.Sequence ( pJPTcor
54     *pgenjets
55     *ptcmet
56     *ppat
57     )
58    
59    
60     #--------------------------------------------------------------------------
61     # Skimming Paths
62     # keep event in case it passed either the muon + pfTau or muon + caloTau selection
63     # or e + pfTau or e + caloTau or e + e or mu + mu
64     #--------------------------------------------------------------------------------
65    
66     from UserCode.HbbAnalysis.objectSelectors_cfi import *
67    
68     muPFTauSkimSequence = cms.Sequence(
69     (selectedPFTaus + selectedMuons)
70     *muPFTauPairs
71     *selectedMuPFTauPairs
72     *commonPath
73     )
74    
75     muCaloTauSkimSequence = cms.Sequence(
76     (selectedCaloTaus + selectedMuons)
77     *muCaloTauPairs
78     *selectedMuCaloTauPairs
79     *commonPath
80     )
81    
82    
83     elecPFTauSkimSequence = cms.Sequence(
84     (selectedPFTaus + selectedElectrons)
85     *selectedElectronHLT
86     *elecPFTauPairs
87     *selectedElecPFTauPairs
88     *commonPath
89     )
90    
91     elecCaloTauSkimSequence = cms.Sequence(
92     (selectedCaloTaus + selectedElectrons)
93     *selectedElectronHLT
94     *elecCaloTauPairs
95     *selectedElecCaloTauPairs
96     *commonPath
97     )
98    
99    
100     mumuSkimSequence = cms.Sequence(
101     selectedMuons
102     *mumuPairs
103     *selectedMuMuPairs
104     *commonPath
105     )
106    
107     eeSkimSequence = cms.Sequence(
108     selectedElectrons
109     *selectedElectronHLT
110     *eePairs
111     *selectedeePairs
112     *commonPath
113     )
114    
115