BOSS 7.0.8
BESIII Offline Software System
Loading...
Searching...
No Matches
HltRaw Class Reference

#include <HltRaw.h>

+ Inheritance diagram for HltRaw:

Public Member Functions

 HltRaw (const Identifier &id, const unsigned int timeChannel=0, const unsigned int chargeChannel=0)
 
 HltRaw (const unsigned int id)
 
void setIntChannel (const unsigned int intChannel)
 
unsigned int getIntChannel ()
 
void setFloatChannel (const float value)
 
float getFloatChannel ()
 
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 15 of file HltRaw.h.

Constructor & Destructor Documentation

◆ HltRaw() [1/2]

HltRaw::HltRaw ( const Identifier id,
const unsigned int  timeChannel = 0,
const unsigned int  chargeChannel = 0 
)

Definition at line 3 of file HltRaw.cxx.

3 :
4 RawData(id, timeChannel, chargeChannel){
5}

◆ HltRaw() [2/2]

HltRaw::HltRaw ( const unsigned int  id)

Definition at line 7 of file HltRaw.cxx.

7 :
8 RawData(id){
9}

Member Function Documentation

◆ classID()

static const CLID & HltRaw::classID ( )
inlinestatic

Definition at line 29 of file HltRaw.h.

29{ return CLID_HltRaw; }
const CLID & CLID_HltRaw
Definition: EventModel.cxx:284

Referenced by clID().

◆ clID()

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

Definition at line 28 of file HltRaw.h.

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

Referenced by main().

◆ getFloatChannel()

float HltRaw::getFloatChannel ( )
inline

Definition at line 25 of file HltRaw.h.

25{return *((float*)(&m_chargeChannel));};
unsigned int m_chargeChannel
Definition: RawData.h:72

◆ getIntChannel()

unsigned int HltRaw::getIntChannel ( )
inline

Definition at line 22 of file HltRaw.h.

22{return getTimeChannel();};
unsigned int getTimeChannel() const
Definition: RawData.cxx:40

◆ setFloatChannel()

void HltRaw::setFloatChannel ( const float  value)
inline

Definition at line 24 of file HltRaw.h.

24{m_chargeChannel= *((unsigned int*)(&value));};

Referenced by EFtoTDS::execute().

◆ setIntChannel()

void HltRaw::setIntChannel ( const unsigned int  intChannel)
inline

Definition at line 21 of file HltRaw.h.

21{setTimeChannel(intChannel);};
void setTimeChannel(const unsigned int timeChannel)
Definition: RawData.cxx:25

Referenced by RawDataHltRawCnv::createObj(), and EFtoTDS::execute().


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