ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/L1RpcTriggerAnalysis/interface/TrackToL1ObjMatcher.h
Revision: 1.3
Committed: Mon Nov 28 18:31:04 2011 UTC (13 years, 5 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, Mikolaj_cmssw533, Mikolaj_cmssw52x, HEAD
Changes since 1.2: +3 -0 lines
Log Message:
*** empty log message ***

File Contents

# User Rev Content
1 konec 1.1 #ifndef TrackToL1ObjMatcher_H
2     #define TrackToL1ObjMatcher_H
3    
4     #include "FWCore/ParameterSet/interface/ParameterSet.h"
5     namespace edm { class Event; class EventSetup; }
6 konec 1.3 namespace reco { class Muon; }
7 konec 1.1 class TrajectoryStateOnSurface;
8    
9     class TrackToL1ObjMatcher {
10     public:
11 konec 1.2 struct LastResult { bool isValid; float deltaEta, deltaPhi; };
12     public:
13     TrackToL1ObjMatcher(const edm::ParameterSet & cfg);
14 konec 1.3 bool operator()(float l1Eta, float l1Phi, const reco::Muon *mu, const edm::Event&ev, const edm::EventSetup& es) const;
15 konec 1.2 bool operator()(float l1Eta, float l1Phi, const TrajectoryStateOnSurface & tsos, const edm::Event&ev, const edm::EventSetup& es) const;
16     const LastResult & lastResult() const { return theLastResult; }
17 konec 1.1 private:
18 konec 1.3 bool compare(float l1Eta, float l1Phi, float stateEta, float statePhi) const;
19 konec 1.1 edm::ParameterSet theConfig;
20 konec 1.2 mutable LastResult theLastResult;
21 konec 1.1 };
22     #endif