|
| task |
| Post-process events according to the user's desired task (train, eval, explore)
|
|
| variables |
| Signal some variables to select in the classification analysis.
|
|
| groupby |
| group output by superlayer_id
|
|
| auxiliaries |
| auxiliary histograms
|
|
| root_input_file |
| generating events, so there is no ROOT input file
|
|
|
int | n_events = 1000 |
| Suggested number for this analysis.
|
|
string | generator_module = "generic" |
| Suggested generator module.
|
|
string | task = "explore" |
| Default task set to explore.
|
|
string | truth = "truth_positive" |
| Name of the truth variables.
|
|
string | description = "Simulate events using various generator and detector setups from command line." |
| Description of the run setup to be displayed on command line.
|
|
string | 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.
|
|
| 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.
|
|
Run for recording facets encountered at the filter
Definition at line 24 of file trainFacetRelationFilter.py.
◆ adjust_path()
def adjust_path |
( |
|
self, |
|
|
|
path |
|
) |
| |
|
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.
◆ configure()
def configure |
( |
|
self, |
|
|
|
arguments |
|
) |
| |
|
inherited |
◆ configure_and_execute_from_commandline()
def configure_and_execute_from_commandline |
( |
|
self | ) |
|
|
inherited |
Configure basf2 job script from command-line arguments then run it
Definition at line 46 of file minimal.py.
◆ configure_from_commandline()
def configure_from_commandline |
( |
|
self | ) |
|
|
inherited |
Convert the command-line arguments to a basf2 job script
Definition at line 68 of file minimal.py.
◆ create_argument_parser()
def create_argument_parser |
( |
|
self, |
|
|
** |
kwds |
|
) |
| |
|
inherited |
◆ create_path()
Setup the recording path after the simulation
Reimplemented from ReadOrGenerateEventsRun.
Definition at line 44 of file trainFacetRelationFilter.py.
44 def create_path(self):
45 """Setup the recording path after the simulation"""
46 path = super().create_path()
49 if self.task ==
"train":
55 elif self.task ==
"eval":
72 self.groupby = [
"",
"superlayer_id"]
77 elif self.task ==
"explore":
142 self.groupby = [
"",
"superlayer_id"]
148 path.add_module(
"TFCDC_WireHitPreparer",
149 flightTimeEstimation=
"outwards",
152 path.add_module(
"TFCDC_ClusterPreparer")
154 path.add_module(
"TFCDC_SegmentFinderFacetAutomaton",
155 FacetRelationFilter=
"unionrecording",
156 FacetRelationFilterParameters={
157 "rootFileName": self.sample_file_name,
◆ execute()
◆ identifier()
◆ name()
provide name of this object
Definition at line 42 of file minimal.py.
◆ run()
The documentation for this class was generated from the following file: