CMS 3D CMS Logo

List of all members | Static Public Member Functions | Static Public Attributes
hcal::Flavor1 Struct Reference

#include <DigiCollection.h>

Static Public Member Functions

static constexpr uint8_t adc (uint16_t const *const sample_start)
 
static constexpr uint8_t adc (uint16_t const *const sample_start)
 
static constexpr uint8_t soibit (uint16_t const *const sample_start)
 
static constexpr uint8_t soibit (uint16_t const *const sample_start)
 
static constexpr uint8_t tdc (uint16_t const *const sample_start)
 
static constexpr uint8_t tdc (uint16_t const *const sample_start)
 

Static Public Attributes

static constexpr int HEADER_WORDS = 1
 
static constexpr int SAMPLES_PER_WORD = 1
 
static constexpr int WORDS_PER_SAMPLE = 1
 

Detailed Description

Definition at line 9 of file DigiCollection.h.

Member Function Documentation

◆ adc() [1/2]

static constexpr uint8_t hcal::Flavor1::adc ( uint16_t const *const  sample_start)
inlinestatic

Definition at line 14 of file DigiCollection.h.

14 { return (*sample_start & 0xff); }

◆ adc() [2/2]

static constexpr uint8_t hcal::Flavor1::adc ( uint16_t const *const  sample_start)
inlinestatic

Definition at line 20 of file HcalDigiSoA.h.

20 { return (*sample_start & 0xff); }

◆ soibit() [1/2]

static constexpr uint8_t hcal::Flavor1::soibit ( uint16_t const *const  sample_start)
inlinestatic

Definition at line 16 of file DigiCollection.h.

16 { return (*sample_start >> 14) & 0x1; }

◆ soibit() [2/2]

static constexpr uint8_t hcal::Flavor1::soibit ( uint16_t const *const  sample_start)
inlinestatic

Definition at line 22 of file HcalDigiSoA.h.

22 { return (*sample_start >> 14) & 0x1; }

◆ tdc() [1/2]

static constexpr uint8_t hcal::Flavor1::tdc ( uint16_t const *const  sample_start)
inlinestatic

Definition at line 15 of file DigiCollection.h.

15 { return (*sample_start >> 8) & 0x3f; }

◆ tdc() [2/2]

static constexpr uint8_t hcal::Flavor1::tdc ( uint16_t const *const  sample_start)
inlinestatic

Definition at line 21 of file HcalDigiSoA.h.

21 { return (*sample_start >> 8) & 0x3f; }

Member Data Documentation

◆ HEADER_WORDS

static constexpr int hcal::Flavor1::HEADER_WORDS = 1
static

Definition at line 12 of file DigiCollection.h.

Referenced by HcalDigisProducerGPU::acquire().

◆ SAMPLES_PER_WORD

static constexpr int hcal::Flavor1::SAMPLES_PER_WORD = 1
static

Definition at line 11 of file DigiCollection.h.

◆ WORDS_PER_SAMPLE

static constexpr int hcal::Flavor1::WORDS_PER_SAMPLE = 1
static

Definition at line 10 of file DigiCollection.h.