3 from DerivationFrameworkTau.TauJetsCPContent
import TauJetsCPContent
5 TauJets_EleRMCPContent = []
6 for item
in TauJetsCPContent:
7 ermitem = item .
replace(
"TauJets",
"TauJets_EleRM")\
8 .
replace(
"TauTracks",
"TauTracks_EleRM")\
9 .
replace(
"TauSecondaryVertices",
"TauSecondaryVertices_EleRM")\
10 .
replace(
"TauNeutralParticleFlowObjects",
"TauNeutralParticleFlowObjects_EleRM")
11 TauJets_EleRMCPContent.append(ermitem)
14 TauJets_MuonRMCPContent = []
15 for item
in TauJetsCPContent:
16 murmitem = item .
replace(
"TauJets",
"TauJets_MuonRM")\
17 .
replace(
"TauTracks",
"TauTracks_MuonRM")\
18 .
replace(
"TauSecondaryVertices",
"TauSecondaryVertices_MuonRM")\
19 .
replace(
"TauNeutralParticleFlowObjects",
"TauNeutralParticleFlowObjects_MuonRM")
20 if murmitem.startswith(
'TauJets_MuonRMAux') :
21 murmitem +=
'.originalTauJet.removedMuons'
22 TauJets_MuonRMCPContent.append(murmitem)