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
DiDispStaMuonMonitor_cfi.pt
pt
Definition: DiDispStaMuonMonitor_cfi.py:39
MuonDTSeedFromRecHits::bestEta
float bestEta() const
Definition: MuonDTSeedFromRecHits.cc:122
MuonDTSeedFromRecHits::computePtWithoutVtx
void computePtWithoutVtx(double *pt, double *spt) const
Definition: MuonDTSeedFromRecHits.cc:187
MuonDTSeedFromRecHits
Definition: MuonDTSeedFromRecHits.h:19
HLT_FULL_cff.weights
weights
Definition: HLT_FULL_cff.py:99244
MuonDTSeedFromRecHits::bestBarrelHit
ConstMuonRecHitPointer bestBarrelHit(const MuonRecHitContainer &barrelHits) const
Definition: MuonDTSeedFromRecHits.cc:73
HLT_FULL_cff.barrelHits
barrelHits
Definition: HLT_FULL_cff.py:84558
MuonDTSeedFromRecHits::computeBestPt
void computeBestPt(double *pt, double *spt, float &ptmean, float &sptmean) const
Definition: MuonDTSeedFromRecHits.cc:245
MuonDTSeedFromRecHits::MuonDTSeedFromRecHits
MuonDTSeedFromRecHits()
Definition: MuonDTSeedFromRecHits.cc:25
MuonSeedFromRecHits
Definition: MuonSeedFromRecHits.h:19
TrajectorySeed
Definition: TrajectorySeed.h:18
MuonSeedFromRecHits::ConstMuonRecHitPointer
MuonTransientTrackingRecHit::ConstMuonRecHitPointer ConstMuonRecHitPointer
Definition: MuonSeedFromRecHits.h:39
MuonDTSeedFromRecHits::computePtWithVtx
void computePtWithVtx(double *pt, double *spt) const
Definition: MuonDTSeedFromRecHits.cc:155
MuonSeedFromRecHits::MuonRecHitContainer
MuonTransientTrackingRecHit::MuonRecHitContainer MuonRecHitContainer
Definition: MuonSeedFromRecHits.h:37
MuonSeedFromRecHits.h
MuonDTSeedFromRecHits::seed
virtual TrajectorySeed seed() const
Definition: MuonDTSeedFromRecHits.cc:27
MuonDTSeedFromRecHits::computeMean
void computeMean(const double *pt, const double *weights, int sz, bool tossOutlyers, float &ptmean, float &sptmean) const
Definition: MuonDTSeedFromRecHits.cc:303