otsdaq_utilities  v2_05_02_indev
VisualDataManager.h
1 #ifndef _ots_VisualDataManager_h_
2 #define _ots_VisualDataManager_h_
3 
4 #include "otsdaq/DataManager/DataManager.h"
5 //#include "otsdaq/MonicelliInterface/Visual3DEvent.h"
6 //#include "otsdaq/MonicelliInterface/Visual3DGeometry.h"
7 //#include "otsdaq/MonicelliInterface/MonicelliEventAnalyzer.h"
8 //#include "otsdaq/MonicelliInterface/MonicelliGeometryConverter.h"
9 #include "otsdaq/RootUtilities/DQMHistosBase.h"
10 
11 #include <map>
12 #include <string>
13 #include <vector>
14 
15 namespace ots
16 {
17 class ConfigurationManager;
18 class RawDataVisualizerConsumer;
19 
20 class VisualDataManager : public DataManager
21 {
22  public:
23  VisualDataManager(const ConfigurationTree& theXDAQContextConfigTree,
24  const std::string& supervisorConfigurationPath);
25  virtual ~VisualDataManager(void);
26 
27  void configure(void) override;
28  void halt(void) override;
29  void pause(void) override;
30  void resume(void) override;
31  void start(std::string runNumber) override;
32  void stop(void) override;
33 
34  void load(std::string fileName, std::string type);
35  // Getters
36  DQMHistosBase* getLiveDQMHistos(void);
37  DQMHistosBase& getFileDQMHistos(void);
38  // const Visual3DEvents& getVisual3DEvents (void);
39  // const Visual3DGeometry& getVisual3DGeometry (void);
40 
41  const std::string& getRawData(void);
42 
43  private:
44  DQMHistosBase* theLiveDQMHistos_;
45  DQMHistosBase theFileDQMHistos_;
46  // MonicelliEventAnalyzer theMonicelliEventAnalyzer_;
47  // MonicelliGeometryConverter theMonicelliGeometryConverter_;
48  // Visual3DData the3DData_;
49 
50  RawDataVisualizerConsumer* theRawDataConsumer_;
51 };
52 }
53 
54 #endif