CMS 3D CMS Logo

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

#include <OmtfDtDataWord64.h>

Public Member Functions

unsigned int bcnt_e0 () const
 
unsigned int bcnt_e1 () const
 
unsigned int bcnt_st () const
 
unsigned int bxNum () const
 
 DtDataWord64 ()
 
 DtDataWord64 (Word64 data)
 
unsigned int eta () const
 
unsigned int etaQuality () const
 
unsigned int fiber () const
 
int phi () const
 
int phiB () const
 
unsigned int quality () const
 
unsigned int sector () const
 
unsigned int station () const
 
unsigned int type () const
 
unsigned int valid () const
 

Private Attributes

union {
   struct {
      uint64_t   bcnt_e0_: 2
 
      uint64_t   bcnt_e1_: 2
 
      uint64_t   bcnt_st_: 2
 
      uint64_t   bxNum_: 3
 
      uint64_t   dummy1_: 1
 
      uint64_t   eta_hit_: 7
 
      uint64_t   eta_qbit_: 7
 
      uint64_t   fiber_: 1
 
      uint64_t   sector_: 2
 
      uint64_t   st_: 2
 
      uint64_t   st_cal_: 1
 
      int64_t   st_phi_: 12
 
      int64_t   st_phib_: 10
 
      uint64_t   st_q_: 5
 
      uint64_t   type_: 4
 
      uint64_t   valid_: 3
 
   } 
 
   uint64_t   rawData
 
}; 
 

Friends

class DtPacker
 
class OmtfPacker
 
std::ostream & operator<< (std::ostream &out, const DtDataWord64 &o)
 

Detailed Description

Definition at line 9 of file OmtfDtDataWord64.h.

Constructor & Destructor Documentation

◆ DtDataWord64() [1/2]

omtf::DtDataWord64::DtDataWord64 ( Word64  data)
inline

Definition at line 11 of file OmtfDtDataWord64.h.

11 : rawData(data) {}

◆ DtDataWord64() [2/2]

omtf::DtDataWord64::DtDataWord64 ( )
inline

Definition at line 12 of file OmtfDtDataWord64.h.

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

Member Function Documentation

◆ bcnt_e0()

unsigned int omtf::DtDataWord64::bcnt_e0 ( ) const
inline

Definition at line 19 of file OmtfDtDataWord64.h.

19 { return bcnt_e0_; }

References bcnt_e0_.

◆ bcnt_e1()

unsigned int omtf::DtDataWord64::bcnt_e1 ( ) const
inline

Definition at line 20 of file OmtfDtDataWord64.h.

20 { return bcnt_e1_; }

References bcnt_e1_.

◆ bcnt_st()

unsigned int omtf::DtDataWord64::bcnt_st ( ) const
inline

Definition at line 18 of file OmtfDtDataWord64.h.

18 { return bcnt_st_; }

References bcnt_st_.

◆ bxNum()

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

Definition at line 25 of file OmtfDtDataWord64.h.

25 { return bxNum_; }

References bxNum_.

◆ eta()

unsigned int omtf::DtDataWord64::eta ( void  ) const
inline

Definition at line 16 of file OmtfDtDataWord64.h.

16 { return eta_hit_; }

References eta_hit_.

Referenced by Particle.Particle::__str__(), Jet.Jet::jetID(), and Jet.Jet::puJetId().

◆ etaQuality()

unsigned int omtf::DtDataWord64::etaQuality ( ) const
inline

Definition at line 17 of file OmtfDtDataWord64.h.

17 { return eta_qbit_; }

References eta_qbit_.

◆ fiber()

unsigned int omtf::DtDataWord64::fiber ( ) const
inline

Definition at line 23 of file OmtfDtDataWord64.h.

23 { return fiber_; }

References fiber_.

◆ phi()

int omtf::DtDataWord64::phi ( void  ) const
inline

Definition at line 13 of file OmtfDtDataWord64.h.

13 { return st_phi_; }

References st_phi_.

Referenced by Particle.Particle::__str__(), and ntupleDataFormat.Track::phiPull().

◆ phiB()

int omtf::DtDataWord64::phiB ( ) const
inline

Definition at line 14 of file OmtfDtDataWord64.h.

14 { return st_phib_; }

References st_phib_.

◆ quality()

unsigned int omtf::DtDataWord64::quality ( void  ) const
inline

Definition at line 15 of file OmtfDtDataWord64.h.

15 { return st_q_; }

References st_q_.

◆ sector()

unsigned int omtf::DtDataWord64::sector ( void  ) const
inline

Definition at line 24 of file OmtfDtDataWord64.h.

24 { return sector_; }

References sector_.

Referenced by geometryXMLparser.DTAlignable::index().

◆ station()

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

Definition at line 22 of file OmtfDtDataWord64.h.

22 { return st_; }

References st_.

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

◆ type()

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

Definition at line 26 of file OmtfDtDataWord64.h.

26 { return type_; }

References type_.

◆ valid()

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

Definition at line 21 of file OmtfDtDataWord64.h.

21 { return valid_; }

References valid_.

Friends And Related Function Documentation

◆ DtPacker

friend class DtPacker
friend

Definition at line 28 of file OmtfDtDataWord64.h.

◆ OmtfPacker

friend class OmtfPacker
friend

Definition at line 27 of file OmtfDtDataWord64.h.

◆ operator<<

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

Definition at line 4 of file OmtfDtDataWord64.cc.

