ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/L1RpcTriggerAnalysis/interface/TrackToL1ObjMatcher.h
(Generate patch)

Comparing UserCode/L1RpcTriggerAnalysis/interface/TrackToL1ObjMatcher.h (file contents):
Revision 1.2 by konec, Thu Jun 17 00:47:03 2010 UTC vs.
Revision 1.3 by konec, Mon Nov 28 18:31:04 2011 UTC

# Line 3 | Line 3
3  
4   #include "FWCore/ParameterSet/interface/ParameterSet.h"
5   namespace edm { class Event; class EventSetup; }
6 + namespace reco { class Muon; }
7   class TrajectoryStateOnSurface;
8  
9   class TrackToL1ObjMatcher {
# Line 10 | Line 11 | public:
11    struct LastResult { bool isValid; float deltaEta, deltaPhi; };
12   public:
13    TrackToL1ObjMatcher(const edm::ParameterSet & cfg);
14 +  bool operator()(float l1Eta, float l1Phi, const reco::Muon *mu,  const edm::Event&ev, const edm::EventSetup& es) const;
15    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   private:
18 +  bool compare(float l1Eta, float l1Phi, float stateEta, float statePhi) const;
19    edm::ParameterSet theConfig;
20    mutable LastResult theLastResult;
21   };

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines