Project
Loading...
Searching...
No Matches
o2::fdd::ChannelData Struct Reference

#include <ChannelData.h>

Public Types

enum  EEventDataBit {
  kNumberADC , kIsDoubleEvent , kIsTimeInfoNOTvalid , kIsCFDinADCgate ,
  kIsTimeInfoLate , kIsAmpHigh , kIsEventInTVDC , kIsTimeInfoLost
}
 

Public Member Functions

 ChannelData ()=default
 
 ChannelData (uint8_t channel, int time, int adc, uint8_t bits)
 
uint8_t getChannelID () const
 
bool getFlag (EEventDataBit bitFlag) const
 
void print () const
 
bool operator== (ChannelData const &other) const
 
void printLog () const
 
 ClassDefNV (ChannelData, 4)
 

Static Public Member Functions

static void setFlag (EEventDataBit bitFlag, uint8_t &mFEEBits)
 
static void clearFlag (EEventDataBit bitFlag, uint8_t &mFEEBits)
 

Public Attributes

uint8_t mPMNumber = DUMMY_CHANNEL_ID
 
int16_t mTime = DUMMY_CFD_TIME
 
int16_t mChargeADC = DUMMY_QTC_AMPL
 
uint8_t mFEEBits = DUMMY_CHAIN_QTC
 

Static Public Attributes

static constexpr char sChannelNameDPL [] = "DIGITSCH"
 
static constexpr char sDigitName [] = "ChannelData"
 
static constexpr char sDigitBranchName [] = "FDDDigitCh"
 
static constexpr uint8_t DUMMY_CHANNEL_ID = 0xff
 
static constexpr uint8_t DUMMY_CHAIN_QTC = 0
 
static constexpr int16_t DUMMY_CFD_TIME = -5000
 
static constexpr int16_t DUMMY_QTC_AMPL = -5000
 

Detailed Description

Definition at line 28 of file ChannelData.h.

Member Enumeration Documentation

◆ EEventDataBit

Enumerator
kNumberADC 
kIsDoubleEvent 
kIsTimeInfoNOTvalid 
kIsCFDinADCgate 
kIsTimeInfoLate 
kIsAmpHigh 
kIsEventInTVDC 
kIsTimeInfoLost 

Definition at line 49 of file ChannelData.h.

Constructor & Destructor Documentation

◆ ChannelData() [1/2]

o2::fdd::ChannelData::ChannelData ( )
default

◆ ChannelData() [2/2]

o2::fdd::ChannelData::ChannelData ( uint8_t  channel,
int  time,
int  adc,
uint8_t  bits 
)
inline

Definition at line 60 of file ChannelData.h.

Member Function Documentation

◆ ClassDefNV()

o2::fdd::ChannelData::ClassDefNV ( ChannelData  ,
 
)

◆ clearFlag()

static void o2::fdd::ChannelData::clearFlag ( EEventDataBit  bitFlag,
uint8_t &  mFEEBits 
)
inlinestatic

Definition at line 63 of file ChannelData.h.

◆ getChannelID()

uint8_t o2::fdd::ChannelData::getChannelID ( ) const
inline

Definition at line 61 of file ChannelData.h.

◆ getFlag()

bool o2::fdd::ChannelData::getFlag ( EEventDataBit  bitFlag) const
inline

Definition at line 64 of file ChannelData.h.

◆ operator==()

bool o2::fdd::ChannelData::operator== ( ChannelData const &  other) const
inline

Definition at line 66 of file ChannelData.h.

◆ print()

void o2::fdd::ChannelData::print ( ) const

◆ printLog()

void o2::fdd::ChannelData::printLog ( ) const
inline

Definition at line 70 of file ChannelData.h.

◆ setFlag()

static void o2::fdd::ChannelData::setFlag ( EEventDataBit  bitFlag,
uint8_t &  mFEEBits 
)
inlinestatic

Definition at line 62 of file ChannelData.h.

Member Data Documentation

◆ DUMMY_CFD_TIME

constexpr int16_t o2::fdd::ChannelData::DUMMY_CFD_TIME = -5000
staticconstexpr

Definition at line 34 of file ChannelData.h.

◆ DUMMY_CHAIN_QTC

constexpr uint8_t o2::fdd::ChannelData::DUMMY_CHAIN_QTC = 0
staticconstexpr

Definition at line 33 of file ChannelData.h.

◆ DUMMY_CHANNEL_ID

constexpr uint8_t o2::fdd::ChannelData::DUMMY_CHANNEL_ID = 0xff
staticconstexpr

Definition at line 32 of file ChannelData.h.

◆ DUMMY_QTC_AMPL

constexpr int16_t o2::fdd::ChannelData::DUMMY_QTC_AMPL = -5000
staticconstexpr

Definition at line 35 of file ChannelData.h.

◆ mChargeADC

int16_t o2::fdd::ChannelData::mChargeADC = DUMMY_QTC_AMPL

Definition at line 38 of file ChannelData.h.

◆ mFEEBits

uint8_t o2::fdd::ChannelData::mFEEBits = DUMMY_CHAIN_QTC

Definition at line 39 of file ChannelData.h.

◆ mPMNumber

uint8_t o2::fdd::ChannelData::mPMNumber = DUMMY_CHANNEL_ID

Definition at line 36 of file ChannelData.h.

◆ mTime

int16_t o2::fdd::ChannelData::mTime = DUMMY_CFD_TIME

Definition at line 37 of file ChannelData.h.

◆ sChannelNameDPL

constexpr char o2::fdd::ChannelData::sChannelNameDPL[] = "DIGITSCH"
staticconstexpr

Definition at line 29 of file ChannelData.h.

◆ sDigitBranchName

constexpr char o2::fdd::ChannelData::sDigitBranchName[] = "FDDDigitCh"
staticconstexpr

Definition at line 31 of file ChannelData.h.

◆ sDigitName

constexpr char o2::fdd::ChannelData::sDigitName[] = "ChannelData"
staticconstexpr

Definition at line 30 of file ChannelData.h.


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