Belle II Software development
Channel.cc
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#include <iostream>
10#include "trg/trg/Channel.h"
11#include "trg/trg/Board.h"
12
13using namespace std;
14
15namespace Belle2 {
20
21 TRGChannel::TRGChannel(const std::string& name,
22 const TRGBoard& sender,
23 const TRGBoard& receiver)
24 : _name(name),
26 _receiver(receiver),
27 _data(0)
28 {
29 }
30
34
36} // namespace Belle2
A class to represent a trigger board.
Definition Board.h:25
const std::string _name
Name of a channel.
Definition Channel.h:62
const TRGBoard & _sender
Sender.
Definition Channel.h:65
TRGSignalBundle * _data
Input data.
Definition Channel.h:71
const TRGBoard & _receiver
Receiver.
Definition Channel.h:68
const std::string & name(void) const
returns name.
Definition Channel.h:78
const TRGBoard & sender(void) const
sender TRG board
Definition Channel.h:100
virtual ~TRGChannel()
Destructor.
Definition Channel.cc:31
TRGChannel(const std::string &name, const TRGBoard &sender, const TRGBoard &receiver)
Constructor.
Definition Channel.cc:21
Abstract base class for different kinds of events.
STL namespace.