CMS 3D CMS Logo

List of all members | Public Member Functions
FsmwLinearizationPointFinder Class Reference

#include <FsmwLinearizationPointFinder.h>

Inheritance diagram for FsmwLinearizationPointFinder:
CrossingPtBasedLinearizationPointFinder LinearizationPointFinder DefaultLinearizationPointFinder

Public Member Functions

FsmwLinearizationPointFinderclone () const override
 
 FsmwLinearizationPointFinder (const RecTracksDistanceMatrix *m, signed int n_pairs=250, float weight_exp=-2., float fraction=.5, float cut=10, int no_weight_above=10)
 
 FsmwLinearizationPointFinder (signed int n_pairs=250, float weight_exp=-2., float fraction=.5, float cut=10, int no_weight_above=10)
 
- Public Member Functions inherited from CrossingPtBasedLinearizationPointFinder
 CrossingPtBasedLinearizationPointFinder (const CrossingPtBasedLinearizationPointFinder &)
 
 CrossingPtBasedLinearizationPointFinder (const ModeFinder3d &algo, const signed int n_pairs=5)
 
 CrossingPtBasedLinearizationPointFinder (const RecTracksDistanceMatrix *m, const ModeFinder3d &algo, const signed int n_pairs=-1)
 
GlobalPoint getLinearizationPoint (const std::vector< FreeTrajectoryState > &) const override
 
GlobalPoint getLinearizationPoint (const std::vector< reco::TransientTrack > &) const override
 
 ~CrossingPtBasedLinearizationPointFinder () override
 
- Public Member Functions inherited from LinearizationPointFinder
virtual ~LinearizationPointFinder ()
 

Additional Inherited Members

- Protected Attributes inherited from CrossingPtBasedLinearizationPointFinder
const RecTracksDistanceMatrixtheMatrix
 
signed int theNPairs
 
const bool useMatrix
 

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 Fsmw on the n points.

Definition at line 23 of file FsmwLinearizationPointFinder.h.

Constructor & Destructor Documentation

◆ FsmwLinearizationPointFinder() [1/2]

FsmwLinearizationPointFinder::FsmwLinearizationPointFinder ( signed int  n_pairs = 250,
float  weight_exp = -2.,
float  fraction = .5,
float  cut = 10,
int  no_weight_above = 10 
)
Parameters
n_pairshow many track pairs are considered The weight is defined as w = ( d + cut )^weight_exp Where d and cut are given in microns.
weight_expexponent of the weight function
cutcut parameter of the weight function
fractionFraction that is considered

Definition at line 4 of file FsmwLinearizationPointFinder.cc.

Referenced by clone().

◆ FsmwLinearizationPointFinder() [2/2]

FsmwLinearizationPointFinder::FsmwLinearizationPointFinder ( const RecTracksDistanceMatrix m,
signed int  n_pairs = 250,
float  weight_exp = -2.,
float  fraction = .5,
float  cut = 10,
int  no_weight_above = 10 
)

Definition at line 7 of file FsmwLinearizationPointFinder.cc.

Member Function Documentation

◆ clone()

FsmwLinearizationPointFinder * FsmwLinearizationPointFinder::clone ( ) const
overridevirtual

Clone method

Reimplemented from CrossingPtBasedLinearizationPointFinder.

Definition at line 11 of file FsmwLinearizationPointFinder.cc.

11  {
12  return new FsmwLinearizationPointFinder(*this);
13 }

References FsmwLinearizationPointFinder().

FsmwLinearizationPointFinder::FsmwLinearizationPointFinder
FsmwLinearizationPointFinder(signed int n_pairs=250, float weight_exp=-2., float fraction=.5, float cut=10, int no_weight_above=10)
Definition: FsmwLinearizationPointFinder.cc:4
TkAlMuonSelectors_cfi.cut
cut
Definition: TkAlMuonSelectors_cfi.py:5
CrossingPtBasedLinearizationPointFinder::CrossingPtBasedLinearizationPointFinder
CrossingPtBasedLinearizationPointFinder(const ModeFinder3d &algo, const signed int n_pairs=5)
Definition: CrossingPtBasedLinearizationPointFinder.cc:91
DivergingColor.frac
float frac
Definition: DivergingColor.py:175
visualization-live-secondInstance_cfg.m
m
Definition: visualization-live-secondInstance_cfg.py:72
FsmwModeFinder3d
Definition: FsmwModeFinder3d.h:12