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