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.3 by konec, Mon Jun 7 22:03:21 2010 UTC vs.
Revision 1.5 by konec, Thu Mar 24 21:39:22 2011 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; }
23 <  void setHistoPullX(TH1* h) { hPullX=h;}
24 <  void setHistoDistX(TH1* h) { hDistX=h;}
19 >  virtual void update(const edm::Event&ev, const edm::EventSetup& es) {}
20 >  virtual bool takeIt(const RPCDetId & det, const edm::Event&ev, const edm::EventSetup& es) {return false; }
21  
22 <  bool takeIt(const RPCDetId & det, const edm::Event&ev, const edm::EventSetup& es);
27 <
28 <  void resetPos() { thePos.clear(); }
29 <  std::vector<GlobalPoint> positions() { return thePos;}
30 <
31 <  bool checkL1RpcMatching( const TrajectoryStateOnSurface & tsos,  const edm::Event&ev, const edm::EventSetup& es);
32 < private:
22 > protected:
23    bool checkRpcDetMatching( const TrajectoryStateOnSurface & tsos,  const RPCDetId & det, const edm::Event&ev, const edm::EventSetup& es);
24    bool checkUniqueRecHitMatching( const TrajectoryStateOnSurface & tsos,  const RPCDetId & det, const edm::Event&ev, const edm::EventSetup& es);
25    
26 <  
37 < private:
38 <  std::vector<GlobalPoint> thePos;
26 > protected:
27    edm::ParameterSet theConfig;
28 <  TH1 *hDxy, *hNum, *hDeltaEta, *hDeltaPhi, *hPullX, *hDistX;
41 <  float mindeta, mindphi;
28 >  TH1F *hPullX, *hDistX;
29  
30   };
31  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines