CMS 3D CMS Logo

LMSLinearizationPointFinder Class Reference

A linearization point finder. More...

#include <RecoVertex/LinearizationPointFinders/interface/LMSLinearizationPointFinder.h>

Inheritance diagram for LMSLinearizationPointFinder:

CrossingPtBasedLinearizationPointFinder LinearizationPointFinder

List of all members.

Public Member Functions

virtual
LMSLinearizationPointFinder
clone () const
 Clone method.
 LMSLinearizationPointFinder (const RecTracksDistanceMatrix *m, const signed int n_pairs=-1)
 LMSLinearizationPointFinder (const signed int n_pairs=10)


Detailed Description

A linearization point finder.

It works the following way: 1. Calculate in an optimal way 'n_pairs' different crossing points. Optimal in this context means the following: a. Try to use as many different tracks as possible; avoid using the same track all the time. b. Use the most energetic tracks. c. Try not to group the most energetic tracks together. Try to group more energetic tracks with less energetic tracks. We assume collimated bundles here, so this is why. d. Perform optimally. Do not sort more tracks (by total energy, see b) than necessary. e. If n_pairs >= (number of all possible combinations), do not leave any combinations out. ( a. and e. are almost but not entirely fulfilled in the current impl ) 2. Do a LMS on the n points.

Definition at line 23 of file LMSLinearizationPointFinder.h.


Constructor & Destructor Documentation

LMSLinearizationPointFinder::LMSLinearizationPointFinder ( const signed int  n_pairs = 10  ) 

Definition at line 4 of file LMSLinearizationPointFinder.cc.

Referenced by clone().

00005                                :
00006   CrossingPtBasedLinearizationPointFinder ( LmsModeFinder3d(), n_pairs )
00007 { }

LMSLinearizationPointFinder::LMSLinearizationPointFinder ( const RecTracksDistanceMatrix m,
const signed int  n_pairs = -1 
)

Definition at line 9 of file LMSLinearizationPointFinder.cc.

00010                                                                   :
00011   CrossingPtBasedLinearizationPointFinder ( m , LmsModeFinder3d(), n_pairs )
00012 { }


Member Function Documentation

LMSLinearizationPointFinder * LMSLinearizationPointFinder::clone (  )  const [virtual]

Clone method.

Reimplemented from CrossingPtBasedLinearizationPointFinder.

Definition at line 14 of file LMSLinearizationPointFinder.cc.

References LMSLinearizationPointFinder().

00016 {
00017   return new LMSLinearizationPointFinder ( * this );
00018 }


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:27:51 2009 for CMSSW by  doxygen 1.5.4