CMS 3D CMS Logo

DTLocalTriggerSectorCollectorSubHeaderWord Class Reference

DT Sector Collector private SUB-header interpreter. More...

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

List of all members.

Public Member Functions

 DTLocalTriggerSectorCollectorSubHeaderWord (const uint32_t index)
 DTLocalTriggerSectorCollectorSubHeaderWord (const DTLocalTriggerSectorCollectorSubHeaderWord &obj)
 DTLocalTriggerSectorCollectorSubHeaderWord ()
 Constructor.
int LocalBunchCounter () const
int TriggerDelay () const
virtual ~DTLocalTriggerSectorCollectorSubHeaderWord ()
 Destructor.

Static Public Member Functions

static void set (uint32_t &word, int trigdly, int bxcount)

Private Attributes

uint32_t word_


Detailed Description

DT Sector Collector private SUB-header interpreter.

It interprets local SC bunch Counter and delay (3-bit) between trigger used to stop spying and effective bx stop

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

Definition at line 988 of file DTDDUWords.h.


Constructor & Destructor Documentation

DTLocalTriggerSectorCollectorSubHeaderWord::DTLocalTriggerSectorCollectorSubHeaderWord (  )  [inline]

Constructor.

Definition at line 993 of file DTDDUWords.h.

00993 {}

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

Definition at line 995 of file DTDDUWords.h.

00995 { *this = obj; }

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

Definition at line 997 of file DTDDUWords.h.

00997                                                                    : 
00998     word_(index) {}

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

Destructor.

Definition at line 1001 of file DTDDUWords.h.

01001 {}


Member Function Documentation

int DTLocalTriggerSectorCollectorSubHeaderWord::LocalBunchCounter (  )  const [inline]

Definition at line 1004 of file DTDDUWords.h.

References SC_BXC_MASK, and word_.

Referenced by DTROS25Unpacker::interpretRawData().

01004 { return (word_ & SC_BXC_MASK );}

static void DTLocalTriggerSectorCollectorSubHeaderWord::set ( uint32_t &  word,
int  trigdly,
int  bxcount 
) [inline, static]

Definition at line 1007 of file DTDDUWords.h.

References DTROSWordType::headerControlWord, SC_BXC_MASK, SC_TRIGGERDLY_MASK, SC_TRIGGERDLY_SHIFT, DTROSWordType::scTypeWord, WORDCONTROLSHIFT, and WORDTYPESHIFT.

01009                                {
01010     
01011     word = 
01012       DTROSWordType::headerControlWord << WORDCONTROLSHIFT |
01013       DTROSWordType::scTypeWord << WORDTYPESHIFT |
01014       (trigdly &  SC_TRIGGERDLY_MASK) << SC_TRIGGERDLY_SHIFT |
01015       (bxcount & SC_BXC_MASK) ; 
01016   }

int DTLocalTriggerSectorCollectorSubHeaderWord::TriggerDelay (  )  const [inline]

Definition at line 1003 of file DTDDUWords.h.

References SC_TRIGGERDLY_MASK, SC_TRIGGERDLY_SHIFT, and word_.

Referenced by DTROS25Unpacker::interpretRawData().

01003 { return ((word_  >>SC_TRIGGERDLY_SHIFT ) & SC_TRIGGERDLY_MASK);}


Member Data Documentation

uint32_t DTLocalTriggerSectorCollectorSubHeaderWord::word_ [private]

Definition at line 1020 of file DTDDUWords.h.

Referenced by LocalBunchCounter(), and TriggerDelay().


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