otsdaq  v2_05_02_indev
DQMHistosConsumerBase.h
1 #ifndef _ots_DQMHistosConsumerBase_h_
2 #define _ots_DQMHistosConsumerBase_h_
3 
4 #include <mutex>
5 #include <string>
6 #include "otsdaq/DataManager/DataConsumer.h"
7 #include "otsdaq/RootUtilities/DQMHistosBase.h"
8 
9 namespace ots
10 {
12 {
13  public:
14  DQMHistosConsumerBase(std::string supervisorApplicationUID, std::string bufferUID, std::string processorUID, ConsumerPriority /*priority*/)
15  : WorkLoop(processorUID), DataConsumer(supervisorApplicationUID, bufferUID, processorUID, LowConsumerPriority)
16  {
17  ;
18  }
19  virtual ~DQMHistosConsumerBase(void) { ; }
20  std::mutex& getFillHistoMutex(void) { return fillHistoMutex_; }
21 
22  protected:
23  std::mutex fillHistoMutex_;
24 };
25 } // namespace ots
26 
27 #endif