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
Log Message:
update to run with full mc info

File Contents

# User Rev Content
1 yilmaz 1.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 frankma 1.2 process.prod.remove(process.heavyIon)
21 yilmaz 1.1 removePatMCMatch(process)
22     return process