#include <EventFilter/CSCTFRawToDigi/old/CSCTFTBDTData.h>
Public Member Functions | |
unsigned | bc0Packed () const |
unsigned | bxPacked () const |
bool | check () const |
check to see if data format is ok (1 = good, 0 = bad) | |
CSCTFTBDTData (const CSCTFTBDTData &) | |
CSCTFTBDTData (unsigned quality, unsigned bend, unsigned flag, unsigned calib, unsigned phi, unsigned bx, unsigned bc0) | |
CSCTFTBDTData () | |
unsigned | phiBendPacked () const |
unsigned | phiPacked () const |
unsigned | qualityPacked () const |
~CSCTFTBDTData () | |
Static Public Member Functions | |
static unsigned | size () |
make a bitvector | |
Private Attributes | |
unsigned | bc0_:1 |
unsigned | bend_:5 |
unsigned | bx_:2 |
unsigned | calib_:1 |
unsigned | flag_:1 |
unsigned | phi_:12 |
unsigned | quality_:3 |
unsigned | zero1_:1 |
unsigned | zero2_:3 |
unsigned | zero3_:2 |
unsigned | zero4_:1 |
Static Private Attributes | |
static const unsigned | size_ = 2 |
Friends | |
std::ostream & | operator<< (std::ostream &stream, const CSCTFTBDTData &) |
pretty-print |
Definition at line 65 of file CSCTFTBDTData.h.
CSCTFTBDTData::CSCTFTBDTData | ( | ) |
CSCTFTBDTData::CSCTFTBDTData | ( | unsigned | quality, | |
unsigned | bend, | |||
unsigned | flag, | |||
unsigned | calib, | |||
unsigned | phi, | |||
unsigned | bx, | |||
unsigned | bc0 | |||
) |
CSCTFTBDTData::CSCTFTBDTData | ( | const CSCTFTBDTData & | parent | ) |
Definition at line 62 of file CSCTFTBDTData.cc.
References size().
00063 { 00064 memcpy(this,&parent,size()*sizeof(unsigned short)); 00065 }
CSCTFTBDTData::~CSCTFTBDTData | ( | ) |
unsigned CSCTFTBDTData::bc0Packed | ( | ) | const [inline] |
unsigned CSCTFTBDTData::bxPacked | ( | ) | const [inline] |
bool CSCTFTBDTData::check | ( | ) | const [inline] |
unsigned CSCTFTBDTData::phiBendPacked | ( | ) | const [inline] |
unsigned CSCTFTBDTData::phiPacked | ( | ) | const [inline] |
unsigned CSCTFTBDTData::qualityPacked | ( | ) | const [inline] |
static unsigned CSCTFTBDTData::size | ( | void | ) | [inline, static] |
make a bitvector
Definition at line 101 of file CSCTFTBDTData.h.
References size_.
Referenced by CSCTFTBDTData(), and CSCTFTBSPBlock::unpackData().
00101 {return size_;}
std::ostream& operator<< | ( | std::ostream & | stream, | |
const CSCTFTBDTData & | dtData | |||
) | [friend] |
pretty-print
Definition at line 77 of file CSCTFTBDTData.cc.
00078 { 00079 stream << " DT Track Stub:\n\t " <<"Quality: " << dtData.quality_ << " Phi: " << dtData.phi_ 00080 << " Phi Bend: " << dtData.bend_ << " BX: " << dtData.bx_ << " BC0: " << dtData.bc0_ << std::endl; 00081 return stream; 00082 }
unsigned CSCTFTBDTData::bc0_ [private] |
unsigned CSCTFTBDTData::bend_ [private] |
unsigned CSCTFTBDTData::bx_ [private] |
unsigned CSCTFTBDTData::calib_ [private] |
Definition at line 112 of file CSCTFTBDTData.h.
unsigned CSCTFTBDTData::flag_ [private] |
Definition at line 111 of file CSCTFTBDTData.h.
unsigned CSCTFTBDTData::phi_ [private] |
unsigned CSCTFTBDTData::quality_ [private] |
const unsigned CSCTFTBDTData::size_ = 2 [static, private] |
unsigned CSCTFTBDTData::zero1_ [private] |
unsigned CSCTFTBDTData::zero2_ [private] |
unsigned CSCTFTBDTData::zero3_ [private] |
unsigned CSCTFTBDTData::zero4_ [private] |