CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Public Attributes
CSCConfigurationRegister Struct Reference

#include <CSCALCTHeader2007.h>

Public Member Functions

 CSCConfigurationRegister ()
 
void setFromBuffer (unsigned short const *buf)
 
short unsigned int sizeInWords () const
 

Public Attributes

unsigned configRegister0: 15
 
unsigned configRegister1: 15
 ==0 More...
 
unsigned configRegister2: 15
 ==0 More...
 
unsigned configRegister3: 15
 ==0 More...
 
unsigned configRegister4: 9
 ==0 More...
 
unsigned flag0: 1
 
unsigned flag1: 1
 
unsigned flag2: 1
 
unsigned flag3: 1
 
unsigned flag4: 1
 
unsigned reserved: 6
 

Detailed Description

Definition at line 105 of file CSCALCTHeader2007.h.

Constructor & Destructor Documentation

CSCConfigurationRegister::CSCConfigurationRegister ( )
inline

Definition at line 106 of file CSCALCTHeader2007.h.

References sizeInWords().

106 { bzero(this, sizeInWords() * 2); }
short unsigned int sizeInWords() const

Member Function Documentation

void CSCConfigurationRegister::setFromBuffer ( unsigned short const *  buf)
inline

Definition at line 108 of file CSCALCTHeader2007.h.

References sizeInWords().

Referenced by CSCALCTHeader::CSCALCTHeader().

108 { memcpy(this, buf, sizeInWords() * 2); }
short unsigned int sizeInWords() const
short unsigned int CSCConfigurationRegister::sizeInWords ( ) const
inline

size of ConfigReg

Definition at line 110 of file CSCALCTHeader2007.h.

Referenced by CSCALCTHeader::CSCALCTHeader(), CSCConfigurationRegister(), and setFromBuffer().

110  {
111  return 5;
112  }

Member Data Documentation

unsigned CSCConfigurationRegister::configRegister0

Definition at line 114 of file CSCALCTHeader2007.h.

unsigned CSCConfigurationRegister::configRegister1

==0

Definition at line 117 of file CSCALCTHeader2007.h.

unsigned CSCConfigurationRegister::configRegister2

==0

Definition at line 120 of file CSCALCTHeader2007.h.

unsigned CSCConfigurationRegister::configRegister3

==0

Definition at line 123 of file CSCALCTHeader2007.h.

unsigned CSCConfigurationRegister::configRegister4

==0

Definition at line 126 of file CSCALCTHeader2007.h.

unsigned CSCConfigurationRegister::flag0

Definition at line 115 of file CSCALCTHeader2007.h.

unsigned CSCConfigurationRegister::flag1

Definition at line 118 of file CSCALCTHeader2007.h.

unsigned CSCConfigurationRegister::flag2

Definition at line 121 of file CSCALCTHeader2007.h.

unsigned CSCConfigurationRegister::flag3

Definition at line 124 of file CSCALCTHeader2007.h.

unsigned CSCConfigurationRegister::flag4

Definition at line 128 of file CSCALCTHeader2007.h.

unsigned CSCConfigurationRegister::reserved

Definition at line 127 of file CSCALCTHeader2007.h.