Belle II Software  release-08-01-10
CDCRawHitWaveForm.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 #pragma once
10 
11 // Includes
12 #include <framework/datastore/RelationsObject.h>
13 
14 namespace Belle2 {
25  public:
30 
34  CDCRawHitWaveForm(unsigned short status,
35  int trgNumber, unsigned short node,
36  unsigned short finess, unsigned short board,
37  unsigned short channel, unsigned short sample,
38  unsigned short trgTime,
39  unsigned short adc, unsigned short tdc);
40 
41 
45  inline int getStatus(void) const
46  {
47  return m_status;
48  }
49 
50 
54  virtual ~CDCRawHitWaveForm();
55 
56 
60  inline void setTriggerNumber(int trgNumber)
61  {
62  m_triggerNumber = trgNumber;
63  }
64 
65 
69  inline int getTriggerNumber(void) const
70  {
71  return m_triggerNumber;
72  }
73 
77  inline void setNode(unsigned short node)
78  {
79  m_node = node;
80  }
81 
82 
86  inline unsigned short getNode(void) const
87  {
88  return m_node;
89  }
90 
94  inline void setFiness(unsigned short finess)
95  {
96  m_finess = finess;
97  }
98 
102  inline unsigned short getFiness(void) const
103  {
104  return m_finess;
105  }
106 
107 
108  private:
112  unsigned short m_status;
120  unsigned short m_node;
124  unsigned short m_finess;
128  unsigned short m_board;
132  unsigned short m_channel;
136  unsigned short m_triggerTime;
140  unsigned short m_sample;
144  unsigned short m_adc;
148  unsigned short m_tdc;
149 
152 
153 
154  };
156 }
The CDCRawHitWaveForm (Full output mode) class.
unsigned short m_triggerTime
Trigger Timing.
unsigned short m_status
Status of data block.
ClassDef(CDCRawHitWaveForm, 1)
To derive from TObject.
unsigned short m_tdc
TDC count (not subtracted by trigger time).
unsigned short m_adc
FADC count.
unsigned short m_channel
Channel in a FEE (0-47).
unsigned short m_finess
Finess Slot ID.
unsigned short m_node
Copper node ID.
int getTriggerNumber(void) const
Getter for trigger number.
int getStatus(void) const
Getter for status.
unsigned short getNode(void) const
Getter for Node ID.
CDCRawHitWaveForm()
Default constructor.
void setNode(unsigned short node)
Setter for Node ID.
unsigned short m_sample
Index of FADC sampling.
int m_triggerNumber
Trigger number.
void setTriggerNumber(int trgNumber)
Setter for trigger number.
virtual ~CDCRawHitWaveForm()
Destructor.
void setFiness(unsigned short finess)
Setter for Finess ID.
unsigned short getFiness(void) const
Getter for Finess ID.
unsigned short m_board
FEE boad ID.
Defines interface for accessing relations of objects in StoreArray.
Abstract base class for different kinds of events.