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

◆ CscDataWord64() [1/2]

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:80

◆ CscDataWord64() [2/2]

omtf::CscDataWord64::CscDataWord64 ( )
inline

Definition at line 12 of file OmtfCscDataWord64.h.

Member Function Documentation

◆ bend()

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

Definition at line 24 of file OmtfCscDataWord64.h.

References lr_.

24 { return lr_; }

◆ bxNum()

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

Definition at line 15 of file OmtfCscDataWord64.h.

References bxNum_.

15 { return bxNum_; }

◆ clctPattern()

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

Definition at line 19 of file OmtfCscDataWord64.h.

References clctPattern_.

19 { return clctPattern_; }

◆ cscID()

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

Definition at line 20 of file OmtfCscDataWord64.h.

References cscID_.

20 { return cscID_; }

◆ halfStrip()

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

Definition at line 21 of file OmtfCscDataWord64.h.

References halfStrip_.

21 { return halfStrip_; }

◆ hitNum()

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

Definition at line 16 of file OmtfCscDataWord64.h.

References hitNum_.

16 { return hitNum_; }

◆ linkNum()

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

Definition at line 22 of file OmtfCscDataWord64.h.

References linkNum_.

22 { return linkNum_; }

◆ quality()

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

Definition at line 18 of file OmtfCscDataWord64.h.

References quality_.

18 { return quality_; }

◆ station()

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

Definition at line 23 of file OmtfCscDataWord64.h.

References station_.

Referenced by geometryXMLparser.DTAlignable::index(), and geometryXMLparser.CSCAlignable::index().

23 { return station_; }

◆ type()

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

Definition at line 14 of file OmtfCscDataWord64.h.

References type_.

14 { return type_; }

◆ valid()

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

Definition at line 25 of file OmtfCscDataWord64.h.

References vp_.

25 { return vp_; }

◆ wireGroup()

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

Definition at line 17 of file OmtfCscDataWord64.h.

References keyWG_.

17 { return keyWG_; }

Friends And Related Function Documentation

◆ CscPacker

friend class CscPacker
friend

Definition at line 28 of file OmtfCscDataWord64.h.

◆ OmtfPacker

friend class OmtfPacker
friend

Definition at line 27 of file OmtfCscDataWord64.h.

◆ operator<<

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

◆ @421

union { ... }

◆ af_

uint64_t omtf::CscDataWord64::af_

Definition at line 38 of file OmtfCscDataWord64.h.

◆ bxNum_

uint64_t omtf::CscDataWord64::bxNum_

Definition at line 57 of file OmtfCscDataWord64.h.

Referenced by bxNum().

◆ cik_

uint64_t omtf::CscDataWord64::cik_

Definition at line 45 of file OmtfCscDataWord64.h.

◆ clctPattern_

uint64_t omtf::CscDataWord64::clctPattern_

Definition at line 53 of file OmtfCscDataWord64.h.

Referenced by clctPattern().

◆ cscID_

uint64_t omtf::CscDataWord64::cscID_

Definition at line 49 of file OmtfCscDataWord64.h.

Referenced by cscID().

◆ dummy1_

uint64_t omtf::CscDataWord64::dummy1_

Definition at line 52 of file OmtfCscDataWord64.h.

◆ dummy2_

uint64_t omtf::CscDataWord64::dummy2_

Definition at line 51 of file OmtfCscDataWord64.h.

◆ dummy3_

uint64_t omtf::CscDataWord64::dummy3_

Definition at line 46 of file OmtfCscDataWord64.h.

◆ dummy4_

uint64_t omtf::CscDataWord64::dummy4_

Definition at line 43 of file OmtfCscDataWord64.h.

◆ dummy5_

uint64_t omtf::CscDataWord64::dummy5_

Definition at line 42 of file OmtfCscDataWord64.h.

◆ dummy6_

uint64_t omtf::CscDataWord64::dummy6_

Definition at line 39 of file OmtfCscDataWord64.h.

◆ dummy7_

uint64_t omtf::CscDataWord64::dummy7_

Definition at line 35 of file OmtfCscDataWord64.h.

◆ halfStrip_

uint64_t omtf::CscDataWord64::halfStrip_

Definition at line 48 of file OmtfCscDataWord64.h.

Referenced by halfStrip().

◆ hitNum_

uint64_t omtf::CscDataWord64::hitNum_

Definition at line 56 of file OmtfCscDataWord64.h.

Referenced by hitNum().

◆ keyWG_

uint64_t omtf::CscDataWord64::keyWG_

Definition at line 55 of file OmtfCscDataWord64.h.

Referenced by wireGroup().

◆ linkNum_

uint64_t omtf::CscDataWord64::linkNum_

Definition at line 47 of file OmtfCscDataWord64.h.

Referenced by linkNum().

◆ lr_

uint64_t omtf::CscDataWord64::lr_

Definition at line 50 of file OmtfCscDataWord64.h.

Referenced by bend().

◆ nit_

uint64_t omtf::CscDataWord64::nit_

Definition at line 44 of file OmtfCscDataWord64.h.

◆ quality_

uint64_t omtf::CscDataWord64::quality_

Definition at line 54 of file OmtfCscDataWord64.h.

Referenced by quality().

◆ rawData

uint64_t omtf::CscDataWord64::rawData

Definition at line 33 of file OmtfCscDataWord64.h.

◆ se_

uint64_t omtf::CscDataWord64::se_

Definition at line 41 of file OmtfCscDataWord64.h.

◆ sm_

uint64_t omtf::CscDataWord64::sm_

Definition at line 40 of file OmtfCscDataWord64.h.

◆ station_

uint64_t omtf::CscDataWord64::station_

Definition at line 37 of file OmtfCscDataWord64.h.

Referenced by station().

◆ type_

uint64_t omtf::CscDataWord64::type_

◆ vp_

uint64_t omtf::CscDataWord64::vp_

Definition at line 36 of file OmtfCscDataWord64.h.

Referenced by valid().