CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 double calcMuonEtaExtra(const l1t::Muon& mu);
43  static double calcMuonPhiExtra(const l1t::Muon& mu);
44  };
45 }
46 #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)
MuonCaloSumBxCollection CaloInputCollection
GMTInternalMuonCollection InterMuonCollection
RegionalMuonCandBxCollection InputCollection
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)