Go to the documentation of this file. 1 #ifndef HeavyFlavorAnalysis_Onia2MuMu_interface_OniaVtxReProducer_h
2 #define HeavyFlavorAnalysis_Onia2MuMu_interface_OniaVtxReProducer_h
43 std::unique_ptr<PrimaryVertexProducerAlgorithm>
algo_;
std::unique_ptr< PrimaryVertexProducerAlgorithm > algo_
OniaVtxReProducer(const edm::Handle< reco::VertexCollection > &configFromOriginalVertexCollection, const edm::Event &iEvent)
This is the real constructor to be used.
edm::InputTag beamSpotTag_
const edm::ParameterSet & inputConfig() const
Get the configuration used in the VertexProducer.
void configure(const edm::ParameterSet &iConfig)
edm::ParameterSet config_
const edm::InputTag & inputTracks() const
Get the InputTag of the TrackCollection used in the VertexProducer.
OniaVtxReProducer(const edm::ParameterSet &configByHand)
This is only for testing.
const edm::InputTag & inputBeamSpot() const
Get the InputTag of the BeamSpot used in the VertexProducer.
std::vector< TransientVertex > makeVertices(const reco::TrackCollection &tracks, const reco::BeamSpot &bs, const edm::EventSetup &iSetup) const
Make the vertices.
std::vector< Track > TrackCollection
collection of Tracks