CMS 3D CMS Logo

MicroGMTExtrapolationLUT.h
Go to the documentation of this file.
1 #ifndef __l1microgmtextrapolationlut_h
2 #define __l1microgmtextrapolationlut_h
3 
4 #include "MicroGMTLUT.h"
5 
6 //FIXME move to cc
8 
9 namespace l1t {
11  public:
14  const int outWidth,
15  const int etaRedInWidth,
16  const int ptRedInWidth);
17  explicit MicroGMTExtrapolationLUT(l1t::LUT* lut,
18  const int outWidth,
19  const int etaRedInWidth,
20  const int ptRedInWidth);
22 
23  // returns the index corresponding to the calo tower sum
24  int lookup(int angle, int pt) const;
25 
26  int hashInput(int angle, int pt) const;
27  void unHashInput(int input, int& angle, int& pt) const;
28 
29  int getEtaRedInWidth() const;
30  int getPtRedInWidth() const;
31 
32  private:
35 
38  };
39 } // namespace l1t
40 #endif /* defined(__l1microgmtextrapolationlut_h) */
int lookup(int angle, int pt) const
delete x;
Definition: CaloConfig.h:22
void unHashInput(int input, int &angle, int &pt) const
static std::string const input
Definition: EdmProvDump.cc:50
Definition: LUT.h:29
string fname
main script
int hashInput(int angle, int pt) const
T angle(T x1, T y1, T z1, T x2, T y2, T z2)
Definition: angle.h:11