CMS 3D CMS Logo

MicroGMTConfiguration.h
Go to the documentation of this file.
1 #ifndef __l1microgmtconfiguration_h
2 #define __l1microgmtconfiguration_h
3 
6 
11 
12 #include <map>
13 #include <utility>
14 
15 namespace l1t {
17  public:
18  // All possible inputs for LUTs
19  enum input_t {
20  PT,
22  PHI,
23  ETA,
30  };
32 
33  typedef std::pair<input_t, int> PortType;
36  typedef Muon OutMuon;
42  // Two's complement for a given bit-length
43  static unsigned getTwosComp(const int signedInt, const int width);
44 
45  static int calcGlobalPhi(int locPhi, tftype t, int proc);
46 
47  static int setOutputMuonQuality(int muQual, tftype type, int haloBit);
48 
49  static int calcMuonHwEtaExtra(const l1t::Muon& mu);
50  static int calcMuonHwPhiExtra(const l1t::Muon& mu);
51  static double calcMuonEtaExtra(const l1t::Muon& mu);
52  static double calcMuonPhiExtra(const l1t::Muon& mu);
53  };
54 } // namespace l1t
55 #endif /* defined (__l1microgmtconfiguration_h) */
static unsigned getTwosComp(const int signedInt, const int width)
type
Definition: HCALResponse.h:21
std::list< std::shared_ptr< GMTInternalMuon > > GMTInternalMuonList
std::vector< GMTInternalMuon > GMTInternalMuonCollection
static int setOutputMuonQuality(int muQual, tftype type, int haloBit)
delete x;
Definition: CaloConfig.h:22
MuonCaloSumBxCollection CaloInputCollection
GMTInternalMuonCollection InterMuonCollection
Definition: Muon.py:1
static int calcMuonHwPhiExtra(const l1t::Muon &mu)
RegionalMuonCandBxCollection InputCollection
static int calcMuonHwEtaExtra(const l1t::Muon &mu)
std::pair< input_t, int > PortType
GMTInternalMuonList InterMuonList
static double calcMuonPhiExtra(const l1t::Muon &mu)
Definition: Muon.h:21
static int calcGlobalPhi(int locPhi, tftype t, int proc)
static double calcMuonEtaExtra(const l1t::Muon &mu)