BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
TangoData.cxx File Reference
#include "TangoData.h"
#include "TColor.h"
#include "TROOT.h"
#include "TRandom.h"
#include "TangoConnection.h"
#include "UniRun.h"
#include <TAxis.h>
#include <TCanvas.h>
#include <TGraph.h>
#include <TGraph2D.h>
#include <TH2D.h>
#include <TLegend.h>
#include <TMultiGraph.h>
#include <TSQLServer.h>
#include <TSQLStatement.h>
#include <TStyle.h>
#include <algorithm>
#include <cctype>
#include <cmath>
#include <fstream>
#include <iostream>
Include dependency graph for TangoData.cxx:

Go to the source code of this file.

Functions

static TString GetSourceName (TangoData *pTangoData)
static TString GetRangeSuffix (TangoData *pTangoData)
static TString GetDataName (TangoData *pTangoData)
static TString GetArrayDataName (vector< TangoData * > &vecTangoData)
static TString GetArrayTitle (vector< TangoData * > &vecTangoData)
static TCanvas * CreateTangoCanvas (TString data_name, TString view_name)
static void AddStepPoint (TGraph &graph, double x, double y)

Variables

const char *const TANGO_DB_USERNAME_b2020 = "tango"
const char *const TANGO_DB_PASSWORD_b2020 = "tangompd"
const char *const TANGO_DB_HOST_b2020 = "10.18.11.66"
const char *const TANGO_DB_NAME_b2020 = "hdbpp"
static int cached_period = -1
static int cached_start_run = -1
static int cached_end_run = -1
static TString cached_start_date
static TString cached_end_date
static vector< TangoTimeInterval > cached_run_intervals

Function Documentation

◆ AddStepPoint()

void AddStepPoint ( TGraph & graph,
double x,
double y )
static

Definition at line 684 of file TangoData.cxx.

References TGraph::GetN(), TGraph::GetY(), n, TGraph::SetPoint(), x, and y.

Referenced by TangoData::PrintTangoDataMultiGraph().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ CreateTangoCanvas()

TCanvas * CreateTangoCanvas ( TString data_name,
TString view_name )
static

Definition at line 614 of file TangoData.cxx.

References i, and TString::Length().

Referenced by TangoData::PrintTangoDataMultiGraph(), and TangoData::PrintTangoDataSurface().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetArrayDataName()

TString GetArrayDataName ( vector< TangoData * > & vecTangoData)
static

Definition at line 578 of file TangoData.cxx.

References GetDataName(), TangoData::GetParameterName(), GetRangeSuffix(), and GetSourceName().

Here is the call graph for this function:

◆ GetArrayTitle()

TString GetArrayTitle ( vector< TangoData * > & vecTangoData)
static

Definition at line 595 of file TangoData.cxx.

References TString::Format(), TangoData::GetFullName(), TangoData::GetMemberName(), TangoData::GetParameterName(), and TangoData::GetSystemName().

Here is the call graph for this function:

◆ GetDataName()

TString GetDataName ( TangoData * pTangoData)
static

Definition at line 570 of file TangoData.cxx.

References TangoData::GetParameterName(), GetRangeSuffix(), and GetSourceName().

Referenced by GetArrayDataName(), TangoData::PrintTangoDataMultiGraph(), and TangoData::PrintTangoDataSurface().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetRangeSuffix()

TString GetRangeSuffix ( TangoData * pTangoData)
static

Definition at line 552 of file TangoData.cxx.

References TString::Format(), TDatime::GetDate(), TangoData::GetEndDate(), TangoData::GetEndRun(), TangoData::GetPeriodNumber(), TangoData::GetStartDate(), TangoData::GetStartRun(), and TDatime::GetTime().

Referenced by GetArrayDataName(), and GetDataName().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetSourceName()

TString GetSourceName ( TangoData * pTangoData)
static

Definition at line 539 of file TangoData.cxx.

References TangoData::GetMemberName(), and TangoData::GetSystemName().

Referenced by GetArrayDataName(), and GetDataName().

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ cached_end_date

TString cached_end_date
static

Definition at line 151 of file TangoData.cxx.

Referenced by TangoData::SetRunRangeDates().

◆ cached_end_run

int cached_end_run = -1
static

Definition at line 150 of file TangoData.cxx.

Referenced by TangoData::SetRunRangeDates().

◆ cached_period

int cached_period = -1
static

Definition at line 150 of file TangoData.cxx.

Referenced by TangoData::SetRunRangeDates().

◆ cached_run_intervals

vector<TangoTimeInterval> cached_run_intervals
static

Definition at line 152 of file TangoData.cxx.

Referenced by TangoData::SetRunRangeDates().

◆ cached_start_date

TString cached_start_date
static

Definition at line 151 of file TangoData.cxx.

Referenced by TangoData::SetRunRangeDates().

◆ cached_start_run

int cached_start_run = -1
static

Definition at line 150 of file TangoData.cxx.

Referenced by TangoData::SetRunRangeDates().

◆ TANGO_DB_HOST_b2020

const char* const TANGO_DB_HOST_b2020 = "10.18.11.66"

Definition at line 29 of file TangoData.cxx.

Referenced by TangoData::GetTangoParameter().

◆ TANGO_DB_NAME_b2020

const char* const TANGO_DB_NAME_b2020 = "hdbpp"

Definition at line 30 of file TangoData.cxx.

Referenced by TangoData::GetTangoParameter().

◆ TANGO_DB_PASSWORD_b2020

const char* const TANGO_DB_PASSWORD_b2020 = "tangompd"

Definition at line 28 of file TangoData.cxx.

Referenced by TangoData::GetTangoParameter().

◆ TANGO_DB_USERNAME_b2020

const char* const TANGO_DB_USERNAME_b2020 = "tango"

Definition at line 27 of file TangoData.cxx.

Referenced by TangoData::GetTangoParameter().