|
ATLAS Offline Software
|
|
def | __init__ (self, AthConfigFlags flags, str signature, str rois, str inView) |
|
ComponentAccumulator | offlinePattern (self) |
|
ComponentAccumulator | viewDataVerifier (self, viewVerifier='IDViewDataVerifier') |
|
ComponentAccumulator | viewDataVerifierTRT (self, viewVerifier='IDViewDataVerifierTRT') |
|
ComponentAccumulator | viewDataVerifierAfterDataPrep (self, viewVerifier='IDViewDataVerifierAfterDataPrep') |
|
ComponentAccumulator | viewDataVerifierAfterPattern (self, viewVerifier='IDViewDataVerifierForAmbi') |
|
ComponentAccumulator | dataPreparation (self) |
|
ComponentAccumulator | dataPreparationTRT (self) |
|
ComponentAccumulator | spacePointFormation (self) |
|
ComponentAccumulator | fastTrackFinder (self, AthConfigFlags extraFlags=None, str inputTracksName=None) |
|
ComponentAccumulator | ambiguitySolver (self) |
|
ComponentAccumulator | trtExtensions (self) |
|
ComponentAccumulator | xAODParticleCreation (self) |
|
Definition at line 11 of file InDetTrigSequence.py.
◆ __init__()
def python.InDetTrigSequence.InDetTrigSequence.__init__ |
( |
|
self, |
|
|
AthConfigFlags |
flags, |
|
|
str |
signature, |
|
|
str |
rois, |
|
|
str |
inView |
|
) |
| |
Definition at line 13 of file InDetTrigSequence.py.
13 def __init__(self,flags : AthConfigFlags, signature : str, rois : str, inView : str):
14 super().
__init__(flags, signature,rois,inView)
15 self.log = logging.getLogger(
"InDetTrigSequence")
16 self.log.
info(f
"signature: {self.signature} rois: {self.rois} inview: {self.inView}")
◆ ambiguitySolver()
ComponentAccumulator python.InDetTrigSequence.InDetTrigSequence.ambiguitySolver |
( |
|
self | ) |
|
Definition at line 239 of file InDetTrigSequence.py.
239 def ambiguitySolver(self) -> ComponentAccumulator:
244 acc.merge(self.viewDataVerifierAfterPattern())
246 from TrkConfig.TrkAmbiguitySolverConfig
import TrkAmbiguityScore_Trig_Cfg
250 name = f
"{self.ambiPrefix}Score_{self.flags.Tracking.ActiveConfig.input_name}",
251 TrackInput = [self.lastTrkCollection],
252 AmbiguityScoreProcessor =
None
256 from TrkConfig.TrkAmbiguitySolverConfig
import TrkAmbiguitySolver_Trig_Cfg
260 name = f
"{self.ambiPrefix}guitySolver_{self.flags.Tracking.ActiveConfig.input_name}",
264 self.lastTrkCollection = self.flags.Tracking.ActiveConfig.trkTracks_IDTrig+
"_Amb"
◆ dataPreparation()
ComponentAccumulator python.InDetTrigSequence.InDetTrigSequence.dataPreparation |
( |
|
self | ) |
|
Definition at line 139 of file InDetTrigSequence.py.
139 def dataPreparation(self) -> ComponentAccumulator:
141 signature = self.flags.Tracking.ActiveConfig.input_name
145 self.log.
info(f
"DataPrep signature: {self.signature} rois: {self.rois} inview: {self.inView}")
147 if self.flags.Input.Format == Format.BS:
148 from PixelRawDataByteStreamCnv.PixelRawDataByteStreamCnvConfig
import TrigPixelRawDataProviderAlgCfg
151 from SCT_RawDataByteStreamCnv.SCT_RawDataByteStreamCnvConfig
import TrigSCTRawDataProviderCfg
153 elif not self.inView:
154 from SGComps.SGInputLoaderConfig
import SGInputLoaderCfg
155 loadRDOs = [(
'PixelRDO_Container' ,
'StoreGateSvc+PixelRDOs' ),
156 (
'SCT_RDO_Container' ,
'StoreGateSvc+SCT_RDOs' ) ]
160 from InDetConfig.InDetPrepRawDataFormationConfig
import TrigPixelClusterizationCfg
163 name=f
"InDetPixelClusterization_{signature}"))
166 from InDetConfig.InDetPrepRawDataFormationConfig
import TrigSCTClusterizationCfg
169 name=f
"InDetSCTClusterization_{signature}"))
◆ dataPreparationTRT()
ComponentAccumulator python.InDetTrigSequence.InDetTrigSequence.dataPreparationTRT |
( |
|
self | ) |
|
Definition at line 176 of file InDetTrigSequence.py.
176 def dataPreparationTRT(self) ->ComponentAccumulator:
180 acc.merge(self.viewDataVerifierTRT())
182 if self.flags.Input.Format == Format.BS:
183 from TRT_RawDataByteStreamCnv.TRT_RawDataByteStreamCnvConfig
import TrigTRTRawDataProviderCfg
186 elif not self.inView:
187 from SGComps.SGInputLoaderConfig
import SGInputLoaderCfg
188 loadRDOs = [(
'TRT_RDO_Container' ,
'StoreGateSvc+TRT_RDOs' )]
191 from InDetConfig.InDetPrepRawDataFormationConfig
import TrigTRTRIOMakerCfg
192 signature = self.flags.Tracking.ActiveConfig.input_name
195 name=f
"TrigTRTDriftCircleMaker_{signature}"))
◆ fastTrackFinder()
ComponentAccumulator python.InDetTrigSequence.InDetTrigSequence.fastTrackFinder |
( |
|
self, |
|
|
AthConfigFlags |
extraFlags = None , |
|
|
str |
inputTracksName = None |
|
) |
| |
Definition at line 213 of file InDetTrigSequence.py.
213 def fastTrackFinder(self,
214 extraFlags : AthConfigFlags =
None,
215 inputTracksName : str =
None) -> ComponentAccumulator:
216 acc = self.fastTrackFinderBase(extraFlags, inputTracksName)
217 if not self.flags.Tracking.ActiveConfig.doZFinderOnly:
218 from TrkConfig.TrkParticleCreatorConfig
import InDetTrigParticleCreatorToolFTFCfg
220 acc.addPublicTool(creatorTool)
222 from xAODTrackingCnv.xAODTrackingCnvConfig
import TrigTrackParticleCnvAlgCfg
227 name = prefix+
'xAODParticleCreatorAlg'+self.flags.Tracking.ActiveConfig.input_name+
'_FTF',
228 TrackParticleCreator = creatorTool,
229 TrackContainerName = self.lastTrkCollection,
230 xAODTrackParticlesFromTracksContainerName = self.flags.Tracking.ActiveConfig.tracks_FTF,
◆ offlinePattern()
ComponentAccumulator python.InDetTrigSequence.InDetTrigSequence.offlinePattern |
( |
|
self | ) |
|
Definition at line 20 of file InDetTrigSequence.py.
20 def offlinePattern(self) -> ComponentAccumulator:
24 from InDetConfig.SiSPSeededTrackFinderConfig
import TrigSiSPSeededTrackFinderCfg
26 name =
'EFsiSPSeededTrackFinder'+self.flags.Tracking.ActiveConfig.input_name ))
28 self.lastTrkCollection = self.flags.Tracking.ActiveConfig.trkTracks_IDTrig
29 self.ambiPrefix =
"EFAmbi"
◆ spacePointFormation()
ComponentAccumulator python.InDetTrigSequence.InDetTrigSequence.spacePointFormation |
( |
|
self | ) |
|
Definition at line 204 of file InDetTrigSequence.py.
204 def spacePointFormation(self) -> ComponentAccumulator:
206 signature = self.flags.Tracking.ActiveConfig.input_name
209 from InDetConfig.SiSpacePointFormationConfig
import TrigSiTrackerSpacePointFinderCfg
◆ trtExtensions()
ComponentAccumulator python.InDetTrigSequence.InDetTrigSequence.trtExtensions |
( |
|
self | ) |
|
Definition at line 271 of file InDetTrigSequence.py.
271 def trtExtensions(self) -> ComponentAccumulator:
273 acc = self.dataPreparationTRT()
275 from InDetConfig.TRT_TrackExtensionAlgConfig
import Trig_TRT_TrackExtensionAlgCfg
278 from InDetConfig.InDetExtensionProcessorConfig
import TrigInDetExtensionProcessorCfg
281 self.lastTrkCollection = self.flags.Tracking.ActiveConfig.trkTracks_IDTrig
◆ viewDataVerifier()
ComponentAccumulator python.InDetTrigSequence.InDetTrigSequence.viewDataVerifier |
( |
|
self, |
|
|
|
viewVerifier = 'IDViewDataVerifier' |
|
) |
| |
Definition at line 35 of file InDetTrigSequence.py.
35 def viewDataVerifier(self, viewVerifier='IDViewDataVerifier') -> ComponentAccumulator:
39 dataObjs = {(
'InDet::PixelClusterContainerCache' , self.flags.Trigger.InDetTracking.PixelClusterCacheKey ),
40 (
'PixelRDO_Cache' , self.flags.Trigger.InDetTracking.PixRDOCacheKey ),
41 (
'InDet::SCT_ClusterContainerCache' , self.flags.Trigger.InDetTracking.SCTClusterCacheKey ),
42 (
'SCT_RDO_Cache' , self.flags.Trigger.InDetTracking.SCTRDOCacheKey ),
43 (
'SpacePointCache' , self.flags.Trigger.InDetTracking.SpacePointCachePix ),
44 (
'SpacePointCache' , self.flags.Trigger.InDetTracking.SpacePointCacheSCT ),
45 (
'IDCInDetBSErrContainer_Cache' , self.flags.Trigger.InDetTracking.PixBSErrCacheKey ),
46 (
'IDCInDetBSErrContainer_Cache' , self.flags.Trigger.InDetTracking.SCTBSErrCacheKey ),
47 (
'xAOD::EventInfo' ,
'StoreGateSvc+EventInfo' ),
48 (
'TagInfo' ,
'DetectorStore+ProcessingTags' )}
50 ViewDataVerifier = CompFactory.AthViews.ViewDataVerifier( name = viewVerifier +
"_" + self.signature,
51 DataObjects = dataObjs)
53 isByteStream = self.flags.Input.Format == Format.BS
55 ViewDataVerifier.DataObjects |= {(
'PixelRDO_Container' ,
'PixelRDOs' ),
56 (
'SCT_RDO_Container' ,
'SCT_RDOs' )}
58 ViewDataVerifier.DataObjects.add((
'TrigRoiDescriptorCollection' ,
'StoreGateSvc+%s' % self.rois ))
60 acc.addEventAlgo(ViewDataVerifier)
◆ viewDataVerifierAfterDataPrep()
ComponentAccumulator python.InDetTrigSequence.InDetTrigSequence.viewDataVerifierAfterDataPrep |
( |
|
self, |
|
|
|
viewVerifier = 'IDViewDataVerifierAfterDataPrep' |
|
) |
| |
Definition at line 89 of file InDetTrigSequence.py.
89 def viewDataVerifierAfterDataPrep(self, viewVerifier='IDViewDataVerifierAfterDataPrep') -> ComponentAccumulator:
94 CompFactory.AthViews.ViewDataVerifier( name = viewVerifier +
"_" + self.signature,
96 (
'SpacePointContainer',
'StoreGateSvc+SCT_TrigSpacePoints' ),
97 (
'SpacePointContainer',
'StoreGateSvc+PixelTrigSpacePoints' ),
98 (
'SpacePointOverlapCollection',
'StoreGateSvc+OverlapSpacePoints' ),
100 (
'InDet::SCT_ClusterContainer',
'StoreGateSvc+SCT_TrigClusters' ),
101 (
'InDet::PixelClusterContainer',
'StoreGateSvc+PixelTrigClusters' ),
105 if self.flags.Input.Format == Format.BS:
106 ViewDataVerifier.DataObjects |= {
107 (
'IDCInDetBSErrContainer' ,
'StoreGateSvc+SCT_ByteStreamErrs' ),
108 (
'IDCInDetBSErrContainer' ,
'StoreGateSvc+PixelByteStreamErrs' ),
111 acc.addEventAlgo(ViewDataVerifier)
◆ viewDataVerifierAfterPattern()
ComponentAccumulator python.InDetTrigSequence.InDetTrigSequence.viewDataVerifierAfterPattern |
( |
|
self, |
|
|
|
viewVerifier = 'IDViewDataVerifierForAmbi' |
|
) |
| |
Definition at line 117 of file InDetTrigSequence.py.
117 def viewDataVerifierAfterPattern(self, viewVerifier='IDViewDataVerifierForAmbi') -> ComponentAccumulator:
122 CompFactory.AthViews.ViewDataVerifier( name = viewVerifier +
"_" + self.signature,
124 (
'InDet::PixelGangedClusterAmbiguities' ,
'TrigPixelClusterAmbiguitiesMap'),
127 if self.flags.Input.Format == Format.BS:
128 ViewDataVerifier.DataObjects |= {
129 (
'IDCInDetBSErrContainer' ,
'StoreGateSvc+PixelByteStreamErrs' ),
130 (
'IDCInDetBSErrContainer' ,
'StoreGateSvc+SCT_ByteStreamErrs' ),
133 acc.addEventAlgo(ViewDataVerifier)
◆ viewDataVerifierTRT()
ComponentAccumulator python.InDetTrigSequence.InDetTrigSequence.viewDataVerifierTRT |
( |
|
self, |
|
|
|
viewVerifier = 'IDViewDataVerifierTRT' |
|
) |
| |
Definition at line 66 of file InDetTrigSequence.py.
66 def viewDataVerifierTRT(self, viewVerifier='IDViewDataVerifierTRT') -> ComponentAccumulator:
71 CompFactory.AthViews.ViewDataVerifier( name = viewVerifier +
"_" + self.signature,
73 (
'InDet::TRT_DriftCircleContainerCache' ,
74 f
'StoreGateSvc+{self.flags.Trigger.InDetTracking.TRT_DriftCircleCacheKey}' ),
79 if self.flags.Input.Format == Format.BS:
80 ViewDataVerifier.DataObjects.add((
'TRT_RDO_Cache' , f
'StoreGateSvc+{self.flags.Trigger.InDetTracking.TRTRDOCacheKey}'))
82 ViewDataVerifier.DataObjects.add((
'TRT_RDO_Container' ,
'StoreGateSvc+TRT_RDOs' ))
84 acc.addEventAlgo(ViewDataVerifier)
◆ xAODParticleCreation()
ComponentAccumulator python.InDetTrigSequence.InDetTrigSequence.xAODParticleCreation |
( |
|
self | ) |
|
Definition at line 289 of file InDetTrigSequence.py.
289 def xAODParticleCreation(self) -> ComponentAccumulator:
291 if self.flags.Tracking.ActiveConfig.doTRT:
292 acc = self.dataPreparationTRT()
296 from xAODTrackingCnv.xAODTrackingCnvConfig
import TrigTrackParticleCnvAlgCfg
301 name = prefix+
'xAODParticleCreatorAlg'+self.flags.Tracking.ActiveConfig.input_name+
'_IDTrig',
302 TrackContainerName = self.lastTrkCollection,
303 xAODTrackParticlesFromTracksContainerName = self.flags.Tracking.ActiveConfig.tracks_IDTrig,
◆ ambiPrefix
python.InDetTrigSequence.InDetTrigSequence.ambiPrefix |
◆ lastTrkCollection
python.InDetTrigSequence.InDetTrigSequence.lastTrkCollection |
◆ log
python.InDetTrigSequence.InDetTrigSequence.log |
The documentation for this class was generated from the following file:
def TrigPixelRawDataProviderAlgCfg(flags, suffix, RoIs, **kwargs)
def TrkAmbiguityScore_Trig_Cfg(flags, name='InDetTrig_SeededAmbiguityScore', **kwargs)
def Trig_TRT_TrackExtensionAlgCfg(flags, inputTracks, name='TrigTrackExtensionAlg', **kwargs)
def TrigSCTRawDataProviderCfg(flags, suffix, RoIs)
def TrigInDetExtensionProcessorCfg(flags, name="InDetTrigMTExtensionProcessor", **kwargs)
def TrigTrackParticleCnvAlgCfg(flags, name="TrigTrackParticleCnvAlg", ClusterSplitProbabilityName="", AssociationMapName="", **kwargs)
def InDetTrigParticleCreatorToolFTFCfg(flags, name="InDetTrigParticleCreatorToolFTF", **kwargs)
def TrigTRTRawDataProviderCfg(AthConfigFlags flags, str RoIs, **kwargs)
def __init__(self, base_directory, **kwargs)
Constructor: all process options are set here.
def TrigSiSPSeededTrackFinderCfg(flags, name="InDetTrigSiSpTrackFinder", **kwargs)
def TrkAmbiguitySolver_Trig_Cfg(flags, name='InDetTrig_SeededAmbiguitySolver', **kwargs)