24 PRD_TruthMaps = [
"RPC_TruthMap",
"TGC_TruthMap",
"MDT_TruthMap"]
25 SDOs = [
"RPC_SDO",
"TGC_SDO",
"MDT_SDO"]
28 if flags.Detector.EnablesTGC
and flags.Detector.EnableMM:
29 SDOs += [
"MM_SDO",
"sTGC_SDO"]
30 PRD_TruthMaps += [
"MM_TruthMap",
"STGC_TruthMap"]
31 if not flags.Detector.EnableCSC:
34 PRD_TruthMaps += [
"CSC_TruthMap"]
36 kwargs.setdefault(
"SDOs", SDOs)
37 kwargs.setdefault(
"CSCSDOs", CSCSDOs)
38 kwargs.setdefault(
"PRD_TruthMaps", PRD_TruthMaps)
40 from MCTruthClassifier.MCTruthClassifierConfig
import MCTruthClassifierCfg
43 from TrkConfig.AtlasExtrapolatorConfig
import AtlasExtrapolatorCfg
46 trackRecords = [item
for item
in [
"CaloEntryLayer",
"MuonEntryLayer",
"MuonExitLayer"]
if item
in flags.Input.Collections]
47 kwargs.setdefault(
"TrackRecordCollectionNames", trackRecords)
48 result.addEventAlgo(CompFactory.Muon.MuonTruthDecorationAlg(name, **kwargs))