Belle II Software  release-08-01-10
CDCChannelData Class Reference

CDCChannelData. More...

#include <CDCChannelData.h>

Public Member Functions

 CDCChannelData (int board, int ch, int len, int tot, int adc, int tdc, int tdc2)
 Constructor of the class fo the "2 hits" event.
 
 CDCChannelData (int board, int ch, int len, int tot, int adc, int tdc)
 Constructor of the class fo the "1 hit" event.
 
void setTDC2ndHit (int tdc)
 Set 2nd hit timing.
 
unsigned short getChannel () const
 Get the channel ID.
 
unsigned short getBoard () const
 Get the board ID.
 
unsigned short getTDCCount () const
 Get the TDC.
 
unsigned short getTDCCount2ndHit () const
 Get the 2nd TDC.
 
unsigned short getADCCount () const
 Get the ADC.
 
bool is2ndHit () const
 Get the flag of 2nd hit. More...
 
unsigned short getDataLength () const
 Get data length.
 
unsigned short getTOT () const
 Get time over threshold.
 

Private Attributes

unsigned short m_board
 Board ID (0-300).
 
unsigned short m_channel
 Channel ID (0-47).
 
unsigned short m_length
 Data length.
 
unsigned short m_tot
 Time over threshold.
 
unsigned short m_adc
 FADC count.
 
unsigned short m_tdc
 TDC count.
 
unsigned short m_tdc2
 TDC count of 2nd hit.
 
bool m_f2ndHit
 Flag for 2nd hit.
 

Detailed Description

CDCChannelData.

CDC channel data contains the real data for 1 hit channel.

Definition at line 26 of file CDCChannelData.h.

Member Function Documentation

◆ is2ndHit()

bool is2ndHit ( ) const
inline

Get the flag of 2nd hit.

true : 2 hit event, false : 1 hit event.

Definition at line 120 of file CDCChannelData.h.

121  {
122  return m_f2ndHit;
123  }
bool m_f2ndHit
Flag for 2nd hit.

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