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

Constructor & Destructor Documentation

◆ CSCConfigurationRegister()

CSCConfigurationRegister::CSCConfigurationRegister ( )
inline

Definition at line 106 of file CSCALCTHeader2007.h.

106 { bzero(this, sizeInWords() * 2); }

References sizeInWords().

Member Function Documentation

◆ setFromBuffer()

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

Definition at line 108 of file CSCALCTHeader2007.h.

108 { memcpy(this, buf, sizeInWords() * 2); }

References visDQMUpload::buf, and sizeInWords().

Referenced by CSCALCTHeader::CSCALCTHeader().

◆ sizeInWords()

short unsigned int CSCConfigurationRegister::sizeInWords ( ) const
inline

size of ConfigReg

Definition at line 110 of file CSCALCTHeader2007.h.

110  {
111  return 5;
112  }

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

Member Data Documentation

◆ configRegister0

unsigned CSCConfigurationRegister::configRegister0

Definition at line 114 of file CSCALCTHeader2007.h.

◆ configRegister1

unsigned CSCConfigurationRegister::configRegister1

==0

Definition at line 117 of file CSCALCTHeader2007.h.

◆ configRegister2

unsigned CSCConfigurationRegister::configRegister2

==0

Definition at line 120 of file CSCALCTHeader2007.h.

◆ configRegister3

unsigned CSCConfigurationRegister::configRegister3

==0

Definition at line 123 of file CSCALCTHeader2007.h.

◆ configRegister4

unsigned CSCConfigurationRegister::configRegister4

==0

Definition at line 126 of file CSCALCTHeader2007.h.

◆ flag0

unsigned CSCConfigurationRegister::flag0

Definition at line 115 of file CSCALCTHeader2007.h.

◆ flag1

unsigned CSCConfigurationRegister::flag1

Definition at line 118 of file CSCALCTHeader2007.h.

◆ flag2

unsigned CSCConfigurationRegister::flag2

Definition at line 121 of file CSCALCTHeader2007.h.

◆ flag3

unsigned CSCConfigurationRegister::flag3

Definition at line 124 of file CSCALCTHeader2007.h.

◆ flag4

unsigned CSCConfigurationRegister::flag4

Definition at line 128 of file CSCALCTHeader2007.h.

◆ reserved

unsigned CSCConfigurationRegister::reserved

Definition at line 127 of file CSCALCTHeader2007.h.

CSCConfigurationRegister::sizeInWords
short unsigned int sizeInWords() const
Definition: CSCALCTHeader2007.h:110
visDQMUpload.buf
buf
Definition: visDQMUpload.py:154