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

Constructor & Destructor Documentation

CSCCollisionMask::CSCCollisionMask ( )
inline

Definition at line 144 of file CSCALCTHeader2007.h.

References CSCALCT::sizeInWords().

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

Member Function Documentation

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

Definition at line 148 of file CSCALCTHeader2007.h.

References CSCALCT::sizeInWords().

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

size of one CollMask word

Definition at line 152 of file CSCALCTHeader2007.h.

152  {
153  return 1;
154  }

Member Data Documentation

unsigned CSCCollisionMask::collisionMaskRegister

Definition at line 156 of file CSCALCTHeader2007.h.

unsigned CSCCollisionMask::flag

Definition at line 158 of file CSCALCTHeader2007.h.

unsigned CSCCollisionMask::reserved

Definition at line 157 of file CSCALCTHeader2007.h.