1 #ifndef HeavyFlavorAnalysis_Onia2MuMu_interface_OniaVtxReProducer_h 2 #define HeavyFlavorAnalysis_Onia2MuMu_interface_OniaVtxReProducer_h 43 std::unique_ptr<PrimaryVertexProducerAlgorithm>
algo_;
std::vector< Track > TrackCollection
collection of Tracks
const edm::InputTag & inputTracks() const
Get the InputTag of the TrackCollection used in the VertexProducer.
std::unique_ptr< PrimaryVertexProducerAlgorithm > algo_
OniaVtxReProducer(const edm::Handle< reco::VertexCollection > &configFromOriginalVertexCollection, const edm::Event &iEvent)
This is the real constructor to be used.
const edm::ParameterSet & inputConfig() const
Get the configuration used in the VertexProducer.
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 TransientTrackBuilder &theB) const
Make the vertices.
void configure(const edm::ParameterSet &iConfig)
edm::ParameterSet config_
OniaVtxReProducer(const edm::ParameterSet &configByHand)
This is only for testing.
edm::InputTag beamSpotTag_