CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_2_9_HLT1_bphpatch4/src/RecoMuon/MuonSeedGenerator/src/SETPatternRecognition.h

Go to the documentation of this file.
00001 #ifndef MuonSeedGenerator_SETPatternRecognition_h
00002 #define MuonSeedGenerator_SETPatternRecognition_h
00003 
00004 #include "RecoMuon/MuonSeedGenerator/src/MuonSeedVPatternRecognition.h"
00005 #include "RecoMuon/TrackingTools/interface/MuonServiceProxy.h"
00006 
00007 
00008 class SETPatternRecognition: public MuonSeedVPatternRecognition
00009 {
00010 public:
00011   explicit SETPatternRecognition(const edm::ParameterSet & pset);
00012   virtual ~SETPatternRecognition() {}
00014   virtual void produce(const edm::Event& event, const edm::EventSetup& eSetup,
00015                        std::vector<MuonRecHitContainer> & result);
00016 
00017   void setServiceProxy(MuonServiceProxy * service) {theService = service;}
00018   // don't use "bad" segments
00019   bool segmentCleaning(const DetId & detId, 
00020                        const LocalPoint& localPosition, const LocalError& localError,
00021                        const LocalVector& localDirection, const LocalError& localDirectionError,
00022                        const double& chi2, const int& ndf);
00023 
00024 private:
00025   int maxActiveChambers;
00026   bool useRPCs; 
00027 
00028   edm::InputTag DTRecSegmentLabel;
00029   edm::InputTag CSCRecSegmentLabel;
00030   edm::InputTag RPCRecSegmentLabel;
00031 
00032   double outsideChamberErrorScale; 
00033   double minLocalSegmentAngle; 
00034   //----
00035 
00036   MuonServiceProxy * theService;
00037 };
00038 
00039 #endif
00040