Public Member Functions | |
preparePathValidation (self, path) | |
create_argument_parser (self, **kwds) | |
create_path (self) | |
postprocess (self) | |
run (self, path) | |
name (self) | |
configure_and_execute_from_commandline (self) | |
execute (self) | |
configure_from_commandline (self) | |
configure (self, arguments) | |
adjust_path (self, path) | |
Static Public Attributes | |
contact = TRACKING_MAILING_LIST | |
Default contact email address for the validation results. | |
root_output_file = None | |
Optional file name as a destination of all event data which is discarded otherwise. | |
bool | pulls = True |
Include the pull plots of the fit parameters in the validation. | |
bool | resolution = False |
Include the residual plots of the fit parameters in the validation. | |
bool | use_expert_folder = True |
Use the "expert" folder in the validation file as the destination of the pull and residual plots. | |
list | exclude_profile_mc_parameter = [] |
Exclude some of the perigee parameters from the mc side plots. | |
list | exclude_profile_pr_parameter = [] |
Exclude some of the perigee parameters from the pr side plots. | |
bool | use_fit_information = False |
Do not fit the tracks but access the fit information for pulls etc. | |
bool | extended = False |
Switch to use the extended harvesting validation instead. | |
bool | saveFullTrees = False |
Only works in extended mode. | |
list | non_expert_parameters = ['p_{t}'] |
List of parameters which should be used as shifter plots (all plots with these x-labels) | |
output_file_name = None | |
There is no default for the name of the output TFile. | |
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. | |
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. | |
derived class that sets up the cosmics validation
Definition at line 30 of file cosmicsTrackingValidation.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.
|
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.
|
inherited |
Create command line argument parser
Reimplemented from BrowseTFileOnTerminateRunMixin.
Definition at line 102 of file run.py.
|
inherited |
Create path from parameters
Reimplemented from EmptyRun.
Definition at line 126 of file run.py.
|
inherited |
Create the basf2 path then run the job
Reimplemented in ReadOrGenerateEventsRun.
Definition at line 50 of file minimal.py.
|
inherited |
provide name of this object
Definition at line 41 of file minimal.py.
|
inherited |
Browse the TFile interactively
Reimplemented from PostProcessingRunMixin.
Reimplemented in HarvestingRunMixin, and TrainingRunMixin.
Definition at line 84 of file mixins.py.
|
inherited |
The default way to add the validation module to the path. Derived classes can overload this method modify the validation module or add more than one validation steps.
Definition at line 64 of file run.py.
|
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 |
|
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.
|
staticinherited |
|
staticinherited |
|
staticinherited |
|
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.
|
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.
|
staticinherited |
|
staticinherited |
There is no default for the name of the output TFile.
Reimplemented in ElossHarvestingRun, LegendreBinningValidationRun, SegmentFitValidationRun, and SegmentPairFitValidationRun.
|
staticinherited |
|
staticinherited |
|
staticinherited |
By default, the random-number seed is unassigned.
Definition at line 115 of file minimal.py.
|
staticinherited |
|
staticinherited |
By default, there is no input ROOT TFile.
Definition at line 113 of file minimal.py.
|
staticinherited |
|
staticinherited |
|
staticinherited |
|
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.
|
staticinherited |
|
staticinherited |