ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/L1RpcTriggerAnalysis/interface/SynchroCountsGrabber.h
Revision: 1.3
Committed: Tue Oct 30 11:13:16 2012 UTC (12 years, 6 months ago) by konec
Content type: text/plain
Branch: MAIN
CVS Tags: Artur_11_07_2013_B, Artur_11_07_2013_A, Artur_11_07_2013, Artur_28_06_2013, HEAD
Changes since 1.2: +1 -0 lines
Log Message:
*** empty log message ***

File Contents

# Content
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 ~SynchroCountsGrabber();
22 RPCRawSynchro::ProdItem counts(const edm::Event &ev, const edm::EventSetup &es);
23 void setMuon(const reco::Muon *aMuon) { theMuon = aMuon; }
24 void initHistos(TObjArray & histos) {theSelector.initHistos(histos); }
25 private:
26 edm::ESWatcher<RPCEMapRcd> theMapWatcher;
27 RPCReadOutMapping * theCabling;
28 const reco::Muon * theMuon;
29 SynchroSelectorMuon theSelector;
30 bool deltaR_MuonToDetUnit_cutoff, checkInside;
31 bool theNoSynchroWarning;
32 };
33 #endif