4  {
5  out << "DtDataWord64: "
6  << " type: " << DataWord64::type(o.type()) << " bx: " << o.bxNum() << " station: " << o.station()
7  << " sector: " << o.sector() << " fiber: " << o.fiber() << " phi: " << o.phi() << " quality: " << o.quality()
8  << " eta: " << o.eta() << " etaQ: " << o.etaQuality() << " bcnt: " << o.bcnt_st() << "_" << o.bcnt_e0() << "_"
9  << o.bcnt_e1() << "";
10  return out;
11  }

Member Data Documentation

◆ @466

union { ... }

◆ bcnt_e0_

uint64_t omtf::DtDataWord64::bcnt_e0_

Definition at line 43 of file OmtfDtDataWord64.h.

Referenced by bcnt_e0().

◆ bcnt_e1_

uint64_t omtf::DtDataWord64::bcnt_e1_

Definition at line 44 of file OmtfDtDataWord64.h.

Referenced by bcnt_e1().

◆ bcnt_st_

uint64_t omtf::DtDataWord64::bcnt_st_

Definition at line 42 of file OmtfDtDataWord64.h.

Referenced by bcnt_st().

◆ bxNum_

uint64_t omtf::DtDataWord64::bxNum_

Definition at line 49 of file OmtfDtDataWord64.h.

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

◆ dummy1_

uint64_t omtf::DtDataWord64::dummy1_

Definition at line 41 of file OmtfDtDataWord64.h.

◆ eta_hit_

uint64_t omtf::DtDataWord64::eta_hit_

Definition at line 40 of file OmtfDtDataWord64.h.

Referenced by eta(), and omtf::DtPacker::pack().

◆ eta_qbit_

uint64_t omtf::DtDataWord64::eta_qbit_

Definition at line 39 of file OmtfDtDataWord64.h.

Referenced by etaQuality(), and omtf::DtPacker::pack().

◆ fiber_

uint64_t omtf::DtDataWord64::fiber_

Definition at line 47 of file OmtfDtDataWord64.h.

Referenced by fiber().

◆ rawData

uint64_t omtf::DtDataWord64::rawData

Definition at line 33 of file OmtfDtDataWord64.h.

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

◆ sector_

uint64_t omtf::DtDataWord64::sector_

Definition at line 48 of file OmtfDtDataWord64.h.

Referenced by omtf::DtPacker::pack(), and sector().

◆ st_

uint64_t omtf::DtDataWord64::st_

Definition at line 46 of file OmtfDtDataWord64.h.

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

◆ st_cal_

uint64_t omtf::DtDataWord64::st_cal_

Definition at line 38 of file OmtfDtDataWord64.h.

◆ st_phi_

int64_t omtf::DtDataWord64::st_phi_

Definition at line 35 of file OmtfDtDataWord64.h.

Referenced by phi().

◆ st_phib_

int64_t omtf::DtDataWord64::st_phib_

Definition at line 36 of file OmtfDtDataWord64.h.

Referenced by phiB().

◆ st_q_

uint64_t omtf::DtDataWord64::st_q_

Definition at line 37 of file OmtfDtDataWord64.h.

Referenced by quality().

◆ type_

uint64_t omtf::DtDataWord64::type_

◆ valid_

uint64_t omtf::DtDataWord64::valid_

Definition at line 45 of file OmtfDtDataWord64.h.

Referenced by valid().

omtf::DtDataWord64::bcnt_st_
uint64_t bcnt_st_
Definition: OmtfDtDataWord64.h:42
omtf::DtDataWord64::st_
uint64_t st_
Definition: OmtfDtDataWord64.h:46
omtf::DtDataWord64::eta_hit_
uint64_t eta_hit_
Definition: OmtfDtDataWord64.h:40
omtf::DtDataWord64::eta_qbit_
uint64_t eta_qbit_
Definition: OmtfDtDataWord64.h:39
omtf::DtDataWord64::bxNum_
uint64_t bxNum_
Definition: OmtfDtDataWord64.h:49
omtf::DtDataWord64::st_q_
uint64_t st_q_
Definition: OmtfDtDataWord64.h:37
omtf::DtDataWord64::type_
uint64_t type_
Definition: OmtfDtDataWord64.h:50
omtf::DtDataWord64::bcnt_e0_
uint64_t bcnt_e0_
Definition: OmtfDtDataWord64.h:43
omtf::Word64
uint64_t Word64
Definition: OmtfDataWord64.h:11
omtf::DtDataWord64::sector_
uint64_t sector_
Definition: OmtfDtDataWord64.h:48
EcalTangentSkim_cfg.o
o
Definition: EcalTangentSkim_cfg.py:36
omtf::DtDataWord64::fiber_
uint64_t fiber_
Definition: OmtfDtDataWord64.h:47
omtf::DtDataWord64::st_phib_
int64_t st_phib_
Definition: OmtfDtDataWord64.h:36
omtf::DtDataWord64::valid_
uint64_t valid_
Definition: OmtfDtDataWord64.h:45
omtf::DataWord64::dt
Definition: OmtfDataWord64.h:16
omtf::DtDataWord64::st_phi_
int64_t st_phi_
Definition: OmtfDtDataWord64.h:35
omtf::DataWord64::type
Type type(const T &)
omtf::DtDataWord64::rawData
uint64_t rawData
Definition: OmtfDtDataWord64.h:33
data
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79
MillePedeFileConverter_cfg.out
out
Definition: MillePedeFileConverter_cfg.py:31
omtf::DtDataWord64::bcnt_e1_
uint64_t bcnt_e1_
Definition: OmtfDtDataWord64.h:44