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.

References sizeInWords().

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

Member Function Documentation

◆ setFromBuffer()

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

Definition at line 134 of file CSCALCTHeader2007.h.

References visDQMUpload::buf, and sizeInWords().

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

◆ sizeInWords()

short unsigned int CSCCollisionMask::sizeInWords ( ) const
inline

size of one CollMask word

Definition at line 136 of file CSCALCTHeader2007.h.

Referenced by CSCCollisionMask(), and setFromBuffer().

136  {
137  return 1;
138  }

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.