BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
show_avg_field.C File Reference

Go to the source code of this file.

Functions

int show_avg_field (int period_number=9, int start_run=8977, int end_run=9094, bool isShowElog=true, bool isOnlyDifferent=true)
 Function to calculate and show average magnetic field values (voltage, mV) from Tango for runs of the given period/session to UniConDa Parameters: period_number - period/session number start_run - number of the first run of the interval end_run - number of the end run of the interval isShowElog - whether show also corresponding e-Log values isOnlyDifferent - show average magnetic field values from Tango only for different e-Log values (current, A).
int show_field_graph (int start_period=8, int start_run=6866, int end_period=-1, int end_run=-1)
 Function to display magnetic field for a given time interval corresponding to the specified run range end_period == -1 means "end_period = start_period" end_run == -1 means "end_run = start_run".
int show_field_graph (const char *start_time, const char *end_time)
void write_avg_field_db (int period_number=9, int start_run=1, int end_run=100000, bool is_rewrite=true, float allowed_tolerance_pct=10)
 Function to calculate and write Tango average magnetic field values for runs of the given period/session to UniConDa.
int compare_avg_field (int period_number=9, int start_run=8977, int end_run=9094)

Variables

const char * system_name = "magnet"
const char * parameter_name = "ch_1"

Function Documentation

◆ compare_avg_field()

int compare_avg_field ( int period_number = 9,
int start_run = 8977,
int end_run = 9094 )

◆ show_avg_field()

int show_avg_field ( int period_number = 9,
int start_run = 8977,
int end_run = 9094,
bool isShowElog = true,
bool isOnlyDifferent = true )

◆ show_field_graph() [1/2]

int show_field_graph ( const char * start_time,
const char * end_time )

Definition at line 259 of file show_avg_field.C.

References TDatime::AsSQLString(), TString::Data(), TangoData::GetAverageTangoData(), TObjArray::GetEntriesFast(), TangoData::GetTangoData(), parameter_name, TangoData::PrintTangoDataMultiGraph(), and system_name.

Here is the call graph for this function:

◆ show_field_graph() [2/2]

int show_field_graph ( int start_period = 8,
int start_run = 6866,
int end_period = -1,
int end_run = -1 )

Definition at line 191 of file show_avg_field.C.

References TDatime::AsSQLString(), TString::Data(), TangoData::GetAverageTangoData(), UniRun::GetEndDatetime(), TObjArray::GetEntriesFast(), UniRun::GetRun(), UniRun::GetStartDatetime(), TangoData::GetTangoData(), parameter_name, TangoData::PrintTangoDataMultiGraph(), and system_name.

Here is the call graph for this function:

◆ write_avg_field_db()

void write_avg_field_db ( int period_number = 9,
int start_run = 1,
int end_run = 100000,
bool is_rewrite = true,
float allowed_tolerance_pct = 10 )

Variable Documentation

◆ parameter_name

◆ system_name

const char* system_name = "magnet"