CMS 3D CMS Logo

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 112 of file CSCALCTHeader2007.h.

Constructor & Destructor Documentation

CSCConfigurationRegister::CSCConfigurationRegister ( )
inline

Definition at line 113 of file CSCALCTHeader2007.h.

References CSCALCT::sizeInWords().

113  {
114  bzero(this, sizeInWords()*2);
115  }
short unsigned int sizeInWords() const

Member Function Documentation

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

Definition at line 117 of file CSCALCTHeader2007.h.

References CSCALCT::sizeInWords().

Referenced by CSCALCTHeader::CSCALCTHeader().

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

size of ConfigReg

Definition at line 121 of file CSCALCTHeader2007.h.

Referenced by CSCALCTHeader::CSCALCTHeader().

121  {
122  return 5;
123  }

Member Data Documentation

unsigned CSCConfigurationRegister::configRegister0

Definition at line 126 of file CSCALCTHeader2007.h.

unsigned CSCConfigurationRegister::configRegister1

==0

Definition at line 129 of file CSCALCTHeader2007.h.

unsigned CSCConfigurationRegister::configRegister2

==0

Definition at line 132 of file CSCALCTHeader2007.h.

unsigned CSCConfigurationRegister::configRegister3

==0

Definition at line 135 of file CSCALCTHeader2007.h.

unsigned CSCConfigurationRegister::configRegister4

==0

Definition at line 138 of file CSCALCTHeader2007.h.

unsigned CSCConfigurationRegister::flag0

Definition at line 127 of file CSCALCTHeader2007.h.

unsigned CSCConfigurationRegister::flag1

Definition at line 130 of file CSCALCTHeader2007.h.

unsigned CSCConfigurationRegister::flag2

Definition at line 133 of file CSCALCTHeader2007.h.

unsigned CSCConfigurationRegister::flag3

Definition at line 136 of file CSCALCTHeader2007.h.

unsigned CSCConfigurationRegister::flag4

Definition at line 140 of file CSCALCTHeader2007.h.

unsigned CSCConfigurationRegister::reserved

Definition at line 139 of file CSCALCTHeader2007.h.