 |
ATLAS Offline Software
|
|
def | MuonDetailedTrackTruthMakerCfg (flags, name="MuonDetailedTrackTruthMaker", **kwargs) |
|
def | TruthMuonMakerAlgCfg (flags, name="TruthMuonMakerAlg", **kwargs) |
|
def | MuonTruthAddTrackRecordsAlgCfg (flags, name="MuonTruthAddTrackRecordsAlg", **kwargs) |
|
def | MuonTruthHitCountsAlgCfg (flags, name="MuonTruthHitSummaryAlg", **kwargs) |
|
def | MuonTruthSegmentCreationAlgCfg (flags, name="MuonTruthSegmentCreationAlg", **kwargs) |
|
def | MuonTruthAssociationAlgCfg (flags, name="MuonTruthAssociationAlg", **kwargs) |
|
def | MuonSegmentTruthAssociationAlgCfg (flags, name="MuonSegmentTruthAssociationAlg", **kwargs) |
|
def | TruthSegmentMakerCfg (flags, name="TruthSegmentMakerAlg", **kwargs) |
|
def | MeasToSimHitAssocAlgCfg (flags, name="MeasToSimHitConvAlg", **kwargs) |
|
def | TruthHitAssociationCfg (flags) |
|
def | PrdMultiTruthMakerCfg (flags) |
|
def | SdoMultiTruthMakerCfg (flags, useSDO=False) |
|
def | RecoSegmentTruthAssocCfg (flags, **kwargs) |
|
def | TruthSegmentToTruthPartAssocCfg (flags, name="MuonTruthSegmentToTruthAssocAlg", **kwargs) |
|
def | TrackToTruthPartAssocCfg (flags, **kwargs) |
|
def | MuonTruthAlgsCfg (flags) |
|
◆ MeasToSimHitAssocAlgCfg()
def MuonTruthAlgsConfig.MeasToSimHitAssocAlgCfg |
( |
|
flags, |
|
|
|
name = "MeasToSimHitConvAlg" , |
|
|
** |
kwargs |
|
) |
| |
◆ MuonDetailedTrackTruthMakerCfg()
def MuonTruthAlgsConfig.MuonDetailedTrackTruthMakerCfg |
( |
|
flags, |
|
|
|
name = "MuonDetailedTrackTruthMaker" , |
|
|
** |
kwargs |
|
) |
| |
Definition at line 6 of file MuonConfig/python/MuonTruthAlgsConfig.py.
10 if flags.Detector.EnableRPC:
11 PRD_TruthNames+=[
"RPC_TruthMap"]
12 if flags.Detector.EnableTGC:
13 PRD_TruthNames+=[
"TGC_TruthMap"]
14 if flags.Detector.EnableMDT:
15 PRD_TruthNames+=[
"MDT_TruthMap"]
16 if flags.Detector.EnableCSC:
17 PRD_TruthNames += [
"CSC_TruthMap"]
18 if flags.Detector.EnableMM:
19 PRD_TruthNames += [
"MM_TruthMap"]
20 if flags.Detector.EnablesTGC:
21 PRD_TruthNames += [
"STGC_TruthMap"]
23 kwargs.setdefault(
"PRD_TruthNames", PRD_TruthNames)
24 result.addEventAlgo(CompFactory.MuonDetailedTrackTruthMaker(name, **kwargs))
◆ MuonSegmentTruthAssociationAlgCfg()
def MuonTruthAlgsConfig.MuonSegmentTruthAssociationAlgCfg |
( |
|
flags, |
|
|
|
name = "MuonSegmentTruthAssociationAlg" , |
|
|
** |
kwargs |
|
) |
| |
◆ MuonTruthAddTrackRecordsAlgCfg()
def MuonTruthAlgsConfig.MuonTruthAddTrackRecordsAlgCfg |
( |
|
flags, |
|
|
|
name = "MuonTruthAddTrackRecordsAlg" , |
|
|
** |
kwargs |
|
) |
| |
Definition at line 37 of file MuonConfig/python/MuonTruthAlgsConfig.py.
40 from TrkConfig.AtlasExtrapolatorConfig
import AtlasExtrapolatorCfg
43 trackRecords = [item
for item
in [
"CaloEntryLayer",
"MuonEntryLayer",
"MuonExitLayer"]
if item
in flags.Input.Collections]
44 kwargs.setdefault(
"TrackRecordCollectionNames", trackRecords)
46 result.addEventAlgo(CompFactory.Muon.TruthTrackRecordsAlg(name, **kwargs))
◆ MuonTruthAlgsCfg()
def MuonTruthAlgsConfig.MuonTruthAlgsCfg |
( |
|
flags | ) |
|
◆ MuonTruthAssociationAlgCfg()
def MuonTruthAlgsConfig.MuonTruthAssociationAlgCfg |
( |
|
flags, |
|
|
|
name = "MuonTruthAssociationAlg" , |
|
|
** |
kwargs |
|
) |
| |
◆ MuonTruthHitCountsAlgCfg()
def MuonTruthAlgsConfig.MuonTruthHitCountsAlgCfg |
( |
|
flags, |
|
|
|
name = "MuonTruthHitSummaryAlg" , |
|
|
** |
kwargs |
|
) |
| |
Definition at line 49 of file MuonConfig/python/MuonTruthAlgsConfig.py.
53 if flags.Detector.EnableRPC:
54 PRD_TruthNames+=[
"RPC_TruthMap"]
55 if flags.Detector.EnableTGC:
56 PRD_TruthNames+=[
"TGC_TruthMap"]
57 if flags.Detector.EnableMDT:
58 PRD_TruthNames+=[
"MDT_TruthMap"]
59 if flags.Detector.EnableCSC:
60 PRD_TruthNames += [
"CSC_TruthMap"]
61 if flags.Detector.EnableMM:
62 PRD_TruthNames += [
"MM_TruthMap"]
63 if flags.Detector.EnablesTGC:
64 PRD_TruthNames += [
"STGC_TruthMap"]
66 kwargs.setdefault(
"PRD_TruthMaps", PRD_TruthNames)
68 result.addEventAlgo(CompFactory.Muon.TruthHitSummaryAlg(name, **kwargs))
◆ MuonTruthSegmentCreationAlgCfg()
def MuonTruthAlgsConfig.MuonTruthSegmentCreationAlgCfg |
( |
|
flags, |
|
|
|
name = "MuonTruthSegmentCreationAlg" , |
|
|
** |
kwargs |
|
) |
| |
Definition at line 71 of file MuonConfig/python/MuonTruthAlgsConfig.py.
74 SDOs = [
"RPC_SDO",
"TGC_SDO",
"MDT_SDO"]
77 if flags.Detector.EnablesTGC
and flags.Detector.EnableMM:
78 SDOs += [
"MM_SDO",
"sTGC_SDO"]
79 if not flags.Detector.EnableCSC:
82 kwargs.setdefault(
"SDOs", SDOs)
83 kwargs.setdefault(
"CSCSDOs", CSCSDOs)
85 result.addEventAlgo(CompFactory.Muon.MuonTruthSegmentCreationAlg(name, **kwargs))
◆ PrdMultiTruthMakerCfg()
def MuonTruthAlgsConfig.PrdMultiTruthMakerCfg |
( |
|
flags | ) |
|
Definition at line 65 of file MuonPhaseII/MuonPatternRecognition/MuonTruthAlgsR4/python/MuonTruthAlgsConfig.py.
67 from MuonConfig.MuonDataPrepConfig
import PrimaryMeasContNamesCfg
69 if flags.Detector.GeometryMDT:
70 the_alg = CompFactory.MuonR4.PrdMultiTruthMaker(
"PrdMultiTruthMakerMdt",
71 PrdContainer = [prd
for prd
in prdContainer
if "xMdt" in prd],
72 WriteKey =
"MDT_TruthMap")
73 result.addEventAlgo(the_alg)
74 if flags.Detector.GeometryRPC:
75 the_alg = CompFactory.MuonR4.PrdMultiTruthMaker(
"PrdMultiTruthMakerRpc",
76 PrdContainer = [prd
for prd
in prdContainer
if "xRpc" in prd],
77 WriteKey =
"RPC_TruthMap")
78 result.addEventAlgo(the_alg)
79 if flags.Detector.GeometryTGC:
80 the_alg = CompFactory.MuonR4.PrdMultiTruthMaker(
"PrdMultiTruthMakerTgc",
81 PrdContainer = [prd
for prd
in prdContainer
if "xTgc" in prd],
82 WriteKey =
"TGC_TruthMap")
83 result.addEventAlgo(the_alg)
84 if flags.Detector.GeometryMM:
85 the_alg = CompFactory.MuonR4.PrdMultiTruthMaker(
"PrdMultiTruthMakerMm",
86 PrdContainer = [prd
for prd
in prdContainer
if "MM" in prd],
87 WriteKey =
"MM_TruthMap")
88 result.addEventAlgo(the_alg)
89 if flags.Detector.GeometrysTGC:
90 the_alg = CompFactory.MuonR4.PrdMultiTruthMaker(
"PrdMultiTruthMakerSTGC",
91 PrdContainer = [prd
for prd
in prdContainer
if "sTgc" in prd],
92 WriteKey =
"STGC_TruthMap")
93 result.addEventAlgo(the_alg)
◆ RecoSegmentTruthAssocCfg()
def MuonTruthAlgsConfig.RecoSegmentTruthAssocCfg |
( |
|
flags, |
|
|
** |
kwargs |
|
) |
| |
◆ SdoMultiTruthMakerCfg()
def MuonTruthAlgsConfig.SdoMultiTruthMakerCfg |
( |
|
flags, |
|
|
|
useSDO = False |
|
) |
| |
Definition at line 97 of file MuonPhaseII/MuonPatternRecognition/MuonTruthAlgsR4/python/MuonTruthAlgsConfig.py.
100 if flags.Detector.GeometryMDT:
101 container =
"xMdtSimHits" if not useSDO
else "MDT_SDO"
102 the_alg = CompFactory.MuonR4.SdoMultiTruthMaker(
"SdoMultiTruthMakerMdt",
103 SimContainer = container,
104 WriteKey =
"MDT_TruthMap")
105 result.addEventAlgo(the_alg)
106 if flags.Detector.GeometryRPC:
107 container =
"xRpcSimHits" if not useSDO
else "RPC_SDO"
108 the_alg = CompFactory.MuonR4.SdoMultiTruthMaker(
"SdoMultiTruthMakerRpc",
109 SimContainer = container,
110 WriteKey =
"RPC_TruthMap")
111 result.addEventAlgo(the_alg)
112 if flags.Detector.GeometryTGC:
113 container =
"xTgcSimHits" if not useSDO
else "TGC_SDO"
114 the_alg = CompFactory.MuonR4.SdoMultiTruthMaker(
"SdoMultiTruthMakerTgc",
115 SimContainer = container,
116 WriteKey =
"TGC_TruthMap")
117 result.addEventAlgo(the_alg)
118 if flags.Detector.GeometryMM:
119 container =
"xMmSimHits" if not useSDO
else "MM_SDO"
120 the_alg = CompFactory.MuonR4.SdoMultiTruthMaker(
"SdoMultiTruthMakerMm",
121 SimContainer = container,
122 WriteKey =
"MM_TruthMap")
123 result.addEventAlgo(the_alg)
124 if flags.Detector.GeometrysTGC:
125 container =
"xStgcSimHits" if not useSDO
else "sTGC_SDO"
126 the_alg = CompFactory.MuonR4.SdoMultiTruthMaker(
"SdoMultiTruthMakerSTGC",
127 SimContainer = container,
128 WriteKey =
"STGC_TruthMap")
129 result.addEventAlgo(the_alg)
◆ TrackToTruthPartAssocCfg()
def MuonTruthAlgsConfig.TrackToTruthPartAssocCfg |
( |
|
flags, |
|
|
** |
kwargs |
|
) |
| |
Definition at line 154 of file MuonPhaseII/MuonPatternRecognition/MuonTruthAlgsR4/python/MuonTruthAlgsConfig.py.
157 if flags.Detector.GeometryMDT: hitDecors+=[
"truthMdtHits"]
158 if flags.Detector.GeometryRPC: hitDecors+=[
"truthRpcHits"]
159 if flags.Detector.GeometryTGC: hitDecors+=[
"truthTgcHits"]
160 if flags.Detector.GeometryMM: hitDecors+=[
"truthMMHits"]
161 if flags.Detector.GeometrysTGC: hitDecors+=[
"truthStgcHits"]
162 kwargs.setdefault(
"SimHitIds", hitDecors)
163 the_alg = CompFactory.MuonR4.TrackToTruthPartAssocAlg(**kwargs)
164 result.addEventAlgo(the_alg, primary =
True)
◆ TruthHitAssociationCfg()
def MuonTruthAlgsConfig.TruthHitAssociationCfg |
( |
|
flags | ) |
|
Definition at line 41 of file MuonPhaseII/MuonPatternRecognition/MuonTruthAlgsR4/python/MuonTruthAlgsConfig.py.
43 if not flags.Input.isMC:
45 from MuonConfig.MuonDataPrepConfig
import PrimaryMeasContNamesCfg
48 if "xMdt" in cont_name:
50 elif "xRpc" in cont_name:
52 elif "xTgc" in cont_name:
54 elif "MM" in cont_name:
59 name=f
"{cont_name}PrepDataToSimHitAssoc",
61 Measurements=cont_name,
62 AssocPull = 1.
if cont_name==
"xAODsTgcPads" else 3. ))
◆ TruthMuonMakerAlgCfg()
def MuonTruthAlgsConfig.TruthMuonMakerAlgCfg |
( |
|
flags, |
|
|
|
name = "TruthMuonMakerAlg" , |
|
|
** |
kwargs |
|
) |
| |
Definition at line 28 of file MuonConfig/python/MuonTruthAlgsConfig.py.
31 from MCTruthClassifier.MCTruthClassifierConfig
import MCTruthClassifierCfg
34 result.addEventAlgo(CompFactory.Muon.TruthMuonMakerAlg(name, **kwargs))
◆ TruthSegmentMakerCfg()
def MuonTruthAlgsConfig.TruthSegmentMakerCfg |
( |
|
flags, |
|
|
|
name = "TruthSegmentMakerAlg" , |
|
|
** |
kwargs |
|
) |
| |
Definition at line 7 of file MuonPhaseII/MuonPatternRecognition/MuonTruthAlgsR4/python/MuonTruthAlgsConfig.py.
9 if not flags.Input.isMC:
12 from ActsAlignmentAlgs.AlignmentAlgsConfig
import ActsGeometryContextAlgCfg
16 if flags.Detector.EnableMDT: containerNames+=[
"MDT_SDO"]
17 if flags.Detector.EnableRPC: containerNames+=[
"RPC_SDO"]
18 if flags.Detector.EnableTGC: containerNames+=[
"TGC_SDO"]
19 if flags.Detector.EnableMM: containerNames+=[
"MM_SDO"]
20 if flags.Detector.EnablesTGC: containerNames+=[
"sTGC_SDO"]
22 from MuonConfig.MuonCalibrationConfig
import MdtCalibDbAlgCfg, NswErrorCalibDbAlgCfg
23 if flags.Detector.EnableMDT:
25 if flags.Detector.EnableMM
or flags.Detector.EnablesTGC:
27 kwargs.setdefault(
"SimHitKeys", containerNames)
29 the_alg = CompFactory.MuonR4.TruthSegmentMaker(name, **kwargs)
30 result.addEventAlgo(the_alg, primary =
True)
◆ TruthSegmentToTruthPartAssocCfg()
def MuonTruthAlgsConfig.TruthSegmentToTruthPartAssocCfg |
( |
|
flags, |
|
|
|
name = "MuonTruthSegmentToTruthAssocAlg" , |
|
|
** |
kwargs |
|
) |
| |
Definition at line 141 of file MuonPhaseII/MuonPatternRecognition/MuonTruthAlgsR4/python/MuonTruthAlgsConfig.py.
144 if flags.Detector.GeometryMDT: hitDecors+=[
"truthMdtHits"]
145 if flags.Detector.GeometryRPC: hitDecors+=[
"truthRpcHits"]
146 if flags.Detector.GeometryTGC: hitDecors+=[
"truthTgcHits"]
147 if flags.Detector.GeometryMM: hitDecors+=[
"truthMMHits"]
148 if flags.Detector.GeometrysTGC: hitDecors+=[
"truthStgcHits"]
149 kwargs.setdefault(
"SimHitIds", hitDecors)
150 the_alg = CompFactory.MuonR4.TruthSegToTruthPartAssocAlg(name, **kwargs)
151 result.addEventAlgo(the_alg, primary =
True)
def TruthSegmentMakerCfg(flags, name="TruthSegmentMakerAlg", **kwargs)
def TruthHitAssociationCfg(flags)
def SdoMultiTruthMakerCfg(flags, useSDO=False)
def MuonDetailedTrackTruthMakerCfg(flags, name="MuonDetailedTrackTruthMaker", **kwargs)
def TruthSegmentToTruthPartAssocCfg(flags, name="MuonTruthSegmentToTruthAssocAlg", **kwargs)
def MuonTruthAlgsCfg(flags)
def NswErrorCalibDbAlgCfg(flags, name="NswErrorCalibDbAlg", **kwargs)
def PrimaryMeasContNamesCfg(flags)
def TrackToTruthPartAssocCfg(flags, **kwargs)
def PrdMultiTruthMakerCfg(flags)
def ActsGeometryContextAlgCfg(flags, name="GeometryContextAlg", **kwargs)
Setup the Geometry context algorithm.
def MeasToSimHitAssocAlgCfg(flags, name="MeasToSimHitConvAlg", **kwargs)
def RecoSegmentTruthAssocCfg(flags, **kwargs)
def MuonSegmentTruthAssociationAlgCfg(flags, name="MuonSegmentTruthAssociationAlg", **kwargs)
def MuonTruthSegmentCreationAlgCfg(flags, name="MuonTruthSegmentCreationAlg", **kwargs)
def MdtCalibDbAlgCfg(flags, name="MdtCalibDbAlg", **kwargs)
def MCTruthClassifierCfg(flags, name="MCTruthClassifier", **kwargs)
def MuonTruthAssociationAlgCfg(flags, name="MuonTruthAssociationAlg", **kwargs)
def MuonTruthHitCountsAlgCfg(flags, name="MuonTruthHitSummaryAlg", **kwargs)
def MuonTruthAddTrackRecordsAlgCfg(flags, name="MuonTruthAddTrackRecordsAlg", **kwargs)
def TruthMuonMakerAlgCfg(flags, name="TruthMuonMakerAlg", **kwargs)