ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
python.ITkTrigSequence.ITkTrigSequence Class Reference
Inheritance diagram for python.ITkTrigSequence.ITkTrigSequence:
Collaboration diagram for python.ITkTrigSequence.ITkTrigSequence:

Public Member Functions

def __init__ (self, AthConfigFlags flags, str signature, str rois, str inView)
 
ComponentAccumulator viewDataVerifier (self, viewVerifier='IDViewDataVerifier')
 
ComponentAccumulator dataPreparation (self)
 
ComponentAccumulator viewDataVerifierAfterPattern (self, viewVerifier='IDViewDataVerifierForAmbi')
 
ComponentAccumulator spacePointFormation (self)
 
ComponentAccumulator fastTrackFinder (self, AthConfigFlags extraFlags=None, str inputTracksName=None)
 
ComponentAccumulator ambiguitySolver (self)
 
ComponentAccumulator xAODParticleCreation (self)
 

Public Attributes

 log
 
 lastTrkCollection
 

Detailed Description

Definition at line 10 of file ITkTrigSequence.py.

Constructor & Destructor Documentation

◆ __init__()

def python.ITkTrigSequence.ITkTrigSequence.__init__ (   self,
AthConfigFlags  flags,
str  signature,
str  rois,
str  inView 
)

Definition at line 11 of file ITkTrigSequence.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("ITkTrigSequence")
14  self.log.info(f"signature: {self.signature} rois: {self.rois} inview: {self.inView}")
15 
16 

Member Function Documentation

◆ ambiguitySolver()

ComponentAccumulator python.ITkTrigSequence.ITkTrigSequence.ambiguitySolver (   self)

Definition at line 112 of file ITkTrigSequence.py.

112  def ambiguitySolver(self) -> ComponentAccumulator:
113 
114  acc = ComponentAccumulator()
115 
116  if self.inView:
117  acc.merge(self.viewDataVerifierAfterPattern())
118 
119  from TrkConfig.TrkAmbiguitySolverConfig import ITkTrkAmbiguityScoreCfg
120  acc.merge(
122  self.flags,
123  name = "TrkAmbiguityScore_",
124  SiSPSeededTrackCollectionKey=self.flags.Tracking.ActiveConfig.trkTracks_FTF
125  )
126  )
127 
128  from TrkConfig.TrkAmbiguitySolverConfig import ITkTrkAmbiguitySolverCfg
129  acc.merge(
131  self.flags,
132  name = "TrkAmbiguitySolver_",
133  ResolvedTrackCollectionKey=self.flags.Tracking.ActiveConfig.trkTracks_IDTrig+"_Amb"
134  )
135  )
136 
137  self.lastTrkCollection = self.flags.Tracking.ActiveConfig.trkTracks_IDTrig+"_Amb"
138  return acc
139 

◆ dataPreparation()

ComponentAccumulator python.ITkTrigSequence.ITkTrigSequence.dataPreparation (   self)

Definition at line 50 of file ITkTrigSequence.py.

50  def dataPreparation(self) -> ComponentAccumulator:
51 
52  signature = self.flags.Tracking.ActiveConfig.input_name
53 
54  acc = ComponentAccumulator()
55 
56  self.log.info(f"DataPrep signature: {self.signature} rois: {self.rois} inview: {self.inView}")
57 
58  if not self.inView:
59  from SGComps.SGInputLoaderConfig import SGInputLoaderCfg
60  loadRDOs = [( 'PixelRDO_Container' , 'StoreGateSvc+ITkPixelRDOs' ),
61  ( 'SCT_RDO_Container' , 'StoreGateSvc+ITkStripRDOs' ),
62  ( 'InDetSimDataCollection' , 'ITkPixelSDO_Map') ]
63  acc.merge(SGInputLoaderCfg(self.flags, Load=loadRDOs))
64 
65  #Clusterisation
66  from InDetConfig.InDetPrepRawDataFormationConfig import ITkTrigPixelClusterizationCfg, ITkTrigStripClusterizationCfg
67  acc.merge(ITkTrigPixelClusterizationCfg(self.flags, roisKey=self.rois, signature=signature))
68  acc.merge(ITkTrigStripClusterizationCfg(self.flags, roisKey=self.rois, signature=signature))
69 
70  return acc
71 

◆ fastTrackFinder()

ComponentAccumulator python.ITkTrigSequence.ITkTrigSequence.fastTrackFinder (   self,
AthConfigFlags   extraFlags = None,
str   inputTracksName = None 
)

Definition at line 98 of file ITkTrigSequence.py.

