CMS 3D CMS Logo

Public Member Functions | Public Attributes

CSCALCTs2006 Struct Reference

#include <CSCALCTHeader2006.h>

List of all members.

Public Member Functions

void add (const std::vector< CSCALCTDigi > &digis)
 should try to sort, but doesn't for now
void addALCT0 (const CSCALCTDigi &digi)
void addALCT1 (const CSCALCTDigi &digi)
std::vector< CSCALCTDigiALCTDigis () const
 CSCALCTs2006 ()
short unsigned int sizeInWords () const

Public Attributes

unsigned alct0_accel: 1
unsigned alct0_bxn_high:2
unsigned alct0_bxn_low: 3
unsigned alct0_key_wire: 7
unsigned alct0_pattern: 1
unsigned alct0_quality: 2
unsigned alct0_reserved:13
unsigned alct0_valid: 1
unsigned alct1_accel: 1
unsigned alct1_bxn_high:2
unsigned alct1_bxn_low: 3
unsigned alct1_key_wire: 7
unsigned alct1_pattern: 1
unsigned alct1_quality: 2
unsigned alct1_reserved:13
unsigned alct1_valid: 1
 2nd LCT lower 15 bits
unsigned flag_4: 1
 DDU+LCT special word flags.
unsigned flag_5: 1
 DDU+LCT special word flags.
unsigned flag_6: 1
unsigned flag_7: 1

Detailed Description

Definition at line 76 of file CSCALCTHeader2006.h.


Constructor & Destructor Documentation

CSCALCTs2006::CSCALCTs2006 ( ) [inline]

size of ALCT = 2bytes

Definition at line 77 of file CSCALCTHeader2006.h.

                 {
    bzero(this, 8); 
  }

Member Function Documentation

void CSCALCTs2006::add ( const std::vector< CSCALCTDigi > &  digis)

should try to sort, but doesn't for now

Definition at line 61 of file CSCALCTHeader2006.cc.

References addALCT0(), and addALCT1().

Referenced by CSCALCTHeader::add().

{
  //FIXME doesn't do any sorting
  if(digis.size() > 0) addALCT0(digis[0]);
  if(digis.size() > 1) addALCT1(digis[1]);
}
void CSCALCTs2006::addALCT0 ( const CSCALCTDigi digi)
void CSCALCTs2006::addALCT1 ( const CSCALCTDigi digi)
std::vector< CSCALCTDigi > CSCALCTs2006::ALCTDigis ( ) const
short unsigned int CSCALCTs2006::sizeInWords ( ) const [inline]

size of ALCT

Definition at line 81 of file CSCALCTHeader2006.h.

Referenced by CSCALCTHeader::CSCALCTHeader(), and CSCALCTHeader::pack().

                                         { 
    return 4;
  }

Member Data Documentation

Definition at line 96 of file CSCALCTHeader2006.h.

Referenced by addALCT0(), and ALCTDigis().

Definition at line 103 of file CSCALCTHeader2006.h.

Referenced by ALCTDigis().

Definition at line 99 of file CSCALCTHeader2006.h.

Referenced by addALCT0(), and ALCTDigis().

Definition at line 98 of file CSCALCTHeader2006.h.

Referenced by addALCT0(), and ALCTDigis().

Definition at line 97 of file CSCALCTHeader2006.h.

Referenced by addALCT0(), and ALCTDigis().

Definition at line 95 of file CSCALCTHeader2006.h.

Referenced by addALCT0(), and ALCTDigis().

Definition at line 104 of file CSCALCTHeader2006.h.

Definition at line 111 of file CSCALCTHeader2006.h.

Referenced by addALCT1(), and ALCTDigis().

Definition at line 117 of file CSCALCTHeader2006.h.

Referenced by ALCTDigis().

Definition at line 114 of file CSCALCTHeader2006.h.

Referenced by addALCT1(), and ALCTDigis().

Definition at line 113 of file CSCALCTHeader2006.h.

Referenced by addALCT1(), and ALCTDigis().

Definition at line 112 of file CSCALCTHeader2006.h.

Referenced by addALCT1(), and ALCTDigis().

Definition at line 110 of file CSCALCTHeader2006.h.

Referenced by addALCT1(), and ALCTDigis().

Definition at line 118 of file CSCALCTHeader2006.h.

2nd LCT lower 15 bits

Definition at line 109 of file CSCALCTHeader2006.h.

Referenced by addALCT1(), and ALCTDigis().

DDU+LCT special word flags.

Definition at line 101 of file CSCALCTHeader2006.h.

DDU+LCT special word flags.

Definition at line 106 of file CSCALCTHeader2006.h.

Definition at line 115 of file CSCALCTHeader2006.h.

Definition at line 119 of file CSCALCTHeader2006.h.