BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
delete_parameter_value.C
Go to the documentation of this file.
1// macro for adding parameter value (if parameter exist - you could check existing parameters by
2// 'UniParameter::PrintAll()' function)
4{
5 // set 'on' parameter value (boolean value)
6 int res_code =
7 UniDetectorParameter::DeleteDetectorParameter(TString("BM@N"), TString("alignment"), 6, 1170, 6, 1992);
8 if (res_code != 0) {
9 cout << "\nMacro finished with errors" << endl;
10 return;
11 }
12
13 cout << "\nMacro finished successfully" << endl;
14}
static int DeleteDetectorParameter(int value_id)
delete detector parameter from the database
void delete_parameter_value()