CMS 3D CMS Logo

MicroGMTCaloIndexSelectionLUT.h
Go to the documentation of this file.
1 #ifndef __l1microgmtcaloindexselectionlut_h
2 #define __l1microgmtcaloindexselectionlut_h
3 
4 #include "MicroGMTLUT.h"
6 
7 namespace l1t {
9  public:
12  explicit MicroGMTCaloIndexSelectionLUT(l1t::LUT* lut, int type);
14 
15  // returns the index corresponding to the calo tower sum
16  int lookup(int angle) const;
17 
18  int hashInput(int angle) const { return angle; };
19  void unHashInput(int input, int& angle) const { angle = input; }
20 
21  private:
23  };
24 } // namespace l1t
25 
26 #endif /* defined(__l1microgmtcaloindexselectionlut_h) */
delete x;
Definition: CaloConfig.h:22
static std::string const input
Definition: EdmProvDump.cc:50
Definition: LUT.h:29
string fname
main script
void unHashInput(int input, int &angle) const
T angle(T x1, T y1, T z1, T x2, T y2, T z2)
Definition: angle.h:11