![]() |
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 | |
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 138 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 166 of file StripDefectsEmulatorConfig.py.
ComponentAccumulator StripDefectsEmulatorConfig.ITkDefectsHistSvcCfg | ( | flags, | |
HistogramGroup = "ITkStripDefects" |
|||
) |
Definition at line 176 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 250 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 204 of file StripDefectsEmulatorConfig.py.
ComponentAccumulator StripDefectsEmulatorConfig.ITkStripDefectsEmulatorToDetectorElementStatusCondAlgCfg | ( | flags, | |
str | name = "ITkStripDefectsEmulatorToDetectorElementStatusCondAlgCfg" , |
||
**dict | kwargs | ||
) |
Definition at line 274 of file StripDefectsEmulatorConfig.py.
def StripDefectsEmulatorConfig.ITkStripRDORemappingCfg | ( | flags | ) |
Remapping service to rename the input ITk strip RDO collection
Definition at line 160 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 22 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. 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 50 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 12 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 226 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 180 of file StripDefectsEmulatorConfig.py.
def StripDefectsEmulatorConfig.StripRDORemappingCfg | ( | flags, | |
InputKey = "StripRDOs" |
|||
) |
Remapping service to rename the input strip RDO collection
Definition at line 149 of file StripDefectsEmulatorConfig.py.
StripDefectsEmulatorConfig.acc = MainServicesCfg( flags ) |
Definition at line 312 of file StripDefectsEmulatorConfig.py.
StripDefectsEmulatorConfig.AtlasVersion |
Definition at line 293 of file StripDefectsEmulatorConfig.py.
StripDefectsEmulatorConfig.Dynamic |
Definition at line 295 of file StripDefectsEmulatorConfig.py.
StripDefectsEmulatorConfig.Files |
Definition at line 296 of file StripDefectsEmulatorConfig.py.
StripDefectsEmulatorConfig.flags = initConfigFlags() |
Definition at line 288 of file StripDefectsEmulatorConfig.py.
StripDefectsEmulatorConfig.GeometryBpipe |
Definition at line 300 of file StripDefectsEmulatorConfig.py.
StripDefectsEmulatorConfig.GeometryCalo |
Definition at line 301 of file StripDefectsEmulatorConfig.py.
StripDefectsEmulatorConfig.GeometryITkStrip |
Definition at line 298 of file StripDefectsEmulatorConfig.py.
StripDefectsEmulatorConfig.GlobalTag |
Definition at line 294 of file StripDefectsEmulatorConfig.py.
StripDefectsEmulatorConfig.MaxEvents |
Definition at line 306 of file StripDefectsEmulatorConfig.py.
StripDefectsEmulatorConfig.NumConcurrentEvents |
Definition at line 304 of file StripDefectsEmulatorConfig.py.
StripDefectsEmulatorConfig.NumThreads |
Definition at line 303 of file StripDefectsEmulatorConfig.py.
StripDefectsEmulatorConfig.printDefaults |
Definition at line 330 of file StripDefectsEmulatorConfig.py.
StripDefectsEmulatorConfig.ProductionStep |
Definition at line 291 of file StripDefectsEmulatorConfig.py.
StripDefectsEmulatorConfig.sc = acc.run() |
Definition at line 331 of file StripDefectsEmulatorConfig.py.
StripDefectsEmulatorConfig.summariseProps |
Definition at line 330 of file StripDefectsEmulatorConfig.py.
StripDefectsEmulatorConfig.True |
Definition at line 330 of file StripDefectsEmulatorConfig.py.
StripDefectsEmulatorConfig.withDetails |
Definition at line 330 of file StripDefectsEmulatorConfig.py.