BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
examples Directory Reference

Description

Unified Condition Database examples

ROOT macros showing how to work with the Unified Condition Database by the classes of the uni_db interface. The macros are run after loading the BmnRoot environment, e.g. root -l get_parameter_value.C.

Macros

Macro Description
create_new_parameter.C Creation of a new parameter (UniParameter::CreateParameter)
put_parameter_value.C, put_parameter_value_complex.C, put_parameter_value_json.C Writing a detector parameter value for a run range: simple (boolean, integer, double), complex (array of structures, e.g. noisy channels) and JSON values
put_parameter_value_file.C Writing a ROOT file (e.g. alignment or Lorentz shift) as a detector parameter for a run range
get_parameter_value.C, get_parameter_value_complex.C, get_parameter_value_json.C Reading a detector parameter value for a run (UniDetectorParameter::GetDetectorParameter)
get_parameter_value_file.C Reading a ROOT file stored as a detector parameter into a local file
delete_parameter_value.C Deleting a detector parameter value
print_parameter_values.C Printing the parameter values of all detectors or the given detector
selecting_parameters.C Selection of the parameter values by search conditions (UniSearchCondition)
selecting_runs.C Selection of the runs by search conditions (beam, target, energy, …)

Subdirectories

Directory Description
raw Checks and statistics of the raw data files registered in the database
root Checks and statistics of the ROOT files of the runs
run Statistics of the runs
Directory dependency graph for examples:

Directories

 
raw
 Raw file checks
 
root
 ROOT file checks
 
run
 Run statistics

Files

 
create_new_parameter.C
 
delete_parameter_value.C
 
get_parameter_value.C
 
get_parameter_value_complex.C
 
get_parameter_value_file.C
 
get_parameter_value_json.C
 
print_parameter_values.C
 
put_parameter_value.C
 
put_parameter_value_complex.C
 
put_parameter_value_file.C
 
put_parameter_value_json.C
 
selecting_parameters.C
 
selecting_runs.C