CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Static Public Member Functions | Static Private Member Functions | Static Private Attributes
L1MuGMTPhiLUT Class Reference

#include <L1MuGMTPhiLUT.h>

Public Member Functions

 L1MuGMTPhiLUT ()
 constructor More...
 
virtual ~L1MuGMTPhiLUT ()
 destructor More...
 

Static Public Member Functions

static float dphi (int isys, int isISO, int icharge, int ieta, float pt)
 look up delta-phi with integer eta More...
 
static float dphi (int isys, int isISO, int icharge, float eta, float pt)
 look up delta-phi More...
 

Static Private Member Functions

static int etabin (float eta, int isys)
 

Static Private Attributes

static const int bRPC =2
 
static const int CSC =1
 
static const int DT =0
 
static float etabins [NSYS][NETA+1]
 
static float fitparams_phi [NRP][NSYS][NETA][2][3]
 
static const int fRPC =3
 
static const unsigned int NETA =8
 
static const unsigned int NRP =2
 
static const int NSYS =4
 

Detailed Description

Description: Look-up table for GMT Phi projection unit

         Caluclates float delta-phi from charge, eta and pT 

         Simple static implementation with parametrization for
         CMS121 geometry

Definition at line 46 of file L1MuGMTPhiLUT.h.

Constructor & Destructor Documentation

L1MuGMTPhiLUT::L1MuGMTPhiLUT ( )

constructor

Definition at line 44 of file L1MuGMTPhiLUT.cc.

L1MuGMTPhiLUT::~L1MuGMTPhiLUT ( )
virtual

destructor

Definition at line 50 of file L1MuGMTPhiLUT.cc.

Member Function Documentation

float L1MuGMTPhiLUT::dphi ( int  isys,
int  isISO,
int  icharge,
int  ieta,
float  pt 
)
static

look up delta-phi with integer eta

Definition at line 70 of file L1MuGMTPhiLUT.cc.

Referenced by dphi(), and L1MuGMTLFPhiProLUT::TheLookupFunction().

static float L1MuGMTPhiLUT::dphi ( int  isys,
int  isISO,
int  icharge,
float  eta,
float  pt 
)
inlinestatic

look up delta-phi

Definition at line 62 of file L1MuGMTPhiLUT.h.

References dphi(), and etabin().

62  {
63  return dphi(isys, isISO, icharge, etabin( (float)fabs(eta), isys), pt);
64  };
static int etabin(float eta, int isys)
static float dphi(int isys, int isISO, int icharge, int ieta, float pt)
look up delta-phi with integer eta
int L1MuGMTPhiLUT::etabin ( float  eta,
int  isys 
)
staticprivate

Definition at line 58 of file L1MuGMTPhiLUT.cc.

Referenced by dphi().

Member Data Documentation

const int L1MuGMTPhiLUT::bRPC =2
staticprivate

Definition at line 73 of file L1MuGMTPhiLUT.h.

const int L1MuGMTPhiLUT::CSC =1
staticprivate

Definition at line 72 of file L1MuGMTPhiLUT.h.

const int L1MuGMTPhiLUT::DT =0
staticprivate

Definition at line 71 of file L1MuGMTPhiLUT.h.

float L1MuGMTPhiLUT::etabins
staticprivate
Initial value:
= {
{ 0.00, 0.22, 0.27, 0.58, 0.77, 0.87, 0.92, 1.24, 1.24 },
{ 0.00, 1.06, 1.26, 1.46, 1.66, 1.86, 2.06, 2.26, 2.46 },
{ 0.00, 0.06, 0.25, 0.41, 0.54, 0.70, 0.83, 0.93, 1.04 },
{ 1.04, 1.24, 1.36, 1.48, 1.61, 1.73, 1.85, 1.97, 2.10}
}

Definition at line 83 of file L1MuGMTPhiLUT.h.

float L1MuGMTPhiLUT::fitparams_phi
staticprivate

Definition at line 84 of file L1MuGMTPhiLUT.h.

const int L1MuGMTPhiLUT::fRPC =3
staticprivate

Definition at line 74 of file L1MuGMTPhiLUT.h.

const unsigned int L1MuGMTPhiLUT::NETA =8
staticprivate

Definition at line 78 of file L1MuGMTPhiLUT.h.

const unsigned int L1MuGMTPhiLUT::NRP =2
staticprivate

Definition at line 81 of file L1MuGMTPhiLUT.h.

const int L1MuGMTPhiLUT::NSYS =4
staticprivate

Definition at line 70 of file L1MuGMTPhiLUT.h.