Belle II Software development
VXDTF2TrackingValidationBkg Class Reference
Inheritance diagram for VXDTF2TrackingValidationBkg:
TrackingValidationRun BrowseTFileOnTerminateRunMixin ReadOrGenerateTrackedEventsRun PostProcessingRunMixin ReadOrGenerateEventsRun EmptyRun MinimalRun EmptyRun

Public Member Functions

def adjust_path (self, path)
 

Static Public Attributes

N_EVENTS n_events = N_EVENTS
 the number of events to process
 
str generator_module = 'generic'
 Generator to be used in the simulation (-so)
 
str root_input_file = '../EvtGenSim.root'
 root input file to use, generated by central validation script
 
None components = None
 use full detector for validation
 
staticmethod finder_module = staticmethod(setupFinderModule)
 lambda method which is used by the validation to add the svd finder modules
 
dict tracking_coverage
 use only the svd hits when computing efficiencies
 
bool fit_tracks = True
 perform fit after track finding
 
bool pulls = True
 plot pull distributions
 
bool use_expert_folder = False
 do not create expert-level output histograms in dedicated folder but in the main folder
 
VALIDATION_OUTPUT_FILE output_file_name = VALIDATION_OUTPUT_FILE
 output file of plots
 

Detailed Description

Validation class for the four 4-SVD Layer tracking

Definition at line 38 of file VXDTF2TrackingValidationBkg.py.

Member Function Documentation

◆ adjust_path()

def adjust_path (   self,
  path 
)
Hook that gives the opportunity to check the path for consistency before processing it

Reimplemented from EmptyRun.

Definition at line 73 of file VXDTF2TrackingValidationBkg.py.

73 def adjust_path(self, path):
74 # if environment variable is set, use the SectorMap this variable is pointing to!
75 testing_secmap_name = os.getenv("BELLE2_TESTING_VXDTF2_SECMAP")
76 if testing_secmap_name is not None:
77 basf2.B2WARNING("Using non-default (the one in the db) SectorMap: " + testing_secmap_name)
78 basf2.set_module_parameters(path, "SectorMapBootstrap", ReadSecMapFromDB=False)
79 basf2.set_module_parameters(path, "SectorMapBootstrap", ReadSectorMap=True)
80 basf2.set_module_parameters(path, "SectorMapBootstrap", SectorMapsInputFile=testing_secmap_name)
81
82

Member Data Documentation

◆ components

None components = None
static

use full detector for validation

Definition at line 49 of file VXDTF2TrackingValidationBkg.py.

◆ finder_module

staticmethod finder_module = staticmethod(setupFinderModule)
static

lambda method which is used by the validation to add the svd finder modules

Definition at line 52 of file VXDTF2TrackingValidationBkg.py.

◆ fit_tracks

bool fit_tracks = True
static

perform fit after track finding

Definition at line 63 of file VXDTF2TrackingValidationBkg.py.

◆ generator_module

str generator_module = 'generic'
static

Generator to be used in the simulation (-so)

Definition at line 45 of file VXDTF2TrackingValidationBkg.py.

◆ n_events

N_EVENTS n_events = N_EVENTS
static

the number of events to process

Definition at line 43 of file VXDTF2TrackingValidationBkg.py.

◆ output_file_name

VALIDATION_OUTPUT_FILE output_file_name = VALIDATION_OUTPUT_FILE
static

output file of plots

Definition at line 69 of file VXDTF2TrackingValidationBkg.py.

◆ pulls

bool pulls = True
static

plot pull distributions

Definition at line 65 of file VXDTF2TrackingValidationBkg.py.

◆ root_input_file

str root_input_file = '../EvtGenSim.root'
static

root input file to use, generated by central validation script

Definition at line 47 of file VXDTF2TrackingValidationBkg.py.

◆ tracking_coverage

dict 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 55 of file VXDTF2TrackingValidationBkg.py.

◆ use_expert_folder

bool use_expert_folder = False
static

do not create expert-level output histograms in dedicated folder but in the main folder

Definition at line 67 of file VXDTF2TrackingValidationBkg.py.


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