CMS 3D CMS Logo

MultiVertexFitter.cc File Reference

#include "RecoVertex/MultiVertexFit/interface/MultiVertexFitter.h"
#include <map>
#include <algorithm>
#include <iomanip>
#include "RecoVertex/KalmanVertexFit/interface/KalmanVertexFitter.h"
#include "RecoVertex/VertexTools/interface/LinearizedTrackStateFactory.h"
#include "RecoVertex/VertexTools/interface/VertexTrackFactory.h"
#include "RecoVertex/AdaptiveVertexFit/interface/KalmanChiSquare.h"
#include "RecoVertex/VertexPrimitives/interface/VertexState.h"
#include "RecoVertex/VertexPrimitives/interface/VertexException.h"
#include "RecoVertex/KalmanVertexFit/interface/KalmanVertexTrackCompatibilityEstimator.h"

Go to the source code of this file.

Typedefs

typedef CachingVertex
< 5 >::RefCountedVertexTrack 
RefCountedVertexTrack
typedef
MultiVertexFitter::SeedToWeightMap 
SeedToWeightMap
typedef
MultiVertexFitter::TrackAndSeedToWeightMap 
TrackAndSeedToWeightMap
typedef
MultiVertexFitter::TrackAndWeight 
TrackAndWeight

Functions

CachingVertex< 5 > createSeedFromLinPt (const GlobalPoint &gp)
bool discardLightWeights ()
double minWeightFraction ()
double validWeight (double weight)
int verbose ()


Typedef Documentation

typedef CachingVertex<5>::RefCountedVertexTrack RefCountedVertexTrack [static]

Definition at line 29 of file MultiVertexFitter.cc.

typedef MultiVertexFitter::SeedToWeightMap SeedToWeightMap [static]

Definition at line 28 of file MultiVertexFitter.cc.

typedef MultiVertexFitter::TrackAndSeedToWeightMap TrackAndSeedToWeightMap [static]

Definition at line 27 of file MultiVertexFitter.cc.

typedef MultiVertexFitter::TrackAndWeight TrackAndWeight [static]

Definition at line 26 of file MultiVertexFitter.cc.


Function Documentation

CachingVertex<5> @15052::createSeedFromLinPt ( const GlobalPoint gp  )  [static]

Definition at line 66 of file MultiVertexFitter.cc.

00067   {
00068     return CachingVertex<5> ( gp, GlobalError (),
00069                            vector<RefCountedVertexTrack> (), 0.0 );
00070   }

bool @15052::discardLightWeights (  )  [static]

Definition at line 49 of file MultiVertexFitter.cc.

Referenced by MultiVertexFitter::updateSeeds().

00050   {
00051     static const bool ret = true; /* SimpleConfigurable<bool>
00052       (true, "MultiVertexFitter:DiscardLightWeights").value();*/
00053     return ret;
00054   }

double @15052::minWeightFraction (  )  [static]

Definition at line 38 of file MultiVertexFitter.cc.

References e.

Referenced by MultiVertexFitter::updateSeeds().

00039   {
00040     // minimum weight that a track has to have
00041     // in order to be taken into account for the
00042     // vertex fit.
00043     // Given as a fraction of the total weight.
00044     static const float ret = 1e-6; /* SimpleConfigurable<float>
00045       (1e-6, "MultiVertexFitter:MinimumWeightFraction").value(); */
00046     return ret;
00047   }

double @15052::validWeight ( double  weight  )  [static]

Definition at line 72 of file MultiVertexFitter.cc.

References GenMuonPlsPt100GeV_cfg::cout, and lat::endl().

Referenced by MultiVertexFitter::updateSeeds().

00073   {
00074     if ( weight > 1.0 )
00075     {
00076       cout << "[MultiVertexFitter] weight=" << weight << "??" << endl;
00077       return 1.0;
00078     };
00079 
00080     if ( weight < 0.0 )
00081     {
00082       cout << "[MultiVertexFitter] weight=" << weight << "??" << endl;
00083       return 0.0;
00084     };
00085     return weight;
00086   }

int @15052::verbose (  )  [static]

Definition at line 31 of file MultiVertexFitter.cc.

00032   {
00033     static const int ret = 0; /*SimpleConfigurable<int>
00034       (0, "MultiVertexFitter:Debug").value(); */
00035     return ret;
00036   }


Generated on Tue Jun 9 17:55:41 2009 for CMSSW by  doxygen 1.5.4