ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/HbbAnalysis/python/pfMetConfig_cff.py
(Generate patch)

Comparing UserCode/HbbAnalysis/python/pfMetConfig_cff.py (file contents):
Revision 1.1 by amagnan, Wed Apr 15 12:03:00 2009 UTC vs.
Revision 1.2 by amagnan, Tue Feb 9 14:52:24 2010 UTC

# Line 9 | Line 9 | import copy
9  
10   from UserCode.HbbAnalysis.metConfig_cff import *
11  
12 ######################################################################################
13 ####    PAT layer 0
14 ######################################################################################
15
16 allLayer0pfMETsForTauAnalyses = cms.EDFilter("PATBaseMETCleaner",
17    ## Input MET from AOD
18    metSource = cms.InputTag('pfMet'), ## met corrected for jets and for muons
19    markItems = cms.bool(True),    ## write the status flags in the output items
20    bitsToIgnore = cms.vstring(),  ## You can specify some bit names, e.g. "Overflow/User1", "Core/Duplicate", "Isolation/All".
21    saveRejected = cms.string(''), ## set this to a non empty label to save the list of items which fail
22    saveAll = cms.string(''),      ## set this to a non empty label to save a list of all items both passing and failing
23 )
24
25
26 ######################################################################################
27 ####    PAT layer 1
28 ######################################################################################
29
30 from PhysicsTools.PatAlgos.producersLayer1.metProducer_cff import *
31
32 allLayer1pfMETsForTauAnalyses = copy.deepcopy(allLayer1METsForTauAnalyses)
33 allLayer1pfMETsForTauAnalyses.metSource  = cms.InputTag("allLayer0pfMETsForTauAnalyses")
34
35 allLayer1pfMETsForTauAnalyses.addMuonCorrections = cms.bool(False)
36 #allLayer1pfMETsForTauAnalyses.muonSource         = cms.InputTag("muons") ## muon input source for corrections
37
38 allLayer1pfMETsForTauAnalyses.addTrigMatch  = cms.bool(False)
39 #allLayer1pfMETsForTauAnalyses.trigPrimMatch = cms.VInputTag(cms.InputTag("metTrigMatchHLT1MET65"))
40
41 allLayer1pfMETsForTauAnalyses.addGenMET    = cms.bool(True)
42 allLayer1pfMETsForTauAnalyses.genMETSource = cms.InputTag("genMet") ## GenMET source to be used for the matching
43
44 ######################################################################################
45 ####    Final PAT sequences
46 ######################################################################################
47
48 patpfMetForTauAnalyses = cms.Sequence( #patAODJetMETCorrectionsForTauAnalyses
49                                       allLayer0pfMETsForTauAnalyses
50                                       *allLayer1pfMETsForTauAnalyses
51                                       )

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines