ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/L1RpcTriggerAnalysis/interface/BestMuonFinder.h
Revision: 1.2
Committed: Tue Nov 6 12:56:50 2012 UTC (12 years, 5 months ago) by konec
Content type: text/plain
Branch: MAIN
Changes since 1.1: +2 -0 lines
Log Message:
*** empty log message ***

File Contents

# User Rev Content
1 konec 1.1 #ifndef L1RpcTriggerAnalysis_BestMuonFinder_H
2     #define L1RpcTriggerAnalysis_BestMuonFinder_H
3    
4     #include "FWCore/ParameterSet/interface/ParameterSet.h"
5     #include "DataFormats/Provenance/interface/RunID.h"
6     #include "DataFormats/Provenance/interface/EventID.h"
7    
8     namespace edm { class Event; class EventSetup; }
9     namespace reco { class Muon; }
10    
11     class TH1D;
12     class TH2D;
13     class TObjArray;
14    
15     class BestMuonFinder {
16    
17     public:
18     BestMuonFinder( const edm::ParameterSet& cfg);
19     const reco::Muon* result( const edm::Event &ev, const edm::EventSetup &es) { run(ev,es); return theMuon; }
20     bool isUnique( const edm::Event &ev, const edm::EventSetup &es) { run(ev,es); return theUnique;}
21     void initHistos( TObjArray & histos);
22    
23     private:
24     bool run(const edm::Event &ev, const edm::EventSetup &es);
25    
26     private:
27     edm::EventNumber_t lastEvent;
28     edm::RunNumber_t lastRun;
29     edm::ParameterSet theConfig;
30    
31     bool theUnique;
32     const reco::Muon* theMuon;
33    
34     TH1D *hMuChi2Tk, *hMuChi2Gl, *hMuNHitsTk ;
35     TH2D *hMuPtVsEta, *hMuHitsRPCvsCSC, *hMuHitsRPCvsDT;
36 konec 1.2 TH1D *hMuonPt_BMF, *hMuonEta_BMF, *hMuonPhi_BMF;
37    
38 konec 1.1
39     };
40     #endif