CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
MuonSeedFromRecHits.h
Go to the documentation of this file.
1 #ifndef RecoMuon_TrackingTools_MuonSeedFromRecHits_H
2 #define RecoMuon_TrackingTools_MuonSeedFromRecHits_H
3 
18 
20 {
21 public:
23  virtual ~MuonSeedFromRecHits() {}
24 
25  void setBField(const MagneticField * field) {theField = field;}
26  void setPtExtractor(const MuonSeedPtExtractor * extractor) {thePtExtractor = extractor;}
27 
30  unsigned int nrhit() const { return theRhits.size(); }
31  void clear() {theRhits.clear();}
32 
33  TrajectorySeed createSeed(float ptmean, float sptmean,
35 
36  protected:
40 
44 
45 };
46 
47 #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