Project
Loading...
Searching...
No Matches
o2::focal::PadLayerEvent Class Reference

#include <Event.h>

Classes

struct  Channel
 
struct  Header
 
struct  TriggerWindow
 

Public Member Functions

void setHeader (unsigned int half, uint8_t header, uint8_t bc, uint8_t wadd, uint8_t fourbits, uint8_t trialer)
 
void setChannel (unsigned int channel, uint16_t adc, uint16_t toa, uint16_t tot)
 
void setCMN (unsigned int half, uint16_t adc, uint16_t toa, uint16_t tot)
 
void setCalib (unsigned int half, uint16_t adc, uint16_t toa, uint16_t tot)
 
void setTrigger (unsigned int window, uint32_t header0, uint32_t header1, const gsl::span< uint8_t > triggers)
 
const Header & getHeader (unsigned int half) const
 
const Channel & getChannel (unsigned int channel) const
 
const Channel & getCMN (unsigned int half) const
 
const Channel & getCalib (unsigned int half) const
 
const TriggerWindow & getTrigger (unsigned int window) const
 
std::array< uint16_t, constants::PADLAYER_MODULE_NCHANNELS > getADCs () const
 
std::array< uint16_t, constants::PADLAYER_MODULE_NCHANNELS > getTOAs () const
 
std::array< uint16_t, constants::PADLAYER_MODULE_NCHANNELS > getTOTs () const
 
void reset ()
 

Detailed Description

Definition at line 26 of file Event.h.

Member Function Documentation

◆ getADCs()

std::array< uint16_t, constants::PADLAYER_MODULE_NCHANNELS > PadLayerEvent::getADCs ( ) const

Definition at line 192 of file Event.cxx.

◆ getCalib()

const PadLayerEvent::Channel & PadLayerEvent::getCalib ( unsigned int  half) const

Definition at line 178 of file Event.cxx.

◆ getChannel()

const PadLayerEvent::Channel & PadLayerEvent::getChannel ( unsigned int  channel) const

Definition at line 168 of file Event.cxx.

◆ getCMN()

const PadLayerEvent::Channel & PadLayerEvent::getCMN ( unsigned int  half) const

Definition at line 173 of file Event.cxx.

◆ getHeader()

const PadLayerEvent::Header & PadLayerEvent::getHeader ( unsigned int  half) const

Definition at line 162 of file Event.cxx.

◆ getTOAs()

std::array< uint16_t, constants::PADLAYER_MODULE_NCHANNELS > PadLayerEvent::getTOAs ( ) const

Definition at line 200 of file Event.cxx.

◆ getTOTs()

std::array< uint16_t, constants::PADLAYER_MODULE_NCHANNELS > PadLayerEvent::getTOTs ( ) const

Definition at line 208 of file Event.cxx.

◆ getTrigger()

const PadLayerEvent::TriggerWindow & PadLayerEvent::getTrigger ( unsigned int  window) const

Definition at line 184 of file Event.cxx.

◆ reset()

void PadLayerEvent::reset ( )

Definition at line 217 of file Event.cxx.

◆ setCalib()

void PadLayerEvent::setCalib ( unsigned int  half,
uint16_t  adc,
uint16_t  toa,
uint16_t  tot 
)

Definition at line 142 of file Event.cxx.

◆ setChannel()

void PadLayerEvent::setChannel ( unsigned int  channel,
uint16_t  adc,
uint16_t  toa,
uint16_t  tot 
)

Definition at line 124 of file Event.cxx.

◆ setCMN()

void PadLayerEvent::setCMN ( unsigned int  half,
uint16_t  adc,
uint16_t  toa,
uint16_t  tot 
)

Definition at line 133 of file Event.cxx.

◆ setHeader()

void PadLayerEvent::setHeader ( unsigned int  half,
uint8_t  header,
uint8_t  bc,
uint8_t  wadd,
uint8_t  fourbits,
uint8_t  trialer 
)

Definition at line 113 of file Event.cxx.

◆ setTrigger()

void PadLayerEvent::setTrigger ( unsigned int  window,
uint32_t  header0,
uint32_t  header1,
const gsl::span< uint8_t >  triggers 
)

Definition at line 151 of file Event.cxx.


The documentation for this class was generated from the following files: