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:
13  explicit MicroGMTExtrapolationLUT(const std::string& fname, const int outWidth, const int etaRedInWidth, const int ptRedInWidth);
14  explicit MicroGMTExtrapolationLUT(l1t::LUT* lut, const int outWidth, const int etaRedInWidth, const int ptRedInWidth);
16 
17  // returns the index corresponding to the calo tower sum
18  int lookup(int angle, int pt) const;
19 
20  int hashInput(int angle, int pt) const;
21  void unHashInput(int input, int& angle, int& pt) const;
22 
23  int getEtaRedInWidth() const;
24  int getPtRedInWidth() const;
25  private:
28 
31  };
32 }
33 #endif /* defined(__l1microgmtextrapolationlut_h) */
delete x;
Definition: CaloConfig.h:22
static std::string const input
Definition: EdmProvDump.cc:48
Definition: LUT.h:29
string fname
main script
void unHashInput(int input, int &angle, int &pt) const
int hashInput(int angle, int pt) const
int lookup(int angle, int pt) const
T angle(T x1, T y1, T z1, T x2, T y2, T z2)
Definition: angle.h:11