Belle II Software development
CDCRawHit.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 <cdc/dataobjects/CDCRawHit.h>
10
11using namespace std;
12using namespace Belle2;
13
15 m_status(0), m_triggerNumber(0), m_node(0), m_finess(0), m_board(0),
16 m_channel(0), m_triggerTime(0), m_adc(0), m_tdc(0), m_tdc2nd(0), m_tot(0)
17{
18}
19
20
21CDCRawHit::CDCRawHit(unsigned short status,
22 int trgNumber,
23 unsigned short node,
24 unsigned short finess,
25 unsigned short board,
26 unsigned short channel,
27 unsigned short trgTime,
28 unsigned short adc,
29 unsigned short tdc,
30 unsigned short tdc2,
31 unsigned short tot)
32{
33 m_status = status;
34 m_triggerNumber = trgNumber;
35 m_node = node;
36 m_finess = finess;
37 m_board = board;
38 m_channel = channel;
39 m_triggerTime = trgTime;
40 m_adc = adc;
41 m_tdc = tdc;
42 m_tdc2nd = tdc2;
43 m_tot = tot;
44}
45
47{
48}
unsigned short m_triggerTime
Trigger Timing.
Definition: CDCRawHit.h:155
unsigned short m_status
Status of data block.
Definition: CDCRawHit.h:131
unsigned short m_tdc
TDC count (not subtracted by trigger time).
Definition: CDCRawHit.h:163
unsigned short m_adc
FADC count.
Definition: CDCRawHit.h:159
unsigned short m_channel
Channel in a FEE (0-47).
Definition: CDCRawHit.h:151
unsigned short m_finess
Finess Slot ID.
Definition: CDCRawHit.h:143
unsigned short m_node
Copper node ID.
Definition: CDCRawHit.h:139
unsigned short m_tdc2nd
2nd TDC count (not subtracted by trigger time).
Definition: CDCRawHit.h:168
int m_triggerNumber
Trigger number.
Definition: CDCRawHit.h:135
CDCRawHit()
Default constructor.
Definition: CDCRawHit.cc:14
virtual ~CDCRawHit()
Destructor.
Definition: CDCRawHit.cc:46
unsigned short m_tot
Time over threshold.
Definition: CDCRawHit.h:173
unsigned short m_board
FEE boad ID.
Definition: CDCRawHit.h:147
Abstract base class for different kinds of events.
STL namespace.