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

Constructor & Destructor Documentation

CSCHotChannelMask::CSCHotChannelMask ( )
inline

Definition at line 146 of file CSCALCTHeader2007.h.

References sizeInWords().

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

Member Function Documentation

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

Definition at line 148 of file CSCALCTHeader2007.h.

References sizeInWords().

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

size of one HotChannMask word

Definition at line 150 of file CSCALCTHeader2007.h.

Referenced by CSCHotChannelMask(), and setFromBuffer().

150  {
151  return 1;
152  }

Member Data Documentation

unsigned CSCHotChannelMask::flag

Definition at line 156 of file CSCALCTHeader2007.h.

unsigned CSCHotChannelMask::hotChannelMask

Definition at line 154 of file CSCALCTHeader2007.h.

unsigned CSCHotChannelMask::reserved

Definition at line 155 of file CSCALCTHeader2007.h.