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

Comparing UserCode/HbbAnalysis/python/genConfig_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 19 | Line 19 | genPhaseSpaceEventInfo = cms.EDProducer(
19    srcGenParticles = cms.InputTag('genParticles')
20   )
21  
22 < produceGenPhaseSpaceEventInfoForTauAnalyses = cms.Sequence(genPhaseSpaceEventInfo)
22 > produceGenPhaseSpaceEventInfo = cms.Sequence(genPhaseSpaceEventInfo)
23  
24   ####################################################################
25   #########tau genjets ###############################################
# Line 27 | Line 27 | produceGenPhaseSpaceEventInfoForTauAnaly
27  
28   from PhysicsTools.JetMCAlgos.TauGenJets_cfi import *
29  
30 < produceTauGenJetsForTauAnalyses = cms.Sequence( tauGenJets )
30 > produceTauGenJets = cms.Sequence( tauGenJets )
31  
32  
33   ####################################################################
# Line 35 | Line 35 | produceTauGenJetsForTauAnalyses = cms.Se
35   ####################################################################
36  
37   import RecoMET.Configuration.GenMETParticles_cff
38 < import RecoMET.METProducers.genMet_cfi
38 > import RecoMET.METProducers.genMetCalo_cfi
39  
40 < genCandidatesForMETWithMuForTauAnalyses = RecoMET.Configuration.GenMETParticles_cff.genCandidatesForMET.clone()
40 > genCandidatesForMETWithMu = RecoMET.Configuration.GenMETParticles_cff.genCandidatesForMET.clone()
41  
42 < genCandidatesForMETWithMuForTauAnalyses.ignoreParticleIDs = cms.vuint32(
42 > genCandidatesForMETWithMu.ignoreParticleIDs = cms.vuint32(
43      1000022, 2000012, 2000014,
44      2000016, 1000039, 5000039,
45      4000012, 9900012, 9900014,
46      9900016, 39, 18, 12, 14, 16)  ###These ID's will contribute to MET
47  
48 < genMETWithMuForTauAnalyses = RecoMET.METProducers.genMet_cfi.genMet.clone()
49 < genMETWithMuForTauAnalyses.src = cms.InputTag("genCandidatesForMETWithMuForTauAnalyses") ## Output MET type
50 < genMETWithMuForTauAnalyses.alias = cms.string('GenMETWithMu') ## Alias  for FWLite
48 > genMETWithMu = RecoMET.METProducers.genMetCalo_cfi.genMetCalo.clone()
49 > genMETWithMu.src = cms.InputTag("genCandidatesForMETWithMu") ## Output MET type
50 > genMETWithMu.alias = cms.string('GenMETWithMu') ## Alias  for FWLite
51  
52 < produceGenMETwithMuForTauAnalyses = cms.Sequence(genCandidatesForMETWithMuForTauAnalyses * genMETWithMuForTauAnalyses)
52 > produceGenMETwithMu = cms.Sequence(genCandidatesForMETWithMu * genMETWithMu)
53  
54  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines