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 {
21  };
22  enum output_t {
24  };
25 
26  typedef std::pair<input_t, int> PortType;
29  typedef Muon OutMuon;
35  // Two's complement for a given bit-length
36  static unsigned getTwosComp(const int signedInt, const int width);
37 
38  static int calcGlobalPhi(int locPhi, tftype t, int proc);
39 
40  static int setOutputMuonQuality(int muQual, tftype type, int haloBit);
41 
42  static int calcMuonHwEtaExtra(const l1t::Muon& mu);
43  static int calcMuonHwPhiExtra(const l1t::Muon& mu);
44  static double calcMuonEtaExtra(const l1t::Muon& mu);
45  static double calcMuonPhiExtra(const l1t::Muon& mu);
46  };
47 }
48 #endif /* defined (__l1microgmtconfiguration_h) */
static unsigned getTwosComp(const int signedInt, const int width)
type
Definition: HCALResponse.h:21
TrainProcessor *const proc
Definition: MVATrainer.cc:101
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
const int mu
Definition: Constants.h:22
GMTInternalMuonList InterMuonList
static double calcMuonPhiExtra(const l1t::Muon &mu)
Definition: Muon.h:16
static int calcGlobalPhi(int locPhi, tftype t, int proc)
static double calcMuonEtaExtra(const l1t::Muon &mu)