CMS 3D CMS Logo

CSCCLCTDataWord Struct Reference

#include <EventFilter/CSCRawToDigi/interface/CSCCLCTData.h>

List of all members.

Public Member Functions

 CSCCLCTDataWord (unsigned cfeb, unsigned tbin, unsigned data)
void set (int distrip, bool value)
 @ not right! doesn't set zero
bool value (int distrip)

Public Attributes

unsigned short cfeb_: 4
unsigned short data_: 8
unsigned short tbin_: 4


Detailed Description

Definition at line 7 of file CSCCLCTData.h.


Constructor & Destructor Documentation

CSCCLCTDataWord::CSCCLCTDataWord ( unsigned  cfeb,
unsigned  tbin,
unsigned  data 
) [inline]

Definition at line 8 of file CSCCLCTData.h.

00009   : data_(data), tbin_(tbin), cfeb_(cfeb) {}


Member Function Documentation

void CSCCLCTDataWord::set ( int  distrip,
bool  value 
) [inline]

@ not right! doesn't set zero

Definition at line 12 of file CSCCLCTData.h.

References data_, and value().

Referenced by CSCCLCTData::add().

00012 {data_ |= (value << distrip);}

bool CSCCLCTDataWord::value ( int  distrip  )  [inline]

Definition at line 10 of file CSCCLCTData.h.

References data_.

Referenced by CSCCLCTData::bitValue(), and set().

00010 {return (data_ >> distrip) & 0x1;}


Member Data Documentation

unsigned short CSCCLCTDataWord::cfeb_

Definition at line 15 of file CSCCLCTData.h.

Referenced by CSCCLCTData::check(), and CSCCLCTData::comparatorDigis().

unsigned short CSCCLCTDataWord::data_

Definition at line 13 of file CSCCLCTData.h.

Referenced by set(), and value().

unsigned short CSCCLCTDataWord::tbin_

Definition at line 14 of file CSCCLCTData.h.

Referenced by CSCCLCTData::check(), and CSCCLCTData::comparatorDigis().


The documentation for this struct was generated from the following file:
Generated on Tue Jun 9 18:17:08 2009 for CMSSW by  doxygen 1.5.4