Definition at line 10 of file ActsTrigSequence.py.
◆ __init__()
def python.ActsTrigSequence.ActsTrigSequence.__init__ |
( |
|
self, |
|
|
AthConfigFlags |
flags, |
|
|
str |
signature, |
|
|
str |
rois, |
|
|
str |
inView |
|
) |
| |
Definition at line 11 of file ActsTrigSequence.py.
11 def __init__(self, flags : AthConfigFlags, signature : str, rois : str, inView : str):
12 super().
__init__(flags, signature,rois,inView)
13 self.log = logging.getLogger(
"ActsTrigSequence")
14 self.log.
info(f
"signature: {self.signature} rois: {self.rois} inview: {self.inView}")
◆ ambiguitySolver()
ComponentAccumulator python.ActsTrigSequence.ActsTrigSequence.ambiguitySolver |
( |
|
self | ) |
|
Definition at line 128 of file ActsTrigSequence.py.
128 def ambiguitySolver(self) -> ComponentAccumulator:
132 acc.merge(self.viewDataVerifierAfterPattern())
134 from ActsConfig.ActsTrackFindingConfig
import ActsMainAmbiguityResolutionAlgCfg
136 acc.merge(
ActsMainAmbiguityResolutionAlgCfg(self.flags,
"ActsAmbiguityResolutionAlg_"+self.signature, TracksLocation=self.flags.Tracking.ActiveConfig.trkTracks_FTF, ResolvedTracksLocation=self.flags.Tracking.ActiveConfig.trkTracks_IDTrig))
◆ dataPreparation()
ComponentAccumulator python.ActsTrigSequence.ActsTrigSequence.dataPreparation |
( |
|
self | ) |
|
Definition at line 59 of file ActsTrigSequence.py.
59 def dataPreparation(self) -> ComponentAccumulator:
62 self.log.
info(f
"DataPrep signature: {self.signature} rois: {self.rois} inview: {self.inView}")
65 from SGComps.SGInputLoaderConfig
import SGInputLoaderCfg
66 loadRDOs = [(
'PixelRDO_Container' ,
'StoreGateSvc+ITkPixelRDOs' ),
67 (
'SCT_RDO_Container' ,
'StoreGateSvc+ITkStripRDOs' ),
68 (
'InDetSimDataCollection' ,
'ITkPixelSDO_Map') ]
72 from ActsConfig.ActsClusterizationConfig
import ActsPixelClusterizationAlgCfg,ActsStripClusterizationAlgCfg,ActsPixelClusterPreparationAlgCfg,ActsStripClusterPreparationAlgCfg
74 acc.merge(
ActsPixelClusterizationAlgCfg(self.flags, name=
"ActsPixelClusterizationAlg_"+self.signature,useCache=
True, RoIs=self.rois,ClustersKey=
"ITkPixelClusters_"+self.signature))
75 acc.merge(
ActsStripClusterizationAlgCfg(self.flags, name=
"ActsStripClusterizationAlg_"+self.signature,useCache=
True, RoIs=self.rois,ClustersKey=
"ITkStripClusters_"+self.signature))
77 if self.flags.Acts.useCache:
78 acc.merge(
ActsPixelClusterPreparationAlgCfg(self.flags,
"ActsPixelClusterViewFiller_"+self.signature,
True,OutputCollection=
"ITkPixelClusters_Cached", InputIDC=
"ActsPixelClustersCache", RoIs=self.rois))
79 acc.merge(
ActsStripClusterPreparationAlgCfg(self.flags,
"ActsStripClusterViewFiller_"+self.signature,
True,OutputCollection=
"ITkStripClusters_Cached", InputIDC=
"ActsStripClustersCache", RoIs=self.rois))
◆ fastTrackFinder()
ComponentAccumulator python.ActsTrigSequence.ActsTrigSequence.fastTrackFinder |
( |
|
self, |
|
|
AthConfigFlags |
extraFlags = None , |
|
|
str |
inputTracksName = None |
|
) |
| |
Definition at line 112 of file ActsTrigSequence.py.
112 def fastTrackFinder(self,
113 extraFlags : AthConfigFlags =
None,
114 inputTracksName : str =
None) -> ComponentAccumulator:
117 from ActsConfig.ActsSeedingConfig
import ActsPixelSeedingAlgCfg
119 acc.merge(
ActsPixelSeedingAlgCfg(self.flags, name=
"ActsPixelSeedingAlg_"+self.signature, InputSpacePoints=[
'ITkPixelSpacePoints_Cached']
if self.flags.Acts.useCache
else [
'ITkPixelSpacepoints_'+self.signature], useFastTracking=
True))
121 from ActsConfig.ActsTrackFindingConfig
import ActsMainTrackFindingAlgCfg, ActsTrackToTrackParticleCnvAlgCfg
123 acc.merge(
ActsMainTrackFindingAlgCfg(self.flags, name=
"ActsTrackFindingAlg_"+self.signature, ACTSTracksLocation=self.flags.Tracking.ActiveConfig.trkTracks_FTF,SeedLabels=[
"PPP"],SeedContainerKeys=[
"ActsPixelSeeds"],UncalibratedMeasurementContainerKeys=[
"ITkPixelClusters_Cached" if self.flags.Acts.useCache
else "ITkPixelClusters_"+self.signature ,
"ITkStripClusters_Cached" if self.flags.Acts.useCache
else "ITkStripClusters_"+self.signature],EstimatedTrackParametersKeys=[
"ActsPixelEstimatedTrackParams"]))
124 acc.merge(
ActsTrackToTrackParticleCnvAlgCfg(self.flags,name=
"ActsTrackParticleCreator_"+self.signature, ACTSTracksLocation=[self.flags.Tracking.ActiveConfig.trkTracks_FTF], TrackParticlesOutKey=self.flags.Tracking.ActiveConfig.tracks_FTF))
◆ spacePointFormation()
ComponentAccumulator python.ActsTrigSequence.ActsTrigSequence.spacePointFormation |
( |
|
self | ) |
|
Definition at line 100 of file ActsTrigSequence.py.
100 def spacePointFormation(self) -> ComponentAccumulator:
103 from ActsConfig.ActsSpacePointFormationConfig
import ActsPixelSpacePointFormationAlgCfg,ActsPixelSpacePointPreparationAlgCfg
105 acc.merge(
ActsPixelSpacePointFormationAlgCfg(self.flags,name=
"PixelSPFormation_"+self.signature,useCache=self.flags.Acts.useCache, PixelClusters =
"ITkPixelClusters_Cached" if self.flags.Acts.useCache
else "ITkPixelClusters_"+self.signature, PixelSpacePoints =
"ITkPixelSpacepoints_"+self.signature))
107 if self.flags.Acts.useCache:
108 acc.merge(
ActsPixelSpacePointPreparationAlgCfg(self.flags,name=
"PixelSPVF_"+self.signature,useCache=
True, RoIs=self.rois, OutputCollection=
"ITkPixelSpacePoints_Cached", InputIDC=
"ActsPixelSpacePointCache"))
◆ viewDataVerifier()
ComponentAccumulator python.ActsTrigSequence.ActsTrigSequence.viewDataVerifier |
( |
|
self, |
|
|
|
viewVerifier = 'IDViewDataVerifier' |
|
) |
| |
Definition at line 17 of file ActsTrigSequence.py.
17 def viewDataVerifier(self, viewVerifier='IDViewDataVerifier') -> ComponentAccumulator:
21 ViewDataVerifier = CompFactory.AthViews.ViewDataVerifier(
22 name = viewVerifier +
"_" + self.signature,
23 DataObjects= {(
'xAOD::EventInfo',
'StoreGateSvc+EventInfo'),
24 (
'PixelRDO_Cache',
'PixRDOCache'),
25 (
'SCT_RDO_Cache',
'SctRDOCache'),
30 (
'ActsTrk::Cache::Handles<xAOD::SpacePoint>::IDCBackend' ,
'StoreGateSvc+ActsPixelSpacePointCache_Back' ),
31 (
'ActsTrk::Cache::Handles<xAOD::SpacePoint>::IDCBackend',
'StoreGateSvc+ActsStripSpacePointCache_Back'),
32 (
'ActsTrk::Cache::Handles<xAOD::SpacePoint>::IDCBackend',
'StoreGateSvc+ActsStripOverlapSpacePointCache_Back'),
33 (
'ActsTrk::Cache::Handles<xAOD::PixelCluster>::IDCBackend' ,
'StoreGateSvc+ActsPixelClusterCache_Back' ),
34 (
'ActsTrk::Cache::Handles<xAOD::StripCluster>::IDCBackend' ,
'StoreGateSvc+ActsStripClusterCache_Back' ),
35 (
'xAOD::EventInfo',
'EventInfo'),
36 (
'ActsGeometryContext' ,
'StoreGateSvc+ActsAlignment' ),
37 (
'TrigRoiDescriptorCollection',
str(self.rois)),
38 (
'TagInfo' ,
'DetectorStore+ProcessingTags' )} )
40 if self.flags.Input.isMC:
41 ViewDataVerifier.DataObjects |= {(
'PixelRDO_Container' ,
'StoreGateSvc+ITkPixelRDOs' ),
42 (
'SCT_RDO_Container' ,
'StoreGateSvc+ITkStripRDOs' ),
43 (
'InDetSimDataCollection' ,
'ITkPixelSDO_Map'),
44 (
'ActsTrk::Cache::Handles<xAOD::SpacePoint>::IDCBackend' ,
'StoreGateSvc+ActsPixelSpacePointCache_Back' ),
45 (
'ActsTrk::Cache::Handles<xAOD::SpacePoint>::IDCBackend',
'StoreGateSvc+ActsStripSpacePointCache_Back'),
46 (
'ActsTrk::Cache::Handles<xAOD::SpacePoint>::IDCBackend',
'StoreGateSvc+ActsStripOverlapSpacePointCache_Back'),
47 (
'ActsTrk::Cache::Handles<xAOD::PixelCluster>::IDCBackend' ,
'StoreGateSvc+ActsPixelClusterCache_Back' ),
48 (
'ActsTrk::Cache::Handles<xAOD::StripCluster>::IDCBackend' ,
'StoreGateSvc+ActsStripClusterCache_Back' ),
49 (
'ActsGeometryContext' ,
'StoreGateSvc+ActsAlignment' )}
50 from SGComps.SGInputLoaderConfig
import SGInputLoaderCfg
51 sgil_load = [(
'PixelRDO_Container' ,
'StoreGateSvc+ITkPixelRDOs' ),
52 (
'SCT_RDO_Container' ,
'StoreGateSvc+ITkStripRDOs' ),
53 (
'InDetSimDataCollection' ,
'ITkPixelSDO_Map'),]
56 acc.addEventAlgo(ViewDataVerifier)
◆ viewDataVerifierAfterPattern()
ComponentAccumulator python.ActsTrigSequence.ActsTrigSequence.viewDataVerifierAfterPattern |
( |
|
self, |
|
|
|
viewVerifier = 'ActsViewDataVerifierForAmbi' |
|
) |
| |
Definition at line 83 of file ActsTrigSequence.py.
83 def viewDataVerifierAfterPattern(self, viewVerifier='ActsViewDataVerifierForAmbi') -> ComponentAccumulator:
88 CompFactory.AthViews.ViewDataVerifier(
89 name = viewVerifier +
"_" + self.signature,
91 (
'InDetSimDataCollection' ,
'ITkPixelSDO_Map'),
92 (
'ActsGeometryContext' ,
'StoreGateSvc+ActsAlignment' )
96 acc.addEventAlgo(ViewDataVerifier)
◆ xAODParticleCreation()
ComponentAccumulator python.ActsTrigSequence.ActsTrigSequence.xAODParticleCreation |
( |
|
self | ) |
|
Definition at line 141 of file ActsTrigSequence.py.
141 def xAODParticleCreation(self) -> ComponentAccumulator:
144 from ActsConfig.ActsTrackFindingConfig
import ActsTrackToTrackParticleCnvAlgCfg
145 acc.merge(
ActsTrackToTrackParticleCnvAlgCfg(self.flags,
"ActsTrackParticleCreator_Ambi_"+self.signature, ACTSTracksLocation=[self.flags.Tracking.ActiveConfig.trkTracks_IDTrig], TrackParticlesOutKey=self.flags.Tracking.ActiveConfig.tracks_IDTrig))
◆ log
python.ActsTrigSequence.ActsTrigSequence.log |
The documentation for this class was generated from the following file: