#include <MuonDTSeedFromRecHits.h>
Public Member Functions | |
ConstMuonRecHitPointer | bestBarrelHit (const MuonRecHitContainer &barrelHits) const |
MuonDTSeedFromRecHits () | |
virtual TrajectorySeed | seed () const |
Public Member Functions inherited from MuonSeedFromRecHits | |
void | add (MuonTransientTrackingRecHit::MuonRecHitPointer hit) |
void | clear () |
TrajectorySeed | createSeed (float ptmean, float sptmean, MuonTransientTrackingRecHit::ConstMuonRecHitPointer last) const |
MuonTransientTrackingRecHit::ConstMuonRecHitPointer | firstRecHit () const |
MuonSeedFromRecHits () | |
unsigned int | nrhit () const |
void | setBField (const MagneticField *field) |
void | setPtExtractor (const MuonSeedPtExtractor *extractor) |
virtual | ~MuonSeedFromRecHits () |
Private Member Functions | |
float | bestEta () const |
void | computeBestPt (double *pt, double *spt, float &ptmean, float &sptmean) const |
void | computeMean (const double *pt, const double *weights, int sz, bool tossOutlyers, float &ptmean, float &sptmean) const |
void | computePtWithoutVtx (double *pt, double *spt) const |
void | computePtWithVtx (double *pt, double *spt) const |
Additional Inherited Members | |
Protected Types inherited from MuonSeedFromRecHits | |
typedef MuonTransientTrackingRecHit::ConstMuonRecHitPointer | ConstMuonRecHitPointer |
typedef MuonTransientTrackingRecHit::MuonRecHitContainer | MuonRecHitContainer |
typedef MuonTransientTrackingRecHit::MuonRecHitPointer | MuonRecHitPointer |
Protected Attributes inherited from MuonSeedFromRecHits | |
const MagneticField * | theField |
const MuonSeedPtExtractor * | thePtExtractor |
MuonTransientTrackingRecHit::MuonRecHitContainer | theRhits |
Generate a seed starting from a list of RecHits make use of TrajectorySeed from CommonDet
Definition at line 20 of file MuonDTSeedFromRecHits.h.
MuonDTSeedFromRecHits::MuonDTSeedFromRecHits | ( | ) |
Definition at line 27 of file MuonDTSeedFromRecHits.cc.
MuonDTSeedFromRecHits::ConstMuonRecHitPointer MuonDTSeedFromRecHits::bestBarrelHit | ( | const MuonRecHitContainer & | barrelHits | ) | const |
Definition at line 80 of file MuonDTSeedFromRecHits.cc.
Referenced by MuonOverlapSeedFromRecHits::bestHit(), and seed().
|
private |
Definition at line 133 of file MuonDTSeedFromRecHits.cc.
References query::result, and MuonSeedFromRecHits::theRhits.
Referenced by computePtWithoutVtx(), and computePtWithVtx().
|
private |
just one pt estimate: use it.
more than a pt estimate, do all the job.
Definition at line 258 of file MuonDTSeedFromRecHits.cc.
References computeMean(), i, LogTrace, metname, mathSSE::sqrt(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by seed().
|
private |
Definition at line 322 of file MuonDTSeedFromRecHits.cc.
References assert(), i, gen::n, and mathSSE::sqrt().
Referenced by computeBestPt().
|
private |
Definition at line 200 of file MuonDTSeedFromRecHits.cc.
References bestEta(), DTChamberId, MuonSeedPtExtractor::pT_extract(), relativeConstraints::station, MuonSeedFromRecHits::thePtExtractor, MuonSeedFromRecHits::theRhits, and tmp.
Referenced by seed().
|
private |
Definition at line 169 of file MuonDTSeedFromRecHits.cc.
References bestEta(), DTChamberId, MuonSeedPtExtractor::pT_extract(), relativeConstraints::station, MuonSeedFromRecHits::thePtExtractor, and MuonSeedFromRecHits::theRhits.
Referenced by seed().
|
virtual |
compute pts with vertex constraint
now w/o vertex constrain
now combine all pt estimate
Definition at line 33 of file MuonDTSeedFromRecHits.cc.
References bestBarrelHit(), computeBestPt(), computePtWithoutVtx(), computePtWithVtx(), MuonSeedFromRecHits::createSeed(), i, plotBeamSpotDB::last, LogTrace, metname, npoints, EnergyCorrector::pt, mathSSE::sqrt(), AlCaHLTBitMon_QueryRunRegistry::string, and MuonSeedFromRecHits::theRhits.
Referenced by MuonSeedFinder::seeds().