Belle II Software  release-08-01-10
CombinedSVDTrackingValidation Class Reference
Inheritance diagram for CombinedSVDTrackingValidation:
Collaboration diagram for CombinedSVDTrackingValidation:

Public Member Functions

def preparePathValidation (self, path)
 
def create_argument_parser (self, **kwds)
 
def create_path (self)
 
def postprocess (self)
 
def run (self, path)
 
def name (self)
 
def name (self)
 
def configure_and_execute_from_commandline (self)
 
def configure_and_execute_from_commandline (self)
 
def execute (self)
 
def execute (self)
 
def configure_from_commandline (self)
 
def configure_from_commandline (self)
 
def configure (self, arguments)
 
def configure (self, arguments)
 
def adjust_path (self, path)
 
def adjust_path (self, path)
 

Static Public Member Functions

def finder_module (path)
 

Static Public Attributes

 n_events = N_EVENTS
 the number of events to process
 
string generator_module = 'generic'
 Generator to be used in the simulation (-so)
 
string root_input_file = '../EvtGenSimNoBkg.root'
 root input file to use, generated by central validation script
 
 components = None
 use full detector for validation
 
dictionary tracking_coverage
 use only the svd hits when computing efficiencies More...
 
bool fit_tracks = True
 perform fit after track finding
 
bool pulls = True
 plot pull distributions
 
bool use_expert_folder = True
 create expert-level histograms
 
bool resolution = True
 Include resolution information in the validation output.
 
bool use_fit_information = True
 Use the fit information in validation.
 
 output_file_name = VALIDATION_OUTPUT_FILE
 output file of plots
 
list non_expert_parameters = []
 define empty list of non expert parameters so that no shifter plots are created (to revert just remove following line)
 
 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.
 
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 extended = False
 Switch to use the extended harvesting validation instead.
 
bool saveFullTrees = False
 Only works in extended mode.
 
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.
 
string description = "Apply tracking to presimulated events or events generated on the fly."
 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.
 
bool mc_tracking = True
 By default, do MC track finding and track matching.
 
string detector_setup = "Default"
 By default, use the default detector setup.
 
list bkg_files = []
 By default, no background overlay.
 
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.
 

Detailed Description

Validation class for the four 4-SVD Layer tracking

Definition at line 33 of file CombinedSVDTrackingValidation.py.

Member Function Documentation

◆ adjust_path() [1/2]

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.

◆ adjust_path() [2/2]

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() [1/2]

def configure (   self,
  arguments 
)
inherited
Configure for basf2 job; disable ROOT input if simulating events

Reimplemented from EmptyRun.

Reimplemented in CDCDisplayRun.

Definition at line 123 of file event_generation.py.

◆ configure() [2/2]

def configure (   self,
  arguments 
)
inherited
Save the command-line arguments as key-value pairs

Reimplemented in CDCDisplayRun, and ReadOrGenerateEventsRun.

Definition at line 74 of file minimal.py.

◆ configure_and_execute_from_commandline() [1/2]

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_and_execute_from_commandline() [2/2]

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() [1/2]

def configure_from_commandline (   self)
inherited
Convert the command-line arguments to a basf2 job script

Definition at line 68 of file minimal.py.

◆ configure_from_commandline() [2/2]

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 command line argument parser

Reimplemented from BrowseTFileOnTerminateRunMixin.

Definition at line 103 of file run.py.

◆ create_path()

def create_path (   self)
inherited
Create path from parameters

Reimplemented from ReadOrGenerateTrackedEventsRun.

Definition at line 127 of file run.py.

◆ execute() [1/2]

def execute (   self)
inherited
Run the basf2 job

Reimplemented from EmptyRun.

Definition at line 131 of file event_generation.py.

◆ execute() [2/2]

def execute (   self)
inherited
Create the basf2 path then run the job

Reimplemented in ReadOrGenerateEventsRun.

Definition at line 51 of file minimal.py.

◆ finder_module()

def finder_module (   path)
static
Add the combined SVD standalone track finders and related modules to the basf2 path

Definition at line 47 of file CombinedSVDTrackingValidation.py.

47  def finder_module(path):
48  """Add the combined SVD standalone track finders and related modules to the basf2 path"""
49  tracking.add_hit_preparation_modules(path, components=["SVD"])
50  add_svd_standalone_tracking(path, reco_tracks="RecoTracks", svd_standalone_mode="VXDTF2_and_SVDHough")
51 

◆ name() [1/2]

def name (   self)
inherited
provide name of this object

Definition at line 42 of file minimal.py.

◆ name() [2/2]

def name (   self)
inherited
provide name of this object

Definition at line 42 of file minimal.py.

◆ postprocess()

def postprocess (   self)
inherited
Browse the TFile interactively

Reimplemented from PostProcessingRunMixin.

Reimplemented in TrainingRunMixin, and HarvestingRunMixin.

Definition at line 85 of file mixins.py.

◆ preparePathValidation()

def preparePathValidation (   self,
  path 
)
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 65 of file run.py.

◆ run()

def run (   self,
  path 
)
inherited
Post-process the basf2 job output

Reimplemented from EmptyRun.

Definition at line 46 of file mixins.py.

Member Data Documentation

◆ tracking_coverage

dictionary tracking_coverage
static
Initial value:
= {
'WhichParticles': ['SVD'], # Include all particles seen in the SVD detector, also secondaries
'UsePXDHits': False,
'UseSVDHits': True,
'UseCDCHits': False,
}

use only the svd hits when computing efficiencies

Definition at line 53 of file CombinedSVDTrackingValidation.py.


The documentation for this class was generated from the following file: