CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes | Friends
omtf::CscDataWord64 Class Reference

#include <OmtfCscDataWord64.h>

Public Member Functions

unsigned int bend () const
 
unsigned int bxNum () const
 
unsigned int clctPattern () const
 
 CscDataWord64 (const Word64 &data)
 
 CscDataWord64 ()
 
unsigned int cscID () const
 
unsigned int halfStrip () const
 
unsigned int hitNum () const
 
unsigned int linkNum () const
 
unsigned int quality () const
 
unsigned int station () const
 
unsigned int type () const
 
unsigned int valid () const
 
unsigned int wireGroup () const
 

Private Attributes

union {
   struct {
      uint64_t   af_: 1
 
      uint64_t   bxNum_: 3
 
      uint64_t   cik_: 1
 
      uint64_t   clctPattern_: 4
 
      uint64_t   cscID_: 4
 
      uint64_t   dummy1_: 1
 
      uint64_t   dummy2_: 1
 
      uint64_t   dummy3_: 1
 
      uint64_t   dummy4_: 2
 
      uint64_t   dummy5_: 1
 
      uint64_t   dummy6_: 4
 
      uint64_t   dummy7_: 3
 
      uint64_t   halfStrip_: 8
 
      uint64_t   hitNum_: 1
 
      uint64_t   keyWG_: 7
 
      uint64_t   linkNum_: 6
 
      uint64_t   lr_: 1
 
      uint64_t   nit_: 1
 
      uint64_t   quality_: 4
 
      uint64_t   se_: 1
 
      uint64_t   sm_: 1
 
      uint64_t   station_: 3
 
      uint64_t   type_: 4
 
      uint64_t   vp_: 1
 
   } 
 
   uint64_t   rawData
 
}; 
 

Friends

class CscPacker
 
class OmtfPacker
 
std::ostream & operator<< (std::ostream &out, const CscDataWord64 &o)
 

Detailed Description

Definition at line 9 of file OmtfCscDataWord64.h.

Constructor & Destructor Documentation

omtf::CscDataWord64::CscDataWord64 ( const Word64 data)
inline

Definition at line 11 of file OmtfCscDataWord64.h.

11 : rawData(data) {}
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79
omtf::CscDataWord64::CscDataWord64 ( )
inline

Definition at line 12 of file OmtfCscDataWord64.h.

Member Function Documentation

unsigned int omtf::CscDataWord64::bend ( ) const
inline

Definition at line 24 of file OmtfCscDataWord64.h.

References lr_.

Referenced by omtf::operator<<(), and omtf::CscUnpacker::unpack().

24 { return lr_; }
unsigned int omtf::CscDataWord64::bxNum ( ) const
inline

Definition at line 15 of file OmtfCscDataWord64.h.

References bxNum_.

Referenced by omtf::operator<<(), and omtf::CscUnpacker::unpack().

15 { return bxNum_; }
unsigned int omtf::CscDataWord64::clctPattern ( ) const
inline

Definition at line 19 of file OmtfCscDataWord64.h.

References clctPattern_.

Referenced by omtf::operator<<(), and omtf::CscUnpacker::unpack().

19 { return clctPattern_; }
unsigned int omtf::CscDataWord64::cscID ( ) const
inline

Definition at line 20 of file OmtfCscDataWord64.h.

References cscID_.

Referenced by omtf::operator<<().

20 { return cscID_; }
unsigned int omtf::CscDataWord64::halfStrip ( ) const
inline

Definition at line 21 of file OmtfCscDataWord64.h.

References halfStrip_.

Referenced by omtf::operator<<(), and omtf::CscUnpacker::unpack().

21 { return halfStrip_; }
unsigned int omtf::CscDataWord64::hitNum ( ) const
inline

Definition at line 16 of file OmtfCscDataWord64.h.

References hitNum_.

Referenced by omtf::operator<<(), and omtf::CscUnpacker::unpack().

16 { return hitNum_; }
unsigned int omtf::CscDataWord64::linkNum ( ) const
inline

Definition at line 22 of file OmtfCscDataWord64.h.

References linkNum_.

Referenced by omtf::operator<<(), and omtf::CscUnpacker::unpack().

22 { return linkNum_; }
unsigned int omtf::CscDataWord64::quality ( ) const
inline

Definition at line 18 of file OmtfCscDataWord64.h.

References quality_.

Referenced by omtf::operator<<(), and omtf::CscUnpacker::unpack().

18 { return quality_; }
unsigned int omtf::CscDataWord64::station ( ) const
inline
unsigned int omtf::CscDataWord64::type ( ) const
inline
unsigned int omtf::CscDataWord64::valid ( ) const
inline

Definition at line 25 of file OmtfCscDataWord64.h.

References vp_.

Referenced by omtf::operator<<(), and omtf::CscUnpacker::unpack().

25 { return vp_; }
unsigned int omtf::CscDataWord64::wireGroup ( ) const
inline

Definition at line 17 of file OmtfCscDataWord64.h.

References keyWG_.

Referenced by omtf::operator<<(), and omtf::CscUnpacker::unpack().

17 { return keyWG_; }

Friends And Related Function Documentation

friend class CscPacker
friend

Definition at line 28 of file OmtfCscDataWord64.h.

friend class OmtfPacker
friend

Definition at line 27 of file OmtfCscDataWord64.h.

std::ostream& operator<< ( std::ostream &  out,
const CscDataWord64 o 
)
friend

Definition at line 4 of file OmtfCscDataWord64.cc.

4  {
5  out << "CscDataWord64: "
6  << " type: " << DataWord64::type(o.type()) << " val: " << o.valid() << " bx: " << o.bxNum()
7  << " lnk: " << o.linkNum() << " stat: " << o.station() << " cscId: " << o.cscID() << " hit: " << o.hitNum()
8  << " qual: " << o.quality() << " patt: " << o.clctPattern() << " bending: " << o.bend()
9  << " hs: " << o.halfStrip() << " wg: " << o.wireGroup();
10  return out;
11  }
Type type(const T &)

Member Data Documentation

union { ... }
uint64_t omtf::CscDataWord64::af_

Definition at line 38 of file OmtfCscDataWord64.h.

uint64_t omtf::CscDataWord64::bxNum_

Definition at line 57 of file OmtfCscDataWord64.h.

Referenced by bxNum(), and omtf::CscPacker::pack().

uint64_t omtf::CscDataWord64::cik_

Definition at line 45 of file OmtfCscDataWord64.h.

uint64_t omtf::CscDataWord64::clctPattern_

Definition at line 53 of file OmtfCscDataWord64.h.

Referenced by clctPattern(), and omtf::CscPacker::pack().

uint64_t omtf::CscDataWord64::cscID_

Definition at line 49 of file OmtfCscDataWord64.h.

Referenced by cscID(), and omtf::CscPacker::pack().

uint64_t omtf::CscDataWord64::dummy1_

Definition at line 52 of file OmtfCscDataWord64.h.

uint64_t omtf::CscDataWord64::dummy2_

Definition at line 51 of file OmtfCscDataWord64.h.

uint64_t omtf::CscDataWord64::dummy3_

Definition at line 46 of file OmtfCscDataWord64.h.

uint64_t omtf::CscDataWord64::dummy4_

Definition at line 43 of file OmtfCscDataWord64.h.

uint64_t omtf::CscDataWord64::dummy5_

Definition at line 42 of file OmtfCscDataWord64.h.

uint64_t omtf::CscDataWord64::dummy6_

Definition at line 39 of file OmtfCscDataWord64.h.

uint64_t omtf::CscDataWord64::dummy7_

Definition at line 35 of file OmtfCscDataWord64.h.

uint64_t omtf::CscDataWord64::halfStrip_

Definition at line 48 of file OmtfCscDataWord64.h.

Referenced by halfStrip(), and omtf::CscPacker::pack().

uint64_t omtf::CscDataWord64::hitNum_

Definition at line 56 of file OmtfCscDataWord64.h.

Referenced by hitNum(), and omtf::CscPacker::pack().

uint64_t omtf::CscDataWord64::keyWG_

Definition at line 55 of file OmtfCscDataWord64.h.

Referenced by omtf::CscPacker::pack(), and wireGroup().

uint64_t omtf::CscDataWord64::linkNum_

Definition at line 47 of file OmtfCscDataWord64.h.

Referenced by linkNum(), and omtf::CscPacker::pack().

uint64_t omtf::CscDataWord64::lr_

Definition at line 50 of file OmtfCscDataWord64.h.

Referenced by bend(), and omtf::CscPacker::pack().

uint64_t omtf::CscDataWord64::nit_

Definition at line 44 of file OmtfCscDataWord64.h.

uint64_t omtf::CscDataWord64::quality_

Definition at line 54 of file OmtfCscDataWord64.h.

Referenced by omtf::CscPacker::pack(), and quality().

uint64_t omtf::CscDataWord64::rawData

Definition at line 33 of file OmtfCscDataWord64.h.

Referenced by omtf::CscPacker::pack().

uint64_t omtf::CscDataWord64::se_

Definition at line 41 of file OmtfCscDataWord64.h.

uint64_t omtf::CscDataWord64::sm_

Definition at line 40 of file OmtfCscDataWord64.h.

uint64_t omtf::CscDataWord64::station_

Definition at line 37 of file OmtfCscDataWord64.h.

Referenced by omtf::CscPacker::pack(), and station().

uint64_t omtf::CscDataWord64::type_
uint64_t omtf::CscDataWord64::vp_

Definition at line 36 of file OmtfCscDataWord64.h.

Referenced by omtf::CscPacker::pack(), and valid().