Go to the documentation of this file.
8 #ifndef CBMMQHISTOSERVER_H
9 #define CBMMQHISTOSERVER_H
11 #include "FairMQDevice.h"
13 #include "THttpServer.h"
14 #include "TObjArray.h"
63 std::vector<std::pair<TNamed*, std::string>>
67 std::vector<std::pair<TCanvas*, std::string>>
80 template<
class HistoT>
89 #endif // CBMMQHISTOSERVER_H
bool fbAllCanvasRegistered
std::string fsChannelNameHistosInput
Parameters.
bool ReceiveCanvasConfig(FairMQMessagePtr &msg, int index)
bool ReceiveHistoConfig(FairMQMessagePtr &msg, int index)
std::vector< std::pair< TNamed *, std::string > > fvHistos
int FindHistogram(const std::string &name)
bool ReadHistogram(HistoT *pHist)
int fNMessages
Internal status.
bool ReceiveData(FairMQMessagePtr &msg, int index)
std::vector< bool > fvbHistoRegistered
Vector of Histos pointers and folder path.
virtual ~CbmMqHistoServer()
std::string fsHistoFileName
std::vector< std::pair< TCanvas *, std::string > > fvCanvas
uint32_t fuHttpServerPort
std::string fsChannelNameCanvasConfig
std::vector< std::pair< std::string, std::string > > fvpsCanvasConfig
bool PrepareCanvas(uint32_t uCanvIdx)
bool fbAllHistosRegistered
std::string fsChannelNameHistosConfig
TObjArray fArrayHisto
Array of histograms with unique names.
std::vector< bool > fvbCanvasRegistered
Vector of Canvas pointers and folder path.
std::vector< bool > fvbCanvasReady
std::vector< std::pair< std::string, std::string > > fvpsHistosFolder
Vector of string with ( HistoName, FolderPath ) to send to the histogram server.