Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:20:54

0001 #ifndef L1TMuonEndCap_MicroGMTConverter_h
0002 #define L1TMuonEndCap_MicroGMTConverter_h
0003 
0004 #include "FWCore/Framework/interface/Event.h"
0005 
0006 #include "DataFormats/L1TMuon/interface/RegionalMuonCand.h"
0007 #include "DataFormats/L1TMuon/interface/RegionalMuonCandFwd.h"
0008 
0009 #include "L1Trigger/L1TMuonEndCap/interface/Common.h"
0010 
0011 class MicroGMTConverter {
0012 public:
0013   explicit MicroGMTConverter();
0014   ~MicroGMTConverter();
0015 
0016   void convert(const int global_event_BX, const EMTFTrack& in_track, l1t::RegionalMuonCand& out_cand) const;
0017 
0018   void convert_all(const edm::Event& iEvent,
0019                    const EMTFTrackCollection& in_tracks,
0020                    l1t::RegionalMuonCandBxCollection& out_cands) const;
0021 
0022 private:
0023 };  // End class MicroGMTConverter
0024 
0025 namespace emtf {
0026   void sort_uGMT_muons(l1t::RegionalMuonCandBxCollection& cands);
0027 }
0028 
0029 #endif