Public Member Functions | |
__init__ (self) | |
cdc_display_module (self) | |
create_argument_parser (self, **kwds) | |
configure (self, arguments) | |
create_path (self) | |
execute (self) | |
name (self) | |
configure_and_execute_from_commandline (self) | |
run (self, path) | |
configure_from_commandline (self) | |
adjust_path (self, path) | |
Public Attributes | |
cdc_display_module | |
Static Public Attributes | |
output_folder = tempfile.gettempdir() | |
Destination folder for displays. | |
bool | iteractive = True |
Switch to show the event display after each event. | |
bool | show_all_drawoptions = False |
Switch to also show draw command line options only related to the cellular automaton track finder. | |
str | filename_prefix = "" |
Prefix of the output files. | |
finder_module = None | |
Name of the finder module to be used - can be everything that is accepted by tracking.run.utilities.extend_path. | |
dict | tracking_coverage |
States which detectors the finder module covers like as a dictionary like. | |
bool | fit_tracks = False |
By default, do not add the track fitting to the execution. | |
bool | mc_tracking = True |
By default, do MC track finding and track matching. | |
generator_module = None | |
By default, do not generate events. | |
str | detector_setup = "Default" |
By default, use the default detector setup. | |
list | bkg_files = [] |
By default, no background overlay. | |
components = None | |
By default, do specific components. | |
bool | disable_deltas = False |
By default, do not disable delta-ray generation. | |
simulation_output = None | |
By default, do no store the simulation output. | |
bool | allow_input = True |
By default, this basf2 job can read events from an input ROOT TFile. | |
int | n_events = 10000 |
By default, process 10000 events. | |
root_input_file = None | |
By default, there is no input ROOT TFile. | |
random_seed = None | |
By default, the random-number seed is unassigned. | |
int | n_processes = 0 |
By default, no parallel processing. | |
int | n_events_to_skip = 0 |
By default, do not skip any events at the start of the input ROOT TFile. | |
str | description = "Empty execution of basf2" |
Description of the run setup to be displayed on command line. | |
Protected Attributes | |
_cdc_display_module = cdcdisplay.CDCSVGDisplayModule(self.output_folder) | |
Use the CDCSVGDisplay module to draw the CDC and tracks/hits. | |
Prepare and execute a basf2 job to read generated events or generate new events then display the CDC tracks
Definition at line 16 of file display.py.
__init__ | ( | self | ) |
Constructor
Definition at line 31 of file display.py.
|
inherited |
Hook that gives the opportunity to check the path for consistency before processing it
Reimplemented in HarvestingRunMixin, VXDTF2TrackingValidation, and VXDTF2TrackingValidationBkg.
Definition at line 94 of file minimal.py.
cdc_display_module | ( | self | ) |
Get the display module
Definition at line 38 of file display.py.
configure | ( | self, | |
arguments ) |
Configure the basf2 job script using the translated command-line arguments
Reimplemented from ReadOrGenerateEventsRun.
Definition at line 121 of file display.py.
|
inherited |
Configure basf2 job script from command-line arguments then run it
Definition at line 45 of file minimal.py.
|
inherited |
Convert the command-line arguments to a basf2 job script
Definition at line 67 of file minimal.py.
create_argument_parser | ( | self, | |
** | kwds ) |
Translate the command-lne arguments to basf2-job parameter
Reimplemented from ReadOrGenerateTrackedEventsRun.
Definition at line 43 of file display.py.
create_path | ( | self | ) |
Create the basf2 path
Reimplemented from ReadOrGenerateTrackedEventsRun.
Definition at line 149 of file display.py.
|
inherited |
Run the basf2 job
Reimplemented from EmptyRun.
Definition at line 130 of file event_generation.py.
|
inherited |
provide name of this object
Definition at line 41 of file minimal.py.
|
inherited |
Process the basf2 path
Reimplemented in PostProcessingRunMixin.
Definition at line 58 of file minimal.py.
|
protected |
Use the CDCSVGDisplay module to draw the CDC and tracks/hits.
Definition at line 35 of file display.py.
|
staticinherited |
By default, this basf2 job can read events from an input ROOT TFile.
Definition at line 109 of file minimal.py.
|
staticinherited |
By default, no background overlay.
Definition at line 47 of file event_generation.py.
cdc_display_module |
Definition at line 152 of file display.py.
|
staticinherited |
By default, do specific components.
Definition at line 49 of file event_generation.py.
|
staticinherited |
Description of the run setup to be displayed on command line.
Definition at line 33 of file minimal.py.
|
staticinherited |
By default, use the default detector setup.
Definition at line 45 of file event_generation.py.
|
staticinherited |
By default, do not disable delta-ray generation.
Definition at line 51 of file event_generation.py.
|
static |
Prefix of the output files.
Definition at line 29 of file display.py.
|
staticinherited |
Name of the finder module to be used - can be everything that is accepted by tracking.run.utilities.extend_path.
Reimplemented in CDCAutomaton, CDCAutomaton, CDCCombined, CDCCombined, CDCCR, CDCFull, CDCFull, CDCLegendre, CDCLegendre, CombinedSVDTrackingValidation, CombinedSVDTrackingValidationBkg, CosmicsAxialHough, CosmicsHough, InvertedFullBkg, fullTrackingValidation_plusECL, Full, SVDHoughTrackingValidation, SVDHoughTrackingValidationBkg, toCDCCKFValidationBkg, toCDCfromEclCKF, toCDCfromEclCKF, and StandardReconstructionEventsRun.
Definition at line 32 of file tracked_event_generation.py.
|
staticinherited |
By default, do not add the track fitting to the execution.
Definition at line 47 of file tracked_event_generation.py.
|
staticinherited |
By default, do not generate events.
Definition at line 43 of file event_generation.py.
|
static |
Switch to show the event display after each event.
Run in batch mode for false
Definition at line 23 of file display.py.
|
staticinherited |
By default, do MC track finding and track matching.
Definition at line 50 of file tracked_event_generation.py.
|
staticinherited |
By default, process 10000 events.
Definition at line 111 of file minimal.py.
|
staticinherited |
By default, do not skip any events at the start of the input ROOT TFile.
Definition at line 119 of file minimal.py.
|
staticinherited |
By default, no parallel processing.
Definition at line 117 of file minimal.py.
|
static |
Destination folder for displays.
Definition at line 20 of file display.py.
|
staticinherited |
By default, the random-number seed is unassigned.
Definition at line 115 of file minimal.py.
|
staticinherited |
By default, there is no input ROOT TFile.
Definition at line 113 of file minimal.py.
|
static |
Switch to also show draw command line options only related to the cellular automaton track finder.
Definition at line 26 of file display.py.
|
staticinherited |
By default, do no store the simulation output.
Definition at line 53 of file event_generation.py.
|
staticinherited |
States which detectors the finder module covers like as a dictionary like.
Definition at line 35 of file tracked_event_generation.py.