CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
GEMVfatStatusDigi Class Reference

#include <GEMVfatStatusDigi.h>

Public Member Functions

uint16_t bc () const
 
uint8_t ec () const
 
uint8_t flag () const
 
 GEMVfatStatusDigi ()
 
 GEMVfatStatusDigi (gem::VFATdata &vfat)
 
int phi () const
 
uint8_t quality () const
 

Private Attributes

uint16_t bc_
 vfat local phi postion in chamber More...
 
uint8_t ec_
 
uint8_t flag_
 quality flag - bit: 0 good, 1 crc fail, 2 b1010 fail, 3 b1100 fail, 4 b1110 More...
 
int phi_
 Control Flags: 4 bits, Hamming Error/AFULL/SEUlogic/SUEI2C. More...
 
uint8_t quality_
 

Detailed Description

Definition at line 7 of file GEMVfatStatusDigi.h.

Constructor & Destructor Documentation

◆ GEMVfatStatusDigi() [1/2]

GEMVfatStatusDigi::GEMVfatStatusDigi ( gem::VFATdata vfat)

Definition at line 4 of file GEMVfatStatusDigi.cc.

4  {
5  quality_ = vfat.quality();
6  flag_ = vfat.flag();
7  phi_ = vfat.phi();
8  ec_ = vfat.ec();
9  bc_ = vfat.bc();
10 };

References gem::VFATdata::bc(), bc_, gem::VFATdata::ec(), ec_, gem::VFATdata::flag(), flag_, gem::VFATdata::phi(), phi_, gem::VFATdata::quality(), and quality_.

◆ GEMVfatStatusDigi() [2/2]

GEMVfatStatusDigi::GEMVfatStatusDigi ( )
inline

Definition at line 10 of file GEMVfatStatusDigi.h.

10 {}

Member Function Documentation

◆ bc()

uint16_t GEMVfatStatusDigi::bc ( ) const
inline

Definition at line 15 of file GEMVfatStatusDigi.h.

15 { return bc_; }

References bc_.

Referenced by geometryXMLparser.Alignable::covariance().

◆ ec()

uint8_t GEMVfatStatusDigi::ec ( ) const
inline

Definition at line 16 of file GEMVfatStatusDigi.h.

16 { return ec_; }

References ec_.

◆ flag()

uint8_t GEMVfatStatusDigi::flag ( ) const
inline

Definition at line 13 of file GEMVfatStatusDigi.h.

13 { return flag_; }

References flag_.

◆ phi()

int GEMVfatStatusDigi::phi ( ) const
inline

Definition at line 14 of file GEMVfatStatusDigi.h.

14 { return phi_; }

References phi_.

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

◆ quality()

uint8_t GEMVfatStatusDigi::quality ( ) const
inline

Definition at line 12 of file GEMVfatStatusDigi.h.

12 { return quality_; }

References quality_.

Member Data Documentation

◆ bc_

uint16_t GEMVfatStatusDigi::bc_
private

vfat local phi postion in chamber

Definition at line 22 of file GEMVfatStatusDigi.h.

Referenced by bc(), and GEMVfatStatusDigi().

◆ ec_

uint8_t GEMVfatStatusDigi::ec_
private

Definition at line 23 of file GEMVfatStatusDigi.h.

Referenced by ec(), and GEMVfatStatusDigi().

◆ flag_

uint8_t GEMVfatStatusDigi::flag_
private

quality flag - bit: 0 good, 1 crc fail, 2 b1010 fail, 3 b1100 fail, 4 b1110

Definition at line 20 of file GEMVfatStatusDigi.h.

Referenced by flag(), and GEMVfatStatusDigi().

◆ phi_

int GEMVfatStatusDigi::phi_
private

Control Flags: 4 bits, Hamming Error/AFULL/SEUlogic/SUEI2C.

Definition at line 21 of file GEMVfatStatusDigi.h.

Referenced by GEMVfatStatusDigi(), and phi().

◆ quality_

uint8_t GEMVfatStatusDigi::quality_
private

Definition at line 19 of file GEMVfatStatusDigi.h.

Referenced by GEMVfatStatusDigi(), and quality().

GEMVfatStatusDigi::bc_
uint16_t bc_
vfat local phi postion in chamber
Definition: GEMVfatStatusDigi.h:22
GEMVfatStatusDigi::ec_
uint8_t ec_
Definition: GEMVfatStatusDigi.h:23
GEMVfatStatusDigi::flag_
uint8_t flag_
quality flag - bit: 0 good, 1 crc fail, 2 b1010 fail, 3 b1100 fail, 4 b1110
Definition: GEMVfatStatusDigi.h:20
gem::VFATdata::flag
uint8_t flag() const
Definition: VFATdata.h:110
GEMVfatStatusDigi::phi_
int phi_
Control Flags: 4 bits, Hamming Error/AFULL/SEUlogic/SUEI2C.
Definition: GEMVfatStatusDigi.h:21
gem::VFATdata::phi
int phi() const
Definition: VFATdata.h:74
gem::VFATdata::quality
uint8_t quality()
quality flag - bit: 0 good, 1 crc fail, 2 b1010 fail, 3 b1100 fail, 4 b1110
Definition: VFATdata.cc:50
gem::VFATdata::bc
uint16_t bc() const
Definition: VFATdata.h:79
gem::VFATdata::ec
uint8_t ec() const
Definition: VFATdata.h:84
GEMVfatStatusDigi::quality_
uint8_t quality_
Definition: GEMVfatStatusDigi.h:19