ATLAS Offline Software
Functions | Variables
python.FPGATrackSimConfigFlags Namespace Reference

Functions

def createFPGATrackSimConfigFlags ()
 
def createBasicFPGATrackSimConfigFlags ()
 
def createHough1dFPGATrackSimConfigFlags ()
 
def createHoughFPGATrackSimConfigFlags ()
 
def createDev21_02_15_FPGATrackSimConfigFlags ()
 

Variables

 flags
 

Function Documentation

◆ createBasicFPGATrackSimConfigFlags()

def python.FPGATrackSimConfigFlags.createBasicFPGATrackSimConfigFlags ( )

Definition at line 60 of file FPGATrackSimConfigFlags.py.

61  from AthenaConfiguration.AthConfigFlags import AthConfigFlags
62  cf = AthConfigFlags()
63 
64  # common
65  cf.addFlag('name', '')
66 
67  # input
68  cf.addFlag('firstInputToolN', 1)
69  cf.addFlag('realHitsOverlay', False)
70  cf.addFlag('hitFiltering', False)
71  cf.addFlag('spacePointFiltering', False)
72  cf.addFlag('writeOutputData', True)
73 
74  # road finding selection
75  cf.addFlag('houghRootoutput', False)
76  cf.addFlag('hough', True)
77  cf.addFlag('hough1D', False)
78  cf.addFlag('etaPatternFilter', False)
79  cf.addFlag('phiRoadFilter', False)
80 
81  # NN filtering
82  cf.addFlag('trackNNAnalysis', False)
83 
84  # overlap removal
85  cf.addFlag('doFastOR', False)
86 
87  # hough
88  cf.addFlag('xVar', 'phi')
89  cf.addFlag('yVar', 'q/pt')
90  cf.addFlag('qptMin', -1.0)
91  cf.addFlag('qptMax', 1.0)
92  cf.addFlag('d0Slices', [])
93  cf.addFlag('slicing', True)
94  cf.addFlag('localMaxWindowSize', 0)
95  cf.addFlag('roadSliceOR', False)
96  cf.addFlag('fieldCorrection', True)
97  cf.addFlag('phiMin', 0.0)
98  cf.addFlag('phiMax', 0.0)
99  cf.addFlag('xBins', 216)
100  cf.addFlag('yBins', 216)
101  cf.addFlag('xBufferBins', 6)
102  cf.addFlag('yBufferBins', 2)
103  cf.addFlag('threshold', [8])
104  cf.addFlag('IdealGeoRoads', True)
105  cf.addFlag('convolution', [])
106  cf.addFlag('convSizeX', 0)
107  cf.addFlag('convSizeY', 0)
108  cf.addFlag('hitExtendX', [])
109 
110  cf.addFlag('doMajority', 1)
111 
112  cf.addFlag('doTracking', False)
113  cf.addFlag('outputHitTxt', False)
114 
115  # performance monitoring
116  cf.addFlag('barcodeFracMatch', 0.5)
117 
118  # track Fitter
119  cf.addFlag('chi2DoFRecoveryMin', 40)
120  cf.addFlag('chi2DoFRecoveryMax', 20000)
121  cf.addFlag('nHitsNoRecovery', -1)
122  cf.addFlag('guessHits', True)
123  cf.addFlag('doMissingHitsChecks', False)
124  cf.addFlag('idealCoordFitType', 2)
125  cf.addFlag('doDeltaGPhis', False)
126  cf.addFlag('chi2cut', 40)
127 
128  # second stage fitting
129  cf.addFlag('secondStage', False)
130  cf.addFlag('secondChi2Cut', 40)
131 
132  # fast monitoring
133  cf.addFlag('fastMon', False)
134  cf.addFlag('canExtendHistRanges', False)
135  cf.addFlag('dataClass', 2)
136 
137  # lrt settings
138  cf.addFlag('lrt', False)
139  cf.addFlag('lrtUseBasicHitFilter', False)
140  cf.addFlag('lrtUseMlHitFilter', False)
141  cf.addFlag('lrtUseStraightTrackHT', False)
142  cf.addFlag('lrtUseDoubletHT', False)
143  cf.addFlag('lrtDoubletD0Range', 120.0)
144  cf.addFlag('lrtDoubletD0Bins', 216)
145  cf.addFlag('lrtDoubletQptRange', 0.02)
146  cf.addFlag('lrtDoubletQptBins', 216)
147  cf.addFlag('lrtMonPhiRange', (0.2, 0.5))
148  cf.addFlag('lrtMonD0Range', (-100,100))
149  cf.addFlag('lrtMonZ0Range', (-300,300))
150  cf.addFlag('sampleType', '')
151 
152  return cf
153 
154 

