File indexing completed on 2025-01-09 23:33:54
0001 #ifndef RecoMuon_MuonSeedGenerator_MuonSeedVFinder_H
0002 #define RecoMuon_MuonSeedGenerator_MuonSeedVFinder_H
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013 #include "DataFormats/TrajectorySeed/interface/TrajectorySeed.h"
0014 #include "RecoMuon/TransientTrackingRecHit/interface/MuonTransientTrackingRecHit.h"
0015 #include "RecoMuon/MuonSeedGenerator/interface/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