CMS 3D CMS Logo

MuonDTSeedFromRecHits.h
Go to the documentation of this file.
1 #ifndef RecoMuon_MuonSeedGenerator_MuonDTSeedFromRecHits_H
2 #define RecoMuon_MuonSeedGenerator_MuonDTSeedFromRecHits_H
3 
16 
17 #include <vector>
18 
20 public:
22 
23  virtual TrajectorySeed seed() const;
24 
26  // was
27  // TrackingRecHit best_cand() const;
28 
29 private:
30  void computePtWithVtx(double* pt, double* spt) const;
31  void computePtWithoutVtx(double* pt, double* spt) const;
32  void computeBestPt(double* pt, double* spt, float& ptmean, float& sptmean) const;
33 
34  // picks the segment that's nearest in eta to the most other segments
35  float bestEta() const;
36  void computeMean(
37  const double* pt, const double* weights, int sz, bool tossOutlyers, float& ptmean, float& sptmean) const;
38 };
39 
40 #endif
ConstMuonRecHitPointer bestBarrelHit(const MuonRecHitContainer &barrelHits) const
void computePtWithVtx(double *pt, double *spt) const
void computeBestPt(double *pt, double *spt, float &ptmean, float &sptmean) const
MuonTransientTrackingRecHit::MuonRecHitContainer MuonRecHitContainer
MuonTransientTrackingRecHit::ConstMuonRecHitPointer ConstMuonRecHitPointer
void computeMean(const double *pt, const double *weights, int sz, bool tossOutlyers, float &ptmean, float &sptmean) const
void computePtWithoutVtx(double *pt, double *spt) const
virtual TrajectorySeed seed() const