ATLAS Offline Software
Functions
McEventCollectionFilterConfig Namespace Reference

Functions

def McEventCollectionFilterCfg (flags, **kwargs)
 
def BCM_HitsTruthRelinkCfg (flags, **kwargs)
 
def PixelHitsTruthRelinkCfg (flags, **kwargs)
 
def SCT_HitsTruthRelinkCfg (flags, **kwargs)
 
def TRT_HitsTruthRelinkCfg (flags, **kwargs)
 
def ITkPixelHitsTruthRelinkCfg (flags, **kwargs)
 
def ITkStripHitsTruthRelinkCfg (flags, **kwargs)
 
def PLR_HitsTruthRelinkCfg (flags, **kwargs)
 
def HGTD_HitsTruthRelinkCfg (flags, **kwargs)
 
def CSC_HitsTruthRelinkCfg (flags, **kwargs)
 
def MDT_HitsTruthRelinkCfg (flags, **kwargs)
 
def MM_HitsTruthRelinkCfg (flags, **kwargs)
 
def RPC_HitsTruthRelinkCfg (flags, **kwargs)
 
def TGC_HitsTruthRelinkCfg (flags, **kwargs)
 
def sTGC_HitsTruthRelinkCfg (flags, **kwargs)
 
def DecorateTruthPileupParticlesCfg (flags, **kwargs)
 
def DecoratePileupAntiKt4TruthJetsCfg (flags, **kwargs)
 
def DecoratePileupAntiKt6TruthJetsCfg (flags, **kwargs)
 
def TruthResetAlgCfg (flags, **kwargs)
 

Function Documentation

◆ BCM_HitsTruthRelinkCfg()

def McEventCollectionFilterConfig.BCM_HitsTruthRelinkCfg (   flags,
**  kwargs 
)

Definition at line 25 of file McEventCollectionFilterConfig.py.

25 def BCM_HitsTruthRelinkCfg(flags, **kwargs):
26  acc = ComponentAccumulator()
27 
28  acc.merge(InputRenameCfg("SiHitCollection", "BCMHits", "BCMHitsOLD"))
29 
30  kwargs.setdefault("InputHits", "BCMHitsOLD")
31  kwargs.setdefault("OutputHits", "BCMHits")
32 
33  acc.addEventAlgo(CompFactory.SiliconHitsTruthRelink(name="BCM_HitsTruthRelink", **kwargs))
34  return acc
35 
36 

◆ CSC_HitsTruthRelinkCfg()

def McEventCollectionFilterConfig.CSC_HitsTruthRelinkCfg (   flags,
**  kwargs 
)

Definition at line 124 of file McEventCollectionFilterConfig.py.

124 def CSC_HitsTruthRelinkCfg(flags, **kwargs):
125  acc = ComponentAccumulator()
126 
127  acc.merge(InputRenameCfg("CSCSimHitCollection", "CSC_Hits", "CSC_HitsOLD"))
128 
129  kwargs.setdefault("InputHits", "CSC_HitsOLD")
130  kwargs.setdefault("OutputHits", "CSC_Hits")
131 
132  acc.addEventAlgo(CompFactory.CSC_HitsTruthRelink(name="CSC_HitsTruthRelink", **kwargs))
133  return acc
134 
135 

◆ DecoratePileupAntiKt4TruthJetsCfg()

def McEventCollectionFilterConfig.DecoratePileupAntiKt4TruthJetsCfg (   flags,
**  kwargs 
)

Definition at line 206 of file McEventCollectionFilterConfig.py.

206 def DecoratePileupAntiKt4TruthJetsCfg(flags, **kwargs):
207  acc = ComponentAccumulator()
208 
209  kwargs.setdefault("InputParticleContainer", "AntiKt4TruthJets")
210  kwargs.setdefault("OutputDecoration", "AntiKt4TruthJets.PVz")
211 
212  acc.addEventAlgo(CompFactory.PileUpTruthDecoration(name="DecoratePileupAntiKt4TruthJets", **kwargs))
213  return acc
214 
215 

◆ DecoratePileupAntiKt6TruthJetsCfg()

def McEventCollectionFilterConfig.DecoratePileupAntiKt6TruthJetsCfg (   flags,
**  kwargs 
)

