Change Sim09/Sim10 class inheritance, add support for all versions
-
Sim09
andSim10
sub-versions now inherit from the previous sub-version, starting witha
. Each new sub-version is then defined as the difference relative to the previous one.- For Sim09, known bugs from the Twiki are documented in the docstrings
- Application versions for processing passes (excluding generation) are removed from
Sim09
andSim10
classes and now reside in a new sub-moduleLbMCSubmit.processing_passes
as dicts calledDIGI
,RECO
,STRIPPING
,L0
,HLT
,HLT1
,HLT2
,TURBO
- The functions
default_{digi,trigger,reconstruction,tesla,stripping}
are moved to theSimBase
class, andSim09
andSim10
classes now contain only the processing-pass versions- Application versions, data-packages (etc) for each processing pass are then pulled from the
LbMCSubmit.processing_passes
module, like:
- Application versions, data-packages (etc) for each processing pass are then pulled from the
# In the SimBase class
@property
def default_reconstruction(self) -> dict[str, str]:
version = self.reco_version # Defined in sub-classes
return {"version": version} | pp.RECO[version]
Edited by Adam Morris