CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Static Public Member Functions | Public Attributes
CSCALCT Struct Reference

#include <CSCALCTHeader2007.h>

Public Member Functions

 CSCALCT ()
 
 CSCALCT (const CSCALCTDigi &alctDigi)
 

Static Public Member Functions

static short unsigned int sizeInWords ()
 

Public Attributes

unsigned accel: 1
 
unsigned keyWire: 7
 
unsigned pattern: 1
 
unsigned quality: 2
 
unsigned reserved: 4
 
unsigned valid: 1
 

Detailed Description

Definition at line 17 of file CSCALCTHeader2007.h.

Constructor & Destructor Documentation

CSCALCT::CSCALCT ( )

size of ALCT = 2bytes

Definition at line 4 of file CSCALCTHeader2007.cc.

4  {
5  bzero(this, 2);
6 }
CSCALCT::CSCALCT ( const CSCALCTDigi alctDigi)

Definition at line 9 of file CSCALCTHeader2007.cc.

9  :
10  valid(alctDigi.isValid()),
11  quality(alctDigi.getQuality()),
12  accel(alctDigi.getAccelerator()),
13  pattern(alctDigi.getCollisionB()),
14  keyWire(alctDigi.getKeyWG()),
15  reserved(0)
16 {
17 }
bool isValid() const
check ALCT validity (1 - valid ALCT)
Definition: CSCALCTDigi.h:30
unsigned valid
unsigned pattern
unsigned reserved
unsigned accel
int getQuality() const
return quality of a pattern
Definition: CSCALCTDigi.h:33
int getAccelerator() const
Definition: CSCALCTDigi.h:37
unsigned quality
unsigned keyWire
int getKeyWG() const
return key wire group
Definition: CSCALCTDigi.h:45
int getCollisionB() const
Definition: CSCALCTDigi.h:42

Member Function Documentation

static short unsigned int CSCALCT::sizeInWords ( )
inlinestatic

Definition at line 20 of file CSCALCTHeader2007.h.

Referenced by CSCALCTHeader::CSCALCTHeader().

20 {return 1; }

Member Data Documentation

unsigned CSCALCT::accel

Definition at line 24 of file CSCALCTHeader2007.h.

unsigned CSCALCT::keyWire

Definition at line 26 of file CSCALCTHeader2007.h.

unsigned CSCALCT::pattern

Definition at line 25 of file CSCALCTHeader2007.h.

Referenced by dataset.BaseDataset::printFiles().

unsigned CSCALCT::quality

Definition at line 23 of file CSCALCTHeader2007.h.

unsigned CSCALCT::reserved

Definition at line 27 of file CSCALCTHeader2007.h.

unsigned CSCALCT::valid

Definition at line 22 of file CSCALCTHeader2007.h.