|
ATLAS Offline Software
|
|
def | PixelRDORemappingCfg (flags, InputKey="PixelRDOs") |
|
def | ITkPixelRDORemappingCfg (flags) |
|
ComponentAccumulator | DefectsHistSvcCfg (flags, str HistogramGroup="PixelDefects", str FileName='pixel_defects.root') |
|
ComponentAccumulator | ITkDefectsHistSvcCfg (flags, HistogramGroup="ITkPixelDefects") |
|
ComponentAccumulator | PixelDefectsEmulatorCondAlgCfg (flags, str name="PixelDefectsEmulatorCondAlg", **dict kwargs) |
|
ComponentAccumulator | ITkPixelDefectsEmulatorCondAlgCfg (flags, str name="ITkPixelDefectsEmulatorCondAlg", **dict kwargs) |
|
ComponentAccumulator | PixelDefectsEmulatorAlgCfg (flags, str name="ITkPixelDefectsEmulatorAlg", **dict kwargs) |
|
ComponentAccumulator | ITkPixelDefectsEmulatorAlgCfg (flags, str name="ITkPixelDefectsEmulatorAlg", **dict kwargs) |
|
◆ DefectsHistSvcCfg()
ComponentAccumulator PixelDefectsEmulatorConfig.DefectsHistSvcCfg |
( |
|
flags, |
|
|
str |
HistogramGroup = "PixelDefects" , |
|
|
str |
FileName = 'pixel_defects.root' |
|
) |
| |
Definition at line 24 of file PixelDefectsEmulatorConfig.py.
24 def DefectsHistSvcCfg(flags, HistogramGroup: str=
"PixelDefects", FileName: str=
'pixel_defects.root') -> ComponentAccumulator:
26 if HistogramGroup
is not None and len(HistogramGroup) > 0
and FileName
is not None and len(FileName) > 0 :
27 print(
"DEBUG DefectsHistSvcCfg",HistogramGroup,FileName,[f
"{HistogramGroup} DATAFILE='{FileName}', OPT='RECREATE'"])
28 histSvc = CompFactory.THistSvc(Output = [f
"{HistogramGroup} DATAFILE='{FileName}', OPT='RECREATE'"] )
29 acc.addService(histSvc)
◆ ITkDefectsHistSvcCfg()
ComponentAccumulator PixelDefectsEmulatorConfig.ITkDefectsHistSvcCfg |
( |
|
flags, |
|
|
|
HistogramGroup = "ITkPixelDefects" |
|
) |
| |
◆ ITkPixelDefectsEmulatorAlgCfg()
ComponentAccumulator PixelDefectsEmulatorConfig.ITkPixelDefectsEmulatorAlgCfg |
( |
|
flags, |
|
|
str |
name = "ITkPixelDefectsEmulatorAlg" , |
|
|
**dict |
kwargs |
|
) |
| |
Definition at line 85 of file PixelDefectsEmulatorConfig.py.
86 name: str =
"ITkPixelDefectsEmulatorAlg",
87 **kwargs: dict) -> ComponentAccumulator:
89 if "InputKey" not in kwargs :
92 kwargs.setdefault(
"InputKey",
"ITkPixelRDOs_ORIG")
94 if "EmulatedDefectsKey" not in kwargs :
97 kwargs.setdefault(
"EmulatedDefectsKey",
"ITkPixelEmulatedDefects")
98 kwargs.setdefault(
"OutputKey",
"ITkPixelRDOs")
100 kwargs.setdefault(
"HistogramGroupName",
"")
102 acc.addEventAlgo(CompFactory.InDet.PixelDefectsEmulatorAlg(name,**kwargs))
◆ ITkPixelDefectsEmulatorCondAlgCfg()
ComponentAccumulator PixelDefectsEmulatorConfig.ITkPixelDefectsEmulatorCondAlgCfg |
( |
|
flags, |
|
|
str |
name = "ITkPixelDefectsEmulatorCondAlg" , |
|
|
**dict |
kwargs |
|
) |
| |
Definition at line 49 of file PixelDefectsEmulatorConfig.py.
50 name: str =
"ITkPixelDefectsEmulatorCondAlg",
51 **kwargs: dict) -> ComponentAccumulator:
52 kwargs.setdefault(
"DefectProbability", 1e-4)
55 def probColGroupDefect(prob_col_group_defect_per_mod, n_col_groups) :
57 return 1. -
pow( (1-prob_col_group_defect_per_mod), 1/(n_col_groups))
58 kwargs.setdefault(
"CoreColumnDefectProbability", probColGroupDefect(.1, 400/8.) )
59 kwargs.setdefault(
"PixelDetEleCollKey",
"ITkPixelDetectorElementCollection")
60 kwargs.setdefault(
"WriteKey",
"ITkPixelEmulatedDefects")
◆ ITkPixelRDORemappingCfg()
def PixelDefectsEmulatorConfig.ITkPixelRDORemappingCfg |
( |
|
flags | ) |
|
◆ PixelDefectsEmulatorAlgCfg()
ComponentAccumulator PixelDefectsEmulatorConfig.PixelDefectsEmulatorAlgCfg |
( |
|
flags, |
|
|
str |
name = "ITkPixelDefectsEmulatorAlg" , |
|
|
**dict |
kwargs |
|
) |
| |
Definition at line 65 of file PixelDefectsEmulatorConfig.py.
66 name: str =
"ITkPixelDefectsEmulatorAlg",
67 **kwargs: dict) -> ComponentAccumulator:
70 if "InputKey" not in kwargs :
73 kwargs.setdefault(
"InputKey",
"PixelRDOs_ORIG")
75 if "EmulatedDefectsKey" not in kwargs :
78 kwargs.setdefault(
"EmulatedDefectsKey",
"PixelEmulatedDefects")
79 kwargs.setdefault(
"OutputKey",
"PixelRDOs")
80 kwargs.setdefault(
"HistogramGroupName",
"")
82 acc.addEventAlgo(CompFactory.InDet.PixelDefectsEmulatorAlg(name,**kwargs))
◆ PixelDefectsEmulatorCondAlgCfg()
ComponentAccumulator PixelDefectsEmulatorConfig.PixelDefectsEmulatorCondAlgCfg |
( |
|
flags, |
|
|
str |
name = "PixelDefectsEmulatorCondAlg" , |
|
|
**dict |
kwargs |
|
) |
| |
Definition at line 36 of file PixelDefectsEmulatorConfig.py.
37 name: str =
"PixelDefectsEmulatorCondAlg",
38 **kwargs: dict) -> ComponentAccumulator:
40 kwargs.setdefault(
"DefectProbability", 1e-4)
41 kwargs.setdefault(
"CoreColumnDefectProbability", 0.)
42 kwargs.setdefault(
"PixelDetEleCollKey",
"PixelDetectorElementCollection")
43 kwargs.setdefault(
"WriteKey",
"PixelEmulatedDefects")
44 kwargs.setdefault(
"HistogramGroupName",
"")
46 acc.addCondAlgo(CompFactory.InDet.PixelDefectsEmulatorCondAlg(name,**kwargs))
◆ PixelRDORemappingCfg()
def PixelDefectsEmulatorConfig.PixelRDORemappingCfg |
( |
|
flags, |
|
|
|
InputKey = "PixelRDOs" |
|
) |
| |
Definition at line 13 of file PixelDefectsEmulatorConfig.py.
16 from SGComps.AddressRemappingConfig
import AddressRemappingCfg
17 renames = [
'%s#%s->%s' % (
'PixelRDO_Container', InputKey, f
"{InputKey}_ORIG") ]
◆ acc
PixelDefectsEmulatorConfig.acc = MainServicesCfg( flags ) |
◆ AtlasVersion
PixelDefectsEmulatorConfig.AtlasVersion |
◆ Dynamic
PixelDefectsEmulatorConfig.Dynamic |
◆ Files
PixelDefectsEmulatorConfig.Files |
◆ flags
PixelDefectsEmulatorConfig.flags = initConfigFlags() |
◆ GeometryBpipe
PixelDefectsEmulatorConfig.GeometryBpipe |
◆ GeometryCalo
PixelDefectsEmulatorConfig.GeometryCalo |
◆ GeometryITkPixel
PixelDefectsEmulatorConfig.GeometryITkPixel |
◆ GeometryITkStrip
PixelDefectsEmulatorConfig.GeometryITkStrip |
◆ GlobalTag
PixelDefectsEmulatorConfig.GlobalTag |
◆ MaxEvents
PixelDefectsEmulatorConfig.MaxEvents |
◆ NumConcurrentEvents
PixelDefectsEmulatorConfig.NumConcurrentEvents |
◆ NumThreads
PixelDefectsEmulatorConfig.NumThreads |
◆ printDefaults
PixelDefectsEmulatorConfig.printDefaults |
◆ ProductionStep
PixelDefectsEmulatorConfig.ProductionStep |
◆ sc
PixelDefectsEmulatorConfig.sc = acc.run() |
◆ summariseProps
PixelDefectsEmulatorConfig.summariseProps |
◆ True
PixelDefectsEmulatorConfig.True |
◆ withDetails
PixelDefectsEmulatorConfig.withDetails |
ComponentAccumulator DefectsHistSvcCfg(flags, str HistogramGroup="PixelDefects", str FileName='pixel_defects.root')
ComponentAccumulator PixelDefectsEmulatorCondAlgCfg(flags, str name="PixelDefectsEmulatorCondAlg", **dict kwargs)
def AddressRemappingCfg(renameMaps=[], overwriteMaps=[])
ComponentAccumulator PixelDefectsEmulatorAlgCfg(flags, str name="ITkPixelDefectsEmulatorAlg", **dict kwargs)
ComponentAccumulator ITkPixelDefectsEmulatorCondAlgCfg(flags, str name="ITkPixelDefectsEmulatorCondAlg", **dict kwargs)
ComponentAccumulator ITkPixelDefectsEmulatorAlgCfg(flags, str name="ITkPixelDefectsEmulatorAlg", **dict kwargs)
void print(char *figname, TCanvas *c1)
ComponentAccumulator ITkDefectsHistSvcCfg(flags, HistogramGroup="ITkPixelDefects")
def PixelRDORemappingCfg(flags, InputKey="PixelRDOs")
def ITkPixelRDORemappingCfg(flags)
constexpr int pow(int base, int exp) noexcept