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
|