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.

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

References sizeInWords().

Member Function Documentation

◆ setFromBuffer()

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

Definition at line 148 of file CSCALCTHeader2007.h.

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

References visDQMUpload::buf, and sizeInWords().

◆ sizeInWords()

short unsigned int CSCHotChannelMask::sizeInWords ( ) const
inline

size of one HotChannMask word

Definition at line 150 of file CSCALCTHeader2007.h.

150  {
151  return 1;
152  }

Referenced by CSCHotChannelMask(), and setFromBuffer().

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.

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