CMS 3D CMS Logo

DTLocalTriggerSectorCollectorHeaderWord Class Reference

DT Sector Collector private header interpreter. More...

#include <EventFilter/DTRawToDigi/interface/DTDDUWords.h>

List of all members.

Public Member Functions

 DTLocalTriggerSectorCollectorHeaderWord (const uint32_t index)
 DTLocalTriggerSectorCollectorHeaderWord (const DTLocalTriggerSectorCollectorHeaderWord &obj)
 DTLocalTriggerSectorCollectorHeaderWord ()
 Constructor.
int Latency () const
int NumberOf16bitWords () const
virtual ~DTLocalTriggerSectorCollectorHeaderWord ()
 Destructor.

Static Public Member Functions

static void set (uint32_t &word, int lat, int nw)

Private Attributes

uint32_t word_


Detailed Description

DT Sector Collector private header interpreter.

It interprets Latency measured by SC-Latency Timer Unit (still testing!) and the number of 16-bit words following this header sent by the Sector Collector

Date
2007/04/02 15:53:18
Revision
1.10
Author:
R. Travaglini - INFN Bologna

Definition at line 943 of file DTDDUWords.h.


Constructor & Destructor Documentation

DTLocalTriggerSectorCollectorHeaderWord::DTLocalTriggerSectorCollectorHeaderWord (  )  [inline]

Constructor.

Definition at line 948 of file DTDDUWords.h.

00948 {}

DTLocalTriggerSectorCollectorHeaderWord::DTLocalTriggerSectorCollectorHeaderWord ( const DTLocalTriggerSectorCollectorHeaderWord obj  )  [inline]

Definition at line 950 of file DTDDUWords.h.

00950 { *this = obj; }

DTLocalTriggerSectorCollectorHeaderWord::DTLocalTriggerSectorCollectorHeaderWord ( const uint32_t  index  )  [inline]

Definition at line 952 of file DTDDUWords.h.

00952                                                                 : 
00953     word_(index) {}

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

Destructor.

Definition at line 956 of file DTDDUWords.h.

00956 {}


Member Function Documentation

int DTLocalTriggerSectorCollectorHeaderWord::Latency (  )  const [inline]

Definition at line 958 of file DTDDUWords.h.

References SC_LAT_MASK, SC_LAT_SHIFT, and word_.

00958 { return ((word_  >> SC_LAT_SHIFT) &  SC_LAT_MASK);}

int DTLocalTriggerSectorCollectorHeaderWord::NumberOf16bitWords (  )  const [inline]

Definition at line 959 of file DTDDUWords.h.

References SC_NW_MASK, and word_.

Referenced by DTROS25Unpacker::interpretRawData().

00959 { return (word_ & SC_NW_MASK);}

static void DTLocalTriggerSectorCollectorHeaderWord::set ( uint32_t &  word,
int  lat,
int  nw 
) [inline, static]

Definition at line 962 of file DTDDUWords.h.

References DTROSWordType::headerControlWord, SC_LAT_MASK, SC_LAT_SHIFT, SC_NW_MASK, DTROSWordType::scTypeWord, WORDCONTROLSHIFT, and WORDTYPESHIFT.

00964                           {
00965     
00966     word = 
00967       DTROSWordType::headerControlWord << WORDCONTROLSHIFT |
00968       DTROSWordType::scTypeWord << WORDTYPESHIFT |
00969       (lat & SC_LAT_MASK) << SC_LAT_SHIFT |
00970       (nw & SC_NW_MASK) ; 
00971   }


Member Data Documentation

uint32_t DTLocalTriggerSectorCollectorHeaderWord::word_ [private]

Definition at line 975 of file DTDDUWords.h.

Referenced by Latency(), and NumberOf16bitWords().


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