ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/L1RpcTriggerAnalysis/interface/TrackToL1ObjMatcher.h
Revision: 1.2
Committed: Thu Jun 17 00:47:03 2010 UTC (14 years, 10 months ago) by konec
Content type: text/plain
Branch: MAIN
CVS Tags: Kasia_30_04_2012, Mikolaj_08_10_2011, Mikolaj_05_10_2011, Mikolaj_14_09_2011, Artur_27_07_2011, Artur_25_07_2011, V00-02-01, V00-02-00, V00-01-00
Changes since 1.1: +6 -4 lines
Log Message:
*** empty log message ***

File Contents

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