Belle II Software development
TRGOpticalLinkFrontEnd Class Reference

A class to represent a serial link between trigger modules. More...

#include <OpticalLinkFrontEnd.h>

Inheritance diagram for TRGOpticalLinkFrontEnd:
TRGOpticalLink

Public Member Functions

 TRGOpticalLinkFrontEnd (const std::string &name, const TRGClock &)
 Constructor.
 
virtual ~TRGOpticalLinkFrontEnd ()
 Destructor.
 
const std::string & name (void) const
 returns name.
 
const TRGClockclock (void) const
 returns clock.
 
void dump (const std::string &message="", const std::string &pre="") const
 dumps contents.
 
void appendHeader (const TRGSignal *)
 appends a signal to header data.
 
void appendTrailer (const TRGSignal *)
 appends a signal to trailer data.
 
void append (const TRGSignal *)
 appends a signal to data.
 

Private Attributes

const TRGSignal_hit
 VHDL : begin.
 
std::vector< const TRGSignal * > _hitPattern48
 Hit pattern of 48 wires.
 
std::vector< const TRGSignalVector * > _priTiming16
 Timing of the priority cells (2ns LSB) VHDL : type PriTiming is array (2 downto 0) of std_logic;.
 
std::vector< const TRGSignalVector * > _fasTiming16
 Timing of the fastest hit in PTS (2ns LSB) VHDL : type FasTiming is array (2 downto 0) of std_logic;.
 
TRGSignalVector _clkCounter
 Clock counter VHDL : type ClkCounter is array (31 downto 0) of std_logic;.
 
const std::string _name
 Name of a link.
 
const TRGClock_clock
 Used clock.
 
std::vector< const TRGSignal * > _head
 Signal header.
 
std::vector< const TRGSignal * > _trail
 Signal trailer.
 
std::vector< const TRGSignal * > _data
 Signal storage.
 

Detailed Description

A class to represent a serial link between trigger modules.

Definition at line 33 of file OpticalLinkFrontEnd.h.

Member Function Documentation

◆ dump()

void dump ( const std::string &  message = "",
const std::string &  pre = "" 
) const
inherited

dumps contents.

"message" is to select information to dump. "pre" will be printed in head of each line.

Member Data Documentation

◆ _clkCounter

TRGSignalVector _clkCounter
private

Clock counter VHDL : type ClkCounter is array (31 downto 0) of std_logic;.

Definition at line 67 of file OpticalLinkFrontEnd.h.

◆ _clock

const TRGClock* _clock
privateinherited

Used clock.

Definition at line 64 of file OpticalLink.h.

◆ _data

std::vector<const TRGSignal*> _data
privateinherited

Signal storage.

Definition at line 73 of file OpticalLink.h.

◆ _fasTiming16

std::vector<const TRGSignalVector*> _fasTiming16
private

Timing of the fastest hit in PTS (2ns LSB) VHDL : type FasTiming is array (2 downto 0) of std_logic;.

Definition at line 63 of file OpticalLinkFrontEnd.h.

◆ _head

std::vector<const TRGSignal*> _head
privateinherited

Signal header.

Definition at line 67 of file OpticalLink.h.

◆ _hit

const TRGSignal* _hit
private

VHDL : begin.

test signal

Definition at line 52 of file OpticalLinkFrontEnd.h.

◆ _hitPattern48

std::vector<const TRGSignal*> _hitPattern48
private

Hit pattern of 48 wires.

Definition at line 55 of file OpticalLinkFrontEnd.h.

◆ _name

const std::string _name
privateinherited

Name of a link.

Definition at line 61 of file OpticalLink.h.

◆ _priTiming16

std::vector<const TRGSignalVector*> _priTiming16
private

Timing of the priority cells (2ns LSB) VHDL : type PriTiming is array (2 downto 0) of std_logic;.

Definition at line 59 of file OpticalLinkFrontEnd.h.

◆ _trail

std::vector<const TRGSignal*> _trail
privateinherited

Signal trailer.

Definition at line 70 of file OpticalLink.h.


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