ATLAS Offline Software
TauJets_LepRMCPContent.py
Go to the documentation of this file.
1 # Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
2 
3 from DerivationFrameworkTau.TauJetsCPContent import TauJetsCPContent
4 
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)
12 
13 
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)
23 
replace
std::string replace(std::string s, const std::string &s2, const std::string &s3)
Definition: hcg.cxx:307