ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/CmsHi/JulyExercise/python/DisableMC_cff.py
Revision: 1.2
Committed: Wed Aug 4 16:13:38 2010 UTC (14 years, 9 months ago) by frankma
Content type: text/x-python
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
Error occurred while calculating annotation data.
Log Message:
update to run with full mc info

File Contents

# Content
1 # Turn of MC dependence in pat sequence
2 def removePatMCMatch(process):
3 process.prod.remove(process.genPartons)
4 process.prod.remove(process.heavyIonCleanedGenJets)
5 process.prod.remove(process.hiPartons)
6 process.prod.remove(process.patJetGenJetMatch)
7 process.prod.remove(process.patJetPartonMatch)
8
9 process.patJets.addGenPartonMatch = False
10 process.patJets.embedGenPartonMatch = False
11 process.patJets.genPartonMatch = ''
12 process.patJets.addGenJetMatch = False
13 process.patJets.genJetMatch = ''
14 process.patJets.getJetMCFlavour = False
15 process.patJets.JetPartonMapSource = ''
16 return process
17
18 # Top Config to turn off all mc dependence
19 def disableMC(process):
20 process.prod.remove(process.heavyIon)
21 removePatMCMatch(process)
22 return process