#include <RecoVertex/ConfigurableVertexReco/interface/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 std::vector< reco::TransientTrack > &, const reco::BeamSpot &) const |
Reconstruct vertices, but exploit the fact that you know that some tracks cannot come from a secondary vertex. | |
std::vector< TransientVertex > | vertices (const std::vector< reco::TransientTrack > &, const reco::BeamSpot &) const |
Reconstruct vertices, exploiting the beamspot constraint for the primary vertex. | |
std::vector< TransientVertex > | vertices (const std::vector< reco::TransientTrack > &) const |
Reconstruct vertices. | |
~ConfigurableVertexReconstructor () | |
Private Attributes | |
AbstractConfReconstructor * | theRector |
Definition at line 13 of file ConfigurableVertexReconstructor.h.
ConfigurableVertexReconstructor::ConfigurableVertexReconstructor | ( | const edm::ParameterSet & | p | ) |
Definition at line 25 of file ConfigurableVertexReconstructor.cc.
References errorNoReconstructor(), VertexRecoManager::get(), edm::ParameterSet::getParameter(), VertexRecoManager::Instance(), and theRector.
Referenced by clone().
00026 : theRector ( 0 ) 00027 { 00028 string finder=p.getParameter<string>("finder"); 00029 theRector = VertexRecoManager::Instance().get ( finder ); 00030 if (!theRector) 00031 { 00032 errorNoReconstructor ( finder ); 00033 } 00034 theRector->configure ( p ); 00035 // theRector = theRector->clone(); 00036 // theRector = new ReconstructorFromFitter ( KalmanVertexFitter() ); 00037 }
ConfigurableVertexReconstructor::ConfigurableVertexReconstructor | ( | const ConfigurableVertexReconstructor & | o | ) |
ConfigurableVertexReconstructor::~ConfigurableVertexReconstructor | ( | ) |
ConfigurableVertexReconstructor * ConfigurableVertexReconstructor::clone | ( | void | ) | const [virtual] |
Implements VertexReconstructor.
Definition at line 50 of file ConfigurableVertexReconstructor.cc.
References ConfigurableVertexReconstructor().
00051 { 00052 return new ConfigurableVertexReconstructor ( *this ); 00053 }
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 > & | 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 > & | ) | const [virtual] |
Reconstruct vertices.
Implements VertexReconstructor.
Definition at line 70 of file ConfigurableVertexReconstructor.cc.
References theRector, and VertexReconstructor::vertices().
Referenced by SecondaryVertexProducer::produce().
Definition at line 29 of file ConfigurableVertexReconstructor.h.
Referenced by ConfigurableVertexReconstructor(), and vertices().