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.

41 { return af; }

References af.

◆ BXN()

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

Definition at line 36 of file L1CSCSPStatusDigi.h.

36 { return l1a_bxn; }

References l1a_bxn.

◆ BXs()

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

Definition at line 40 of file L1CSCSPStatusDigi.h.

40 { return bx; }

References bx.

◆ FMM()

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

Definition at line 37 of file L1CSCSPStatusDigi.h.

37 { return fmm_status; }

References fmm_status.

◆ link()

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

Definition at line 43 of file L1CSCSPStatusDigi.h.

43 { return link_status[link]; }

References link(), and link_status.

Referenced by link().

◆ orbit_counter()

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

Definition at line 46 of file L1CSCSPStatusDigi.h.

46 { return orbit_cnt; }

References orbit_cnt.

◆ SEs()

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

Definition at line 38 of file L1CSCSPStatusDigi.h.

38 { return se; }

References se.

◆ slot()

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

Definition at line 35 of file L1CSCSPStatusDigi.h.

35 { return sp_slot; }

References sp_slot.

◆ SMs()

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

Definition at line 39 of file L1CSCSPStatusDigi.h.

39 { return sm; }

References sm.

◆ track_counter()

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

Definition at line 45 of file L1CSCSPStatusDigi.h.

45 { return track_cnt; }

References track_cnt.

◆ VPs()

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

Definition at line 42 of file L1CSCSPStatusDigi.h.

42 { return vp; }

References 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().

L1CSCSPStatusDigi::orbit_cnt
unsigned long orbit_cnt
Definition: L1CSCSPStatusDigi.h:30
L1CSCSPStatusDigi::track_cnt
unsigned long track_cnt
Definition: L1CSCSPStatusDigi.h:29
L1CSCSPStatusDigi::l1a_bxn
unsigned short l1a_bxn
Definition: L1CSCSPStatusDigi.h:11
L1CSCSPStatusDigi::link
unsigned short link(int link) const
Definition: L1CSCSPStatusDigi.h:43
L1CSCSPStatusDigi::bx
unsigned long bx
Definition: L1CSCSPStatusDigi.h:16
L1CSCSPStatusDigi::NORMAL
Definition: L1CSCSPStatusDigi.h:22
L1CSCSPStatusDigi::FIFO
Definition: L1CSCSPStatusDigi.h:24
L1CSCSPStatusDigi::IDLE
Definition: L1CSCSPStatusDigi.h:20
L1CSCSPStatusDigi::sp_slot
unsigned short sp_slot
Definition: L1CSCSPStatusDigi.h:10
L1CSCSPStatusDigi::fmm_status
unsigned short fmm_status
Definition: L1CSCSPStatusDigi.h:12
L1CSCSPStatusDigi::sm
unsigned short sm
Definition: L1CSCSPStatusDigi.h:15
L1CSCSPStatusDigi::se
unsigned short se
Definition: L1CSCSPStatusDigi.h:14
L1CSCSPStatusDigi::vp
unsigned long vp
Definition: L1CSCSPStatusDigi.h:18
L1CSCSPStatusDigi::CARRIER
Definition: L1CSCSPStatusDigi.h:21
L1CSCSPStatusDigi::link_status
unsigned short link_status[15]
Definition: L1CSCSPStatusDigi.h:26
L1CSCSPStatusDigi::ERROR
Definition: L1CSCSPStatusDigi.h:23
L1CSCSPStatusDigi::af
unsigned long af
Definition: L1CSCSPStatusDigi.h:17
L1CSCSPStatusDigi
Definition: L1CSCSPStatusDigi.h:8