CMS 3D CMS Logo

L1MuCSCPtLut Class Reference

#include <CondFormats/L1TObjects/interface/L1MuCSCPtLut.h>

List of all members.

Public Member Functions

 L1MuCSCPtLut (const L1MuCSCPtLut &lut)
 L1MuCSCPtLut (void)
const unsigned short * lut (void) const throw ()
L1MuCSCPtLutoperator= (const L1MuCSCPtLut &lut)
unsigned short pt (unsigned long addr) const throw ()
 ~L1MuCSCPtLut (void)

Private Attributes

unsigned short pt_lut [1<< 21]

Friends

class CSCTFConfigProducer


Detailed Description

Definition at line 8 of file L1MuCSCPtLut.h.


Constructor & Destructor Documentation

L1MuCSCPtLut::L1MuCSCPtLut ( void   )  [inline]

Definition at line 23 of file L1MuCSCPtLut.h.

References pt_lut.

00023 { bzero(pt_lut,sizeof(pt_lut)); }

L1MuCSCPtLut::L1MuCSCPtLut ( const L1MuCSCPtLut lut  )  [inline]

Definition at line 24 of file L1MuCSCPtLut.h.

References pt_lut.

00024 { memcpy(pt_lut,lut.pt_lut,sizeof(pt_lut)); }

L1MuCSCPtLut::~L1MuCSCPtLut ( void   )  [inline]

Definition at line 25 of file L1MuCSCPtLut.h.

00025 {}


Member Function Documentation

const unsigned short* L1MuCSCPtLut::lut ( void   )  const throw () [inline]

Definition at line 19 of file L1MuCSCPtLut.h.

References pt_lut.

Referenced by CSCTFPtLUT::CSCTFPtLUT().

00019 { return pt_lut; }

L1MuCSCPtLut& L1MuCSCPtLut::operator= ( const L1MuCSCPtLut lut  )  [inline]

Definition at line 21 of file L1MuCSCPtLut.h.

References pt_lut.

00021 { memcpy(pt_lut,lut.pt_lut,sizeof(pt_lut)); return *this; }

unsigned short L1MuCSCPtLut::pt ( unsigned long  addr  )  const throw () [inline]

Definition at line 14 of file L1MuCSCPtLut.h.

References addr, int, and pt_lut.

00014                                                             {
00015           if( addr<(1<<21) ) return pt_lut[(unsigned int)addr];
00016                 else return 0;
00017         }


Friends And Related Function Documentation

friend class CSCTFConfigProducer [friend]

Definition at line 11 of file L1MuCSCPtLut.h.


Member Data Documentation

unsigned short L1MuCSCPtLut::pt_lut[1<< 21] [private]

Definition at line 10 of file L1MuCSCPtLut.h.

Referenced by L1MuCSCPtLut(), lut(), operator=(), and pt().


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