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) */
input
static const std::string input
Definition: EdmProvDump.cc:48
l1t::MicroGMTCaloIndexSelectionLUT
Definition: MicroGMTCaloIndexSelectionLUT.h:8
MicroGMTConfiguration.h
l1t::MicroGMTCaloIndexSelectionLUT::hashInput
int hashInput(int angle) const
Definition: MicroGMTCaloIndexSelectionLUT.h:18
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
l1t::MicroGMTCaloIndexSelectionLUT::lookup
int lookup(int angle) const
Definition: MicroGMTCaloIndexSelectionLUT.cc:37
l1t
delete x;
Definition: CaloConfig.h:22
type
type
Definition: SiPixelVCal_PayloadInspector.cc:37
l1t::MicroGMTLUT
Definition: MicroGMTLUT.h:14
alignmentValidation.fname
string fname
main script
Definition: alignmentValidation.py:959
MicroGMTLUT.h
l1t::LUT
Definition: LUT.h:29
l1t::MicroGMTCaloIndexSelectionLUT::~MicroGMTCaloIndexSelectionLUT
~MicroGMTCaloIndexSelectionLUT() override
Definition: MicroGMTCaloIndexSelectionLUT.h:13
angle
T angle(T x1, T y1, T z1, T x2, T y2, T z2)
Definition: angle.h:11
l1t::MicroGMTCaloIndexSelectionLUT::m_angleInWidth
int m_angleInWidth
Definition: MicroGMTCaloIndexSelectionLUT.h:22
l1t::MicroGMTCaloIndexSelectionLUT::unHashInput
void unHashInput(int input, int &angle) const
Definition: MicroGMTCaloIndexSelectionLUT.h:19
l1t::MicroGMTCaloIndexSelectionLUT::MicroGMTCaloIndexSelectionLUT
MicroGMTCaloIndexSelectionLUT()
Definition: MicroGMTCaloIndexSelectionLUT.h:10