CMS 3D CMS Logo

MuonSeedFromRecHits.h
Go to the documentation of this file.
1 #ifndef RecoMuon_TrackingTools_MuonSeedFromRecHits_H
2 #define RecoMuon_TrackingTools_MuonSeedFromRecHits_H
3 
18 
20 public:
22  virtual ~MuonSeedFromRecHits() {}
23 
24  void setBField(const MagneticField* field) { theField = field; }
25  void setPtExtractor(const MuonSeedPtExtractor* extractor) { thePtExtractor = extractor; }
26 
29  unsigned int nrhit() const { return theRhits.size(); }
30  void clear() { theRhits.clear(); }
31 
32  TrajectorySeed createSeed(float ptmean,
33  float sptmean,
35 
36 protected:
40 
44 };
45 
46 #endif
MuonTransientTrackingRecHit::MuonRecHitPointer MuonRecHitPointer
MuonTransientTrackingRecHit::MuonRecHitContainer theRhits
const MagneticField * theField
MuonTransientTrackingRecHit::MuonRecHitContainer MuonRecHitContainer
MuonTransientTrackingRecHit::ConstMuonRecHitPointer firstRecHit() const
MuonTransientTrackingRecHit::ConstMuonRecHitPointer ConstMuonRecHitPointer
const MuonSeedPtExtractor * thePtExtractor
std::shared_ptr< MuonTransientTrackingRecHit > MuonRecHitPointer
void setBField(const MagneticField *field)
unsigned int nrhit() const
void setPtExtractor(const MuonSeedPtExtractor *extractor)
TrajectorySeed createSeed(float ptmean, float sptmean, MuonTransientTrackingRecHit::ConstMuonRecHitPointer last) const
void add(MuonTransientTrackingRecHit::MuonRecHitPointer hit)
std::shared_ptr< MuonTransientTrackingRecHit const > ConstMuonRecHitPointer
std::vector< MuonRecHitPointer > MuonRecHitContainer