CMS 3D CMS Logo

Public Member Functions | Static Public Member Functions | Private Attributes

DTTDCMeasurementWord Class Reference

#include <DTDDUWords.h>

List of all members.

Public Member Functions

 DTTDCMeasurementWord ()
 Constructor.
 DTTDCMeasurementWord (const DTTDCMeasurementWord &obj)
 DTTDCMeasurementWord (const uint32_t index)
int HU () const
int PAF () const
int PC () const
int tdcChannel () const
int tdcID () const
 <== OBSOLETE!!
int tdcTime () const
virtual ~DTTDCMeasurementWord ()
 Destructor.

Static Public Member Functions

static void set (uint32_t &word, int pc, int paf, int hu, int tdc_id, int tdc_channel, int tdc_time)

Private Attributes

uint32_t word_

Detailed Description

DT TDC Measurement interpreter. It interprets the Parity Checks, FIFO occupancy, Lokeced channels (all 1 bit), the TDC_ID (2 bits), the TDC channel (5 bits), and the TDC time (19 bits)

Date:
2009/05/07 07:57:03
Revision:
1.13
Author:
M. Zanetti - INFN Padova

Definition at line 625 of file DTDDUWords.h.


Constructor & Destructor Documentation

DTTDCMeasurementWord::DTTDCMeasurementWord ( ) [inline]

Constructor.

Definition at line 630 of file DTDDUWords.h.

{}
DTTDCMeasurementWord::DTTDCMeasurementWord ( const DTTDCMeasurementWord obj) [inline]

Definition at line 632 of file DTDDUWords.h.

References VarParsing::obj.

{ *this = obj; }
DTTDCMeasurementWord::DTTDCMeasurementWord ( const uint32_t  index) [inline]

Definition at line 634 of file DTDDUWords.h.

                                             : 
    word_(index) {}
virtual DTTDCMeasurementWord::~DTTDCMeasurementWord ( ) [inline, virtual]

Destructor.

Definition at line 638 of file DTDDUWords.h.

{}

Member Function Documentation

int DTTDCMeasurementWord::HU ( ) const [inline]

Definition at line 642 of file DTDDUWords.h.

References PAF_MASK, PAF_SHIFT, and word_.

{ return (word_ & PAF_MASK) >> PAF_SHIFT;} 
int DTTDCMeasurementWord::PAF ( ) const [inline]

Definition at line 641 of file DTDDUWords.h.

References PAF_MASK, PAF_SHIFT, and word_.

{ return (word_ & PAF_MASK) >> PAF_SHIFT;} 
int DTTDCMeasurementWord::PC ( ) const [inline]

Definition at line 640 of file DTDDUWords.h.

References PC_MASK, PC_SHIFT, and word_.

Referenced by DTDataIntegrityTask::processROS25().

{ return (word_ & PC_MASK) >> PC_SHIFT;} 
static void DTTDCMeasurementWord::set ( uint32_t &  word,
int  pc,
int  paf,
int  hu,
int  tdc_id,
int  tdc_channel,
int  tdc_time 
) [inline, static]
int DTTDCMeasurementWord::tdcChannel ( ) const [inline]
int DTTDCMeasurementWord::tdcID ( ) const [inline]

<== OBSOLETE!!

Definition at line 643 of file DTDDUWords.h.

References TDC_ID_MASK, TDC_ID_SHIFT, and word_.

Referenced by DTDigiToRaw::createFedBuffers(), and DTROS25Unpacker::interpretRawData().

{ return (word_ & TDC_ID_MASK) >> TDC_ID_SHIFT;} 
int DTTDCMeasurementWord::tdcTime ( ) const [inline]

Member Data Documentation

uint32_t DTTDCMeasurementWord::word_ [private]

Definition at line 670 of file DTDDUWords.h.

Referenced by HU(), PAF(), PC(), tdcChannel(), tdcID(), and tdcTime().