CGEM BOSS 6.6.5.g
BESIII Offline Software System
Loading...
Searching...
No Matches
LumiDigi Class Reference

#include <LumiDigi.h>

+ Inheritance diagram for LumiDigi:

Public Member Functions

 LumiDigi (const Identifier &id, const unsigned int timeChannel, const unsigned int chargeChannel)
 
 LumiDigi (const unsigned int id)
 
 LumiDigi (TofDigi *tofDigi)
 
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.
 

Static Public Member Functions

static const CLID & classID ()
 

Additional Inherited Members

- Protected Member Functions inherited from 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
 

Detailed Description

Definition at line 10 of file LumiDigi.h.

Constructor & Destructor Documentation

◆ LumiDigi() [1/3]

LumiDigi::LumiDigi ( const Identifier id,
const unsigned int  timeChannel,
const unsigned int  chargeChannel 
)

Definition at line 6 of file LumiDigi.cxx.

6 :
7 RawData(id, timeChannel, chargeChannel),
8 m_overflow(0)
9{
10}

◆ LumiDigi() [2/3]

LumiDigi::LumiDigi ( const unsigned int  id)

Definition at line 12 of file LumiDigi.cxx.

12 :
13 RawData(id),
14 m_overflow(0)
15{
16}

◆ LumiDigi() [3/3]

LumiDigi::LumiDigi ( TofDigi tofDigi)

Definition at line 18 of file LumiDigi.cxx.

18 :
19 RawData(tofDigi->identify(), tofDigi->getTimeChannel(), tofDigi->getChargeChannel()),
20 m_overflow(tofDigi->getOverflow())
21{
22}
virtual Identifier identify() const
Definition: RawData.cxx:15
unsigned int getChargeChannel() const
Definition: RawData.cxx:45
unsigned int getTimeChannel() const
Definition: RawData.cxx:40
unsigned int getOverflow()
Definition: TofDigi.h:26

Member Function Documentation

◆ classID()

static const CLID & LumiDigi::classID ( )
inlinestatic

Definition at line 28 of file LumiDigi.h.

28{ return CLID_LumiDigi; }
const CLID & CLID_LumiDigi
Definition: EventModel.cxx:273

Referenced by clID().

◆ clID()

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

Definition at line 27 of file LumiDigi.h.

27{ return LumiDigi::classID(); }
static const CLID & classID()
Definition: LumiDigi.h:28

◆ getOverflow()

unsigned int LumiDigi::getOverflow ( )
inline

Definition at line 22 of file LumiDigi.h.

22 {
23 return m_overflow;
24 }

◆ setOverflow()

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

Definition at line 19 of file LumiDigi.h.

19{ m_overflow = overflow; }

Referenced by LumiDigiCnv::TObjectToDataObject().


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