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
CSCVirtexID Struct Reference

#include <CSCALCTHeader2007.h>

Public Member Functions

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

Public Attributes

unsigned flag0: 1
 
unsigned flag1: 1
 
unsigned flag2: 1
 
unsigned reserved: 2
 
unsigned trReg: 3
 
unsigned virtexIDHigh: 10
 ==0 More...
 
unsigned virtexIDLow: 15
 
unsigned virtexIDMed: 15
 ==0 More...
 

Detailed Description

Definition at line 82 of file CSCALCTHeader2007.h.

Constructor & Destructor Documentation

CSCVirtexID::CSCVirtexID ( )
inline

size of virtex ID bits = 6 bytes

Definition at line 83 of file CSCALCTHeader2007.h.

References sizeInWords().

83  {
84  bzero(this, sizeInWords() * 2);
85  }
short unsigned int sizeInWords() const

Member Function Documentation

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

Definition at line 87 of file CSCALCTHeader2007.h.

References sizeInWords().

Referenced by CSCALCTHeader::CSCALCTHeader().

87 { memcpy(this, buf, sizeInWords() * 2); }
short unsigned int sizeInWords() const
short unsigned int CSCVirtexID::sizeInWords ( ) const
inline

size of VirtexID

Definition at line 89 of file CSCALCTHeader2007.h.

Referenced by CSCALCTHeader::CSCALCTHeader(), CSCVirtexID(), and setFromBuffer().

89  {
90  return 3;
91  }

Member Data Documentation

unsigned CSCVirtexID::flag0

Definition at line 94 of file CSCALCTHeader2007.h.

unsigned CSCVirtexID::flag1

Definition at line 97 of file CSCALCTHeader2007.h.

unsigned CSCVirtexID::flag2

Definition at line 102 of file CSCALCTHeader2007.h.

unsigned CSCVirtexID::reserved

Definition at line 101 of file CSCALCTHeader2007.h.

unsigned CSCVirtexID::trReg

Definition at line 100 of file CSCALCTHeader2007.h.

unsigned CSCVirtexID::virtexIDHigh

==0

Definition at line 99 of file CSCALCTHeader2007.h.

unsigned CSCVirtexID::virtexIDLow

Definition at line 93 of file CSCALCTHeader2007.h.

unsigned CSCVirtexID::virtexIDMed

==0

Definition at line 96 of file CSCALCTHeader2007.h.