#include <ConfigurableVertexReconstructor.h>
Public Member Functions | |
ConfigurableVertexReconstructor * | clone () const |
ConfigurableVertexReconstructor (const ConfigurableVertexReconstructor &o) | |
ConfigurableVertexReconstructor (const edm::ParameterSet &) | |
std::vector< TransientVertex > | vertices (const std::vector< reco::TransientTrack > &, const reco::BeamSpot &) const |
std::vector< TransientVertex > | vertices (const std::vector< reco::TransientTrack > &) const |
std::vector< TransientVertex > | vertices (const std::vector< reco::TransientTrack > &, const std::vector< reco::TransientTrack > &, const reco::BeamSpot &) const |
~ConfigurableVertexReconstructor () | |
Private Attributes | |
AbstractConfReconstructor * | theRector |
Wrap any VertexFitter into the VertexReconstructor interface
Definition at line 13 of file ConfigurableVertexReconstructor.h.
ConfigurableVertexReconstructor::ConfigurableVertexReconstructor | ( | const edm::ParameterSet & | p | ) |
Definition at line 25 of file ConfigurableVertexReconstructor.cc.
References VertexRecoManager::get(), edm::ParameterSet::getParameter(), VertexRecoManager::Instance(), and theRector.
Referenced by clone().
: theRector ( 0 ) { string finder=p.getParameter<string>("finder"); theRector = VertexRecoManager::Instance().get ( finder ); if (!theRector) { errorNoReconstructor ( finder ); } theRector->configure ( p ); // theRector = theRector->clone(); // theRector = new ReconstructorFromFitter ( KalmanVertexFitter() ); }
ConfigurableVertexReconstructor::ConfigurableVertexReconstructor | ( | const ConfigurableVertexReconstructor & | o | ) |
Definition at line 45 of file ConfigurableVertexReconstructor.cc.
ConfigurableVertexReconstructor::~ConfigurableVertexReconstructor | ( | ) |
Definition at line 39 of file ConfigurableVertexReconstructor.cc.
{
// delete theRector;
}
ConfigurableVertexReconstructor * ConfigurableVertexReconstructor::clone | ( | void | ) | const [virtual] |
Implements VertexReconstructor.
Definition at line 50 of file ConfigurableVertexReconstructor.cc.
References ConfigurableVertexReconstructor().
{ return new ConfigurableVertexReconstructor ( *this ); }
vector< TransientVertex > ConfigurableVertexReconstructor::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 63 of file ConfigurableVertexReconstructor.cc.
References theRector, and VertexReconstructor::vertices().
vector< TransientVertex > ConfigurableVertexReconstructor::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 55 of file ConfigurableVertexReconstructor.cc.
References theRector, and VertexReconstructor::vertices().
vector< TransientVertex > ConfigurableVertexReconstructor::vertices | ( | const std::vector< reco::TransientTrack > & | ) | const [virtual] |
Reconstruct vertices
Implements VertexReconstructor.
Definition at line 70 of file ConfigurableVertexReconstructor.cc.
References theRector, and VertexReconstructor::vertices().
Definition at line 29 of file ConfigurableVertexReconstructor.h.
Referenced by ConfigurableVertexReconstructor(), and vertices().