CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
CSCHotChannelMask Struct Reference

#include <CSCALCTHeader2007.h>

Public Member Functions

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

Public Attributes

unsigned flag: 1
 
unsigned hotChannelMask: 12
 
unsigned reserved: 3
 

Detailed Description

Definition at line 161 of file CSCALCTHeader2007.h.

Constructor & Destructor Documentation

CSCHotChannelMask::CSCHotChannelMask ( )
inline

Definition at line 162 of file CSCALCTHeader2007.h.

References CSCALCT::sizeInWords().

162  {
163  bzero(this, sizeInWords()*2);
164  }
short unsigned int sizeInWords() const

Member Function Documentation

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

Definition at line 166 of file CSCALCTHeader2007.h.

References CSCALCT::sizeInWords().

166  {
167  memcpy(this, buf, sizeInWords()*2);
168  }
short unsigned int sizeInWords() const
short unsigned int CSCHotChannelMask::sizeInWords ( ) const
inline

size of one HotChannMask word

Definition at line 170 of file CSCALCTHeader2007.h.

170  {
171  return 1;
172  }

Member Data Documentation

unsigned CSCHotChannelMask::flag

Definition at line 176 of file CSCALCTHeader2007.h.

unsigned CSCHotChannelMask::hotChannelMask

Definition at line 174 of file CSCALCTHeader2007.h.

unsigned CSCHotChannelMask::reserved

Definition at line 175 of file CSCALCTHeader2007.h.