CMS 3D CMS Logo

L1MuGMTLFDisableHotLUT Class Reference

LFDisableHot look-up table. More...

#include <L1Trigger/GlobalMuonTrigger/src/L1MuGMTLFDisableHotLUT.h>

Inheritance diagram for L1MuGMTLFDisableHotLUT:

L1MuGMTLUT

List of all members.

Public Types

enum  { DT, CSC }

Public Member Functions

 L1MuGMTLFDisableHotLUT ()
 constuctor using function-lookup
virtual unsigned LookupFunctionPacked (int idx, unsigned address) const
 access to lookup function with packed input and output
unsigned SpecificLookup (int idx, unsigned eta, unsigned phi) const
 specific lookup function for entire output field
unsigned SpecificLookup_disable_hot (int idx, unsigned eta, unsigned phi) const
 specific lookup function for disable_hot
virtual ~L1MuGMTLFDisableHotLUT ()
 destructor

Private Member Functions

void InitParameters ()
 Initialize scales, configuration parameters, alignment constants, ...
unsigned TheLookupFunction (int idx, unsigned eta, unsigned phi) const
 The lookup function - here the functionality of the LUT is implemented.


Detailed Description

LFDisableHot look-up table.

this class was automatically generated by L1MuGMTLUT::MakeSubClass()

Definition at line 43 of file L1MuGMTLFDisableHotLUT.h.


Member Enumeration Documentation

anonymous enum

Enumerator:
DT 
CSC 

Definition at line 46 of file L1MuGMTLFDisableHotLUT.h.

00046 {DT, CSC};


Constructor & Destructor Documentation

L1MuGMTLFDisableHotLUT::L1MuGMTLFDisableHotLUT (  )  [inline]

constuctor using function-lookup

Definition at line 49 of file L1MuGMTLFDisableHotLUT.h.

References InitParameters().

00049                            : L1MuGMTLUT("LFDisableHot", 
00050                                        "DT CSC",
00051                                        "eta(6) phi(8)",
00052                                        "disable_hot(1)", 10, false) {
00053     InitParameters();
00054   } ;

virtual L1MuGMTLFDisableHotLUT::~L1MuGMTLFDisableHotLUT (  )  [inline, virtual]

destructor

Definition at line 57 of file L1MuGMTLFDisableHotLUT.h.

00057 {};


Member Function Documentation

void L1MuGMTLFDisableHotLUT::InitParameters (  )  [private]

Initialize scales, configuration parameters, alignment constants, ...

Definition at line 34 of file L1MuGMTLFDisableHotLUT.cc.

Referenced by L1MuGMTLFDisableHotLUT().

00034                                             {
00035 }

virtual unsigned L1MuGMTLFDisableHotLUT::LookupFunctionPacked ( int  idx,
unsigned  address 
) const [inline, virtual]

access to lookup function with packed input and output

Reimplemented from L1MuGMTLUT.

Definition at line 79 of file L1MuGMTLFDisableHotLUT.h.

References addr, L1MuGMTLUT::m_Inputs, TheLookupFunction(), and L1MuGMTLUT::u2vec().

00079                                                                           {
00080     std::vector<unsigned> addr = u2vec(address, m_Inputs);
00081     return TheLookupFunction(idx ,addr[0] ,addr[1]);
00082 
00083   };

unsigned L1MuGMTLFDisableHotLUT::SpecificLookup ( int  idx,
unsigned  eta,
unsigned  phi 
) const [inline]

specific lookup function for entire output field

Definition at line 68 of file L1MuGMTLFDisableHotLUT.h.

References addr, and L1MuGMTLUT::LookupPacked().

00068                                                                       {
00069     std::vector<unsigned> addr(2);
00070     addr[0] = eta;
00071     addr[1] = phi;
00072     return LookupPacked(idx, addr);
00073   };

unsigned L1MuGMTLFDisableHotLUT::SpecificLookup_disable_hot ( int  idx,
unsigned  eta,
unsigned  phi 
) const [inline]

specific lookup function for disable_hot

Definition at line 60 of file L1MuGMTLFDisableHotLUT.h.

References addr, and L1MuGMTLUT::Lookup().

Referenced by L1MuGMTMatcher::lookup_mq().

00060                                                                                   {
00061     std::vector<unsigned> addr(2);
00062     addr[0] = eta;
00063     addr[1] = phi;
00064     return Lookup(idx, addr) [0];
00065   };

unsigned L1MuGMTLFDisableHotLUT::TheLookupFunction ( int  idx,
unsigned  eta,
unsigned  phi 
) const [private]

The lookup function - here the functionality of the LUT is implemented.

Definition at line 52 of file L1MuGMTLFDisableHotLUT.cc.

Referenced by LookupFunctionPacked().

00052                                                                                              {
00053   // idx is DT, CSC
00054   // INPUTS:  eta(6) phi(8)
00055   // OUTPUTS: disable_hot(1) 
00056 
00057   // TBD: implementation of reading disable-hot configuration
00058 
00059   return 0;
00060 }


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:26:54 2009 for CMSSW by  doxygen 1.5.4