CMS 3D CMS Logo

List of all members | Public Member Functions | Private Types | Private Attributes | Friends
L1CSCSPStatusDigi Class Reference

#include <L1CSCSPStatusDigi.h>

Public Member Functions

unsigned long AFs (void) const throw ()
 
unsigned short BXN (void) const throw ()
 
unsigned long BXs (void) const throw ()
 
unsigned short FMM (void) const throw ()
 
 L1CSCSPStatusDigi (void)
 
unsigned short link (int link) const throw ()
 
unsigned long orbit_counter (void) const throw ()
 
unsigned short SEs (void) const throw ()
 
unsigned short slot (void) const throw ()
 
unsigned short SMs (void) const throw ()
 
unsigned long track_counter (void) const throw ()
 
unsigned long VPs (void) const throw ()
 
 ~L1CSCSPStatusDigi (void)
 

Private Types

enum  {
  IDLE = 1, CARRIER = 2, NORMAL = 4, ERROR = 8,
  FIFO = 16
}
 

Private Attributes

unsigned long af
 
unsigned long bx
 
unsigned short fmm_status
 
unsigned short l1a_bxn
 
unsigned short link_status [15]
 
unsigned short mpc_link_id
 
unsigned long orbit_cnt
 
unsigned short se
 
unsigned short sm
 
unsigned short sp_slot
 
unsigned long track_cnt
 
unsigned long vp
 

Friends

class CSCTFUnpacker
 

Detailed Description

Definition at line 8 of file L1CSCSPStatusDigi.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
private
Enumerator
IDLE 
CARRIER 
NORMAL 
ERROR 
FIFO 

Definition at line 19 of file L1CSCSPStatusDigi.h.

19  {
20  IDLE = 1,
21  CARRIER = 2,
22  NORMAL = 4,
23  ERROR = 8,
24  FIFO = 16
25  }; // States of optical receivers + Alignment FIFO full OR empty status

Constructor & Destructor Documentation

◆ L1CSCSPStatusDigi()

L1CSCSPStatusDigi::L1CSCSPStatusDigi ( void  )
inline

Definition at line 48 of file L1CSCSPStatusDigi.h.

48 { bzero(this, sizeof(L1CSCSPStatusDigi)); }

◆ ~L1CSCSPStatusDigi()

L1CSCSPStatusDigi::~L1CSCSPStatusDigi ( void  )
inline

Definition at line 49 of file L1CSCSPStatusDigi.h.

49 {}

Member Function Documentation

◆ AFs()

unsigned long L1CSCSPStatusDigi::AFs ( void  ) const
throw (
)
inline

Definition at line 41 of file L1CSCSPStatusDigi.h.

References af.

41 { return af; }

◆ BXN()

unsigned short L1CSCSPStatusDigi::BXN ( void  ) const
throw (
)
inline

Definition at line 36 of file L1CSCSPStatusDigi.h.

References l1a_bxn.

36 { return l1a_bxn; }
unsigned short l1a_bxn

◆ BXs()

unsigned long L1CSCSPStatusDigi::BXs ( void  ) const
throw (
)
inline

Definition at line 40 of file L1CSCSPStatusDigi.h.

References bx.

40 { return bx; }

◆ FMM()

unsigned short L1CSCSPStatusDigi::FMM ( void  ) const
throw (
)
inline

Definition at line 37 of file L1CSCSPStatusDigi.h.

References fmm_status.

37 { return fmm_status; }
unsigned short fmm_status

◆ link()

unsigned short L1CSCSPStatusDigi::link ( int  link) const
throw (
)
inline

Definition at line 43 of file L1CSCSPStatusDigi.h.

References link(), and link_status.

Referenced by link().

43 { return link_status[link]; }
unsigned short link(int link) const
unsigned short link_status[15]

◆ orbit_counter()

unsigned long L1CSCSPStatusDigi::orbit_counter ( void  ) const
throw (
)
inline

Definition at line 46 of file L1CSCSPStatusDigi.h.

References orbit_cnt.

46 { return orbit_cnt; }
unsigned long orbit_cnt

◆ SEs()

unsigned short L1CSCSPStatusDigi::SEs ( void  ) const
throw (
)
inline

Definition at line 38 of file L1CSCSPStatusDigi.h.

References se.

38 { return se; }
unsigned short se

◆ slot()

unsigned short L1CSCSPStatusDigi::slot ( void  ) const
throw (
)
inline

Definition at line 35 of file L1CSCSPStatusDigi.h.

References sp_slot.

35 { return sp_slot; }
unsigned short sp_slot

◆ SMs()

unsigned short L1CSCSPStatusDigi::SMs ( void  ) const
throw (
)
inline

Definition at line 39 of file L1CSCSPStatusDigi.h.

References sm.

39 { return sm; }
unsigned short sm

◆ track_counter()

unsigned long L1CSCSPStatusDigi::track_counter ( void  ) const
throw (
)
inline

Definition at line 45 of file L1CSCSPStatusDigi.h.

References track_cnt.

45 { return track_cnt; }
unsigned long track_cnt

◆ VPs()

unsigned long L1CSCSPStatusDigi::VPs ( void  ) const
throw (
)
inline

Definition at line 42 of file L1CSCSPStatusDigi.h.

References vp.

42 { return vp; }

Friends And Related Function Documentation

◆ CSCTFUnpacker

friend class CSCTFUnpacker
friend

Definition at line 32 of file L1CSCSPStatusDigi.h.

Member Data Documentation

◆ af

unsigned long L1CSCSPStatusDigi::af
private

Definition at line 17 of file L1CSCSPStatusDigi.h.

Referenced by AFs().

◆ bx

unsigned long L1CSCSPStatusDigi::bx
private

Definition at line 16 of file L1CSCSPStatusDigi.h.

Referenced by BXs().

◆ fmm_status

unsigned short L1CSCSPStatusDigi::fmm_status
private

Definition at line 12 of file L1CSCSPStatusDigi.h.

Referenced by FMM().

◆ l1a_bxn

unsigned short L1CSCSPStatusDigi::l1a_bxn
private

Definition at line 11 of file L1CSCSPStatusDigi.h.

Referenced by BXN().

◆ link_status

unsigned short L1CSCSPStatusDigi::link_status[15]
private

Definition at line 26 of file L1CSCSPStatusDigi.h.

Referenced by link().

◆ mpc_link_id

unsigned short L1CSCSPStatusDigi::mpc_link_id
private

Definition at line 27 of file L1CSCSPStatusDigi.h.

◆ orbit_cnt

unsigned long L1CSCSPStatusDigi::orbit_cnt
private

Definition at line 30 of file L1CSCSPStatusDigi.h.

Referenced by orbit_counter().

◆ se

unsigned short L1CSCSPStatusDigi::se
private

Definition at line 14 of file L1CSCSPStatusDigi.h.

Referenced by SEs().

◆ sm

unsigned short L1CSCSPStatusDigi::sm
private

Definition at line 15 of file L1CSCSPStatusDigi.h.

Referenced by SMs().

◆ sp_slot

unsigned short L1CSCSPStatusDigi::sp_slot
private

Definition at line 10 of file L1CSCSPStatusDigi.h.

Referenced by slot().

◆ track_cnt

unsigned long L1CSCSPStatusDigi::track_cnt
private

Definition at line 29 of file L1CSCSPStatusDigi.h.

Referenced by track_counter().

◆ vp

unsigned long L1CSCSPStatusDigi::vp
private

Definition at line 18 of file L1CSCSPStatusDigi.h.

Referenced by VPs().