1 |
#ifndef DQM_RPCMonitorClient_LinkSynchroAnalysis_H
|
2 |
#define DQM_RPCMonitorClient_LinkSynchroAnalysis_H
|
3 |
|
4 |
#include "DQM/RPCMonitorClient/interface/RPCMonitorLinkSynchro.h"
|
5 |
#include "FWCore/ParameterSet/interface/ParameterSet.h"
|
6 |
#include "FWCore/Framework/interface/ESWatcher.h"
|
7 |
#include "CondFormats/DataRecord/interface/RPCEMapRcd.h"
|
8 |
#include "TObjArray.h"
|
9 |
|
10 |
namespace edm { class Event; class EventSetup; }
|
11 |
class RPCReadOutMapping;
|
12 |
class SynchroSelector;
|
13 |
|
14 |
|
15 |
class LinkSynchroAnalysis : public RPCMonitorLinkSynchro {
|
16 |
public:
|
17 |
LinkSynchroAnalysis(const edm::ParameterSet& cfg);
|
18 |
virtual ~LinkSynchroAnalysis();
|
19 |
virtual const RPCRawSynchro::ProdItem& select(const RPCRawSynchro::ProdItem&, const edm::Event&, const edm::EventSetup&);
|
20 |
virtual void beginJob();
|
21 |
virtual void endJob();
|
22 |
private:
|
23 |
edm::ParameterSet theAnaConfig;
|
24 |
edm::ESWatcher<RPCEMapRcd> theMapWatcher;
|
25 |
RPCReadOutMapping * theCabling;
|
26 |
TObjArray theHistos;
|
27 |
unsigned int theEventCounter;
|
28 |
unsigned int theRPCCounter;
|
29 |
std::vector<SynchroSelector *> theSynchroFilters;
|
30 |
};
|
31 |
#endif
|
32 |
|