98  def fastTrackFinder(self,
99  extraFlags : AthConfigFlags = None,
100  inputTracksName : str = None) -> ComponentAccumulator:
101  acc = self.fastTrackFinderBase(extraFlags, inputTracksName)
102  signature = self.flags.Tracking.ActiveConfig.input_name
103 
104  if not self.flags.Tracking.ActiveConfig.doZFinderOnly:
105  from xAODTrackingCnv.xAODTrackingCnvConfig import ITkTrackParticleCnvAlgCfg
106  acc.merge(ITkTrackParticleCnvAlgCfg(self.flags,
107  name = "ITkTrigTrackParticleCnvAlg"+signature,
108  TrackContainerName = self.flags.Tracking.ActiveConfig.trkTracks_FTF,
109  xAODTrackParticlesFromTracksContainerName = self.flags.Tracking.ActiveConfig.tracks_FTF))
110  return acc
111 

◆ spacePointFormation()

ComponentAccumulator python.ITkTrigSequence.ITkTrigSequence.spacePointFormation (   self)

Definition at line 89 of file ITkTrigSequence.py.

89  def spacePointFormation(self) -> ComponentAccumulator:
90 
91  signature = self.flags.Tracking.ActiveConfig.input_name
92  acc = ComponentAccumulator()
93 
94  from InDetConfig.SiSpacePointFormationConfig import ITkTrigSiTrackerSpacePointFinderCfg
95  acc.merge(ITkTrigSiTrackerSpacePointFinderCfg(self.flags, signature=signature))
96  return acc
97 

◆ viewDataVerifier()

ComponentAccumulator python.ITkTrigSequence.ITkTrigSequence.viewDataVerifier (   self,
  viewVerifier = 'IDViewDataVerifier' 
)

Definition at line 17 of file ITkTrigSequence.py.

17  def viewDataVerifier(self, viewVerifier='IDViewDataVerifier') -> ComponentAccumulator:
18 
19  acc = ComponentAccumulator()
20 
21  ViewDataVerifier = CompFactory.AthViews.ViewDataVerifier(
22  name = viewVerifier + "_" + self.signature,
23  DataObjects= {('xAOD::EventInfo', 'StoreGateSvc+EventInfo'),
24  ('InDet::PixelClusterContainerCache', self.flags.Trigger.ITkTracking.PixelClusterCacheKey),
25  ('PixelRDO_Cache', self.flags.Trigger.ITkTracking.PixRDOCacheKey),
26  ('InDet::SCT_ClusterContainerCache', self.flags.Trigger.ITkTracking.SCTClusterCacheKey),
27  ('SCT_RDO_Cache', self.flags.Trigger.ITkTracking.SCTRDOCacheKey),
28  ('IDCInDetBSErrContainer_Cache' , self.flags.Trigger.ITkTracking.PixBSErrCacheKey ),
29  ('IDCInDetBSErrContainer_Cache' , self.flags.Trigger.ITkTracking.SCTBSErrCacheKey ),
30  ('IDCInDetBSErrContainer_Cache' , self.flags.Trigger.ITkTracking.SCTFlaggedCondCacheKey ),
31  ('SpacePointCache', self.flags.Trigger.ITkTracking.SpacePointCachePix),
32  ('SpacePointCache', self.flags.Trigger.ITkTracking.SpacePointCacheSCT),
33  ('xAOD::EventInfo', 'EventInfo'),
34  ('TrigRoiDescriptorCollection', str(self.rois)),
35  ( 'TagInfo' , 'DetectorStore+ProcessingTags' )} )
36 
37  if self.flags.Input.isMC:
38  ViewDataVerifier.DataObjects |= {( 'PixelRDO_Container' , 'StoreGateSvc+ITkPixelRDOs' ),
39  ( 'SCT_RDO_Container' , 'StoreGateSvc+ITkStripRDOs' ),
40  ( 'InDetSimDataCollection' , 'ITkPixelSDO_Map')}
41  from SGComps.SGInputLoaderConfig import SGInputLoaderCfg
42  sgil_load = [( 'PixelRDO_Container' , 'StoreGateSvc+ITkPixelRDOs' ),
43  ( 'SCT_RDO_Container' , 'StoreGateSvc+ITkStripRDOs' ),
44  ( 'InDetSimDataCollection' , 'ITkPixelSDO_Map')]
45  acc.merge(SGInputLoaderCfg(self.flags, Load=sgil_load))
46 
47  acc.addEventAlgo(ViewDataVerifier)
48  return acc
49 

◆ viewDataVerifierAfterPattern()

