MonitorSvc

Up ]

 

To publish counters, other variables and histograms, the Gaudi algorithm writer can use the Gaucho MonitorSvc class.

 

Some of the public member functions defined by IMonitorSvc are shown in the following Table, together with the DIM command used in their implementation. The service name (infoname) is constructed by concatenating the variable name with a unique job identifier called the UTGID . By using the declareInfo function with an appropriate signature, an object can be published to a DIM client such as PVSS.

 

 

 

Function

Data type

DIM Command

declareInfo(string &name, int &var, string &desc, IInterface *owner)

int

DimService(infoname.c_str(), (int&) var)

declareInfo(string &name, double &var, string &desc, IInterface *owner)

double

DimService(infoname.c_str(), (double&) var)

declareInfo(string &name, string &var, string &desc, IInterface *owner)

string

DimService(infoname.c_str(), (char*)var_cstr())

declareInfo(string &name, AIDA::IHistogram *var, string &desc, IInterface *owner)

AIDA::IHistogram

DimRpc(histoname.c_str(), “I:1”,”F”)