◆ createDev21_02_15_FPGATrackSimConfigFlags()

def python.FPGATrackSimConfigFlags.createDev21_02_15_FPGATrackSimConfigFlags ( )

Definition at line 222 of file FPGATrackSimConfigFlags.py.

224 
225  cf.name = 'dev_21-02-15'
226  cf.phiMin = 0.3
227  cf.phiMax = 0.5
228  cf.xBins = 64
229  cf.yBins = 216
230  cf.xBufferBins = 2
231  cf.yBufferBins = 2
232  cf.threshold = [70]
233  cf.convolution = [1, 10, 1]
234  cf.addFlag('combineLayers', [])
235  cf.addFlag('scale', [])
236  cf.convSizeX = 3
237  cf.convSizeY = 1
238 
239  cf.doMajority = 0
240  cf.doTracking = True
241 
242  return cf
243 
244 
245 
246 

◆ createFPGATrackSimConfigFlags()

def python.FPGATrackSimConfigFlags.createFPGATrackSimConfigFlags ( )

Definition at line 3 of file FPGATrackSimConfigFlags.py.

4  from AthenaConfiguration.AthConfigFlags import AthConfigFlags
5  cf = AthConfigFlags()
6  cf.addFlag('pipeline', '')
7  cf.addFlag('algoTag', 'Hough')
8  cf.addFlag('wrapperFileName', [])
9  cf.addFlag('wrapperFileName2', [])
10  cf.addFlag('secondInputToolN', 0)
11  cf.addFlag('mapsDir', '__MUST_BE_SET__')
12  cf.addFlag('wrapperMetaData', "Default Meta Data")
13  cf.addFlag('sampleType', 'singleMuons')
14  cf.addFlag('FPGATrackSimMatrixFileRegEx', [])
15  cf.addFlag('FPGATrackSimMaxnMatrixInputFiles', -1)
16  cf.addFlag('outputMergedFPGATrackSimMatrixFile', 'combined_matrix.root')
17  cf.addFlag('FPGATrackSimNBanks', 1)
18  cf.addFlag('FPGATrackSimallBanks', False)
19  cf.addFlag('region', 0)
20  cf.addFlag('minSpacePlusPixel', 3)
21  cf.addFlag('baseName', '')
22  cf.addFlag('CheckGood2ndStage', True)
23  cf.addFlag('Is2ndStage', False)
24  cf.addFlag('UseHitScaleFactor', False)
25  cf.addFlag('missHitsConsts', False)
26  cf.addFlag('tracking', False)
27  cf.addFlag('clustering', True)
28  cf.addFlag('bankDir', '')
29  cf.addFlag('spacePoints', True)
30  cf.addFlag('outputMonitorFile',"monitoring.root")
31  cf.addFlag('connectToToITkTracking',True)
32 
33  def __httHough1DFlags():
34  """Additional function delays import"""
35  from FPGATrackSimConfTools.FPGATrackSimConfigFlags import createHough1dFPGATrackSimConfigFlags
37  cf.addFlagsCategory("Hough1D", __httHough1DFlags, prefix=True )
38 
39  def __httHoughFlags():
40  """Additional function delays import"""
41  from FPGATrackSimConfTools.FPGATrackSimConfigFlags import createHoughFPGATrackSimConfigFlags
43  cf.addFlagsCategory("Hough", __httHoughFlags, prefix=True )
44 
45  def __httDev21_02_15Flags():
46  """Additional function delays import"""
47  from FPGATrackSimConfTools.FPGATrackSimConfigFlags import createDev21_02_15_FPGATrackSimConfigFlags
49  cf.addFlagsCategory("Dev21_02_15", __httDev21_02_15Flags, prefix=True )
50 
51 
52  # EDM conversion
53  cf.addFlag('doEDMConversion', False)
54  cf.addFlag('convertUnmappedHits', False)
55  cf.addFlag('writeToAOD', False)
56 
57  return cf
58 
59 

◆ createHough1dFPGATrackSimConfigFlags()

def python.FPGATrackSimConfigFlags.createHough1dFPGATrackSimConfigFlags ( )

Definition at line 155 of file FPGATrackSimConfigFlags.py.

157 
158  cf.name = 'hough_1d'
159 
160  cf.hough1D = True
161 
162  cf.phiMin = 0.0
163  cf.phiMax = 0.8
164  cf.xBins = 200
165  cf.threshold = [7]
166  cf.hitExtendX = [1] * 9
167 
168  cf.addFlag('phiRangeCut', True)
169  cf.addFlag('splitpt', 1)
170  cf.addFlag('phifilterwindow', 0.005)
171 
172  cf.outputHitTxt = ""
173 
174  return cf
175 
176 

◆ createHoughFPGATrackSimConfigFlags()

def python.FPGATrackSimConfigFlags.createHoughFPGATrackSimConfigFlags ( )

Definition at line 177 of file FPGATrackSimConfigFlags.py.

179 
180  cf.name = 'hough'
181  cf.hough = True
182 
183 
184  cf.phiMin = 0.3
185  cf.phiMax = 0.5
186  cf.xBins = 216
187  cf.yBins = 216
188  cf.xBufferBins = 6
189  cf.yBufferBins = 2
190  cf.addFlag('combineLayers', [])
191  cf.addFlag('scale', [])
192  cf.hitExtendX = [2,1,0,0,0,0,0,0,0]
193 
194  cf.addFlag('lrtSkipHitFiltering', False)
195  cf.addFlag('lrtPtmin', 5)
196  cf.addFlag('allowHighTruthBarcode', False)
197  cf.addFlag('mLRTpdgID', 0)
198  cf.addFlag('lrtStraighttrackXVar', 'phi')
199  cf.addFlag('lrtStraighttrackYVar', 'd0')
200  cf.addFlag('lrtStraighttrackPhiMin', 0.3)
201  cf.addFlag('lrtStraighttrackPhiMax', 0.5)
202  cf.addFlag('lrtStraighttrackD0Min', -300.0)
203  cf.addFlag('lrtStraighttrackD0Max', 300.0)
204  cf.addFlag('lrtStraighttrackXBins', 216)
205  cf.addFlag('lrtStraighttrackYBins', 216)
206  cf.addFlag('lrtStraighttrackXBufferBins', 6)
207  cf.addFlag('lrtStraighttrackYBufferBins', 2)
208  cf.addFlag('lrtStraighttrackSlicing', True)
209  cf.addFlag('lrtStraighttrackThreshold', [1])
210  cf.addFlag('lrtStraighttrackConvolution', [])
211  cf.addFlag('lrtStraighttrackCombineLayers', [0,1,2,3,4,5,6,7])
212  cf.addFlag('lrtStraighttrackScale', [1])
213  cf.addFlag('lrtStraighttrackConvSizeX', 0)
214  cf.addFlag('lrtStraighttrackConvSizeY', 0)
215  cf.addFlag('lrtStraighttrackHitExtendX', [])
216  cf.addFlag('lrtStraighttrackStereo', False)
217  cf.addFlag('lrtStraighttrackLocalMaxWindowSize', 0)
218 
219  return cf
220 
221 

Variable Documentation

◆ flags

python.FPGATrackSimConfigFlags.flags

Definition at line 253 of file FPGATrackSimConfigFlags.py.

python.FPGATrackSimConfigFlags.createHoughFPGATrackSimConfigFlags
def createHoughFPGATrackSimConfigFlags()
Definition: FPGATrackSimConfigFlags.py:177
python.FPGATrackSimConfigFlags.createDev21_02_15_FPGATrackSimConfigFlags
def createDev21_02_15_FPGATrackSimConfigFlags()
Definition: FPGATrackSimConfigFlags.py:222
python.FPGATrackSimConfigFlags.createFPGATrackSimConfigFlags
def createFPGATrackSimConfigFlags()
Definition: FPGATrackSimConfigFlags.py:3
python.FPGATrackSimConfigFlags.createHough1dFPGATrackSimConfigFlags
def createHough1dFPGATrackSimConfigFlags()
Definition: FPGATrackSimConfigFlags.py:155
python.FPGATrackSimConfigFlags.createBasicFPGATrackSimConfigFlags
def createBasicFPGATrackSimConfigFlags()
Definition: FPGATrackSimConfigFlags.py:60