#include <RecoVertex/ConfigurableVertexReco/interface/ConfigurableTrimmedKalmanFinder.h>
Public Member Functions | |
ConfigurableTrimmedKalmanFinder * | clone () const |
ConfigurableTrimmedKalmanFinder (const ConfigurableTrimmedKalmanFinder &o) | |
ConfigurableTrimmedKalmanFinder () | |
void | configure (const edm::ParameterSet &) |
The configure method configures the vertex reconstructor. | |
edm::ParameterSet | defaults () const |
std::vector< TransientVertex > | vertices (const std::vector< reco::TransientTrack > &t, const reco::BeamSpot &s) const |
Reconstruct vertices, exploiting the beamspot constraint for the primary vertex. | |
std::vector< TransientVertex > | vertices (const std::vector< reco::TransientTrack > &t) const |
Reconstruct vertices. | |
~ConfigurableTrimmedKalmanFinder () | |
Private Attributes | |
const VertexReconstructor * | theRector |
Definition at line 10 of file ConfigurableTrimmedKalmanFinder.h.
ConfigurableTrimmedKalmanFinder::ConfigurableTrimmedKalmanFinder | ( | ) |
Definition at line 16 of file ConfigurableTrimmedKalmanFinder.cc.
Referenced by clone().
00016 : 00017 theRector( new KalmanTrimmedVertexFinder() ) 00018 {}
ConfigurableTrimmedKalmanFinder::ConfigurableTrimmedKalmanFinder | ( | const ConfigurableTrimmedKalmanFinder & | o | ) |
ConfigurableTrimmedKalmanFinder::~ConfigurableTrimmedKalmanFinder | ( | ) |
ConfigurableTrimmedKalmanFinder * ConfigurableTrimmedKalmanFinder::clone | ( | void | ) | const [virtual] |
Implements AbstractConfReconstructor.
Definition at line 45 of file ConfigurableTrimmedKalmanFinder.cc.
References ConfigurableTrimmedKalmanFinder().
00046 { 00047 return new ConfigurableTrimmedKalmanFinder ( *this ); 00048 }
void ConfigurableTrimmedKalmanFinder::configure | ( | const edm::ParameterSet & | ) | [virtual] |
The configure method configures the vertex reconstructor.
It also should also write all its applied defaults back into the map,
Implements AbstractConfReconstructor.
Definition at line 20 of file ConfigurableTrimmedKalmanFinder.cc.
References edm::ParameterSet::augment(), edm::ParameterSet::getParameter(), m, mydefaults(), KalmanTrimmedVertexFinder::setPtCut(), KalmanTrimmedVertexFinder::setTrackCompatibilityCut(), KalmanTrimmedVertexFinder::setTrackCompatibilityToSV(), KalmanTrimmedVertexFinder::setVertexFitProbabilityCut(), theRector, and tmp.
00022 { 00023 if ( theRector ) delete theRector; 00024 edm::ParameterSet m=n; 00025 m.augment ( mydefaults() ); 00026 KalmanTrimmedVertexFinder * tmp = new KalmanTrimmedVertexFinder(); 00027 tmp->setPtCut ( m.getParameter<double>("ptcut") ); 00028 tmp->setTrackCompatibilityCut ( m.getParameter<double>("trkcutpv") ); 00029 tmp->setTrackCompatibilityToSV ( m.getParameter<double>("trkcutsv") ); 00030 tmp->setVertexFitProbabilityCut ( m.getParameter<double>( "vtxcut" ) ); 00031 theRector = tmp; 00032 }
edm::ParameterSet ConfigurableTrimmedKalmanFinder::defaults | ( | ) | const [virtual] |
Implements AbstractConfReconstructor.
Definition at line 64 of file ConfigurableTrimmedKalmanFinder.cc.
References mydefaults().
00065 { 00066 return mydefaults(); 00067 }
vector< TransientVertex > ConfigurableTrimmedKalmanFinder::vertices | ( | const std::vector< reco::TransientTrack > & | t, | |
const reco::BeamSpot & | ||||
) | const [virtual] |
Reconstruct vertices, exploiting the beamspot constraint for the primary vertex.
Reimplemented from VertexReconstructor.
Definition at line 56 of file ConfigurableTrimmedKalmanFinder.cc.
References theRector, and VertexReconstructor::vertices().
vector< TransientVertex > ConfigurableTrimmedKalmanFinder::vertices | ( | const std::vector< reco::TransientTrack > & | ) | const [virtual] |
Reconstruct vertices.
Implements VertexReconstructor.
Definition at line 50 of file ConfigurableTrimmedKalmanFinder.cc.
References theRector, and VertexReconstructor::vertices().
const VertexReconstructor* ConfigurableTrimmedKalmanFinder::theRector [private] |
Definition at line 25 of file ConfigurableTrimmedKalmanFinder.h.
Referenced by configure(), vertices(), and ~ConfigurableTrimmedKalmanFinder().