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

Constructor & Destructor Documentation

◆ CSCHotChannelMask()

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

◆ setFromBuffer()

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

Definition at line 148 of file CSCALCTHeader2007.h.

References visDQMUpload::buf, and sizeInWords().

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

◆ sizeInWords()

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

◆ flag

unsigned CSCHotChannelMask::flag

Definition at line 156 of file CSCALCTHeader2007.h.

◆ hotChannelMask

unsigned CSCHotChannelMask::hotChannelMask

Definition at line 154 of file CSCALCTHeader2007.h.

◆ reserved

unsigned CSCHotChannelMask::reserved

Definition at line 155 of file CSCALCTHeader2007.h.