Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:26:05

0001 #ifndef RecoMuon_MuonSeedGenerator_MuonSeedVFinder_H
0002 #define RecoMuon_MuonSeedGenerator_MuonSeedVFinder_H
0003 
0004 /** \class MuonSeedFinder
0005  *  
0006  *  Uses SteppingHelixPropagator
0007  *
0008  *  \author R. Wilkinson
0009  *
0010  *  
0011  */
0012 
0013 #include "DataFormats/TrajectorySeed/interface/TrajectorySeed.h"
0014 #include "RecoMuon/TransientTrackingRecHit/interface/MuonTransientTrackingRecHit.h"
0015 #include "RecoMuon/MuonSeedGenerator/src/MuonSeedPtExtractor.h"
0016 #include "MagneticField/Engine/interface/MagneticField.h"
0017 #include <vector>
0018 
0019 class MuonSeedVFinder {
0020 public:
0021   virtual ~MuonSeedVFinder() {}
0022   virtual void setBField(const MagneticField* field) = 0;
0023 
0024   virtual void seeds(const MuonTransientTrackingRecHit::MuonRecHitContainer& hits,
0025                      std::vector<TrajectorySeed>& result) = 0;
0026 
0027   void setBeamSpot(const GlobalVector& gv) { thePtExtractor->setBeamSpot(gv); }
0028 
0029 protected:
0030   MuonSeedPtExtractor* thePtExtractor;
0031 };
0032 #endif