CMS 3D CMS Logo

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

#include <CSCCLCTData.h>

Public Member Functions

 CSCCLCTDataWord (unsigned cfeb, unsigned tbin, unsigned data)
 
void set (int distrip, bool value)
 @ not right! doesn't set zero More...
 
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.

9  : data_(data), tbin_(tbin), cfeb_(cfeb) {}
unsigned short data_
Definition: CSCCLCTData.h:13
unsigned short cfeb_
Definition: CSCCLCTData.h:15
unsigned short tbin_
Definition: CSCCLCTData.h:14
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82

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_.

Referenced by CSCCLCTData::add(), and betterConfigParser.BetterConfigParser::getGeneral().

12 {data_ |= (value << distrip);}
unsigned short data_
Definition: CSCCLCTData.h:13
bool value(int distrip)
Definition: CSCCLCTData.h:10
bool CSCCLCTDataWord::value ( int  distrip)
inline

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().