HALDLS
haldls::vx::SpikeFromChip Class Reference

Spike from chip. More...

#include <event.h>

+ Collaboration diagram for haldls::vx::SpikeFromChip:

Public Member Functions

 SpikeFromChip ()=default
 Default constructor. More...
 
 SpikeFromChip (fisch::vx::SpikeFromChip const &data)
 Construct a spike from chip from the data respresentation. More...
 
 SpikeFromChip (SpikeLabel const &label, FPGATime const &fpga_time, ChipTime const &chip_time)
 Construct spike from chip via a label, FPGA and chip time information. More...
 
bool operator!= (SpikeFromChip const &other) const SYMBOL_VISIBLE
 
bool operator== (SpikeFromChip const &other) const SYMBOL_VISIBLE
 

Public Attributes

ChipTime chip_time
 Chip time. More...
 
FPGATime fpga_time
 FPGA time. More...
 
SpikeLabel label
 Spike label. More...
 

Friends

class cereal::access
 
struct detail::SpikeFromChipChecker
 
std::ostream & operator<< (std::ostream &os, SpikeFromChip const &spike) SYMBOL_VISIBLE
 

Detailed Description

Spike from chip.

It is comprised of its label, FPGA and chip time annotation.

Definition at line 161 of file event.h.

Constructor & Destructor Documentation

◆ SpikeFromChip() [1/3]

haldls::vx::SpikeFromChip::SpikeFromChip ( )
default

Default constructor.

◆ SpikeFromChip() [2/3]

haldls::vx::SpikeFromChip::SpikeFromChip ( SpikeLabel const &  label,
FPGATime const &  fpga_time,
ChipTime const &  chip_time 
)
inline

Construct spike from chip via a label, FPGA and chip time information.

Parameters
labelSpikeLabel to use
fpga_timeFPGATime to use
chip_timeChipTime to use

Definition at line 173 of file event.h.

◆ SpikeFromChip() [3/3]

haldls::vx::SpikeFromChip::SpikeFromChip ( fisch::vx::SpikeFromChip const &  data)
inline

Construct a spike from chip from the data respresentation.

Parameters
dataData to use

Definition at line 181 of file event.h.

Member Function Documentation

◆ operator!=()

bool haldls::vx::SpikeFromChip::operator!= ( SpikeFromChip const &  other) const

◆ operator==()

bool haldls::vx::SpikeFromChip::operator== ( SpikeFromChip const &  other) const

Friends And Related Function Documentation

◆ cereal::access

friend class cereal::access
friend

Definition at line 207 of file event.h.

◆ detail::SpikeFromChipChecker

friend struct detail::SpikeFromChipChecker
friend

Definition at line 212 of file event.h.

◆ operator<<

std::ostream& operator<< ( std::ostream &  os,
SpikeFromChip const &  spike 
)
friend

Member Data Documentation

◆ chip_time

ChipTime haldls::vx::SpikeFromChip::chip_time

Chip time.

Definition at line 198 of file event.h.

◆ fpga_time

FPGATime haldls::vx::SpikeFromChip::fpga_time

FPGA time.

Definition at line 193 of file event.h.

◆ label

SpikeLabel haldls::vx::SpikeFromChip::label

Spike label.

Definition at line 188 of file event.h.


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