![]() |
ATLAS Offline Software
|
Functions | |
| def | ordered_pairs (a_list) |
| def | makeCornerDefectParam (probability=1e-1, min_rx=0., max_rx=4e-3, min_ry=0., max_ry=4e-3, min_sagitta=0., max_sagitta=2e-3) |
| def | moduleDefect (bec=[-2, 2], layer=[0, 8], eta_range=[-99, 99], phi_range=[-99, 99], columns_or_strips=[0, 2000], column_or_strip_length=[0, 1000000], side_range=[0, 1], all_rows=True, probability=[1e-2], fractionsOfNDefects=[], noiseProbability=None, noiseShape=[], cornerDefectParam=None, cornerDefectNCornerFractions=None) |
| def | combineModuleDefects (defects) |
| def | StripRDORemappingCfg (flags, InputKey="StripRDOs") |
| def | ITkStripRDORemappingCfg (flags) |
| ComponentAccumulator | DefectsHistSvcCfg (flags, str HistogramGroup="StripDefects", str FileName='strip_defects.root') |
| ComponentAccumulator | ITkDefectsHistSvcCfg (flags, HistogramGroup="ITkStripDefects") |
| ComponentAccumulator | StripDefectsEmulatorCondAlgCfg (flags, str name="StripDefectsEmulatorCondAlg", **dict kwargs) |
| ComponentAccumulator | ITkStripDefectsEmulatorCondAlgCfg (flags, str name="ITkStripDefectsEmulatorCondAlg", **dict kwargs) |
| ComponentAccumulator | StripDefectsEmulatorAlgCfg (flags, str name="ITkStripDefectsEmulatorAlg", **dict kwargs) |
| ComponentAccumulator | ITkStripDefectsEmulatorAlgCfg (flags, str name="ITkStripDefectsEmulatorAlg", **dict kwargs) |
| ComponentAccumulator | ITkStripDefectsEmulatorToDetectorElementStatusCondAlgCfg (flags, str name="ITkStripDefectsEmulatorToDetectorElementStatusCondAlgCfg", **dict kwargs) |
Variables | |
| list | ODD_INDEX = [1,-2] |
| list | EVEN_INDEX = [0,-2] |
| flags = initConfigFlags() | |
| ProductionStep | |
| AtlasVersion | |
| GlobalTag | |
| Dynamic | |
| Files | |
| GeometryITkStrip | |
| GeometryBpipe | |
| GeometryCalo | |
| NumThreads | |
| NumConcurrentEvents | |
| MaxEvents | |
| acc = MainServicesCfg( flags ) | |
| withDetails | |
| True | |
| summariseProps | |
| printDefaults | |
| sc = acc.run() | |
| def StripDefectsEmulatorConfig.combineModuleDefects | ( | defects | ) |
Convenience function to combine a list of outputs of calls of moduleDefect, to produce lists to set the ModulePatterns, DefectProbabilities, and NDefectFractionsPerPattern etc. properties of the pixel or strip DefectsEmulatorCondAlg.
Definition at line 151 of file StripDefectsEmulatorConfig.py.
| ComponentAccumulator StripDefectsEmulatorConfig.DefectsHistSvcCfg | ( | flags, | |
| str | HistogramGroup = "StripDefects", |
||
| str | FileName = 'strip_defects.root' |
||
| ) |
THistSvc to histogram some properties of emulated defects.
Definition at line 179 of file StripDefectsEmulatorConfig.py.
| ComponentAccumulator StripDefectsEmulatorConfig.ITkDefectsHistSvcCfg | ( | flags, | |
HistogramGroup = "ITkStripDefects" |
|||
| ) |
Definition at line 189 of file StripDefectsEmulatorConfig.py.
| ComponentAccumulator StripDefectsEmulatorConfig.ITkStripDefectsEmulatorAlgCfg | ( | flags, | |
| str | name = "ITkStripDefectsEmulatorAlg", |
||
| **dict | kwargs | ||
| ) |
Schedule algorithm to emulate ITk strip defects by dropping RDOs overlapping with emulated defects conditions data.
Definition at line 263 of file StripDefectsEmulatorConfig.py.
| ComponentAccumulator StripDefectsEmulatorConfig.ITkStripDefectsEmulatorCondAlgCfg | ( | flags, | |
| str | name = "ITkStripDefectsEmulatorCondAlg", |
||
| **dict | kwargs | ||
| ) |
Schedule conditions algorithm to create emulated ITk strip defect conditions data
Definition at line 217 of file StripDefectsEmulatorConfig.py.
| ComponentAccumulator StripDefectsEmulatorConfig.ITkStripDefectsEmulatorToDetectorElementStatusCondAlgCfg | ( | flags, | |
| str | name = "ITkStripDefectsEmulatorToDetectorElementStatusCondAlgCfg", |
||
| **dict | kwargs | ||
| ) |
Definition at line 287 of file StripDefectsEmulatorConfig.py.
| def StripDefectsEmulatorConfig.ITkStripRDORemappingCfg | ( | flags | ) |
Remapping service to rename the input ITk strip RDO collection
Definition at line 173 of file StripDefectsEmulatorConfig.py.
| def StripDefectsEmulatorConfig.makeCornerDefectParam | ( | probability = 1e-1, |
|
min_rx = 0., |
|||
max_rx = 4e-3, |
|||
min_ry = 0., |
|||
max_ry = 4e-3, |
|||
min_sagitta = 0., |
|||
max_sagitta = 2e-3 |
|||
| ) |
Convenience method to create a parameter set for module corner defects. The corner defects have a circular shape and intersect the sensor edges at certain points in x and y direction. The line between these two intersection points forms a sagitta of the circle. probability: Probability of a module to have one or more corner defects. min_rx: minimum position from the corner in local x-direction of possible intersection points. max_rx: maximum position from the corner in local x-direction of possible intersection points. min_ry: minimum position from the corner in local y-direction of possible intersection points. max_ry: maximum position from the corner in local x-direction of possible intersection points. min_sagitta: minimum size of the sagitta (upper limit of circle radius) max_sagitta: maximum size of the sagitta (lower limit of circle radius)
Definition at line 28 of file StripDefectsEmulatorConfig.py.
| def StripDefectsEmulatorConfig.moduleDefect | ( | bec = [-2,2], |
|
layer = [0,8], |
|||
eta_range = [-99,99], |
|||
phi_range = [-99,99], |
|||
columns_or_strips = [0,2000], |
|||
column_or_strip_length = [0,1000000], |
|||
side_range = [0,1], |
|||
all_rows = True, |
|||
probability = [1e-2], |
|||
fractionsOfNDefects = [], |
|||
noiseProbability = None, |
|||
noiseShape = [], |
|||
cornerDefectParam = None, |
|||
cornerDefectNCornerFractions = None |
|||
| ) |
Convenience function to create parameters for strip or pixel defects emulation conditions data
bec: range to select the bec identifier part (range is inclusive)
layer: range to select the layer/disc identifier part (range is inclusive)
eta_range: range to select the eta index identifier part (range is inclusive)
phi_range: range to select the phi index identifier part (range is inclusive)
columns_or_strips: match only modules with number of columns or strips in this range (range is inclusive)
column_or_strip_length: match the strip lengths in microns (range is inclusive)
side_range: to select both sides of a sensor [0,1], to select either side [0,0,1,1]
all_rows: to select individal modules (0), or all modules associated to the same physical sensor (1)
probabilities: module-defect, strip/pixel defect (for pixel additionally group defect probabilities:
at least one core-column defect, at least one defect circuit)
fractions: per group defect, fractions to have exactly 1..n group defects under the condition that there is
at least one such group defect. The first element are the fractions to have consecutive cell
defects of 1,2, ... n rows.
noiseProbability: None or probability of a strip (or pixel) to produce a spurious hit.
noiseShape: empty list or binned pdf used to compute one random number per spurious hit (time bin for strips, tot for pixel).
cornerDefectParam: None or parameters e.g. created with makeCornerDefectParam to create defects at module corners.
cornerDefectNCornerFractions: if cornerDefectParam is not None the fractions of 1 to 4 corners to have a defect if the module
has such defects.
Definition at line 56 of file StripDefectsEmulatorConfig.py.
| def StripDefectsEmulatorConfig.ordered_pairs | ( | a_list | ) |
Return True if every two elements in a_list form a pair whose two elements are in ascending order. The element pairs themselves may have an arbitrary order.
Definition at line 16 of file StripDefectsEmulatorConfig.py.
| ComponentAccumulator StripDefectsEmulatorConfig.StripDefectsEmulatorAlgCfg | ( | flags, | |
| str | name = "ITkStripDefectsEmulatorAlg", |
||
| **dict | kwargs | ||
| ) |
Schedule algorithm to emulate strip defects by dropping RDOs overlapping with emulated defects conditions data.
Definition at line 239 of file StripDefectsEmulatorConfig.py.
| ComponentAccumulator StripDefectsEmulatorConfig.StripDefectsEmulatorCondAlgCfg | ( | flags, | |
| str | name = "StripDefectsEmulatorCondAlg", |
||
| **dict | kwargs | ||
| ) |
Schedule conditions algorithm to create emulated strip defect conditions data
Definition at line 193 of file StripDefectsEmulatorConfig.py.
| def StripDefectsEmulatorConfig.StripRDORemappingCfg | ( | flags, | |
InputKey = "StripRDOs" |
|||
| ) |
Remapping service to rename the input strip RDO collection
Definition at line 162 of file StripDefectsEmulatorConfig.py.
| StripDefectsEmulatorConfig.acc = MainServicesCfg( flags ) |
Definition at line 325 of file StripDefectsEmulatorConfig.py.
| StripDefectsEmulatorConfig.AtlasVersion |
Definition at line 306 of file StripDefectsEmulatorConfig.py.
| StripDefectsEmulatorConfig.Dynamic |
Definition at line 308 of file StripDefectsEmulatorConfig.py.
| list StripDefectsEmulatorConfig.EVEN_INDEX = [0,-2] |
Definition at line 14 of file StripDefectsEmulatorConfig.py.
| StripDefectsEmulatorConfig.Files |
Definition at line 309 of file StripDefectsEmulatorConfig.py.
| StripDefectsEmulatorConfig.flags = initConfigFlags() |
Definition at line 301 of file StripDefectsEmulatorConfig.py.
| StripDefectsEmulatorConfig.GeometryBpipe |
Definition at line 313 of file StripDefectsEmulatorConfig.py.
| StripDefectsEmulatorConfig.GeometryCalo |
Definition at line 314 of file StripDefectsEmulatorConfig.py.
| StripDefectsEmulatorConfig.GeometryITkStrip |
Definition at line 311 of file StripDefectsEmulatorConfig.py.
| StripDefectsEmulatorConfig.GlobalTag |
Definition at line 307 of file StripDefectsEmulatorConfig.py.
| StripDefectsEmulatorConfig.MaxEvents |
Definition at line 319 of file StripDefectsEmulatorConfig.py.
| StripDefectsEmulatorConfig.NumConcurrentEvents |
Definition at line 317 of file StripDefectsEmulatorConfig.py.
| StripDefectsEmulatorConfig.NumThreads |
Definition at line 316 of file StripDefectsEmulatorConfig.py.
| list StripDefectsEmulatorConfig.ODD_INDEX = [1,-2] |
Definition at line 13 of file StripDefectsEmulatorConfig.py.
| StripDefectsEmulatorConfig.printDefaults |
Definition at line 343 of file StripDefectsEmulatorConfig.py.
| StripDefectsEmulatorConfig.ProductionStep |
Definition at line 304 of file StripDefectsEmulatorConfig.py.
| StripDefectsEmulatorConfig.sc = acc.run() |
Definition at line 344 of file StripDefectsEmulatorConfig.py.
| StripDefectsEmulatorConfig.summariseProps |
Definition at line 343 of file StripDefectsEmulatorConfig.py.
| StripDefectsEmulatorConfig.True |
Definition at line 343 of file StripDefectsEmulatorConfig.py.
| StripDefectsEmulatorConfig.withDetails |
Definition at line 343 of file StripDefectsEmulatorConfig.py.
1.8.18