CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Member Functions
MuonDTSeedFromRecHits Class Reference

#include <MuonDTSeedFromRecHits.h>

Inheritance diagram for MuonDTSeedFromRecHits:
MuonSeedFromRecHits

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 MagneticFieldtheField
 
const MuonSeedPtExtractorthePtExtractor
 
MuonTransientTrackingRecHit::MuonRecHitContainer theRhits
 

Detailed Description

Author
A. Vitelli - INFN Torino
porting R.Bellan - INFN Torino

Generate a seed starting from a list of RecHits make use of TrajectorySeed from CommonDet

Definition at line 20 of file MuonDTSeedFromRecHits.h.

Constructor & Destructor Documentation

MuonDTSeedFromRecHits::MuonDTSeedFromRecHits ( )

Definition at line 27 of file MuonDTSeedFromRecHits.cc.

Member Function Documentation

MuonDTSeedFromRecHits::ConstMuonRecHitPointer MuonDTSeedFromRecHits::bestBarrelHit ( const MuonRecHitContainer barrelHits) const

Definition at line 80 of file MuonDTSeedFromRecHits.cc.

Referenced by MuonOverlapSeedFromRecHits::bestHit().

float MuonDTSeedFromRecHits::bestEta ( ) const
private

Definition at line 133 of file MuonDTSeedFromRecHits.cc.

void MuonDTSeedFromRecHits::computeBestPt ( double *  pt,
double *  spt,
float &  ptmean,
float &  sptmean 
) const
private

just one pt estimate: use it.

more than a pt estimate, do all the job.

Definition at line 258 of file MuonDTSeedFromRecHits.cc.

void MuonDTSeedFromRecHits::computeMean ( const double *  pt,
const double *  weights,
int  sz,
bool  tossOutlyers,
float &  ptmean,
float &  sptmean 
) const
private

Definition at line 322 of file MuonDTSeedFromRecHits.cc.

void MuonDTSeedFromRecHits::computePtWithoutVtx ( double *  pt,
double *  spt 
) const
private

Definition at line 200 of file MuonDTSeedFromRecHits.cc.

void MuonDTSeedFromRecHits::computePtWithVtx ( double *  pt,
double *  spt 
) const
private

Definition at line 169 of file MuonDTSeedFromRecHits.cc.

TrajectorySeed MuonDTSeedFromRecHits::seed ( ) const
virtual

compute pts with vertex constraint

now w/o vertex constrain

now combine all pt estimate

Definition at line 33 of file MuonDTSeedFromRecHits.cc.

Referenced by MuonSeedFinder::seeds().