20.4. SVD Tools

20.4.1. b2svd-run-simul-recon

Tool to run SVD-only simulation and reconstruction. No output is produced unless –root_output is used.

usage: b2svd-run-simul-recon [-h] [-n EVENTS] [--no_bkg] [--exp EXP]
                             [--run RUN] [--prepend_gt [GTs [GTs ...]]]
                             [--root_output]

Optional Arguments

-n, --events

number of events

--no_bkg

flag to remove beam background from simulation

--exp

experiment number you want to simulate

--run

run number you want to simulate

--prepend_gt

Global Tags to be prepended

--root_output

add this option to append the RootOuput module

20.4.2. b2svd-create-time-calib-sample

Tool to create the MC sample to calibrate the hit time in MC. The tool creates the rootfile to be used as input file for the caf_svd_time.py time calibration script. For the time calibration you will need 80k events, you can produce in parallel several samples, and then input all of them to caf_svd_time.py

usage: b2svd-create-time-calib-sample [-h] [-n EVENTS] [--add_bkg] [--exp EXP]
                                      [--run RUN]
                                      [--prepend_gt [GTs [GTs ...]]]
                                      --timeAlgorithm TIME_ALGORITHM
                                      --filename OUTPUT

Optional Arguments

-n, --events

number of events

--add_bkg

flag to add beam background from simulation

--exp

experiment number you want to simulate

--run

run number you want to simulate

--prepend_gt

Global Tags to be prepended

--timeAlgorithm

time algorithm

--filename

output filename

20.4.3. b2svd-import-CoGOnlyPositionError

SVD CoGOnly Position Error Formulas importer: json files can be found in the svd_cdb_json repository (B2SVD).

usage: b2svd-import-CoGOnlyPositionError [-h] [-j JSON]

Optional Arguments

-j, --json

input json file

20.4.4. b2svd-create-posErrScaleFactors

Tool used to generate cluster position error scale factors payload, for the desired algorithm (supported: CoGOnly, OldDefault)

usage: b2svd-create-posErrScaleFactors [-h] --posAlgorithm POSITION_ALGORITHM
                                       [-n EVENTS]
                                       [--prepend_gt [GTs [GTs ...]]]
                                       [--no_outliers] [--no_bkg] [--exp EXP]
                                       [--max_pulls MAX MIN=-MAX]
                                       [--nBins_pulls NBINS]

Optional Arguments

--posAlgorithm

position algorithm

-n, --events

number of events

--prepend_gt

Global Tags to be prepended

--no_outliers

flag to remove outliers from the computation of the scale factors

--no_bkg

flag to remove beam background from simulation

--exp

experiment number you want to simulate

--max_pulls

max (min = -max) of the pulls distribution

--nBins_pulls

number of bins of the pulls distribution