Definition at line 216 of file McEventCollectionFilterConfig.py.

216 def DecoratePileupAntiKt6TruthJetsCfg(flags, **kwargs):
217  acc = ComponentAccumulator()
218 
219  kwargs.setdefault("InputParticleContainer", "AntiKt6TruthJets")
220  kwargs.setdefault("OutputDecoration", "AntiKt6TruthJets.PVz")
221 
222  acc.addEventAlgo(CompFactory.PileUpTruthDecoration(name="DecoratePileupAntiKt6TruthJets", **kwargs))
223  return acc
224 
225 

◆ DecorateTruthPileupParticlesCfg()

def McEventCollectionFilterConfig.DecorateTruthPileupParticlesCfg (   flags,
**  kwargs 
)

Definition at line 196 of file McEventCollectionFilterConfig.py.

196 def DecorateTruthPileupParticlesCfg(flags, **kwargs):
197  acc = ComponentAccumulator()
198 
199  kwargs.setdefault("InputParticleContainer", "TruthPileupParticles")
200  kwargs.setdefault("OutputDecoration", "TruthPileupParticles.PVz")
201 
202  acc.addEventAlgo(CompFactory.PileUpTruthDecoration(name="DecorateTruthPileupParticles", **kwargs))
203  return acc
204 
205 

◆ HGTD_HitsTruthRelinkCfg()

def McEventCollectionFilterConfig.HGTD_HitsTruthRelinkCfg (   flags,
**  kwargs 
)

Definition at line 112 of file McEventCollectionFilterConfig.py.

112 def HGTD_HitsTruthRelinkCfg(flags, **kwargs):
113  acc = ComponentAccumulator()
114 
115  acc.merge(InputRenameCfg("SiHitCollection", "HGTD_Hits", "HGTD_HitsOLD"))
116 
117  kwargs.setdefault("InputHits", "HGTD_HitsOLD")
118  kwargs.setdefault("OutputHits", "HGTD_Hits")
119 
120  acc.addEventAlgo(CompFactory.SiliconHitsTruthRelink(name="HGTD_HitsTruthRelink", **kwargs))
121  return acc
122 
123 

◆ ITkPixelHitsTruthRelinkCfg()

def McEventCollectionFilterConfig.ITkPixelHitsTruthRelinkCfg (   flags,
**  kwargs 
)

Definition at line 76 of file McEventCollectionFilterConfig.py.

76 def ITkPixelHitsTruthRelinkCfg(flags, **kwargs):
77  acc = ComponentAccumulator()
78 
79  acc.merge(InputRenameCfg("SiHitCollection", "ITkPixelHits", "ITkPixelHitsOLD"))
80 
81  kwargs.setdefault("InputHits", "ITkPixelHitsOLD")
82  kwargs.setdefault("OutputHits", "ITkPixelHits")
83 
84  acc.addEventAlgo(CompFactory.SiliconHitsTruthRelink(name="ITkPixelHitsTruthRelink", **kwargs))
85  return acc
86 
87 

◆ ITkStripHitsTruthRelinkCfg()

def McEventCollectionFilterConfig.ITkStripHitsTruthRelinkCfg (   flags,
**  kwargs 
)

Definition at line 88 of file McEventCollectionFilterConfig.py.

88 def ITkStripHitsTruthRelinkCfg(flags, **kwargs):
89  acc = ComponentAccumulator()
90 
91  acc.merge(InputRenameCfg("SiHitCollection", "ITkStripHits", "ITkStripHitsOLD"))
92 
93  kwargs.setdefault("InputHits", "ITkStripHitsOLD")
94  kwargs.setdefault("OutputHits", "ITkStripHits")
95 
96  acc.addEventAlgo(CompFactory.SiliconHitsTruthRelink(name="ITkStripHitsTruthRelink", **kwargs))
97  return acc
98 
99 

◆ McEventCollectionFilterCfg()

def McEventCollectionFilterConfig.McEventCollectionFilterCfg (   flags,
**  kwargs 
)

Definition at line 9 of file McEventCollectionFilterConfig.py.

9 def McEventCollectionFilterCfg(flags, **kwargs):
10  acc = ComponentAccumulator()
11 
12  acc.merge(InputRenameCfg("McEventCollection", "TruthEvent", "TruthEventOLD"))
13 
14  if flags.Detector.EnableTRT:
15  kwargs.setdefault("InputTRTHits", "TRTUncompressedHitsOLD")
16  else:
17  kwargs.setdefault("InputTRTHits", "")
18 
19  kwargs.setdefault("KeepElectronsLinkedToTRTHits", False)
20 
21  acc.addEventAlgo(CompFactory.McEventCollectionFilter(name="McEventCollectionFilter", **kwargs))
22  return acc
23 
24 

◆ MDT_HitsTruthRelinkCfg()

def McEventCollectionFilterConfig.MDT_HitsTruthRelinkCfg (   flags,
**  kwargs 
)

Definition at line 136 of file McEventCollectionFilterConfig.py.

136 def MDT_HitsTruthRelinkCfg(flags, **kwargs):
137  acc = ComponentAccumulator()
138 
139  acc.merge(InputRenameCfg("MDTSimHitCollection", "MDT_Hits", "MDT_HitsOLD"))
140 
141  kwargs.setdefault("InputHits", "MDT_HitsOLD")
142  kwargs.setdefault("OutputHits", "MDT_Hits")
143 
144  acc.addEventAlgo(CompFactory.MDT_HitsTruthRelink(name="MDT_HitsTruthRelink", **kwargs))
145  return acc
146 
147 

◆ MM_HitsTruthRelinkCfg()

def McEventCollectionFilterConfig.MM_HitsTruthRelinkCfg (   flags,
**  kwargs 
)

Definition at line 148 of file McEventCollectionFilterConfig.py.

148 def MM_HitsTruthRelinkCfg(flags, **kwargs):
149  acc = ComponentAccumulator()
150 
151  acc.merge(InputRenameCfg("MMSimHitCollection", "MM_Hits", "MM_HitsOLD"))
152 
153  kwargs.setdefault("InputHits", "MM_HitsOLD")
154  kwargs.setdefault("OutputHits", "MM_Hits")
155 
156  acc.addEventAlgo(CompFactory.MM_HitsTruthRelink(name="MM_HitsTruthRelink", **kwargs))
157  return acc
158 
159 

◆ PixelHitsTruthRelinkCfg()

def McEventCollectionFilterConfig.PixelHitsTruthRelinkCfg (   flags,
**  kwargs 
)

Definition at line 37 of file McEventCollectionFilterConfig.py.

37 def PixelHitsTruthRelinkCfg(flags, **kwargs):
38  acc = ComponentAccumulator()
39 
40  acc.merge(InputRenameCfg("SiHitCollection", "PixelHits", "PixelHitsOLD"))
41 
42  kwargs.setdefault("InputHits", "PixelHitsOLD")
43  kwargs.setdefault("OutputHits", "PixelHits")
44 
45  acc.addEventAlgo(CompFactory.SiliconHitsTruthRelink(name="PixelHitsTruthRelink", **kwargs))
46  return acc
47 
48 

◆ PLR_HitsTruthRelinkCfg()

def McEventCollectionFilterConfig.PLR_HitsTruthRelinkCfg (   flags,
**  kwargs 
)

Definition at line 100 of file McEventCollectionFilterConfig.py.

100 def PLR_HitsTruthRelinkCfg(flags, **kwargs):
101  acc = ComponentAccumulator()
102 
103  acc.merge(InputRenameCfg("SiHitCollection", "PLR_Hits", "PLR_HitsOLD"))
104 
105  kwargs.setdefault("InputHits", "PLR_HitsOLD")
106  kwargs.setdefault("OutputHits", "PLR_Hits")
107 
108  acc.addEventAlgo(CompFactory.SiliconHitsTruthRelink(name="PLR_HitsTruthRelink", **kwargs))
109  return acc
110 
111 

◆ RPC_HitsTruthRelinkCfg()

def McEventCollectionFilterConfig.RPC_HitsTruthRelinkCfg (   flags,
**  kwargs 
)

Definition at line 160 of file McEventCollectionFilterConfig.py.

160 def RPC_HitsTruthRelinkCfg(flags, **kwargs):
161  acc = ComponentAccumulator()
162 
163  acc.merge(InputRenameCfg("RPCSimHitCollection", "RPC_Hits", "RPC_HitsOLD"))
164 
165  kwargs.setdefault("InputHits", "RPC_HitsOLD")
166  kwargs.setdefault("OutputHits", "RPC_Hits")
167 
168  acc.addEventAlgo(CompFactory.RPC_HitsTruthRelink(name="RPC_HitsTruthRelink", **kwargs))
169  return acc
170 
171 

