Belle II Software development
OpticalLinkFrontEnd.h
1/**************************************************************************
2 * basf2 (Belle II Analysis Software Framework) *
3 * Author: The Belle II Collaboration *
4 * *
5 * See git log for contributors and copyright holders. *
6 * This file is licensed under LGPL-3.0, see LICENSE.md. *
7 **************************************************************************/
8
9//-----------------------------------------------------------------------------
10// Description : A class to represent a serial link from the CDC Front-end
11//-----------------------------------------------------------------------------
12
13#ifndef TRGOpticalLinkFrontEnd_FLAG_
14#define TRGOpticalLinkFrontEnd_FLAG_
15
16#include <string>
17#include <vector>
18#include "trg/trg/Link.h"
19
20#define TRGOpticalLinkVersionFrontEnd 0.00
21
22namespace Belle2 {
28 class TRGSignal;
29 class TRGSignalVector;
30 class TRGClock;
31
34
35 public:
36
38 TRGOpticalLinkFrontEnd(const std::string& name, const TRGClock&);
39
42
43 public:// Selectors.
44
45 public:// Modifiers.
46
47 private:
48
50
53
55 std::vector<const TRGSignal*> _hitPattern48;
56
59 std::vector<const TRGSignalVector*> _priTiming16;
60
63 std::vector<const TRGSignalVector*> _fasTiming16;
64
68
70 };
71
72//-----------------------------------------------------------------------------
73
75} // namespace Belle2
76
77#endif /* TRGOpticalLinkFrontEnd_FLAG_ */
A class to represent a digitized signal. Unit is nano second.
Definition: Clock.h:38
A class to represent a serial link between trigger modules.
virtual ~TRGOpticalLinkFrontEnd()
Destructor.
const TRGSignal * _hit
VHDL : begin.
std::vector< const TRGSignal * > _hitPattern48
Hit pattern of 48 wires.
TRGOpticalLinkFrontEnd(const std::string &name, const TRGClock &)
Constructor.
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;.
std::vector< const TRGSignalVector * > _priTiming16
Timing of the priority cells (2ns LSB) VHDL : type PriTiming is array (2 downto 0) of std_logic;.
A class to represent a bundle of digitized signals.
Definition: SignalVector.h:26
A class to represent a digitized signal. Unit is nano second.
Definition: Signal.h:23
const std::string & name(void) const
returns name.
Definition: OpticalLink.h:80
Abstract base class for different kinds of events.