ComponentAccumulator python.ITkTrigSequence.ITkTrigSequence.viewDataVerifierAfterPattern (   self,
  viewVerifier = 'IDViewDataVerifierForAmbi' 
)

Definition at line 72 of file ITkTrigSequence.py.

72  def viewDataVerifierAfterPattern(self, viewVerifier='IDViewDataVerifierForAmbi') -> ComponentAccumulator:
73 
74  acc = ComponentAccumulator()
75 
76  ViewDataVerifier = \
77  CompFactory.AthViews.ViewDataVerifier(
78  name = viewVerifier + "_" + self.signature,
79  DataObjects = {
80  ( 'InDet::PixelGangedClusterAmbiguities' , 'ITkPixelClusterAmbiguitiesMap'),
81  ( 'InDetSimDataCollection' , 'ITkPixelSDO_Map'),
82  }
83  )
84 
85  acc.addEventAlgo(ViewDataVerifier)
86  return acc
87 
88 

◆ xAODParticleCreation()

ComponentAccumulator python.ITkTrigSequence.ITkTrigSequence.xAODParticleCreation (   self)

Definition at line 140 of file ITkTrigSequence.py.

140  def xAODParticleCreation(self) -> ComponentAccumulator:
141 
142  acc = ComponentAccumulator()
143 
144  from xAODTrackingCnv.xAODTrackingCnvConfig import ITkTrackParticleCnvAlgCfg
145  prefix = "ITk"
146  acc.merge(ITkTrackParticleCnvAlgCfg(
147  self.flags,
148  name = prefix+'xAODParticleCreatorAlg'+self.flags.Tracking.ActiveConfig.input_name+'_IDTrig',
149  TrackContainerName = self.lastTrkCollection,
150  xAODTrackParticlesFromTracksContainerName = self.flags.Tracking.ActiveConfig.tracks_IDTrig
151  ))
152  return acc

Member Data Documentation

◆ lastTrkCollection

python.ITkTrigSequence.ITkTrigSequence.lastTrkCollection

Definition at line 137 of file ITkTrigSequence.py.

◆ log

python.ITkTrigSequence.ITkTrigSequence.log

Definition at line 13 of file ITkTrigSequence.py.


The documentation for this class was generated from the following file:
grepfile.info
info
Definition: grepfile.py:38
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.InDetPrepRawDataFormationConfig.ITkTrigStripClusterizationCfg
def ITkTrigStripClusterizationCfg(flags, name="ITkTrigStripClusterization", roisKey="", signature="", **kwargs)
Definition: InDetPrepRawDataFormationConfig.py:222
python.TrkAmbiguitySolverConfig.ITkTrkAmbiguitySolverCfg
def ITkTrkAmbiguitySolverCfg(flags, name="ITkAmbiguitySolver", ResolvedTrackCollectionKey=None, **kwargs)
Definition: TrkAmbiguitySolverConfig.py:184
python.InDetPrepRawDataFormationConfig.ITkTrigPixelClusterizationCfg
def ITkTrigPixelClusterizationCfg(flags, name="ITkTrigPixelClusterization", roisKey="", signature="", **kwargs)
Definition: InDetPrepRawDataFormationConfig.py:120
xAODTrackingCnvConfig.ITkTrackParticleCnvAlgCfg
def ITkTrackParticleCnvAlgCfg(flags, name="ITkTrackParticleCnvAlg", ClusterSplitProbabilityName="", AssociationMapName="", bool isActsAmbi=False, **kwargs)
Definition: xAODTrackingCnvConfig.py:283
python.TrkAmbiguitySolverConfig.ITkTrkAmbiguityScoreCfg
def ITkTrkAmbiguityScoreCfg(flags, name="ITkAmbiguityScore", SiSPSeededTrackCollectionKey=None, ClusterSplitProbContainer='', **kwargs)
Definition: TrkAmbiguitySolverConfig.py:74
SGInputLoaderConfig.SGInputLoaderCfg
def SGInputLoaderCfg(flags, Load=None, **kwargs)
Definition: SGInputLoaderConfig.py:7
python.processes.powheg.ZZ.ZZ.__init__
def __init__(self, base_directory, **kwargs)
Constructor: all process options are set here.
Definition: ZZ.py:18
str
Definition: BTagTrackIpAccessor.cxx:11
python.SiSpacePointFormationConfig.ITkTrigSiTrackerSpacePointFinderCfg
def ITkTrigSiTrackerSpacePointFinderCfg(flags, name="ITkTrigSiTrackerSpacePointFinder", signature="", **kwargs)
Definition: SiSpacePointFormationConfig.py:181