CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Static Public Member Functions | Private Attributes
DTLocalTriggerSectorCollectorSubHeaderWord Class Reference

#include <DTDDUWords.h>

Public Member Functions

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

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:
2009/05/07 07:57:03
Revision:
1.13
Author
R. Travaglini - INFN Bologna

Definition at line 1005 of file DTDDUWords.h.

Constructor & Destructor Documentation

DTLocalTriggerSectorCollectorSubHeaderWord::DTLocalTriggerSectorCollectorSubHeaderWord ( )
inline

Constructor.

Definition at line 1010 of file DTDDUWords.h.

1010 {}
DTLocalTriggerSectorCollectorSubHeaderWord::DTLocalTriggerSectorCollectorSubHeaderWord ( const DTLocalTriggerSectorCollectorSubHeaderWord obj)
inline

Definition at line 1012 of file DTDDUWords.h.

References getGTfromDQMFile::obj.

1012 { *this = obj; }
DTLocalTriggerSectorCollectorSubHeaderWord::DTLocalTriggerSectorCollectorSubHeaderWord ( const uint32_t  index)
inline

Definition at line 1014 of file DTDDUWords.h.

virtual DTLocalTriggerSectorCollectorSubHeaderWord::~DTLocalTriggerSectorCollectorSubHeaderWord ( )
inlinevirtual

Destructor.

Definition at line 1018 of file DTDDUWords.h.

1018 {}

Member Function Documentation

int DTLocalTriggerSectorCollectorSubHeaderWord::LocalBunchCounter ( ) const
inline

Definition at line 1021 of file DTDDUWords.h.

References SC_BXC_MASK, and word_.

Referenced by DTROS25Unpacker::interpretRawData().

1021 { return (word_ & SC_BXC_MASK );}
#define SC_BXC_MASK
Definition: DTDDUWords.h:80
static void DTLocalTriggerSectorCollectorSubHeaderWord::set ( uint32_t &  word,
int  trigdly,
int  bxcount 
)
inlinestatic

Definition at line 1024 of file DTDDUWords.h.

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

Referenced by betterConfigParser.BetterConfigParser::getGeneral().

1026  {
1027 
1028  word =
1031  (trigdly & SC_TRIGGERDLY_MASK) << SC_TRIGGERDLY_SHIFT |
1032  (bxcount & SC_BXC_MASK) ;
1033  }
#define WORDCONTROLSHIFT
Definition: DTDDUWords.h:11
#define SC_TRIGGERDLY_MASK
Definition: DTDDUWords.h:78
#define SC_TRIGGERDLY_SHIFT
Definition: DTDDUWords.h:79
static const uint32_t scTypeWord
Definition: DTDDUWords.h:193
#define WORDTYPESHIFT
Definition: DTDDUWords.h:13
#define SC_BXC_MASK
Definition: DTDDUWords.h:80
static const uint32_t headerControlWord
Control bits definitions.
Definition: DTDDUWords.h:183
int DTLocalTriggerSectorCollectorSubHeaderWord::TriggerDelay ( ) const
inline

Definition at line 1020 of file DTDDUWords.h.

References SC_TRIGGERDLY_MASK, SC_TRIGGERDLY_SHIFT, and word_.

Referenced by DTROS25Unpacker::interpretRawData().

1020 { return ((word_ >>SC_TRIGGERDLY_SHIFT ) & SC_TRIGGERDLY_MASK);}
#define SC_TRIGGERDLY_MASK
Definition: DTDDUWords.h:78
#define SC_TRIGGERDLY_SHIFT
Definition: DTDDUWords.h:79

Member Data Documentation

uint32_t DTLocalTriggerSectorCollectorSubHeaderWord::word_
private

Definition at line 1037 of file DTDDUWords.h.

Referenced by LocalBunchCounter(), and TriggerDelay().