#include <OniaVtxReProducer.h>
Public Member Functions | |
const edm::InputTag & | inputBeamSpot () const |
Get the InputTag of the BeamSpot used in the VertexProducer. More... | |
const edm::ParameterSet & | inputConfig () const |
Get the configuration used in the VertexProducer. More... | |
const edm::InputTag & | inputTracks () const |
Get the InputTag of the TrackCollection used in the VertexProducer. More... | |
std::vector< TransientVertex > | makeVertices (const reco::TrackCollection &tracks, const reco::BeamSpot &bs, const edm::EventSetup &iSetup) const |
Make the vertices. More... | |
OniaVtxReProducer (const edm::Handle< reco::VertexCollection > &configFromOriginalVertexCollection, const edm::Event &iEvent) | |
This is the real constructor to be used. More... | |
OniaVtxReProducer (const edm::ParameterSet &configByHand) | |
This is only for testing. More... | |
Private Member Functions | |
void | configure (const edm::ParameterSet &iConfig) |
Private Attributes | |
std::auto_ptr < PrimaryVertexProducerAlgorithm > | algo_ |
edm::InputTag | beamSpotTag_ |
edm::ParameterSet | config_ |
edm::InputTag | tracksTag_ |
Definition at line 15 of file OniaVtxReProducer.h.
OniaVtxReProducer::OniaVtxReProducer | ( | const edm::Handle< reco::VertexCollection > & | configFromOriginalVertexCollection, |
const edm::Event & | iEvent | ||
) |
This is the real constructor to be used.
Definition at line 11 of file OniaVtxReProducer.cc.
References beamSpotTag_, configure(), Exception, edm::Provenance::friendlyClassName(), edm::Event::getProvenance(), HLT_25ns10e33_v2_cff::InputTag, edm::Provenance::moduleLabel(), edm::moduleName(), edm::parameterSet(), edm::ProductProvenance::parentage(), parents, edm::Parentage::parents(), edm::Provenance::processName(), edm::Provenance::productInstanceName(), edm::Provenance::productProvenance(), edm::HandleBase::provenance(), and tracksTag_.
|
inline |
This is only for testing.
Definition at line 20 of file OniaVtxReProducer.h.
References configure().
|
private |
Definition at line 61 of file OniaVtxReProducer.cc.
References algo_, beamSpotTag_, config_, edm::ParameterSet::getParameter(), and tracksTag_.
Referenced by OniaVtxReProducer().
|
inline |
Get the InputTag of the BeamSpot used in the VertexProducer.
Definition at line 32 of file OniaVtxReProducer.h.
References beamSpotTag_.
|
inline |
Get the configuration used in the VertexProducer.
Definition at line 26 of file OniaVtxReProducer.h.
References config_.
|
inline |
Get the InputTag of the TrackCollection used in the VertexProducer.
Definition at line 29 of file OniaVtxReProducer.h.
References tracksTag_.
std::vector< TransientVertex > OniaVtxReProducer::makeVertices | ( | const reco::TrackCollection & | tracks, |
const reco::BeamSpot & | bs, | ||
const edm::EventSetup & | iSetup | ||
) | const |
Make the vertices.
Definition at line 70 of file OniaVtxReProducer.cc.
References algo_, and edm::EventSetup::get().
Referenced by Onia2MuMuPAT::produce().
|
private |
Definition at line 39 of file OniaVtxReProducer.h.
Referenced by configure(), and makeVertices().
|
private |
Definition at line 38 of file OniaVtxReProducer.h.
Referenced by configure(), inputBeamSpot(), and OniaVtxReProducer().
|
private |
Definition at line 36 of file OniaVtxReProducer.h.
Referenced by configure(), and inputConfig().
|
private |
Definition at line 37 of file OniaVtxReProducer.h.
Referenced by configure(), inputTracks(), and OniaVtxReProducer().