CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
19 
21 {
22  public:
24 
25  virtual TrajectorySeed seed() const;
26 
28  // was
29  // TrackingRecHit best_cand() const;
30 
31 private:
32  void computePtWithVtx(double* pt, double* spt) const;
33  void computePtWithoutVtx(double* pt, double* spt) const;
34  void computeBestPt(double* pt, double* spt, float& ptmean, float& sptmean) const;
35 
36  // picks the segment that's nearest in eta to the most other segments
37  float bestEta() const;
38  void computeMean(const double* pt, const double * weights, int sz,
39  bool tossOutlyers, float& ptmean, float & sptmean) const;
40 
41 };
42 
43 #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
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