Belle II Software
release-08-01-10
|
Public Member Functions | |
def | identifier (self) |
def | sample_file_name (self) |
def | create_argument_parser (self, **kwds) |
def | postprocess (self) |
def | run (self, path) |
def | name (self) |
def | configure_and_execute_from_commandline (self) |
def | execute (self) |
def | configure_from_commandline (self) |
def | configure (self, arguments) |
def | create_path (self) |
def | adjust_path (self, path) |
def | run (self, path) |
def | name (self) |
def | configure_and_execute_from_commandline (self) |
def | execute (self) |
def | configure_from_commandline (self) |
def | configure (self, arguments) |
def | create_path (self) |
def | adjust_path (self, path) |
Public Attributes | |
task | |
Process each event according to the user's desired task (train, eval, explore) | |
output_file_name | |
Set file name for the TBrowser to show if demanded. | |
Static Public Attributes | |
string | task = "train" |
Recording / training task selected. | |
variables = None | |
Input variable for the training or the classification analysis. More... | |
groupby = None | |
Input groupby the classification analysis. More... | |
auxiliaries = None | |
Input auxiliaries the classification analysis. More... | |
string | truth = "truth" |
Truth variable name. | |
bool | show_results = False |
By default, do not show the browsing results. | |
bool | postprocess_only = False |
By default, browse the output TFile too. | |
string | description = "Empty execution of basf2" |
Description of the run setup to be displayed on command line. | |
bool | postprocess_only = False |
By default, browse the output TFile too. | |
string | description = "Empty execution of basf2" |
Description of the run setup to be displayed on command line. | |
Prepare and execute a basf2 job to train neural network, postprocess, and inspect
Definition at line 19 of file training.py.
|
inherited |
Hook that gives the opportunity to check the path for consistency before processing it
Reimplemented in HarvestingRunMixin.
Definition at line 95 of file minimal.py.
|
inherited |
Hook that gives the opportunity to check the path for consistency before processing it
Reimplemented in HarvestingRunMixin.
Definition at line 95 of file minimal.py.
|
inherited |
Save the command-line arguments as key-value pairs
Reimplemented in CDCDisplayRun, and ReadOrGenerateEventsRun.
Definition at line 74 of file minimal.py.
|
inherited |
Save the command-line arguments as key-value pairs
Reimplemented in CDCDisplayRun, and ReadOrGenerateEventsRun.
Definition at line 74 of file minimal.py.
|
inherited |
Configure basf2 job script from command-line arguments then run it
Definition at line 46 of file minimal.py.
|
inherited |
Configure basf2 job script from command-line arguments then run it
Definition at line 46 of file minimal.py.
|
inherited |
Convert the command-line arguments to a basf2 job script
Definition at line 68 of file minimal.py.
|
inherited |
Convert the command-line arguments to a basf2 job script
Definition at line 68 of file minimal.py.
def create_argument_parser | ( | self, | |
** | kwds | ||
) |
Create argument parser
Reimplemented from PostProcessingRunMixin.
Definition at line 50 of file training.py.
|
inherited |
Create a new basf2 path
Reimplemented in TrackFilterTrainingRun, SegmentTrackFilterTrainingRun, RealisticTrackRelationFilterTrainingRun, RealisticSegmentRelationFilterTrainingRun, RealisticSegmentPairRelationFilterTrainingRun, RealisticSegmentPairFilterTrainingRun, RealisticAxialSegmentPairFilterTrainingRun, FeasibleTrackRelationFilterTrainingRun, FeasibleSegmentRelationFilterTrainingRun, FeasibleSegmentPairFilterTrainingRun, FeasibleAxialSegmentPairFilterTrainingRun, FacetRelationFilterTrainingRun, FacetFilterTrainingRun, BackgroundClusterFilterTrainingRun, SegmentPairFitValidationRun, SegmentPairCreationValidationRun, SegmentFitValidationRun, FitValidation, LegendreBinningValidationRun, ElossHarvestingRun, ClusterFilterValidationRun, WireHitPreparerRunMixin, CDCDisplayRun, SegmentQuadTreeRun, TrackingValidationRun, ReadOrGenerateTrackedEventsRun, RootOutputRunMixin, MinimalRun, and ReadOrGenerateEventsRun.
Definition at line 90 of file minimal.py.
|
inherited |
Create a new basf2 path
Reimplemented in TrackFilterTrainingRun, SegmentTrackFilterTrainingRun, RealisticTrackRelationFilterTrainingRun, RealisticSegmentRelationFilterTrainingRun, RealisticSegmentPairRelationFilterTrainingRun, RealisticSegmentPairFilterTrainingRun, RealisticAxialSegmentPairFilterTrainingRun, FeasibleTrackRelationFilterTrainingRun, FeasibleSegmentRelationFilterTrainingRun, FeasibleSegmentPairFilterTrainingRun, FeasibleAxialSegmentPairFilterTrainingRun, FacetRelationFilterTrainingRun, FacetFilterTrainingRun, BackgroundClusterFilterTrainingRun, SegmentPairFitValidationRun, SegmentPairCreationValidationRun, SegmentFitValidationRun, FitValidation, LegendreBinningValidationRun, ElossHarvestingRun, ClusterFilterValidationRun, WireHitPreparerRunMixin, CDCDisplayRun, SegmentQuadTreeRun, TrackingValidationRun, ReadOrGenerateTrackedEventsRun, RootOutputRunMixin, MinimalRun, and ReadOrGenerateEventsRun.
Definition at line 90 of file minimal.py.
|
inherited |
Create the basf2 path then run the job
Reimplemented in ReadOrGenerateEventsRun.
Definition at line 51 of file minimal.py.
|
inherited |
Create the basf2 path then run the job
Reimplemented in ReadOrGenerateEventsRun.
Definition at line 51 of file minimal.py.
def identifier | ( | self | ) |
Database identifier of the filte being trained
Definition at line 38 of file training.py.
|
inherited |
provide name of this object
Definition at line 42 of file minimal.py.
|
inherited |
provide name of this object
Definition at line 42 of file minimal.py.
def postprocess | ( | self | ) |
Run the training as post-processing job To run only the training run with --postprocess-only
Reimplemented from PostProcessingRunMixin.
Definition at line 64 of file training.py.
|
inherited |
|
inherited |
def sample_file_name | ( | self | ) |
File name of the recorded sample to be trained on Defaults to the class name minus the mandatory TrainingRun postfix
Definition at line 43 of file training.py.
|
static |
Input auxiliaries the classification analysis.
Default use none
Definition at line 32 of file training.py.
|
static |
Input groupby the classification analysis.
Default use no groupby
Definition at line 29 of file training.py.
|
static |
Input variable for the training or the classification analysis.
Default use all variables
Definition at line 26 of file training.py.