CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 ( )
inline

Definition at line 132 of file CSCALCTHeader2007.h.

References sizeInWords().

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

Member Function Documentation

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

Definition at line 134 of file CSCALCTHeader2007.h.

References sizeInWords().

134 { memcpy(this, buf, sizeInWords() * 2); }
short unsigned int sizeInWords() const
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

unsigned CSCCollisionMask::collisionMaskRegister

Definition at line 140 of file CSCALCTHeader2007.h.

unsigned CSCCollisionMask::flag

Definition at line 142 of file CSCALCTHeader2007.h.

unsigned CSCCollisionMask::reserved

Definition at line 141 of file CSCALCTHeader2007.h.