CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules 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 
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
HLT_2018_cff.weights
weights
Definition: HLT_2018_cff.py:87167
DiDispStaMuonMonitor_cfi.pt
pt
Definition: DiDispStaMuonMonitor_cfi.py:39
MuonDTSeedFromRecHits::bestEta
float bestEta() const
Definition: MuonDTSeedFromRecHits.cc:122
HLT_2018_cff.barrelHits
barrelHits
Definition: HLT_2018_cff.py:78774
MuonDTSeedFromRecHits::computePtWithoutVtx
void computePtWithoutVtx(double *pt, double *spt) const
Definition: MuonDTSeedFromRecHits.cc:187
MuonDTSeedFromRecHits
Definition: MuonDTSeedFromRecHits.h:19
MuonDTSeedFromRecHits::bestBarrelHit
ConstMuonRecHitPointer bestBarrelHit(const MuonRecHitContainer &barrelHits) const
Definition: MuonDTSeedFromRecHits.cc:73
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:17
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