#ifndef MuonTiming_MuonTimingProducer_h
#define MuonTiming_MuonTimingProducer_h 1

// -*- C++ -*-
//
// Package:    MuonTimingProducer
// Class:      MuonTimingProducer
//
/**\class MuonTimingProducer MuonTimingProducer.h RecoMuon/MuonIdentification/interface/MuonTimingProducer.h

 Description: <one line class summary>

 Implementation:
     <Notes on implementation>
*/
//
// Original Author:  Piotr Traczyk, CERN
//         Created:  Mon Mar 16 12:27:22 CET 2009
//
//

// system include files
#include <memory>

// user include files
#include "FWCore/Framework/interface/Frameworkfwd.h"
#include "FWCore/Framework/interface/stream/EDProducer.h"

#include "FWCore/Framework/interface/Event.h"
#include "FWCore/Framework/interface/MakerMacros.h"

#include "FWCore/ParameterSet/interface/ParameterSet.h"

#include "DataFormats/MuonReco/interface/MuonTimeExtra.h"
#include "RecoMuon/MuonIdentification/interface/MuonTimingFiller.h"

//
// class decleration
//

class MuonTimingProducer : public edm::stream::EDProducer<> {
public:
  explicit MuonTimingProducer(const edm::ParameterSet&);
  ~MuonTimingProducer() override;

private:
  void produce(edm::Event&, const edm::EventSetup&) override;

  // ----------member data ---------------------------
  edm::InputTag m_muonCollection;
  edm::EDGetTokenT<reco::MuonCollection> muonToken_;

  MuonTimingFiller* theTimingFiller_;
};

#endif
