Utilities API¶
Configuration utilities for AID2E Framework.
BaseParameter
¶
Bases: BaseModel
Abstract base class for all parameter types. Subclasses should define specific parameter characteristics.
Source code in src/aid2e/utilities/configurations/base_models.py
5 6 7 8 9 10 11 12 13 14 15 | |
ChoiceParameter
¶
Bases: BaseParameter
Categorical parameter with discrete choices.
Source code in src/aid2e/utilities/configurations/base_models.py
28 29 30 31 32 33 34 35 | |
DesignConfig
¶
Bases: BaseModel
Complete design configuration with parameters and constraints.
Encapsulates a design space including all parameter groups, their bounds/choices, and constraints on valid parameter combinations. Provides query and validation methods for optimizer integration.
This is the base class for specialized configurations (e.g., EpicDesignConfig) and supports generic toy problems (DTLZ2, etc.).
Attributes:
| Name | Type | Description |
|---|---|---|
design_parameters |
DesignParameters
|
Collection of parameter groups defining the design space. |
parameter_constraints |
Optional[List[ParameterConstraint]]
|
List of constraints on valid parameter combinations. |
Example
config = DesignConfig( ... design_parameters=DesignParameters(...), ... parameter_constraints=[ParameterConstraint(...)] ... ) names = config.get_parameter_names() bounds = config.get_parameter_bounds('group.param') is_valid, failed = config.validate_constraints({...})
Source code in src/aid2e/utilities/configurations/design_config.py
161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 | |
get_flat_parameters()
¶
Retrieve all parameters as a flat dictionary.
Flattens the hierarchical group structure into a single dictionary mapping qualified parameter names to parameter objects.
Returns:
| Type | Description |
|---|---|
Dict[str, BaseParameter]
|
Dictionary mapping qualified names (e.g., "group.param") |
Dict[str, BaseParameter]
|
to BaseParameter objects. |
Example
flat = config.get_flat_parameters() param = flat['tracker.thickness']
Source code in src/aid2e/utilities/configurations/design_config.py
187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 | |
get_parameter_bounds(param_name)
¶
Get bounds for a range parameter.
Retrieves the lower and upper bounds for a RangeParameter by its qualified name. Returns None if the parameter is not found or does not have bounds (e.g., ChoiceParameter).
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
param_name
|
str
|
Qualified parameter name (e.g., "tracker.thickness"). |
required |
Returns:
| Type | Description |
|---|---|
Optional[Tuple[float, float]]
|
Tuple of (lower_bound, upper_bound) or None if not applicable. |
Raises:
| Type | Description |
|---|---|
KeyError
|
If parameter name is not found (use get_flat_parameters to verify existence first). |
Example
bounds = config.get_parameter_bounds('tracker.thickness') if bounds: ... print(f"Range: {bounds[0]} to {bounds[1]}")
Source code in src/aid2e/utilities/configurations/design_config.py
223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 | |
get_parameter_choices(param_name)
¶
Get choices for a choice parameter.
Retrieves the list of valid choices for a ChoiceParameter by its qualified name. Returns None if the parameter is not found or does not have choices (e.g., RangeParameter).
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
param_name
|
str
|
Qualified parameter name (e.g., "detector.type"). |
required |
Returns:
| Type | Description |
|---|---|
Optional[List[str]]
|
List of choice strings or None if not applicable. |
Example
choices = config.get_parameter_choices('detector.type') if choices: ... print(f"Available: {choices}")
Source code in src/aid2e/utilities/configurations/design_config.py
251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 | |
get_parameter_names()
¶
Get all parameter qualified names in the design space.
Returns a list of all unique qualified parameter names in the format 'group_name.parameter_name'.
Returns:
| Type | Description |
|---|---|
List[str]
|
Sorted list of qualified parameter names. |
Example
names = config.get_parameter_names() print(names) ['group1.param1', 'group1.param2', 'group2.param1']
Source code in src/aid2e/utilities/configurations/design_config.py
207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 | |
validate_constraints(param_values)
¶
Validate all constraints against provided parameter values.
Evaluates each constraint rule with the given parameter values and returns whether all constraints are satisfied.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
param_values
|
Dict[str, float]
|
Dictionary mapping qualified parameter names to numeric values. |
required |
Returns:
| Type | Description |
|---|---|
bool
|
Tuple of (all_valid, failed_constraint_names) where: |
List[str]
|
|
Tuple[bool, List[str]]
|
|
Example
param_values = { ... 'tracker.thickness': 0.35, ... 'magnet.strength': 1.5 ... } is_valid, failures = config.validate_constraints(param_values) if not is_valid: ... print(f"Failed constraints: {failures}")
Notes
- Returns (True, []) if no constraints are defined.
- Exceptions during constraint evaluation are captured and reported in the failures list.
Source code in src/aid2e/utilities/configurations/design_config.py
275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 | |
DesignConfigLoader
¶
Load design configurations from YAML files with flexible resolution.
Handles both file-based and inline design parameter definitions. Supports path-based loading (external file) or inline definition within the YAML structure, with comprehensive validation and error reporting.
The loader normalizes legacy schema formats for backward compatibility while supporting the new design_space structure with design_parameters and design_constraints.
Example
Load from file with external design.params¶
config = DesignConfigLoader.load('config.yml')
YAML structure (file-based)¶
design_space:¶
path: "./design.params"¶
YAML structure (inline)¶
design_space:¶
design_parameters:¶
group:¶
parameters: {...}¶
design_constraints: [...]¶
Source code in src/aid2e/utilities/configurations/design_config.py
319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 | |
load(file_path)
staticmethod
¶
Load design configuration from a YAML file.
Loads a configuration file and returns a DesignConfig instance. Supports both new 'design_space' schema and legacy 'design_parameters' formats. Handles file-based (external file reference) and inline parameter definitions seamlessly.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
file_path
|
str
|
Path to the YAML configuration file. Relative paths are resolved from the current working directory. |
required |
Returns:
| Type | Description |
|---|---|
DesignConfig
|
DesignConfig instance ready for use in optimization workflows. |
Raises:
| Type | Description |
|---|---|
FileNotFoundError
|
If the config file does not exist. |
ValueError
|
If config structure is invalid or references a non-existent design.params file. |
YAMLError
|
If the YAML syntax is invalid. |
Example
config = DesignConfigLoader.load('examples/design.yml') print(config.get_parameter_names()) is_valid, failures = config.validate_constraints({...})
Notes
- The configuration file must be valid YAML.
- Must contain either 'design_space' or 'design_parameters' key.
- Directory of config_file is used as base for relative paths.
- Backward compatible with pre-design_space YAML files.
Source code in src/aid2e/utilities/configurations/design_config.py
449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 | |
DesignParameters
¶
Bases: RootModel[Dict[str, ParameterGroup]]
Collection of parameter groups for generic design spaces.
Manages a hierarchical organization of design parameters grouped by context (subsystems, regions, etc.). Automatically injects fully qualified parameter names in the format "group_name.parameter_name" for unique identification.
The root model contains a dictionary mapping group names to ParameterGroup instances.
Example
params = DesignParameters(root={ ... 'tracker': ParameterGroup(parameters={...}), ... 'magnet': ParameterGroup(parameters={...}) ... })
Notes
- Qualified names are injected at validation time.
- Parameter uniqueness is enforced through qualified naming.
Source code in src/aid2e/utilities/configurations/design_config.py
114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 | |
inject_qualified_names(values)
classmethod
¶
Inject fully qualified names into each parameter.
Modifies parameter objects in-place to add 'name' attribute in the format 'group_name.parameter_name' if not already present. This ensures every parameter has a globally unique identifier within the design space.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
values
|
Dict[str, dict]
|
Dictionary mapping group names to group data dicts. |
required |
Returns:
| Type | Description |
|---|---|
|
Modified values dict with injected qualified names. |
Notes
This validator runs before model instantiation and is critical for the qualified naming system used throughout this module.
Source code in src/aid2e/utilities/configurations/design_config.py
134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 | |
FullConfig
¶
Bases: BaseModel
Complete configuration combining problem and optimization.
Source code in src/aid2e/utilities/configurations/full_config.py
13 14 15 16 | |
Objective
¶
Bases: BaseModel
Single optimization objective.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
name
|
Objective identifier (e.g., "f1"). |
required | |
minimize
|
Whether to minimize the objective; if False, maximization. |
required |
Source code in src/aid2e/utilities/configurations/problem_config.py
25 26 27 28 29 30 31 32 33 34 | |
OptimizationConfiguration
¶
Bases: BaseModel
Complete optimization configuration.
Source code in src/aid2e/utilities/configurations/optimization_config.py
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 | |
parse_algorithm_params()
¶
If an algorithm-specific config model is registered under optimizer.name,
parse and return a validated model instance for optimizer.parameters.
Returns None if no model is registered.
Source code in src/aid2e/utilities/configurations/optimization_config.py
36 37 38 39 40 41 42 43 44 45 | |
OptimizerConfig
¶
Bases: BaseModel
Configuration for the optimizer algorithm.
Source code in src/aid2e/utilities/configurations/optimization_config.py
8 9 10 11 12 13 14 | |
ParameterConstraint
¶
Bases: BaseModel
Represents a mathematical constraint on design parameters.
Constraints are evaluated as boolean expressions over qualified parameter names and must evaluate to True for valid parameter configurations.
Attributes:
| Name | Type | Description |
|---|---|---|
name |
str
|
Unique identifier for the constraint. |
description |
Optional[str]
|
Human-readable explanation of the constraint intent. |
rule |
str
|
Mathematical expression using qualified parameter names, e.g., "group.param1 + group.param2 < 10.0". |
Example
constraint = ParameterConstraint( ... name="budget_limit", ... description="Total cost must not exceed budget", ... rule="tracker.cost + magnet.cost < 1000" ... )
Source code in src/aid2e/utilities/configurations/design_config.py
51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | |
validate_constraint(param_values)
¶
Validate constraint against parameter values.
Substitutes parameter names in the constraint rule with their values and evaluates the resulting mathematical expression.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
param_values
|
Dict[str, float]
|
Dictionary mapping qualified parameter names (e.g., "group.param") to numeric values. |
required |
Returns:
| Type | Description |
|---|---|
bool
|
True if constraint is satisfied, False otherwise. |
Raises:
| Type | Description |
|---|---|
ValueError
|
If the constraint rule cannot be evaluated (e.g., missing parameters, syntax errors). |
Example
constraint = ParameterConstraint( ... name="test", rule="DTLZ2.x1 < 1.0" ... ) constraint.validate_constraint({"DTLZ2.x1": 0.5}) True constraint.validate_constraint({"DTLZ2.x1": 1.5}) False
Source code in src/aid2e/utilities/configurations/design_config.py
74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | |
ParameterGroup
¶
Bases: BaseModel
Container for a group of related parameters.
Groups parameters that share common properties or contexts, such as detector subsystems (vertex_barrel, silicon_tracker, etc.). Parameters within a group are accessed via qualified names (group_name.param_name).
Attributes:
| Name | Type | Description |
|---|---|---|
parameters |
Dict[str, Parameter]
|
Dictionary mapping parameter names to Parameter objects. |
Example
group = ParameterGroup(parameters={ ... 'thickness': RangeParameter(value=0.35, bounds=[0.2, 0.6]), ... 'pitch': RangeParameter(value=25, bounds=[10, 50]) ... })
Source code in src/aid2e/utilities/configurations/design_config.py
32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 | |
ProblemConfigLoader
¶
Loader for problem YAML/CONFIG files.
Parses files following the schema used by examples/basic/problem.config:
problem:
name: "..."
type: "..."
output_location: "..."
work_location: "..."
design_parameters_file: "./path/to/design.params"
objectives:
- name: "f1"
minimize: true
- name: "f2"
minimize: true
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
file_path
|
Path to the problem configuration file. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
ProblemConfiguration |
Fully instantiated configuration with a loaded |
|
|
|
Raises:
| Type | Description |
|---|---|
FileNotFoundError
|
If the problem file or design parameters file does |
ValueError
|
If required keys are missing or invalid. |
Source code in src/aid2e/utilities/configurations/problem_config.py
86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 | |
from_dict(problem_payload, base_dir=None)
staticmethod
¶
Construct ProblemConfiguration from a dict payload.
Accepts the inner 'problem' mapping as a Python dict and supports both file-based and inline design definitions. Set base_dir for reliable relative path resolution when using 'design_parameters_file'.
Source code in src/aid2e/utilities/configurations/problem_config.py
195 196 197 198 199 200 201 202 203 | |
ProblemConfiguration
¶
Bases: BaseModel
Generic problem configuration.
Focuses on core problem attributes, a design configuration, objectives, and
optional observations. Environment and scheduler/trial management belong to
separate workflow components (e.g., WorkflowManager).
Notes
design_configaccepts any subclass ofDesignConfig.objectivesmust be non-empty with unique names.
Source code in src/aid2e/utilities/configurations/problem_config.py
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 | |
validate_paths()
¶
Validate directory paths and objective correctness.
- Ensures
output_locationandwork_locationexist. - Ensures
objectivesis non-empty with unique names.
Source code in src/aid2e/utilities/configurations/problem_config.py
58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 | |
RangeParameter
¶
Bases: BaseParameter
Continuous parameter with min/max bounds.
Source code in src/aid2e/utilities/configurations/base_models.py
18 19 20 21 22 23 24 25 | |
load_config(config_file)
¶
Load complete configuration from a YAML file.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
config_file
|
str
|
Path to YAML configuration file |
required |
Returns:
| Type | Description |
|---|---|
FullConfig
|
FullConfig object with all configurations loaded |
Raises:
| Type | Description |
|---|---|
FileNotFoundError
|
If config file doesn't exist |
ValueError
|
If configuration is invalid |
Source code in src/aid2e/utilities/configurations/full_config.py
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 | |
ePIC-specific utilities for AID2E Framework.
EpicAnaLayer
dataclass
¶
Bases: AnaLayer
Analysis layer of ePIC stack
Source code in src/aid2e/utilities/epic_utils/epic_stack.py
119 120 121 | |
EpicConfiguration
¶
Bases: BaseModel
ePIC-specific environment configuration.
Manages ePIC detector environment variables including singularity image, installation paths, and EIC reconstruction settings.
Attributes:
| Name | Type | Description |
|---|---|---|
singularity_image |
str
|
Path to the EIC shell singularity image |
epic_install |
Optional[str]
|
Optional path to ePIC installation directory |
eic_recon_install |
Optional[str]
|
Optional path to EIC reconstruction installation |
eic_shell |
Optional[str]
|
Optional override for singularity shell environment variable |
eic_recon |
Optional[str]
|
Optional override for EIC reconstruction command |
Source code in src/aid2e/utilities/epic_utils/epic_env_config.py
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | |
activate()
¶
Activate ePIC environment variables and print a summary.
Source code in src/aid2e/utilities/epic_utils/epic_env_config.py
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | |
EpicDesignConfig
¶
Bases: DesignConfig
ePIC-specific design configuration with XML integration. Extends DesignConfig with XML modification capabilities and optimization groups.
Note: Uses 'epic_design_parameters' instead of 'design_parameters' to distinguish from generic configs in YAML files.
Source code in src/aid2e/utilities/epic_utils/epic_design_config.py
59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 | |
get_all_optimization_groups()
¶
Get all optimization groups.
Source code in src/aid2e/utilities/epic_utils/epic_design_config.py
131 132 133 | |
get_file_paths()
¶
Get all unique file paths referenced in the configuration.
Source code in src/aid2e/utilities/epic_utils/epic_design_config.py
120 121 122 123 124 125 | |
get_flat_parameters()
¶
Returns a flat dictionary of all parameters keyed by their qualified name.
Source code in src/aid2e/utilities/epic_utils/epic_design_config.py
72 73 74 75 76 77 78 | |
get_optimization_group(group_name)
¶
Get parameter names for a specific optimization group.
Source code in src/aid2e/utilities/epic_utils/epic_design_config.py
127 128 129 | |
get_parameter_names()
¶
Get all parameter qualified names.
Source code in src/aid2e/utilities/epic_utils/epic_design_config.py
80 81 82 | |
get_xml_modifications(param_values=None)
¶
Get XML modifications for given parameter values.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
param_values
|
Optional[Dict[str, float]]
|
Dictionary of qualified parameter names to values. If None, uses default values from config. |
None
|
Returns:
| Type | Description |
|---|---|
Dict[str, List[Tuple[str, str, float]]]
|
Dictionary mapping file_path -> [(xml_path, unit, new_value), ...] |
Source code in src/aid2e/utilities/epic_utils/epic_design_config.py
84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 | |
EpicDesignConfigLoader
¶
Loader for ePIC design configurations. Loads YAML files and instantiates EpicDesignConfig objects.
Source code in src/aid2e/utilities/epic_utils/epic_design_config.py
136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 | |
load(file_path)
staticmethod
¶
Load an ePIC design configuration from a YAML file.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
file_path
|
str
|
Path to the YAML configuration file |
required |
Returns:
| Type | Description |
|---|---|
EpicDesignConfig
|
EpicDesignConfig instance |
Raises:
| Type | Description |
|---|---|
FileNotFoundError
|
If the file doesn't exist |
ValueError
|
If the file format is invalid |
Source code in src/aid2e/utilities/epic_utils/epic_design_config.py
142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 | |
EpicDesignParameters
¶
Bases: RootModel[Dict[str, EpicParameterGroup]]
Collection of ePIC parameter groups.
Source code in src/aid2e/utilities/epic_utils/epic_design_config.py
41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 | |
inject_qualified_names(values)
classmethod
¶
Injects full qualified names like 'group.param' into each parameter. This ensures parameters are uniquely identified.
Source code in src/aid2e/utilities/epic_utils/epic_design_config.py
44 45 46 47 48 49 50 51 52 53 54 55 56 | |
EpicGeoLayer
dataclass
¶
Bases: StackLayer
Geometry layer of ePIC stack
Source code in src/aid2e/utilities/epic_utils/epic_stack.py
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 | |
EpicParameter
¶
Bases: BaseParameter
Parameter with XML modification capability for ePIC detector. Extends BaseParameter with XML path, file path, and unit information.
Source code in src/aid2e/utilities/epic_utils/epic_design_config.py
18 19 20 21 22 23 24 25 26 27 28 29 30 | |
EpicParameterGroup
¶
Bases: BaseModel
Group of ePIC parameters that share the same XML file.
Source code in src/aid2e/utilities/epic_utils/epic_design_config.py
33 34 35 36 37 38 | |
EpicRecLayer
dataclass
¶
Bases: StackLayer
Reconstruction layer of ePIC stack
Source code in src/aid2e/utilities/epic_utils/epic_stack.py
94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 | |
EpicSimLayer
dataclass
¶
Bases: StackLayer
Simulation layer of ePIC stack
Source code in src/aid2e/utilities/epic_utils/epic_stack.py
63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 | |
EpicStack
dataclass
¶
Bases: ExperimentStack
The ePIC software stack
Source code in src/aid2e/utilities/epic_utils/epic_stack.py
124 125 126 127 128 129 130 | |