ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/CmsHi/JulyExercise/python/DisableMC_cff.py
Revision: 1.1
Committed: Mon Jul 5 20:24:33 2010 UTC (14 years, 10 months ago) by yilmaz
Content type: text/x-python
Branch: MAIN
Log Message:
configurations

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     process.heavyIon.doMC = False
21     removePatMCMatch(process)
22     return process