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 13 of file CSCCLCTData.h.

Constructor & Destructor Documentation

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

Definition at line 14 of file CSCCLCTData.h.

15  : data_(data), tbin_(tbin), cfeb_(cfeb) {}
unsigned short data_
Definition: CSCCLCTData.h:19
unsigned short cfeb_
Definition: CSCCLCTData.h:21
unsigned short tbin_
Definition: CSCCLCTData.h:20
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 18 of file CSCCLCTData.h.

References data_.

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

18 {data_ |= (value << distrip);}
unsigned short data_
Definition: CSCCLCTData.h:19
bool value(int distrip)
Definition: CSCCLCTData.h:16
bool CSCCLCTDataWord::value ( int  distrip)
inline

Member Data Documentation

unsigned short CSCCLCTDataWord::cfeb_

Definition at line 21 of file CSCCLCTData.h.

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

unsigned short CSCCLCTDataWord::data_

Definition at line 19 of file CSCCLCTData.h.

Referenced by set(), and value().

unsigned short CSCCLCTDataWord::tbin_

Definition at line 20 of file CSCCLCTData.h.

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