BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
TofDigi Class Reference

#include <TofDigi.h>

Inheritance diagram for TofDigi:

Public Member Functions

 TofDigi (const Identifier &id, const unsigned int timeChannel, const unsigned int chargeChannel)
 TofDigi (const unsigned int id)
void setOverflow (const unsigned int overflow)
unsigned int getOverflow ()
virtual const CLID & clID () const
 TofDigi (const Identifier &id, const unsigned int timeChannel, const unsigned int chargeChannel)
 TofDigi (const unsigned int id)
void setOverflow (const unsigned int overflow)
unsigned int getOverflow ()
virtual const CLID & clID () const
 TofDigi (const Identifier &id, const unsigned int timeChannel, const unsigned int chargeChannel)
 TofDigi (const unsigned int id)
void setOverflow (const unsigned int overflow)
unsigned int getOverflow ()
virtual const CLID & clID () const
Public Member Functions inherited from RawData
 RawData (const Identifier &id, const unsigned int timeChannel=0, const unsigned int chargeChannel=0)
 RawData (const unsigned int id)
void setTimeChannel (const unsigned int timeChannel)
void setChargeChannel (const unsigned int chargeChannel)
void setTrackIndex (const int trackIndex)
virtual Identifier identify () const
unsigned int getIntId () const
unsigned int getTimeChannel () const
unsigned int getChargeChannel () const
int getTrackIndex () const
RawDataoperator+= (const RawData &)
virtual StreamBuffer & serialize (StreamBuffer &s) const
 Serialize the object for writing.
virtual StreamBuffer & serialize (StreamBuffer &s)
virtual std::ostream & fillStream (std::ostream &s) const
 Fill the ASCII output stream.
 RawData (const Identifier &id, const unsigned int timeChannel=0, const unsigned int chargeChannel=0)
 RawData (const unsigned int id)
void setTimeChannel (const unsigned int timeChannel)
void setChargeChannel (const unsigned int chargeChannel)
void setTrackIndex (const int trackIndex)
virtual Identifier identify () const
unsigned int getIntId () const
unsigned int getTimeChannel () const
unsigned int getChargeChannel () const
int getTrackIndex () const
RawDataoperator+= (const RawData &)
virtual StreamBuffer & serialize (StreamBuffer &s) const
 Serialize the object for writing.
virtual StreamBuffer & serialize (StreamBuffer &s)
virtual std::ostream & fillStream (std::ostream &s) const
 Fill the ASCII output stream.
 RawData (const Identifier &id, const unsigned int timeChannel=0, const unsigned int chargeChannel=0)
 RawData (const unsigned int id)
void setTimeChannel (const unsigned int timeChannel)
void setChargeChannel (const unsigned int chargeChannel)
void setTrackIndex (const int trackIndex)
virtual Identifier identify () const
unsigned int getIntId () const
unsigned int getTimeChannel () const
unsigned int getChargeChannel () const
int getTrackIndex () const
RawDataoperator+= (const RawData &)
virtual StreamBuffer & serialize (StreamBuffer &s) const
 Serialize the object for writing.
virtual StreamBuffer & serialize (StreamBuffer &s)
virtual std::ostream & fillStream (std::ostream &s) const
 Fill the ASCII output stream.

Static Public Member Functions

static const CLID & classID ()
static const CLID & classID ()
static const CLID & classID ()

Additional Inherited Members

Protected Member Functions inherited from RawData
 RawData (const RawData &)
RawDataoperator= (const RawData &)
 RawData (const RawData &)
RawDataoperator= (const RawData &)
 RawData (const RawData &)
RawDataoperator= (const RawData &)
Protected Attributes inherited from RawData
const Identifier m_id
unsigned int m_timeChannel
unsigned int m_chargeChannel
const unsigned int m_intId
int m_trackIndex = -1

Detailed Description

Constructor & Destructor Documentation

◆ TofDigi() [1/6]

TofDigi::TofDigi ( const Identifier & id,
const unsigned int timeChannel,
const unsigned int chargeChannel )

