Source code for vibe.skim_production_modes.example.example_skim

import basf2

from vibe.core.utils.misc import fancy_validation_mode_header
from vibe.core.validation_mode import ValidationModeBaseClass
from vibe.core.helper.skims.skim_attribute_tools import SkimAttributes


__all__ = [
    "ExampleSkim",
]


[docs] @fancy_validation_mode_header class ExampleSkim(ValidationModeBaseClass): name = "ExampleSkim" # Returning an empty path as there is no analysis reconstruction occurring
[docs] def create_basf2_path(self): return basf2.Path()
[docs] def get_skim_attributes(self): this_skim = SkimAttributes( # [REQUIRED] List of reconstruction types to use on a given lpn skim_name=["feiSL"], # [OPTIONAL, None] Globaltag globaltag="analysis_tools_light-2305-korat", # [OPTIONAL, False] If True, set the number of events # to be reconstructed to 100 (Decrease runtime for testing) grid_test_mode=True, # [OPTIONAL] If not None, full pipeline will be engaged and the AnalysisParameters is the space for the user to configure the analysis. What this allows the users # to do is add globaltags and kwargs to the dataset_dict inside of skim_prodcution_mode.json that is automatically produced and updated during runtime skim_to_analysis_pipeline=False, ) return this_skim