27 : muonSource_(consumes<std::
vector<pat::
Muon>>(iConfig.getParameter<edm::
InputTag>(
"muonSource"))),
28 vertexSource_(consumes<std::
vector<
reco::Vertex>>(iConfig.getParameter<edm::
InputTag>(
"vertexSource"))),
29 maxDZ_(iConfig.getParameter<double>(
"maxDZ")) {
30 produces<std::vector<pat::Muon>>();
37 auto selectedMuons = std::make_unique<std::vector<pat::Muon>>();
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
#define DEFINE_FWK_MODULE(type)
const edm::EDGetTokenT< std::vector< pat::Muon > > muonSource_
void produce(edm::StreamID, edm::Event &iEvent, const edm::EventSetup &iSetup) const override
Abs< T >::type abs(const T &t)
bool get(ProductID const &oid, Handle< PROD > &result) const
const edm::EDGetTokenT< std::vector< reco::Vertex > > vertexSource_
MuonSelectorVertex(const edm::ParameterSet &iConfig)