◆ SCT_HitsTruthRelinkCfg()

def McEventCollectionFilterConfig.SCT_HitsTruthRelinkCfg (   flags,
**  kwargs 
)

Definition at line 49 of file McEventCollectionFilterConfig.py.

49 def SCT_HitsTruthRelinkCfg(flags, **kwargs):
50  acc = ComponentAccumulator()
51 
52  acc.merge(InputRenameCfg("SiHitCollection", "SCT_Hits", "SCT_HitsOLD"))
53 
54  kwargs.setdefault("InputHits", "SCT_HitsOLD")
55  kwargs.setdefault("OutputHits", "SCT_Hits")
56 
57  acc.addEventAlgo(CompFactory.SiliconHitsTruthRelink(name="SCT_HitsTruthRelink", **kwargs))
58  return acc
59 
60 

◆ sTGC_HitsTruthRelinkCfg()

def McEventCollectionFilterConfig.sTGC_HitsTruthRelinkCfg (   flags,
**  kwargs 
)

Definition at line 184 of file McEventCollectionFilterConfig.py.

184 def sTGC_HitsTruthRelinkCfg(flags, **kwargs):
185  acc = ComponentAccumulator()
186 
187  acc.merge(InputRenameCfg("sTGCSimHitCollection", "sTGC_Hits", "sTGC_HitsOLD"))
188 
189  kwargs.setdefault("InputHits", "sTGC_HitsOLD")
190  kwargs.setdefault("OutputHits", "sTGC_Hits")
191 
192  acc.addEventAlgo(CompFactory.sTGC_HitsTruthRelink(name="sTGC_HitsTruthRelink", **kwargs))
193  return acc
194 
195 

◆ TGC_HitsTruthRelinkCfg()

def McEventCollectionFilterConfig.TGC_HitsTruthRelinkCfg (   flags,
**  kwargs 
)

Definition at line 172 of file McEventCollectionFilterConfig.py.

172 def TGC_HitsTruthRelinkCfg(flags, **kwargs):
173  acc = ComponentAccumulator()
174 
175  acc.merge(InputRenameCfg("TGCSimHitCollection", "TGC_Hits", "TGC_HitsOLD"))
176 
177  kwargs.setdefault("InputHits", "TGC_HitsOLD")
178  kwargs.setdefault("OutputHits", "TGC_Hits")
179 
180  acc.addEventAlgo(CompFactory.TGC_HitsTruthRelink(name="TGC_HitsTruthRelink", **kwargs))
181  return acc
182 
183 

◆ TRT_HitsTruthRelinkCfg()

def McEventCollectionFilterConfig.TRT_HitsTruthRelinkCfg (   flags,
**  kwargs 
)

Definition at line 61 of file McEventCollectionFilterConfig.py.

61 def TRT_HitsTruthRelinkCfg(flags, **kwargs):
62  acc = ComponentAccumulator()
63 
64  acc.merge(InputRenameCfg("TRTUncompressedHitCollection", "TRTUncompressedHits", "TRTUncompressedHitsOLD"))
65 
66  kwargs.setdefault("InputHits", "TRTUncompressedHitsOLD")
67  kwargs.setdefault("OutputHits", "TRTUncompressedHits")
68 
69  kwargs.setdefault("KeepElectronsLinkedToTRTHits", False)
70 
71  acc.addEventAlgo(CompFactory.TRT_HitsTruthRelink(name="TRT_HitsTruthRelink", **kwargs))
72  return acc
73 
74 
75 

◆ TruthResetAlgCfg()

def McEventCollectionFilterConfig.TruthResetAlgCfg (   flags,
**  kwargs 
)

Definition at line 226 of file McEventCollectionFilterConfig.py.

226 def TruthResetAlgCfg(flags, **kwargs):
227  result = ComponentAccumulator()
228  kwargs.setdefault("InputMcEventCollection", "TruthEventOLD")
229  kwargs.setdefault("OutputMcEventCollection", "BeamTruthEvent")
230  result.addEventAlgo(CompFactory.TruthResetAlg(name="TruthResetAlg", **kwargs))
231  return result
McEventCollectionFilterConfig.ITkStripHitsTruthRelinkCfg
def ITkStripHitsTruthRelinkCfg(flags, **kwargs)
Definition: McEventCollectionFilterConfig.py:88
McEventCollectionFilterConfig.DecorateTruthPileupParticlesCfg
def DecorateTruthPileupParticlesCfg(flags, **kwargs)
Definition: McEventCollectionFilterConfig.py:196
McEventCollectionFilterConfig.DecoratePileupAntiKt6TruthJetsCfg
def DecoratePileupAntiKt6TruthJetsCfg(flags, **kwargs)
Definition: McEventCollectionFilterConfig.py:216
McEventCollectionFilterConfig.MDT_HitsTruthRelinkCfg
def MDT_HitsTruthRelinkCfg(flags, **kwargs)
Definition: McEventCollectionFilterConfig.py:136
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
McEventCollectionFilterConfig.RPC_HitsTruthRelinkCfg
def RPC_HitsTruthRelinkCfg(flags, **kwargs)
Definition: McEventCollectionFilterConfig.py:160
McEventCollectionFilterConfig.CSC_HitsTruthRelinkCfg
def CSC_HitsTruthRelinkCfg(flags, **kwargs)
Definition: McEventCollectionFilterConfig.py:124
McEventCollectionFilterConfig.HGTD_HitsTruthRelinkCfg
def HGTD_HitsTruthRelinkCfg(flags, **kwargs)
Definition: McEventCollectionFilterConfig.py:112
McEventCollectionFilterConfig.PLR_HitsTruthRelinkCfg
def PLR_HitsTruthRelinkCfg(flags, **kwargs)
Definition: McEventCollectionFilterConfig.py:100
McEventCollectionFilterConfig.SCT_HitsTruthRelinkCfg
def SCT_HitsTruthRelinkCfg(flags, **kwargs)
Definition: McEventCollectionFilterConfig.py:49
McEventCollectionFilterConfig.TruthResetAlgCfg
def TruthResetAlgCfg(flags, **kwargs)
Definition: McEventCollectionFilterConfig.py:226
McEventCollectionFilterConfig.ITkPixelHitsTruthRelinkCfg
def ITkPixelHitsTruthRelinkCfg(flags, **kwargs)
Definition: McEventCollectionFilterConfig.py:76
McEventCollectionFilterConfig.BCM_HitsTruthRelinkCfg
def BCM_HitsTruthRelinkCfg(flags, **kwargs)
Definition: McEventCollectionFilterConfig.py:25
McEventCollectionFilterConfig.sTGC_HitsTruthRelinkCfg
def sTGC_HitsTruthRelinkCfg(flags, **kwargs)
Definition: McEventCollectionFilterConfig.py:184
McEventCollectionFilterConfig.McEventCollectionFilterCfg
def McEventCollectionFilterCfg(flags, **kwargs)
Definition: McEventCollectionFilterConfig.py:9
McEventCollectionFilterConfig.PixelHitsTruthRelinkCfg
def PixelHitsTruthRelinkCfg(flags, **kwargs)
Definition: McEventCollectionFilterConfig.py:37
McEventCollectionFilterConfig.DecoratePileupAntiKt4TruthJetsCfg
def DecoratePileupAntiKt4TruthJetsCfg(flags, **kwargs)
Definition: McEventCollectionFilterConfig.py:206
McEventCollectionFilterConfig.MM_HitsTruthRelinkCfg
def MM_HitsTruthRelinkCfg(flags, **kwargs)
Definition: McEventCollectionFilterConfig.py:148
McEventCollectionFilterConfig.TRT_HitsTruthRelinkCfg
def TRT_HitsTruthRelinkCfg(flags, **kwargs)
Definition: McEventCollectionFilterConfig.py:61
McEventCollectionFilterConfig.TGC_HitsTruthRelinkCfg
def TGC_HitsTruthRelinkCfg(flags, **kwargs)
Definition: McEventCollectionFilterConfig.py:172
AddressRemappingConfig.InputRenameCfg
def InputRenameCfg(type, from_name, to_name)
Definition: AddressRemappingConfig.py:28