00001 #ifndef MuonIdentification_MuonRefProducer_h 00002 #define MuonIdentification_MuonRefProducer_h 00003 00004 // -*- C++ -*- 00005 // 00006 // Package: MuonIdentification 00007 // Class: MuonRefProducer 00008 // 00009 /* 00010 00011 Description: create a reduced collection of muons based on a reference 00012 collection and a set of cuts. 00013 */ 00014 // 00015 // Original Author: Dmytro Kovalskyi 00016 // $Id: MuonRefProducer.h,v 1.3 2008/10/17 20:43:06 dmytro Exp $ 00017 // 00018 00019 00020 // user include files 00021 #include "FWCore/Framework/interface/Frameworkfwd.h" 00022 #include "FWCore/Framework/interface/EDProducer.h" 00023 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00024 #include "DataFormats/MuonReco/interface/Muon.h" 00025 #include "DataFormats/MuonReco/interface/MuonSelectors.h" 00026 00027 class MuonRefProducer : public edm::EDProducer { 00028 public: 00029 explicit MuonRefProducer(const edm::ParameterSet&); 00030 virtual ~MuonRefProducer(); 00031 virtual void produce(edm::Event&, const edm::EventSetup&); 00032 00033 private: 00034 edm::InputTag theReferenceCollection_; 00035 00036 muon::AlgorithmType type_; 00037 int minNumberOfMatches_; 00038 double maxAbsDx_; 00039 double maxAbsPullX_; 00040 double maxAbsDy_; 00041 double maxAbsPullY_; 00042 double maxChamberDist_; 00043 double maxChamberDistPull_; 00044 reco::Muon::ArbitrationType arbitrationType_; 00045 00046 }; 00047 #endif