CMS 3D CMS Logo

GEMGEBStatusDigi.h
Go to the documentation of this file.
1 #ifndef DataFormats_GEMDigi_GEMGEBStatusDigi_H
2 #define DataFormats_GEMDigi_GEMGEBStatusDigi_H
3 
4 #include <cstdint>
5 #include <vector>
6 
8 
9  public:
10  explicit GEMGEBStatusDigi(uint32_t ZeroSup,
11  uint16_t Vwh,
12  uint16_t ErrorC,
13  uint16_t OHCRC,
14  uint16_t Vwt,
15  uint8_t InputID,
16  uint8_t InFu,
17  uint8_t Stuckd,
18  std::vector<uint8_t> v_GEBflags);
19 
21 
22  uint32_t getZeroSup() const {return ZeroSup_;}
23  uint16_t getVwh() const {return Vwh_;}
24  uint16_t getErrorC() const {return ErrorC_;}
25  uint16_t getOHCRC() const {return OHCRC_;}
26  uint16_t getVwt() const {return Vwt_;}
27  uint8_t getInputID() const {return InputID_;}
28  uint8_t getInFu() const {return InFu_;}
29  uint8_t getStuckd() const {return Stuckd_;}
30  const std::vector<uint8_t> & get_GEBflags() const {return v_GEBflags_;}
31 
32  private:
33 
34  uint32_t ZeroSup_;
35  uint16_t Vwh_;
36  uint16_t ErrorC_;
37  uint16_t OHCRC_;
38  uint16_t Vwt_;
39  uint8_t InputID_;
40  uint8_t InFu_;
41  uint8_t Stuckd_;
42  std::vector<uint8_t> v_GEBflags_;
43 
44 };
45 #endif
const std::vector< uint8_t > & get_GEBflags() const
uint8_t getInFu() const
Returns InFIFO underflow flag.
uint16_t getErrorC() const
Returns thirteen flags in GEM Chamber Header.
uint32_t getZeroSup() const
Returns Zero Suppression flags.
uint8_t getStuckd() const
Returns Stuck data flag.
uint16_t getVwt() const
Returns VFAT word count.
uint16_t getOHCRC() const
Returns OH CRC.
std::vector< uint8_t > v_GEBflags_
uint8_t getInputID() const
Returns GLIB input ID.
uint16_t getVwh() const
Returns VFAT word count (size of VFAT payload)