CMS 3D CMS Logo

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

Constructor & Destructor Documentation

CSCVirtexID::CSCVirtexID ( )
inline

size of virtex ID bits = 6 bytes

Definition at line 88 of file CSCALCTHeader2007.h.

References CSCALCT::sizeInWords().

88  {
89  bzero(this, sizeInWords()*2);
90  }
short unsigned int sizeInWords() const

Member Function Documentation

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

Definition at line 92 of file CSCALCTHeader2007.h.

References CSCALCT::sizeInWords().

Referenced by CSCALCTHeader::CSCALCTHeader().

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

size of VirtexID

Definition at line 96 of file CSCALCTHeader2007.h.

Referenced by CSCALCTHeader::CSCALCTHeader().

96  {
97  return 3;
98  }

Member Data Documentation

unsigned CSCVirtexID::flag0

Definition at line 101 of file CSCALCTHeader2007.h.

unsigned CSCVirtexID::flag1

Definition at line 104 of file CSCALCTHeader2007.h.

unsigned CSCVirtexID::flag2

Definition at line 109 of file CSCALCTHeader2007.h.

unsigned CSCVirtexID::reserved

Definition at line 108 of file CSCALCTHeader2007.h.

unsigned CSCVirtexID::trReg

Definition at line 107 of file CSCALCTHeader2007.h.

unsigned CSCVirtexID::virtexIDHigh

==0

Definition at line 106 of file CSCALCTHeader2007.h.

unsigned CSCVirtexID::virtexIDLow

Definition at line 100 of file CSCALCTHeader2007.h.

unsigned CSCVirtexID::virtexIDMed

==0

Definition at line 103 of file CSCALCTHeader2007.h.