File indexing completed on 2024-04-06 12:08:13
0001 #ifndef DQM_RPCMonitorDigi_RPCLinkSynchroHistoMaker_H
0002 #define DQM_RPCMonitorDigi_RPCLinkSynchroHistoMaker_H
0003
0004 #include "DQM/RPCMonitorDigi/interface/RPCLinkSynchroStat.h"
0005 #include "CondFormats/RPCObjects/interface/RPCReadOutMapping.h"
0006
0007 #include <TH1F.h>
0008 #include <TH2F.h>
0009
0010 #include <string>
0011
0012 class RPCLinkSynchroHistoMaker {
0013 public:
0014 RPCLinkSynchroHistoMaker(const RPCLinkSynchroStat& a) : theLinkStat(a) {}
0015 void fillDelaySpreadHisto(TH2F* histo);
0016 void fillDelayHisto(TH1F* histo);
0017 void fill(TH1F* hDelay, TH2F* hDelaySpread, TH2F* hTopOccup, TH2F* hTopSpread) const;
0018
0019 private:
0020 const RPCLinkSynchroStat& theLinkStat;
0021 };
0022 #endif