#include <ConfigurableTrimmedKalmanFinder.h>
Public Member Functions | |
ConfigurableTrimmedKalmanFinder * | clone () const |
ConfigurableTrimmedKalmanFinder () | |
ConfigurableTrimmedKalmanFinder (const ConfigurableTrimmedKalmanFinder &o) | |
void | configure (const edm::ParameterSet &) |
edm::ParameterSet | defaults () const |
std::vector< TransientVertex > | vertices (const std::vector< reco::TransientTrack > &prims, const std::vector< reco::TransientTrack > &secs, const reco::BeamSpot &s) const |
std::vector< TransientVertex > | vertices (const std::vector< reco::TransientTrack > &t, const reco::BeamSpot &s) const |
std::vector< TransientVertex > | vertices (const std::vector< reco::TransientTrack > &t) const |
~ConfigurableTrimmedKalmanFinder () | |
Private Attributes | |
const VertexReconstructor * | theRector |
Wrap any VertexFitter into the VertexReconstructor interface
Definition at line 10 of file ConfigurableTrimmedKalmanFinder.h.
ConfigurableTrimmedKalmanFinder::ConfigurableTrimmedKalmanFinder | ( | ) |
Definition at line 16 of file ConfigurableTrimmedKalmanFinder.cc.
Referenced by clone().
: theRector( new KalmanTrimmedVertexFinder() ) {}
ConfigurableTrimmedKalmanFinder::ConfigurableTrimmedKalmanFinder | ( | const ConfigurableTrimmedKalmanFinder & | o | ) |
Definition at line 40 of file ConfigurableTrimmedKalmanFinder.cc.
ConfigurableTrimmedKalmanFinder::~ConfigurableTrimmedKalmanFinder | ( | ) |
Definition at line 34 of file ConfigurableTrimmedKalmanFinder.cc.
References theRector.
ConfigurableTrimmedKalmanFinder * ConfigurableTrimmedKalmanFinder::clone | ( | void | ) | const [virtual] |
Implements AbstractConfReconstructor.
Definition at line 45 of file ConfigurableTrimmedKalmanFinder.cc.
References ConfigurableTrimmedKalmanFinder().
{ return new ConfigurableTrimmedKalmanFinder ( *this ); }
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, n, KalmanTrimmedVertexFinder::setPtCut(), KalmanTrimmedVertexFinder::setTrackCompatibilityCut(), KalmanTrimmedVertexFinder::setTrackCompatibilityToSV(), KalmanTrimmedVertexFinder::setVertexFitProbabilityCut(), theRector, and tmp.
{ if ( theRector ) delete theRector; edm::ParameterSet m=n; m.augment ( mydefaults() ); KalmanTrimmedVertexFinder * tmp = new KalmanTrimmedVertexFinder(); tmp->setPtCut ( m.getParameter<double>("ptcut") ); tmp->setTrackCompatibilityCut ( m.getParameter<double>("trkcutpv") ); tmp->setTrackCompatibilityToSV ( m.getParameter<double>("trkcutsv") ); tmp->setVertexFitProbabilityCut ( m.getParameter<double>( "vtxcut" ) ); theRector = tmp; }
edm::ParameterSet ConfigurableTrimmedKalmanFinder::defaults | ( | ) | const [virtual] |
Implements AbstractConfReconstructor.
Definition at line 71 of file ConfigurableTrimmedKalmanFinder.cc.
{
return mydefaults();
}
std::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 50 of file ConfigurableTrimmedKalmanFinder.cc.
References theRector, and VertexReconstructor::vertices().
std::vector< TransientVertex > ConfigurableTrimmedKalmanFinder::vertices | ( | const std::vector< reco::TransientTrack > & | primaries, |
const std::vector< reco::TransientTrack > & | tracks, | ||
const reco::BeamSpot & | spot | ||
) | const [virtual] |
Reconstruct vertices, but exploit the fact that you know that some tracks cannot come from a secondary vertex. primaries Tracks that _cannot_ come from a secondary vertex (but can, in principle, be non-primaries, also). tracks These are the tracks that are of unknown origin. These tracks are subjected to pattern recognition. spot A beamspot constraint is mandatory in this method.
Reimplemented from VertexReconstructor.
Definition at line 57 of file ConfigurableTrimmedKalmanFinder.cc.
References theRector, and VertexReconstructor::vertices().
std::vector< TransientVertex > ConfigurableTrimmedKalmanFinder::vertices | ( | const std::vector< reco::TransientTrack > & | ) | const [virtual] |
Reconstruct vertices
Implements VertexReconstructor.
Definition at line 65 of file ConfigurableTrimmedKalmanFinder.cc.
References theRector, and VertexReconstructor::vertices().
const VertexReconstructor* ConfigurableTrimmedKalmanFinder::theRector [private] |
Definition at line 29 of file ConfigurableTrimmedKalmanFinder.h.
Referenced by configure(), vertices(), and ~ConfigurableTrimmedKalmanFinder().