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

Constructor & Destructor Documentation

◆ CSCVirtexID()

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

◆ setFromBuffer()

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

Definition at line 87 of file CSCALCTHeader2007.h.

References visDQMUpload::buf, and sizeInWords().

Referenced by CSCALCTHeader::CSCALCTHeader().

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

◆ sizeInWords()

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

◆ flag0

unsigned CSCVirtexID::flag0

Definition at line 94 of file CSCALCTHeader2007.h.

◆ flag1

unsigned CSCVirtexID::flag1

Definition at line 97 of file CSCALCTHeader2007.h.

◆ flag2

unsigned CSCVirtexID::flag2

Definition at line 102 of file CSCALCTHeader2007.h.

◆ reserved

unsigned CSCVirtexID::reserved

Definition at line 101 of file CSCALCTHeader2007.h.

◆ trReg

unsigned CSCVirtexID::trReg

Definition at line 100 of file CSCALCTHeader2007.h.

◆ virtexIDHigh

unsigned CSCVirtexID::virtexIDHigh

==0

Definition at line 99 of file CSCALCTHeader2007.h.

◆ virtexIDLow

unsigned CSCVirtexID::virtexIDLow

Definition at line 93 of file CSCALCTHeader2007.h.

◆ virtexIDMed

unsigned CSCVirtexID::virtexIDMed

==0

Definition at line 96 of file CSCALCTHeader2007.h.