RPCLinkSynchroHistoMaker

Macros

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
#ifndef DQM_RPCMonitorDigi_RPCLinkSynchroHistoMaker_H
#define DQM_RPCMonitorDigi_RPCLinkSynchroHistoMaker_H

#include "DQM/RPCMonitorDigi/interface/RPCLinkSynchroStat.h"
#include "CondFormats/RPCObjects/interface/RPCReadOutMapping.h"

#include <TH1F.h>
#include <TH2F.h>

#include <string>

class RPCLinkSynchroHistoMaker {
public:
  RPCLinkSynchroHistoMaker(const RPCLinkSynchroStat& a) : theLinkStat(a) {}
  void fillDelaySpreadHisto(TH2F* histo);
  void fillDelayHisto(TH1F* histo);
  void fill(TH1F* hDelay, TH2F* hDelaySpread, TH2F* hTopOccup, TH2F* hTopSpread) const;

private:
  const RPCLinkSynchroStat& theLinkStat;
};
#endif