Definition at line 3 of file TofDigi.cxx.

5 : RawData( id, timeChannel, chargeChannel ), m_overflow( 0 ) {}
RawData(const Identifier &id, const unsigned int timeChannel=0, const unsigned int chargeChannel=0)
Definition RawData.cxx:4

◆ TofDigi() [2/6]

TofDigi::TofDigi ( const unsigned int id)

Definition at line 7 of file TofDigi.cxx.

7: RawData( id ), m_overflow( 0 ) {}

◆ TofDigi() [3/6]

TofDigi::TofDigi ( const Identifier & id,
const unsigned int timeChannel,
const unsigned int chargeChannel )

◆ TofDigi() [4/6]

TofDigi::TofDigi ( const unsigned int id)

◆ TofDigi() [5/6]

TofDigi::TofDigi ( const Identifier & id,
const unsigned int timeChannel,
const unsigned int chargeChannel )

◆ TofDigi() [6/6]

TofDigi::TofDigi ( const unsigned int id)

Member Function Documentation

◆ classID() [1/3]

const CLID & TofDigi::classID ( )
inlinestatic

Definition at line 36 of file InstallArea/x86_64-el9-gcc13-dbg/include/TofRawEvent/TofDigi.h.

36{ return CLID_TofDigi; }
const CLID & CLID_TofDigi

Referenced by clID().

◆ classID() [2/3]

const CLID & TofDigi::classID ( )
inlinestatic

◆ classID() [3/3]

const CLID & TofDigi::classID ( )
inlinestatic

Definition at line 36 of file Tof/TofRawEvent/include/TofRawEvent/TofDigi.h.

36{ return CLID_TofDigi; }

◆ clID() [1/3]

virtual const CLID & TofDigi::clID ( ) const
inlinevirtual

◆ clID() [2/3]

virtual const CLID & TofDigi::clID ( ) const
inlinevirtual

◆ clID() [3/3]

virtual const CLID & TofDigi::clID ( ) const
inlinevirtual

Definition at line 35 of file Tof/TofRawEvent/include/TofRawEvent/TofDigi.h.

35{ return TofDigi::classID(); }

◆ getOverflow() [1/3]

unsigned int TofDigi::getOverflow ( )
inline

Definition at line 27 of file InstallArea/x86_64-el9-gcc13-dbg/include/TofRawEvent/TofDigi.h.

27 {
28 // if (m_timeChannel > 65535 || m_chargeChannel > 65535) {
29 // m_overflow = 1;
30 // }
31 return m_overflow;
32 }

Referenced by TofConverter::convert().

◆ getOverflow() [2/3]

unsigned int TofDigi::getOverflow ( )
inline

Definition at line 27 of file InstallArea/x86_64-el9-gcc13-opt/include/TofRawEvent/TofDigi.h.

27 {
28 // if (m_timeChannel > 65535 || m_chargeChannel > 65535) {
29 // m_overflow = 1;
30 // }
31 return m_overflow;
32 }

◆ getOverflow() [3/3]

unsigned int TofDigi::getOverflow ( )
inline

Definition at line 27 of file Tof/TofRawEvent/include/TofRawEvent/TofDigi.h.

27 {
28 // if (m_timeChannel > 65535 || m_chargeChannel > 65535) {
29 // m_overflow = 1;
30 // }
31 return m_overflow;
32 }

◆ setOverflow() [1/3]

void TofDigi::setOverflow ( const unsigned int overflow)
inline

◆ setOverflow() [2/3]

void TofDigi::setOverflow ( const unsigned int overflow)
inline

Definition at line 24 of file InstallArea/x86_64-el9-gcc13-opt/include/TofRawEvent/TofDigi.h.

24{ m_overflow = overflow; }

◆ setOverflow() [3/3]

void TofDigi::setOverflow ( const unsigned int overflow)
inline

Definition at line 24 of file Tof/TofRawEvent/include/TofRawEvent/TofDigi.h.

24{ m_overflow = overflow; }

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