00001 00008 #ifndef CSCTrackFinder_CSCTFCandidateBuilder_h 00009 #define CSCTrackFinder_CSCTFCandidateBuilder_h 00010 00011 #include <DataFormats/L1GlobalMuonTrigger/interface/L1MuRegionalCand.h> 00012 #include <DataFormats/L1CSCTrackFinder/interface/L1CSCTrackCollection.h> 00013 00014 #include <FWCore/ParameterSet/interface/ParameterSet.h> 00015 00016 #include <L1Trigger/CSCTrackFinder/interface/CSCTFMuonSorter.h> 00017 00018 class CSCTFCandidateBuilder 00019 { 00020 public: 00021 CSCTFCandidateBuilder(const edm::ParameterSet&); 00022 ~CSCTFCandidateBuilder() { delete m_muonsorter; m_muonsorter = NULL; } 00023 00024 void buildCandidates(const L1CSCTrackCollection*, std::vector<L1MuRegionalCand>*) const; 00025 00026 private: 00027 00028 CSCTFMuonSorter* m_muonsorter; 00029 }; 00030 00031 #endif