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

Comparing UserCode/L1RpcTriggerAnalysis/interface/SynchroSelector.h (file contents):
Revision 1.1 by konec, Wed May 26 06:26:42 2010 UTC vs.
Revision 1.4 by konec, Thu Jun 17 00:47:03 2010 UTC

# Line 4 | Line 4
4   #include "FWCore/ParameterSet/interface/ParameterSet.h"
5   #include "DataFormats/GeometryVector/interface/GlobalPoint.h"
6  
7 < class TH1;
7 > class TH1F;
8   class RPCDetId;
9   class TrajectoryStateOnSurface;
10  
# Line 16 | Line 16 | public:
16    public: SynchroSelector( const edm::ParameterSet & cfg = edm::ParameterSet() );
17    virtual ~SynchroSelector(){}
18  
19 <  void setHistoDxy(TH1* h) { hDxy=h; }
20 <  void setHistoNum(TH1* h) { hNum=h; }
21 <  void setHistoEta(TH1* h) { hDeltaEta=h; }
22 <  void setHistoPhi(TH1* h) { hDeltaPhi=h; }
19 >  virtual bool takeIt(const RPCDetId & det, const edm::Event&ev, const edm::EventSetup& es) {return false; }
20  
21 <  bool takeIt(const RPCDetId & det, const edm::Event&ev, const edm::EventSetup& es);
22 <
23 <  void resetPos() { thePos.clear(); }
27 <  std::vector<GlobalPoint> positions() { return thePos;}
28 <
29 <  bool checkMatching(const TrajectoryStateOnSurface&, float eta, float phi, const edm::Event&, const edm::EventSetup&);
30 <  bool checkTriggerMatching( const TrajectoryStateOnSurface & tsos,  const edm::Event&ev, const edm::EventSetup& es);
21 > protected:
22 >  bool checkRpcDetMatching( const TrajectoryStateOnSurface & tsos,  const RPCDetId & det, const edm::Event&ev, const edm::EventSetup& es);
23 >  bool checkUniqueRecHitMatching( const TrajectoryStateOnSurface & tsos,  const RPCDetId & det, const edm::Event&ev, const edm::EventSetup& es);
24    
25 < private:
33 <  std::vector<GlobalPoint> thePos;
25 > protected:
26    edm::ParameterSet theConfig;
27 <  TH1 *hDxy, *hNum, *hDeltaEta, *hDeltaPhi;
36 <  float mindeta, mindphi;
27 >  TH1F *hPullX, *hDistX;
28  
29   };
30  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines