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 ()
 
 CscDataWord64 (const Word64 &data)
 
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) {}

◆ CscDataWord64() [2/2]

omtf::CscDataWord64::CscDataWord64 ( )
inline

Definition at line 12 of file OmtfCscDataWord64.h.

12 : rawData(Word64(DataWord64::csc) << 60) {}

Member Function Documentation

◆ bend()

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

Definition at line 24 of file OmtfCscDataWord64.h.

24 { return lr_; }

References lr_.

◆ bxNum()

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

Definition at line 15 of file OmtfCscDataWord64.h.

15 { return bxNum_; }

References bxNum_.

◆ clctPattern()

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

Definition at line 19 of file OmtfCscDataWord64.h.

19 { return clctPattern_; }

References clctPattern_.

◆ cscID()

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

Definition at line 20 of file OmtfCscDataWord64.h.

20 { return cscID_; }

References cscID_.

◆ halfStrip()

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

Definition at line 21 of file OmtfCscDataWord64.h.

21 { return halfStrip_; }

References halfStrip_.

◆ hitNum()

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

Definition at line 16 of file OmtfCscDataWord64.h.

16 { return hitNum_; }

References hitNum_.

◆ linkNum()

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

Definition at line 22 of file OmtfCscDataWord64.h.

22 { return linkNum_; }

References linkNum_.

◆ quality()

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

Definition at line 18 of file OmtfCscDataWord64.h.

18 { return quality_; }

References quality_.

◆ station()

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

Definition at line 23 of file OmtfCscDataWord64.h.

23 { return station_; }

References station_.

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

◆ type()

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

Definition at line 14 of file OmtfCscDataWord64.h.

14 { return type_; }

References type_.

◆ valid()

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

Definition at line 25 of file OmtfCscDataWord64.h.

25 { return vp_; }

References vp_.

◆ wireGroup()

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

Definition at line 17 of file OmtfCscDataWord64.h.

17 { return keyWG_; }

References 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  }

Member Data Documentation

◆ @393

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

omtf::CscDataWord64::keyWG_
uint64_t keyWG_
Definition: OmtfCscDataWord64.h:55
omtf::CscDataWord64::type_
uint64_t type_
Definition: OmtfCscDataWord64.h:58
omtf::CscDataWord64::quality_
uint64_t quality_
Definition: OmtfCscDataWord64.h:54
omtf::Word64
uint64_t Word64
Definition: OmtfDataWord64.h:11
omtf::DataWord64::csc
Definition: OmtfDataWord64.h:16
omtf::CscDataWord64::linkNum_
uint64_t linkNum_
Definition: OmtfCscDataWord64.h:47
EcalTangentSkim_cfg.o
o
Definition: EcalTangentSkim_cfg.py:42
omtf::CscDataWord64::clctPattern_
uint64_t clctPattern_
Definition: OmtfCscDataWord64.h:53
omtf::CscDataWord64::bxNum_
uint64_t bxNum_
Definition: OmtfCscDataWord64.h:57
omtf::CscDataWord64::rawData
uint64_t rawData
Definition: OmtfCscDataWord64.h:33
omtf::CscDataWord64::station_
uint64_t station_
Definition: OmtfCscDataWord64.h:37
omtf::CscDataWord64::halfStrip_
uint64_t halfStrip_
Definition: OmtfCscDataWord64.h:48
omtf::DataWord64::type
Type type(const T &)
omtf::CscDataWord64::cscID_
uint64_t cscID_
Definition: OmtfCscDataWord64.h:49
omtf::CscDataWord64::vp_
uint64_t vp_
Definition: OmtfCscDataWord64.h:36
data
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79
MillePedeFileConverter_cfg.out
out
Definition: MillePedeFileConverter_cfg.py:31
omtf::CscDataWord64::lr_
uint64_t lr_
Definition: OmtfCscDataWord64.h:50
omtf::CscDataWord64::hitNum_
uint64_t hitNum_
Definition: OmtfCscDataWord64.h:56