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 public:
9  explicit GEMGEBStatusDigi(uint32_t ZeroSup,
10  uint16_t Vwh,
11  uint16_t ErrorC,
12  uint16_t OHCRC,
13  uint16_t Vwt,
14  uint8_t InputID,
15  uint8_t InFu,
16  uint8_t Stuckd,
17  std::vector<uint8_t> v_GEBflags);
18 
20 
21  uint32_t getZeroSup() const { return ZeroSup_; }
22  uint16_t getVwh() const { return Vwh_; }
23  uint16_t getErrorC() const { return ErrorC_; }
24  uint16_t getOHCRC() const { return OHCRC_; }
25  uint16_t getVwt() const { return Vwt_; }
26  uint8_t getInputID() const { return InputID_; }
27  uint8_t getInFu() const { return InFu_; }
28  uint8_t getStuckd() const { return Stuckd_; }
29  const std::vector<uint8_t>& get_GEBflags() const { return v_GEBflags_; }
30 
31 private:
32  uint32_t ZeroSup_;
33  uint16_t Vwh_;
34  uint16_t ErrorC_;
35  uint16_t OHCRC_;
36  uint16_t Vwt_;
37  uint8_t InputID_;
38  uint8_t InFu_;
39  uint8_t Stuckd_;
40  std::vector<uint8_t> v_GEBflags_;
41 };
42 #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)