ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/L1RpcTriggerAnalysis/interface/SynchroCountsGrabber.h
Revision: 1.1
Committed: Mon Oct 1 19:19:57 2012 UTC (12 years, 7 months ago) by konec
Content type: text/plain
Branch: MAIN
Log Message:
major changes,

File Contents

# User Rev Content
1 konec 1.1 #ifndef UserCode_L1RpcTriggerAnalysis_SynchroCountsGrabber_H
2     #define UserCode_L1RpcTriggerAnalysis_SynchroCountsGrabber_H
3    
4     #include "DQM/RPCMonitorClient/interface/RPCLinkSynchroStat.h"
5     #include "CondFormats/RPCObjects/interface/LinkBoardElectronicIndex.h"
6     #include "DataFormats/RPCDigi/interface/RPCRawSynchro.h"
7     #include "FWCore/Framework/interface/ESWatcher.h"
8     #include "CondFormats/DataRecord/interface/RPCEMapRcd.h"
9     #include "FWCore/ParameterSet/interface/ParameterSet.h"
10     #include "UserCode/L1RpcTriggerAnalysis/interface/SynchroSelectorMuon.h"
11    
12    
13     namespace edm { class Event; class EventSetup; class Run;}
14     namespace reco { class Muon; }
15    
16     class TObjArray;
17    
18     class SynchroCountsGrabber {
19     public:
20     SynchroCountsGrabber(const edm::ParameterSet& cfg);
21     RPCRawSynchro::ProdItem counts(const edm::Event &ev, const edm::EventSetup &es);
22     void setMuon(const reco::Muon *aMuon) { theMuon = aMuon; }
23     void initHistos(TObjArray & histos) {theSelector.initHistos(histos); }
24     private:
25     edm::ESWatcher<RPCEMapRcd> theMapWatcher;
26     RPCReadOutMapping * theCabling;
27     const reco::Muon * theMuon;
28     SynchroSelectorMuon theSelector;
29     };
30     #endif