Skip to content
Snippets Groups Projects
Commit 3ecc1866 authored by Edward Moyse's avatar Edward Moyse
Browse files

Do not add MuGirl related tag_maps to MuonCreatorAlg_LRT if MuGirl off.

parent 1b08b314
No related branches found
No related tags found
6 merge requests!58791DataQualityConfigurations: Modify L1Calo config for web display,!46784MuonCondInterface: Enable thread-safety checking.,!46776Updated LArMonitoring config file for WD to match new files produced using MT,!45405updated ART test cron job,!42417Draft: DIRE and VINCIA Base Fragments for Pythia 8.3,!39501Do not add MuGirl related tag_maps to MuonCreatorAlg_LRT if MuGirl off.
......@@ -174,7 +174,10 @@ def MuonCreatorAlg( name="MuonCreatorAlg",**kwargs ):
def MuonCreatorAlg_LRT( name="MuonCreatorAlg_LRT",**kwargs ):
kwargs.setdefault("MuonCreatorTool",getPublicTool("MuonCreatorTool_LRT"))
recordMuonCreatorAlgObjs (kwargs)
kwargs.setdefault("TagMaps",["muidcoTagMap_LRT","stacoTagMap_LRT","segmentTagMap_LRT","MuGirlMap_LRT","caloTagMap_LRT"])
tag_maps = ["muidcoTagMap_LRT","segmentTagMap_LRT","caloTagMap_LRT"]
if muonCombinedRecFlags.doMuGirl():
tag_maps += ["stacoTagMap_LRT","MuGirlMap_LRT"]
kwargs.setdefault("TagMaps",tag_maps)
kwargs.setdefault("MuonContainerLocation", MuonCbKeys.FinalMuonsLargeD0())
kwargs.setdefault("InDetCandidateLocation", MuonCbKeys.InDetTrackParticlesLargeD0())
kwargs.setdefault("ExtrapolatedLocation", "ExtraPolated"+MuonCbKeys.FinalMuonsLargeD0())
......@@ -187,9 +190,6 @@ def MuonCreatorAlg_LRT( name="MuonCreatorAlg_LRT",**kwargs ):
kwargs.setdefault("ClusterContainerName", "")
return CfgMgr.MuonCreatorAlg(name,**kwargs)
def StauCreatorAlg( name="StauCreatorAlg", **kwargs ):
kwargs.setdefault("MuonCreatorTool",getPublicTool("StauCreatorTool"))
kwargs.setdefault("MuonContainerLocation","Staus")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment