CMS 3D CMS Logo

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

#include <CSCALCTHeader2007.h>

Public Member Functions

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

Public Attributes

unsigned collisionMaskRegister: 14
 
unsigned flag: 1
 
unsigned reserved: 1
 

Detailed Description

Definition at line 131 of file CSCALCTHeader2007.h.

Constructor & Destructor Documentation

◆ CSCCollisionMask()

CSCCollisionMask::CSCCollisionMask ( )
inline

Definition at line 132 of file CSCALCTHeader2007.h.

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

References sizeInWords().

Member Function Documentation

◆ setFromBuffer()

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

Definition at line 134 of file CSCALCTHeader2007.h.

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

References visDQMUpload::buf, and sizeInWords().

◆ sizeInWords()

short unsigned int CSCCollisionMask::sizeInWords ( ) const
inline

size of one CollMask word

Definition at line 136 of file CSCALCTHeader2007.h.

136  {
137  return 1;
138  }

Referenced by CSCCollisionMask(), and setFromBuffer().

Member Data Documentation

◆ collisionMaskRegister

unsigned CSCCollisionMask::collisionMaskRegister

Definition at line 140 of file CSCALCTHeader2007.h.

◆ flag

unsigned CSCCollisionMask::flag

Definition at line 142 of file CSCALCTHeader2007.h.

◆ reserved

unsigned CSCCollisionMask::reserved

Definition at line 141 of file CSCALCTHeader2007.h.

visDQMUpload.buf
buf
Definition: visDQMUpload.py:160
CSCCollisionMask::sizeInWords
short unsigned int sizeInWords() const
Definition: CSCALCTHeader2007.h:136