CMS 3D CMS Logo

List of all members | Static Public Member Functions | Static Public Attributes
hcal::Flavor3 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 capid (uint16_t const *const sample_start)
 
static constexpr uint8_t capid (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 20 of file DigiCollection.h.

Member Function Documentation

◆ adc() [1/2]

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

Definition at line 25 of file DigiCollection.h.

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

◆ adc() [2/2]

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

Definition at line 31 of file HcalDigiSoA.h.

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

◆ capid() [1/2]

static constexpr uint8_t hcal::Flavor3::capid ( uint16_t const *const  sample_start)
inlinestatic

Definition at line 28 of file DigiCollection.h.

Referenced by hcal::capid_for_sample< Flavor3 >().

28 { return ((*sample_start >> 10) & 0x3); }

◆ capid() [2/2]

static constexpr uint8_t hcal::Flavor3::capid ( uint16_t const *const  sample_start)
inlinestatic

Definition at line 34 of file HcalDigiSoA.h.

34 { return ((*sample_start >> 10) & 0x3); }

◆ soibit() [1/2]

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

Definition at line 27 of file DigiCollection.h.

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

◆ soibit() [2/2]

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

Definition at line 33 of file HcalDigiSoA.h.

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

◆ tdc() [1/2]

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

Definition at line 26 of file DigiCollection.h.

26 { return ((*sample_start >> 8) & 0x3); }

◆ tdc() [2/2]

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

Definition at line 32 of file HcalDigiSoA.h.

32 { return ((*sample_start >> 8) & 0x3); }

Member Data Documentation

◆ HEADER_WORDS

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

◆ SAMPLES_PER_WORD

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

Definition at line 22 of file DigiCollection.h.

◆ WORDS_PER_SAMPLE

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

Definition at line 21 of file DigiCollection.h.

Referenced by hcal::capid_for_sample< Flavor3 >().