Public Member Functions | |
output_file_name (self) | |
harvesting_module (self, path=None) | |
create_argument_parser (self, **kwds) | |
create_path (self) | |
pickle_crops (self, harvesting_module, crops, **kwds) | |
unpickle_crops (self) | |
postprocess (self) | |
adjust_path (self, path) | |
run (self, path) | |
name (self) | |
configure_and_execute_from_commandline (self) | |
execute (self) | |
configure_from_commandline (self) | |
configure (self, arguments) | |
Public Attributes | |
pickle_crops = self.output_file_name | |
Static Public Attributes | |
str | monte_carlo = "no" |
do not generate new events | |
bool | karimaki_fit = False |
use the Riemann fit instead of the Karimaki fit | |
str | flight_time_estimation = "none" |
do not estimate the flight time | |
bool | flight_time_reestimation = False |
do not re-estimate the flight time | |
bool | use_alpha_in_drift_length = True |
use the alpha parameter for drift length | |
flight_time_mass_scale = float("nan") | |
assume a very heavy particle for flight time calculation | |
str | fit_positions = "recoPos" |
fit the reconstructed hit position for the segment fit | |
str | fit_variance = "proper" |
use the drift-length variance in the segment fit | |
bool | show_results = False |
By default, do not show the browsing results. | |
bool | postprocess_only = False |
By default, browse the output TFile too. | |
str | description = "Empty execution of basf2" |
Description of the run setup to be displayed on command line. | |
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. | |
Harvester to read, postprocess and inspect MC events for track-segment fit validation
|
inherited |
Add the harvester to the basf2 path
Reimplemented from EmptyRun.
Definition at line 66 of file run.py.
|
inherited |
Save the command-line arguments as key-value pairs
Reimplemented in CDCDisplayRun, and ReadOrGenerateEventsRun.
Definition at line 73 of file minimal.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 ) |
Convert command-line arguments to basf2 argument list
Reimplemented from HarvestingRunMixin.
Definition at line 83 of file record.py.
create_path | ( | self | ) |
Sets up a path that plays back pregenerated events or generates events based on the properties in the base class.
Reimplemented from EmptyRun.
Definition at line 168 of file record.py.
|
inherited |
Create the basf2 path then run the job
Reimplemented in ReadOrGenerateEventsRun.
Definition at line 50 of file minimal.py.
harvesting_module | ( | self, | |
path = None ) |
Harvest and post-process the MC events
Reimplemented from HarvestingRunMixin.
Definition at line 76 of file record.py.
|
inherited |
provide name of this object
Definition at line 41 of file minimal.py.
output_file_name | ( | self | ) |
Get the output ROOT filename
Reimplemented from HarvestingRunMixin.
Definition at line 63 of file record.py.
|
inherited |
|
inherited |
Post-process the crops
Reimplemented from BrowseTFileOnTerminateRunMixin.
Definition at line 51 of file run.py.
|
inherited |
|
inherited |
|
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.
|
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 |
|
static |
|
static |
|
static |
|
static |
|
staticinherited |
By default, do not generate events.
Definition at line 43 of file event_generation.py.
|
static |
|
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.
|
staticinherited |
|
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.
|
staticinherited |
|
staticinherited |
By default, do no store the simulation output.
Definition at line 53 of file event_generation.py.
|
static |